What went wrong
The genesis scaffold generates .claude/settings.json with a permissions.allow list that only includes specific Bash commands (git commit, git push, gh api, gh issue, etc.). It does not include Edit() or Write() tool permissions.
Impact observed in: Sayfan-AI/ronny-learns-ai
The evolver agent could not edit .claude/agents/orchestrator.md or CLAUDE.md because Edit/Write tools were not in the allow list. It had to work around this using raw Python file writes via Bash. This is fragile and means any agent that tries to use the Edit or Write tools will silently fail with a permissions error.
Root cause
The genesis settings.json template only grants Bash command permissions for git/gh operations. It omits the file-editing tools that are fundamental to agents doing code work.
Proposed fix
Update the genesis settings.json scaffold template to include in permissions.allow by default:
- Edit(*)
- Write(*)
- Bash(git tag*)
- Bash(git log*)
- Bash(git diff*)
- Bash(git status*)
- Bash(git add*)
The git commands are also missing - orchestrators need git tag for milestone tags, git log for state assessment, and git add to stage files.
Why framework-level
Every project scaffolded by genesis will hit this same problem the first time an evolver or worker tries to edit a file. Not project-specific.
Label: needs:evolver
What went wrong
The genesis scaffold generates .claude/settings.json with a permissions.allow list that only includes specific Bash commands (git commit, git push, gh api, gh issue, etc.). It does not include Edit() or Write() tool permissions.
Impact observed in: Sayfan-AI/ronny-learns-ai
The evolver agent could not edit .claude/agents/orchestrator.md or CLAUDE.md because Edit/Write tools were not in the allow list. It had to work around this using raw Python file writes via Bash. This is fragile and means any agent that tries to use the Edit or Write tools will silently fail with a permissions error.
Root cause
The genesis settings.json template only grants Bash command permissions for git/gh operations. It omits the file-editing tools that are fundamental to agents doing code work.
Proposed fix
Update the genesis settings.json scaffold template to include in permissions.allow by default:
The git commands are also missing - orchestrators need git tag for milestone tags, git log for state assessment, and git add to stage files.
Why framework-level
Every project scaffolded by genesis will hit this same problem the first time an evolver or worker tries to edit a file. Not project-specific.
Label: needs:evolver