Skip to content

docs: plan — fresh bases, receipts, recorded base, --pr and --temp worktrees - #60

Merged
sahil-noon merged 2 commits into
mainfrom
plan/worktree-base-receipts
Nov 23, 2026
Merged

sahil-noon merged 2 commits into
mainfrom
plan/worktree-base-receipts

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Summary

Plan for five additive wt create features found by reading what callers re-implement around it (hexokit's riff/engine, agents spawning by hand): --fetch for a fresh remote base with the branch pinned to the resolved SHA; a --json receipt (path, branch, base ref, base SHA, init result) replacing last-stdout-line parsing; the base recorded as branch.<name>.wt-base[-sha] git config and exposed in wt list --json; --reuse + --base becoming a usage error instead of silent precedence; --pr <n> and --temp <ref> for PR-surgery worktrees. Steps W1–W5 are independent except W2 on W1; R1 is the release. Each step updates cli-surface.md, the skill bundle, help-dump and the memory contract it touches, per this repo's constitution.

Changes

  • fab/plans/sahil/26-11-23-worktree-base-receipts.md

🤖 Generated with Claude Code

@sahil-noon
sahil-noon marked this pull request as ready for review November 23, 2026 14:57
@sahil-noon
sahil-noon merged commit 2ea0db6 into main Nov 23, 2026
4 checks passed
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.

2 participants