Repository navigation
The manual says lane-reconcile reads a swapped repository as wrong-repository and names a gone tree's prune, and READY counts recorded trees (opensoft/openRepoTools#116, opensoft/openRepoTools#117) - #22
Merged
Conversation
…pository and names a gone tree's prune, and READY counts recorded trees (opensoft/openRepoTools#116, opensoft/openRepoTools#117) The manual's half of opensoft/openRepoTools#116 (its second half) and opensoft/openRepoTools#117, written against the code half 75cd0b0 (opensoft/openRepoTools-code#29): - The worktree inventory section says the handoff's READY block counts the records it wrote, `inventory: N worktree(s) recorded` where every polled tree was recorded and `inventory: N of M polled worktree(s) recorded` where one was not (#117). - The tree record's key paragraph says a record may also carry `repo`, its path's git common directory, and is whole without it (#116). - The reconciliation section says lane-reconcile compares the repository a record names with the one git answers for at its path now, lists `wrong-repository` among the classifications and gives it a bullet (#116). - The stale-registration bullet says a tree a sidecar records whose directory is gone while git still registers it is one row, `missing` or `possible-loss`, that names the same `git worktree prune` (#117). Two claims were narrowed to the code half 75cd0b0: where a failed read names no prune, and where the inventory line prints. Lane: openRepoTools-5 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Reviewer's GuideDocumentationDocument that tree records may optionally include repository identity and that reconciliation compares it with the identity Git reports at the tree’s path, including the
Clarify when a gone tree’s row names a prune, including the registration checks, failed reads, and symlink handling.
Explain that READY inventory totals count recorded trees and distinguish complete from partial recording.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 3 days and 21 hours by commenting |
…ir registers, and says one clone swapped for another still reads ok (opensoft/openRepoTools#116, opensoft/openRepoTools#117) Fix round for lane 3's review of #22, post 6779244411 on opensoft/openRepoTools#165, written against the code half 75cd0b0 (opensoft/openRepoTools-code#29): - MUST 1, the stale-registration bullet: a gone tree is one row naming the prune "while its recorded checkout or the lane's `dir` still registers it", and the remedy is named "where one of those reads finds it", no longer "wherever that `git worktree list --porcelain` read succeeds". The bullet now says what happens otherwise: a gone tree that only another repository registers, in a lane with no legs, reads plain `missing` or `possible-loss` with no prune named and no stale-registration row (the review's probe P3). The symlinked-spelling claim is scoped to a tree one of those reads finds. - SHOULD 1, the wrong-repository bullet: the tree reads `wrong-repository` only where the common directory git answers for differs from the recorded one, and a recorded tree that is itself a clone records `<path>/.git`, so another clone put at that path, or a restored backup of one, on the same branch at the same commit still reads `ok` (the review's NIT 1 and probe P2). Nothing else of the manual changes. The review's SHOULD 1 on opensoft/openRepoTools-code#29 changes code and is a later follow-up, so the manual describes what 75cd0b0 does now. The review's SHOULD 2, the bare references in bf9cafe's body, is met by lane 3's squash with its own qualified message, so nothing is amended. Lane: openRepoTools-5 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 10, 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.
Lane: openRepoTools-5
Claim: opensoft/openRepoTools#116 (comment), opensoft/openRepoTools#117 (comment)
One commit,
bf9cafe, on specmainbb7a96e. It is the manual's half of opensoft/openRepoTools#116 (half 2) and opensoft/openRepoTools#117. The code half is opensoft/openRepoTools-code#29 (75cd0b0). Lane 3 offered both issues to lane 5 on opensoft/openRepoTools#165 (6767535266), under Brett's "Yes, extend it (Recommended)".READY, with its paired code PR opensoft/openRepoTools-code#29.
The changes, all in
docs/README-lanes.mdlane-reconcile's paragraph: it now says that reconcile compares the repository a record names with the one git answers for at its path now. Its list of classes gainswrong-repository.wrong-repositorybullet:repois not compared;unreadable;checkoutis not what is compared.stale-registrationbullet: a gone tree that git still registers is onemissingorpossible-lossrow naming the prune, wherever thegit worktree list --porcelainread succeeds. A failed read names no prune, and the sweep reads again. The tree is never named twice through a symlinked spelling.repois optional, and a record without it is still whole.inventory: N worktree(s) recorded, orN of M polledwhere a tree was not recorded. The line is printed where the lane has a lifecycle, under the READY line.Every claim was checked against
75cd0b0's code. Two were narrowed to it before this PR: where a failed read names no prune, and where the inventory line prints.Checked
The code leg's manual readers in
tests/test_repo_hygiene.py, pointed at this branch throughOPENREPOTOOLS_SPEC_ROOT, gave 4 passed and 1 skipped. The skip needs an assembly root and never reaches the manual. No test reads the edited words.🤖 Generated with Claude Code
Summary by Sourcery
Document repository mismatch detection, precise stale-registration handling, and READY inventory counts for lane worktrees.
New Features:
lane-reconcileclassification of records whose current path belongs to a different repository aswrong-repository.Enhancements:
Documentation: