autonomous agentic coding safety
Anthropic shifts Claude Code from manual approval to autonomous multi-agent sessions AI EngineerTL;DW
- Opus 55 and Claude 3.5 Fable handle long-running tasks and self-verification; shift from steering mid-session to autonomous workflows managing dozens of parallel sessions.
- Modern Claude.md files should only include what Claude cannot infer from code; remove "important!" markers and stack details—use `doctor prompt audit` to optimize for current models.
- Auto mode blocks ~89% of dangerous commands versus 14% caught by humans; use deny rules in project settings for irreversible actions (reading .env, SSH keys, forced pushes).
- Sandbox shell commands to restrict file access and network reach; run long sessions in Cloud sessions (not local) to isolate environment—CI secrets use network secrets, not model context.
- Set up verification points (tests, builds, screenshots) that Claude checks between tasks; failing checks must exit with code 2, not 1, to trigger Claude's self-fixing loop.
- Hooks guarantee execution at specific points: run linter on every file edit, tests on task completion, full suite before finishing—gives more control than prompting alone.
- CI auto-fix and merge-when-ready eliminate human review for low-risk changes (docs, copy); higher-risk changes need 1–2 reviewers; always run checks regardless of session setup.
- Orchestrator pattern with Claude Code Projects (beta): single main session splits work into parallel threads, each with separate models—Fable for orchestration, Opus 55 for execution.
- Anthropic increased daily code changes from 2,500 (May) to 30,000+ (September) by moving developers from approving every command to managing orchestrated autonomous workflows.
- Best practices shifted entirely: models now steer, auto mode + deny rules approve, environment restricts, tests verify—humans start the first session and review the final output.
TL;DW
- Opus 55 and Claude 3.5 Fable handle long-running tasks and self-verification; shift from steering mid-session to autonomous workflows managing dozens of parallel sessions.
- Modern Claude.md files should only include what Claude cannot infer from code; remove "important!" markers and stack details—use `doctor prompt audit` to optimize for current models.
- Auto mode blocks ~89% of dangerous commands versus 14% caught by humans; use deny rules in project settings for irreversible actions (reading .env, SSH keys, forced pushes).
- Sandbox shell commands to restrict file access and network reach; run long sessions in Cloud sessions (not local) to isolate environment—CI secrets use network secrets, not model context.
- Set up verification points (tests, builds, screenshots) that Claude checks between tasks; failing checks must exit with code 2, not 1, to trigger Claude's self-fixing loop.
- Hooks guarantee execution at specific points: run linter on every file edit, tests on task completion, full suite before finishing—gives more control than prompting alone.
- CI auto-fix and merge-when-ready eliminate human review for low-risk changes (docs, copy); higher-risk changes need 1–2 reviewers; always run checks regardless of session setup.
- Orchestrator pattern with Claude Code Projects (beta): single main session splits work into parallel threads, each with separate models—Fable for orchestration, Opus 55 for execution.
- Anthropic increased daily code changes from 2,500 (May) to 30,000+ (September) by moving developers from approving every command to managing orchestrated autonomous workflows.
- Best practices shifted entirely: models now steer, auto mode + deny rules approve, environment restricts, tests verify—humans start the first session and review the final output.
As Claude models improved, Anthropic moved from human approval of every command to auto-mode orchestration: safety now enforced at three layers—model intent, harness deny rules, and sandboxed environments. One orchestrator session spawns dozens of workers; CI hooks and tests replace manual review before merge.
