debrief: route split-root debriefs to the state checkout, not the definition dir#449
Merged
Merged
Conversation
…inition dir
Resolve {debrief_root} from status --boot --json (entity_dir) in a new Phase-1
Step 1b and thread it through all four _debriefs/ touch-points. Split-root
commits become path-scoped state-checkout commit+push with the rebase-conflict
halt; an entity_dir_present==false halt-gate stops a declared-but-absent checkout
before any git -C {state_checkout} op. Single-root path unchanged.
Add a deterministic fixture regression guard (skills/integration) covering AC-1
(split-root: file in checkout, trunk HEAD byte-identical), AC-2 (single-root
negative control), AC-3 (numbering from checkout only -> -04, orphan untouched),
and AC-4 (absent-checkout halt). The guard drives the real boot record and
transcribes the skill's git sequence; it is a regression guard / live-drive seed,
not a substitute for the validation-stage live drive.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Route split-root debriefs to the state checkout on its own branch — keeping session churn off the code trunk and ending cross-home numbering collisions.
What changed
status --boot --json(entity_dir) and thread it through all four_debriefs/touch-points.Evidence
go test ./skills/integration/ -run Debrief— 4/4 passed; the guard bites under a pre-fix revert (AC-1/3/4 fail, AC-2 holds)./debriefdrive on a real split-root fixture: new…-04lands in{state_checkout}/_debriefs/onspacedock-state/dev; trunkmainbyte-identical before/after.7d4