mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-22 22:01:18 +00:00
Team memory now lives with the code, like CLAUDE.md: <main repo>/.hapi/team/ on the machine where the agent runs. Worktrees resolve to the main repo so every member shares one directory. The CLI creates charter.md + handoffs/ at session start (team env only), points the agent at it in the system prompt, and reports the path in session metadata; the web reads it through the session file API, so remote runners work too. Hub keeps only coordination data (teams.db): members/tasks/messages/status. Its memory-dir management and the /memory API are removed.