Repository navigation
feat: discover openBenches checkouts - #40
Conversation
Reviewer's GuideUpdates checkout resolution for the staged workBenches-to-openBenches migration by preferring valid openBenches roots across project-directory and ancestor discovery, while preserving override precedence, explicit-root validation, marker fallback, and compatibility with existing workBenches layouts. Flow diagram for openBenches checkout discovery precedenceflowchart TD
A["Resolve checkout root"] --> B{"Explicit CLI flag?"}
B -- Yes --> C{"Root contains config/bench-config.json?"}
C -- No --> D["Refuse invalid explicit root"]
C -- Yes --> E["Use explicit root"]
B -- No --> F{"WORKBENCHES_ROOT set?"}
F -- Yes --> G{"Root contains config/bench-config.json?"}
G -- No --> D
G -- Yes --> E
F -- No --> H{".workbenches-path marker available?"}
H -- Yes --> I["Use marked checkout"]
H -- No --> J["Search projects directories"]
J --> K["Try openBenches before workBenches"]
K --> L{"Valid checkout found?"}
L -- Yes --> E
L -- No --> M["Search current directory and ancestors"]
M --> N["Check openBenches and workBenches, nearest ancestor first"]
N --> O{"Valid checkout found?"}
O -- Yes --> E
O -- No --> P["No checkout discovered"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…penBenches From 76c0073 (3au), by the lead's 3at decisions, sections 2 to 5. Only spec.md and checklists/*.md are edited. #19 moves from 4512441 to 54e869b by lane 4's map of rounds (s) and (t) and its edit list (pin19-54e869b/EDITS-spec.md, groups G01 to G20, X1 and X2), each group found once by its text at 76c0073 (G11 re-located in FR-032, which 3au re-wrapped). The 27 moved or same ranges are byte-identical at 54e869b by script; the 3 changed ones (pcl:850-858 twice, prs:112-118) keep 005's sentence. History cites and dated passes keep their heads. Hunks (new lines), spec.md: - 965-968: C-72's question names O22 and O23 (W158 OBS). - 1083-1084: C-72's O18 (A) gives the question's reason (W147 OBS-1 (a)). - 1101-1104: C-72's O21 (A) gives the lane's reason (W147 OBS-1 (a)). - 1134-1136: "every held item" but O22 and O23 (W158 OBS). - 2170-2176: EC-028 cites [L] for "branch or detached state" (pcl:6-7) and feature 004's code for what it reads (W147 OBS-3). - 2324-2325, 2328, 2339-2340: EC-033 (G01 to G03). - 2835: FR-016 (G04). - 3081-3082, 3088-3089, 3092, 3112-3113, 3115: FR-028 (G05 to G09). - 3129-3132: FR-028's O22 note: the class's text for a merged-current main row; a merged-removable one shows #19's words through the main-worktree gate (W158 OBS). - 3200-3201, 3218-3219: FR-032 (G10, G11). - 3302: FR-035 (G12). - 3949-3951: Assumptions: "openBenches (formerly workBenches)" (#41). - 4590: the A1 bullet (G13). - 5396-5403: the round (n) record: unsupported-path-bytes' next step at 41759a4 (T14) against A1:623's remedy, which the overview shows (W147 OBS-4). - 5441-5442, 5448-5449, 5452-5453: the round (r) record (G14 to G16). - 5463-5469: O17 to O20's texts unchanged at 54e869b too (map section 1's optional row); G17. - 5473-5474: G18. - 5487, 5491-5493: round (s)'s "there" cites name 54e869b (W158 OBS). - 5496-5500: design:591-598 names feature 004 at 41759a4, W139's finding; 904aefc settles C-72's holds (W158 LOW-1). - 5507-5514: X1, worded for 3at and 3av. - 5525-5528: round (t)'s scenario lies in a requirement #27 does not carry; neither round edits [E] (W158 LOW-2). - 5532-5539: main at b42355e (#40, #41), a moved base that changes no quoted text, recorded once. - 5540: X2. - 5586: the LQ-10 bullet (G19). - 5821-5822: Out of Scope: "openBenches (formerly workBenches)". Hunks (new lines), checklists: - integration.md:111-115: CHK024 names openBenches, formerly workBenches; 160-162: its Evaluation. - requirements.md:1441-1442, 1463-1465, 1524-1526: the forty-fourth, forty-fifth and forty-seventh passes say "C-72 was ... at" 3ap, 3aq and 3as (W147 OBS-5, W151 OBS (5)). - requirements.md:1587-1620: the fiftieth pass. - requirements.md:1745-1746: the totals line names it; recount 414 items, 372 pass, 26 fixed, 16 plan notes. - security.md:120: CHK019 at 54e869b (G20); 173-175: its Evaluation. C-72 is spec.md:961-1181 at this commit, 221 lines, sha256 08e05447... (3ao-verify/c72-3av.txt). #27 stays at 7f3453c, A1 at e4a30fc. O22 and O23 stay open for Brett Heap's word. Not taken (not in the lead's list): W158 OBS-2 (C-72's O22 lacks "(A) falls back with it if #19 is not ratified") and OBS-4 (three cites end one blank line past their text). W158 OBS-5, OBS-6 and the B26 sentence were settled by 3au. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Round (u), item 0 (lane openRepoProject-2, lead R-432). Main's #40 (f271a39, openBenches discovery) and #41 (b42355e, a README link) touch README.md, project and tests/test_project.py only; no openspec file changes. The merge is clean. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…aw; #27 at 7f3453c; spec cites at 3aw From 7c5eb54 (spec 3aw, on part 2 at d67c120), on the lead's brief for part 3, its 3at decisions (sections 5, 9 and 10), lane 4's section 9 reading (S9-EC031-O23-ANALYSIS.md, Option 1) and lane 3's W168 and W171 read of part 2 (0 HIGH, 0 MEDIUM, 0 LOW, 5 OBS), with W170's note on R1's pin note. Only the six plan files are edited; spec.md and the checklists are untouched. - O23 widened, Option 1: lane 2's lead ruling R-432 confines R-67 (c) to clean's plan, so the shared-path and twin rows are O23's rows again. Until Brett Heap rules they keep FR-007's R-67 (c) reading while 005 pins feature 004 at 904aefc; O23 (A) is recommended, never chosen. No site needed a decision, and none states a ruling. - M4 (a): no plan site names M4; the 459 and 472 characters stand. - R20 quotes C-72 at 7c5eb54, spec.md:961-1197, 237 lines, sha256 c71cf326ea2c..., cmp-equal to 3ao-verify/c72-3aw.txt less its marks. - #27 from d95eea2 to 7f3453c by the lead's eight-row map, each row moved and byte-identical (re-read by this part); project-overview block still blob a40458c. - Spec cites from f47c2fd to 7c5eb54, mapped through the 20 hunks of git diff -U0 f47c2fd 7c5eb54 on spec.md: ordering quote :1010-1017 same; R9 :4531-4534 to :4572-4575, :5636-5639 to :5682-5685, :2680-2687 to :2714-2721, :2689-2699 to :2723-2733, :1778-1788 to :1794-1804, :2603-2615 to :2637-2649, byte-identical; C-72 changed (re-quoted). Sha alone: plan.md Input, R1 Finding, R4, R5, R7, R9, R10 (C-56, Status, FR-005, FR-013, FR-021 byte-identical; the four quoted strings once at both heads). No checklist line is cited. - W168/W171: part 2's record labels its 8c3b046 lines (OBS-W168-1); main's #40 discovery order given whole from workbenches() at b42355e (OBS-W168-2); OBS-W171-2 (O20's PCM:158-162 at 4512441) left for the #19 map. plan.md's Citations name W168's read. Hunks (new lines): - contracts/project-overview.md: 540-552 (O19 line and OPEN (O23)). - data-model.md: 186-192 (worktree-row note), 327-330 (finding sources), 370-378 (registration-mismatch gate). - plan.md: 9 (Input), 60-66 (slice 1, #40 order), 78-84 (slice 4, twins), 112-119 (Summary, O23; ordering quote's sha), 224-226 (Citations, W168), 318-320 (closing Technical Context sentence), 520-526 (held-items section). - quickstart.md: 105-111 (isolation sentence, #40 order). - research.md: 55 (R1 Finding), 129-140 (R1 pin note, R-432), 183-196 (R1 #27 bullet), 702 (R4), 737-740 (R5 twin decision), 785 (R5), 844-848 (R6 twin wait), 889 (R7), 995, 998-1000 and 1002 (R9 sha and ranges), 1104-1113 (R9 wider class), 1146 (R10), 1259-1266 and 1284-1287 (R14), 1411-1418 (R18 Isolation), 1565-1573 (R18 fixtures, "in both readings"), 1684-1685 (R20 opening), 1807-1808, 1848-1854, 1873, 1885-1886 and 1889-1922 (R20's quote of C-72), 1936-1940 (R20 terms), 2250-2256 (O19 entry), 2283-2289 (open-items opening), 2311-2351 (O23 entry), 3097 (Revision 11 heading), 3237-3240 and 3243-3244 (part 2 record, line bases), 3270-3351 (part 2's "Not taken here" pointer and part 3's record). - traceability.md: 224-229 (FR-049 twins), 401-405 ("Held items, open" opening), 414-427 (O23 row, "stay as they are"). Not taken: #19 stays at 54e869b (its map to 1476110 is separate); feature 004 stays at 904aefc (lane 2's code round not landed); project:N at d6bac50 and baseline cites at 15504f1. Lane: openRepoProject-4 Co-Authored-By: Claude Opus 5.5 <[email protected]>



Part of the staged workBenches → openBenches migration.
Validation: 103 unit tests pass; executable discovery and precedence smoke tests pass.
Summary by Sourcery
Expand workbench checkout discovery to support the staged openBenches migration while preserving existing override and validation behavior.
New Features:
Enhancements:
Documentation:
Tests: