A directly merged fix in the independent ADHD project that replaced ineffective allowedTools configuration with tools: [], removed bypassPermissions, and added executable regression coverage.
Role
Category
Agent Runtime Safety
Engineering discipline
MERGED UPSTREAM
Engineering objective
The project described divergence requests as pure generation, yet allowedTools: [] did not remove built-in Claude Code tools; it only controlled automatic approval. Combined with bypassPermissions, the runtime configuration did not match the intended no-tools safety boundary.
Constraints
Approach
Replaced allowedTools: [] with the Claude Agent SDK’s tools: [] availability control.
Removed bypassPermissions from generation-only sessions.
Extracted query-option construction into a focused testable helper.
Added a regression proving that tools, allowedTools, and permissionMode cannot escape into divergence queries.
Workflow
Technical validation
Observable engineering evidence. Discipline: MERGED UPSTREAM
Merged pull request
ADHD PR #26
Regression
No built-in tools
Validation
4 checks passed
Scope
3 focused files
Public evidence
Outcome
The maintainer directly merged PR #26 into the independent project’s main branch
Tests, type checking, the production build, and npm package dry-run all passed
Generation-only sessions now enforce the architecture’s intended no-tools boundary
The evidence clearly distinguishes this from an Anthropic repository contribution
Technologies
Next engineering system
ICALENDAR · MERGED OPEN SOURCE
Have an ambitious AI system to build?
I work across AI architecture, product engineering, private inference, automation, SaaS infrastructure, and production hardening.