Skip to content

Define task worktrees and merge lifecycle - #1

Merged
oeo merged 1 commit into
masterfrom
feat/worktree-merge-workflow
Sep 9, 2026
Merged

Define task worktrees and merge lifecycle#1
oeo merged 1 commit into
masterfrom
feat/worktree-merge-workflow

Conversation

@oeo

@oeo oeo commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Make approved plans use designated task worktrees and define writer ownership.
  • Add the explicit #merge lifecycle: commit handoffs, submit PR, honor gates, merge, return, and clean owned resources.
  • Keep attackers read-only and split conflicting plan goals before implementation.
  • Update README routing. Abandoned attention-friendly voice changes are not included.

Verification

  • bun test tests/install.test.ts: 4 passed, 0 failed, 11 assertions.
  • git diff --check origin/master...HEAD: passed.
  • Reviewed the complete two-file diff and task commit.

Scope

Documentation/directives only. Portable worktree path changes and global installation remain separate.

Completed:
- Made approved plans use designated worktrees by default and separated writer ownership from read-only attacks.
- Added the merge directive for reflection, PR submission, review gates, merge, safe return, and owned-resource cleanup.
- Added conflict-aware plan scoping and verified completion wording.
- Installer merge tests passed: 4 tests. Diff checks passed.

Decisions:
- Keep lifecycle policy in CLAUDE.md, with README routing instead of a new MCP tool.
- One worktree per independent editing task; coordinated helpers may share disjoint file ownership.
- A merged PR alone never authorizes claiming local integration or cleanup is complete.

Next:
- Replace the Linux-specific preferred worktree path with a portable user-home location.
- Evaluate ADHD-friendly communication guidance before changing the Monk personality.
- Reinstall directives and restart agents only after the changes are ready to ship.

Patterns:
- Resolve competing goals before implementation.
- Explicit merge intent can authorize a complete lifecycle without bypassing safety gates.
- Clean only owned resources and preserve other agents work.
@oeo
oeo merged commit 09359d0 into master Sep 9, 2026
2 checks passed
@oeo
oeo deleted the feat/worktree-merge-workflow branch September 9, 2026 01:32
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