In 30 Sekunden
As coding agents run longer and in parallel, Anthropic’s Lydia Hallie says developers can reduce repeated steering but must deliberately replace the checks they used to perform. She distinguishes auto mode’s probabilistic approvals from deny rules and operating-system sandboxes, then recommends isolated cloud environments for long sessions. Tests, hooks and CI define and enforce completion checks; review and automatic merging should depend on risk. An orchestrator can coordinate workers, but actions that leave a disposable machine still have lasting effects.
- 1Remove repeated steering while keeping hidden project factsHallie says emphatic or redundant instructions can make newer models use extra tool calls or perform worse. She recommends retaining facts not directly visible in the code.
- 2A permission classifier cannot guarantee a dangerous action is blockedHallie cites a study in which auto mode blocked 89% of clearly dangerous commands. Deny rules are checked before the classifier for actions that must be forbidden.
- 3A permitted test command can still reach secrets through its childrenPermissions decide whether a tool call starts; a sandbox limits filesystem and network access by the command and its child processes. Hallie notes that other parts of the session can remain outside that sandbox.
- 4A disposable cloud machine does not make external actions reversiblePushed commits and connector messages persist. Hallie keeps rules and approvals in cloud sessions too.
- 5Make completion observable with tests, hooks and CIHallie recommends explicit pass-or-fail checkpoints and actual output. Hooks enforce checks that should not depend on a model remembering a prompt.
- 6Scale review and automatic merging to the riskHallie describes separate agent review and human review ranging from none for small copy changes to two reviewers for riskier work, as practiced by her team.
Das Wichtigste
- Replace routine steering with clear goals, but keep project instructions for facts the model cannot infer from code.
- Use deny rules for actions that must be blocked; a classifier is not a guarantee.
- Sandbox commands and their children, and account separately for tools, hooks and servers outside that sandbox.
- Treat pushed commits and external messages as durable even when an execution machine is disposable.
- Define verifiable completion criteria and enforce required checks with hooks and CI.
- Choose human review and automatic merging according to the risk of the change.
Den bearbeiteten Text nach Kapiteln lesen
Why longer agent sessions change the developer’s role
Hallie says newer models need less frequent steering and can run parallel tasks. Responsibility for approvals and checks shifts to the model, harness and environment.
Lydia Hallie, who works on Claude Code at Anthropic, says stronger models have changed how her team works: they can take on longer tasks, understand a codebase and verify more of their own output. Practices built around frequent intervention should be reconsidered as capabilities change.
Earlier sessions needed more steering: people repeatedly corrected the model, emphasized instructions in CLAUDE.md and approved commands individually, or used the riskier option of skipping permissions. Hallie contrasts that with Anthropic sessions that run for hours, sometimes in dozens of parallel threads, including sessions that orchestrate others.
Hallie says Anthropic reported growth from about 2,500 changes a day in May to more than 30,000 in September. As people step out of individual steps, she argues, the model, its execution harness or the environment must take over steering, approval and verification.
Simplify instructions and configure automatic approvals
Keep facts the model cannot infer and revisit repeated warnings. Auto mode can be configured, but its classifier is not a guarantee.
Her example updates an older model and manual-approval setup to Opus 5.5 and auto mode. She says the newer model needs less mid-session steering and recommends revisiting emphatic instructions such as repeated warnings in CLAUDE.md, which she says can cause extra tool calls or worse results.
Hallie recommends retaining information Claude cannot infer from the code, such as a legacy dependency that is not directly referenced. She describes a doctor prompt-audit command that checks project instructions and skills for material a newer model may no longer need.
Hallie describes auto mode as using a separate classifier for most actions beyond reading or editing project files. It can allow routine commands and block uncertain ones. In her example, a push to a separate staging deployment repository is blocked because the default trust scope covers only the current folder and repository.
If auto mode prompts too often, Hallie says its settings can state trusted repositories, buckets and domains in plain language, including actions to always allow or never permit. Those instructions inform the classifier; she distinguishes this configuration from stronger enforcement later in the talk.
A classifier is not a guarantee. Hallie cites an Anthropic study in which about 14% of people caught a clearly dangerous command and auto mode blocked 89%; about one in ten such commands still passed. She presents harness-level restrictions as the place to enforce rules that must hold.
Use rules and isolation to limit side effects
Deny rules block specified tool calls; sandboxes constrain shell commands and their children. Cloud isolation reduces local exposure, while external actions remain durable.
A deny rule is checked before the auto-mode classifier, she says; a matching tool call never reaches that classifier. Her test for what deserves a rule is whether a single mistake can be reversed: an ordinary code change may be reverted, while loss of uncommitted work or exposure of a secret can be harder to undo.

For instance, she suggests denying reads of an environment file when its contents must not enter the session. But a permitted command can have indirect effects: an ordinary npm test may execute dependencies or scripts that read private files and contact an external server. Tool-call permission alone does not constrain everything that runs afterward.
A sandbox limits what shell commands and their child processes can read, write and reach, with the operating system enforcing the boundary. Hallie says the relevant deny rule can be passed to the sandbox so that even a dependency cannot open the protected environment file. She notes that most of the machine remains readable by default, so other sensitive paths need their own restrictions.
The sandbox described covers shell commands and their children, not Claude's own file operations, MCP servers or hooks. Hallie therefore recommends considering a cloud session with a fresh repository copy on its own machine: local environment files, SSH keys and tokens are absent if they are not in the repository.
If a cloud session needs an API key, Hallie describes using a network secret so the session can use it without exposing it to the model. She says network access is restricted by default to approved services such as package registries and GitHub, with other domains explicitly configured.
A disposable machine does not undo actions that leave it: a pushed commit or message sent through a connector persists. Hallie therefore still uses auto mode and committed deny rules in cloud sessions, for example to guard against force pushes or secrets entering commits.
Verify results throughout unattended work
Hallie recommends explicit completion checks and hooks for required tests. CI provides a consistent final layer across pull requests.
Long unattended sessions also need verification. Hallie gives an authentication API migration as an example: a model might leave the old API in place, migrate only new logins or log everyone out. Each can appear plausible unless the desired outcomes are checked.
She suggests explicit pass-or-fail checkpoints such as tests and builds, as well as screenshots, and reviewing those results rather than relying on a final impression. The prompt can define what done means, ask for subtasks with tests and request actual output, but prompting alone does not guarantee the checks will run.
For checks that must run, Hallie recommends hooks: scripts invoked at specified points. Her examples run a linter after an edit, relevant tests before a task is marked complete and the full suite before the session finishes. If a check fails, the agent can try another fix.
Hallie cautions that, in her described hook setup, an exit code of 1 does not prevent the task from being marked complete, while exit code 2 sends Claude back to address the issue. She advises designing hook scripts accordingly.
Separate cloud machines allow several sessions to run without sharing the same working folder. Starting and reviewing each session manually can still be a useful level of control; Hallie does not suggest that every team must immediately automate those decisions.
CI provides consistent checks for every pull request regardless of how its originating session ran. Hallie describes an autofix capability that lets Claude respond to failed checks and says merge-when-ready can be enabled for suitable changes; she emphasizes that automatic merging is not the default and depends on risk.
Match review to risk and coordinate parallel sessions
The described team uses independent AI review and varies human review by risk. An orchestrator can delegate work to separate sessions and check their results.
Her team uses a separate Claude review with fresh context rather than the writing session, plus other agents to double-check identified bugs. She says their human review varies by risk: small documentation or copy changes may need no person, ordinary product changes one reviewer and riskier changes two.

Hallie describes an orchestrator session that breaks a larger request into tasks, starts separate sessions, tracks results and sends incomplete work back. She points to Claude Code projects, described as beta, as an example: a user communicates with one coordinating session instead of managing each worker individually.
The coordinating session can use a model chosen for planning and judging results, while worker sessions use a model suited to implementation. Hallie says the project setup also manages context automatically, reducing the need to decide when to compact or clear it.
Her conclusion is that earlier responsibilities have moved rather than disappeared: the model steers work, auto mode handles approvals, deny rules and environments restrict actions, and tests, hooks and CI check results. She recommends trying a larger task after configuring CI, network access, secrets and setup scripts, then observing where the session still needs intervention.
Mehr aus diesem Kanal
14:00EN
18:03EN
26:49EN
12:38EN
38:50EN
12:48EN