Team wake plumbing: trait-gated verbs, durable queues, staffing gate, digests (OPE-97)

team: manifest trait gates lead/worker toolsets; propose_team pre-spawns worker sessions on approval (fail closed on solo personas).
Deliveries + lead subscriptions are cursor-consumed projections; turns end with a queue kick, ticks replay; timer wakes carry the code-computed staleness digest; hourly wake cap is the budget gate.
This commit is contained in:
Rohit C Prasad
2026-08-16 08:37:07 -07:00
committed by Rohit P
parent fc24b667ed
commit 3e4fafead0
14 changed files with 1023 additions and 19 deletions
+3
View File
@@ -41,6 +41,9 @@ class Agent:
family: str = "knowledge"
messaging: bool = False
connectors: bool | tuple[str, ...] = False
# Team identity: "lead" | "worker" | None (solo-only). Gates the board/journal
# toolsets and staffing eligibility — solo personas are never team-staffable.
team: Optional[str] = None
def build_tools(self, context: AgentContext) -> list:
return list(self.tool_factory(context)) if self.tool_factory else []