Tree · 08 of 19 · Agent teams

Agent teams: every child is narrower than its parent

Delegation is narrowing. A planner can hand work to workers without any of them being able to do more than the planner could. The reservation makes it arithmetic: the children cannot collectively spend more than the root was granted.

Agent teams: every child is narrower than its parent Tree of an orchestrator run that spawns a researcher and a coder, where the coder spawns a test runner, each with a lower or equal tier, shorter time and smaller budget than its parent, and a fourth spawn, a deployer asking for tier two, is denied for exceeding the parent ceiling. OrchestratorT1 · 60 min · 300 callsResearcherT0 · 20 min · 100 callsCoderT1 · 30 min · 150 callsTest runnerT0 · 10 min · 40 callsDeployerasks T2 · 10 mindenied: above the parent ceilingA child gets at most what its parent has left: ceiling, time, calls and tokens are reserved from the parent.LEGENDRoot runChildGrandchildRefusedDenied spawn

Principle honored

Least privilege and bounded blast radius, applied to delegation. The same narrow-only rule that applies to a claim applies to a child.

What changes

  • One task_id across the whole tree, so the flight recorder shows a team as one story.
  • Depth is capped at 3 and children at a per-definition limit, so a runaway spawn loop stops.
  • Closing a parent closes the tree; tripping a parent freezes it.

Proved in code

This is tested as a property: in 200 random sequences of spawn, spend and close, no session ever overspends and no tree ever exceeds what the root was granted. That test is in the repository.

Hangar · Autopilot