Parent
#579
What to build
The integration heart: the agent sees and calls the entire core API through one gated path. A boot-built policy catalog drives a wrap pass over the composite router so EVERY procedure call — including ones from routers built on bare bases — passes one gate: human principal passes, agent runs free/ask/deny per policy, asks are bound to validated-input digests, queued per execution, cancelled on run stop, and nested gated calls cannot deadlock. The code-mode catalog is generated from the same policy map (assist-tool special path deleted), cross-session send is guarded (self-target, cycles, depth, rate), streams ride the collector module, and the three legacy approval paths are deleted. Demo: agent catalogs and calls a read freely; a mutation raises an ask in the widget; approving lands it; the poison procedures do not exist for the agent; a credential-less local RPC call gets no human plane.
Spec: docs/superpowers/specs/2026-08-22-agent-api-surface-design.md. Plan tasks 5-12 in docs/superpowers/plans/2026-08-22-agent-api-surface-platform.md.
Acceptance criteria
Blocked by
Parent
#579
What to build
The integration heart: the agent sees and calls the entire core API through one gated path. A boot-built policy catalog drives a wrap pass over the composite router so EVERY procedure call — including ones from routers built on bare bases — passes one gate: human principal passes, agent runs free/ask/deny per policy, asks are bound to validated-input digests, queued per execution, cancelled on run stop, and nested gated calls cannot deadlock. The code-mode catalog is generated from the same policy map (assist-tool special path deleted), cross-session send is guarded (self-target, cycles, depth, rate), streams ride the collector module, and the three legacy approval paths are deleted. Demo: agent catalogs and calls a read freely; a mutation raises an ask in the widget; approving lands it; the poison procedures do not exist for the agent; a credential-less local RPC call gets no human plane.
Spec: docs/superpowers/specs/2026-08-22-agent-api-surface-design.md. Plan tasks 5-12 in docs/superpowers/plans/2026-08-22-agent-api-surface-platform.md.
Acceptance criteria
Blocked by