You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Michael Heller
committed
feat(agentd): enforce the consent-plane terminal-surface envelope (enforce-sweep)
Extends the enforce-sweep (after goose voice + netwatch) to turtle-agentd, the
terminal-surface tool-execution host. An AUTONOMOUS AGENT acting on the terminal
surface may read/edit/test (discover/implement/verify) but may NOT egress
(push/publish/network) or operate (deploy/infra) — the consent-plane surface
envelope (deny_purposes=[egress,operate]) now holds at runtime.
- consent_plane_check(command, actor_id): denies egress/operate commands for
agent actors; humans keep full authority (envelope governs agents only).
_is_agent_actor is fail-closed — only an explicit `human:` id gets authority,
every other non-empty id is governed.
- classification is local (regex over network/publish/deploy/infra commands) so
containment holds even when the consent engine is unreachable.
- wired into policy_evaluate: a consent-plane deny short-circuits before Policy
Fabric (defence in depth).
- 5 tests: agent egress denied, agent read/edit/test allowed, human unrestricted,
policy_evaluate short-circuits, fail-closed actor detection. Daemon smoke green.
0 commit comments