Skip to content

Scaffolded settings.json should include Edit(*) and Write(*) in permissions.allow #7

@genesis-dev-bot

Description

@genesis-dev-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions