Skip to content

Enforce managed Claude subagent lifecycle - #61

Merged
areshand merged 1 commit into
mainfrom
codex/disable-native-claude-agents
Aug 28, 2026
Merged

Enforce managed Claude subagent lifecycle#61
areshand merged 1 commit into
mainfrom
codex/disable-native-claude-agents

Conversation

@areshand

Copy link
Copy Markdown
Owner

Summary

  • deny Claude's provider-native Agent and legacy Task tools in every headless invocation
  • force delegation through registered multiagent subagents so role isolation, lifecycle evidence, and client status exist
  • document the executable enforcement boundary and narrow the security backlog

Production evidence

The post-PR #60 E2E preserved the original task and same-session follow-up, but Claude used its built-in Agent tool. The bottom pane therefore remained at zero managed subagents, the supervisor lifecycle gate rejected completion, and the session correctly ended interrupted.

Validation

  • cargo test --locked -q (63 passed)
  • npm test in control-server (40 passed)
  • cargo fmt --all --check
  • git diff --check
  • claude --disallowedTools Agent Task --version (flag accepted by deployed CLI family)

@areshand
areshand force-pushed the codex/disable-native-claude-agents branch from f21c38b to c471671 Compare August 28, 2026 13:25
@areshand
areshand merged commit 102dd2e into main Aug 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant