Skip to content

docs(policy): require work under repo .worktrees only - #13

Merged
mlaccetti merged 1 commit into
mainfrom
michael/worktree-only-policy
Oct 22, 2026
Merged

mlaccetti merged 1 commit into
mainfrom
michael/worktree-only-policy

Conversation

@mlaccetti

Copy link
Copy Markdown
Owner

Summary

  • Orchestrator and worker policy: primary checkout is read-only; all file-changing work happens under <repository>/.worktrees/<task-slug>/.
  • Add .worktrees/ to this repo's .gitignore.

Test plan

  • muster link smoke (policy renders into harness prompts)

Orchestrator and worker policy now forbid mutating the primary checkout;
assign writable roots under <repository>/.worktrees/<task-slug>/.

Also ignore .worktrees/ in this repository.
@mlaccetti
mlaccetti merged commit 2c1986f into main Oct 22, 2026
1 check passed
@mlaccetti
mlaccetti deleted the michael/worktree-only-policy branch October 22, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant