Skip to content

Auto-mode is LOCAL — gitignore .claude/settings.json on apply (un-commit the one in d87257a) #6

@alex-mextner

Description

@alex-mextner

From the ecosystem ROADMAP (§5). Manually corrected on wave-1 PRs; rig itself needs the fix.

What

.claude/settings.json (harness auto-mode, permissions.defaultMode: bypassPermissions) must be per-machine, gitignored — applied locally by rig apply, NOT committed. The committed declaration is rig.yaml harness.auto_mode.

  • Fix rig to gitignore .claude/settings.json on apply.
  • rig-cli's own .claude/settings.json was committed in d87257aun-commit it.

Why

bypassPermissions is a local trust decision; committing it forces it on every checkout/contributor. The committed source of truth is the declarative rig.yaml, which rig materializes locally.

Acceptance

  • rig apply writes .claude/settings.json locally and ensures it is gitignored (the narrow ignore pattern: ignore .claude/*, un-ignore nothing harness-secret).
  • rig-cli's committed .claude/settings.json (d87257a) is removed from the tree.
  • rig.yaml harness.auto_mode remains the committed declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    roadmapPlanned roadmap work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions