mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-06 18:39:47 +00:00
- spawned members inherit the caller's tool/model/thinking level/permission (spawn request schema + hub runtime + spawn_peer tool); explicit overrides win - replies from turns triggered by teammates (not by the human) no longer vanish: system prompt and ACP briefs now require an explicit team_send(to=human) for human-facing conclusions produced on those turns - task loop: team_task tool (list/update), dependsOn gating, deliverable evidence required when a member marks done, auto broadcast on change, web shows deps and deliverable on the task board - team-scoped agent tokens (hapi_team_*): issued per team, injected as HAPI_TEAM_TOKEN at spawn, restricted by the auth middleware to this team's messages/tasks/status and audited via [TeamToken] hub log lines