docs: file and plan itd-148, the worktree-first change discipline - #518
Merged
Conversation
Files the worktree-first intent: the primary checkout becomes a read-only surface, every change starts in its own worktree, merged worktrees are removed on proof, and abandoned ones get a dossier sweep the human rules on. Decomposed per itd-84 (SPLIT confirmed: merged-cleanup consumed from itd-118, the coordination mechanism left to itd-33), revised under two adversarial reviews, planned at a live interview, and graded into the decomposition-calibration note. Assisted-by: Claude:claude-fable-5
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 26, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Files itd-148 (planned, severity major) with its spec spc-42, and appends the graded itd-84 hand-run to the decomposition-calibration note.
The intent: the primary checkout of an abcd-managed repo becomes a read-only surface with an explicit allow-set; every change starts in its own worktree, enforced by a host-hook backed by
abcd worktree checkplus a git pre-commit backstop; provably merged worktrees (remote PR state or patch-equivalence, never bare sha reachability) are removed at session start; abandoned worktrees (14 days idle, configurable) surface with a dirty-state-first dossier and recommendation, removed only on per-item human confirmation; worktrees are seeded with the private name-guard layer on detection (closing the iss-370 gap when built), with a four-category pre-population floor; worktree entry/exit and record-id mints are recorded for peer visibility at next hook fire.Decomposition (itd-84, SPLIT confirmed)
builds_on).Process
Decomposed against the existing record, revised under two independent adversarial reviews (design/feasibility and record-discipline — both caught the inverted squash-merge/reachability claim, now fixed), and planned at a live maintainer interview where every acceptance criterion and open question was ruled.
abcd intent ready itd-148passes all four checks; record-lint exits 0.Assisted-by: Claude:claude-fable-5