Repository navigation
Phase B verification findings (blocking verify tasks 3.1-3.8) - #206
Merged
Merged
Conversation
Hands-on verification against a real installed can1357/oh-my-pi v17.3.7 (not the unrelated npm `oh-my-pi` package) plus a grep of the xFactory family for prior memory-gateway consumers. All seven verify items (a)-(g) are resolved: four mutually-exclusive memory backends with `off` as a true no-op default; full end-to-end MCP mid-turn tool-calling proven live via a hand-rolled stdio echo server and a local zero-cost mock model; SYSTEM.md is read once at session start and never re-read mid-session; Cognee's default graph backend has moved from Kuzu to Ladybug (pinned 0.19.0); the harness's artifact store lands outside the session worktree by default, which validates Phase B's own-sidecar design and adds one dereferencing requirement to task 9.1; `/shake` is reachable programmatically in --mode rpc; and hermes-install's memory-boundary gate (ratified 2026-07-24) precedes Phase B as a subject-bearing, provisional consumer, while Phase B remains the first subject-free, formally-conformant consumer. Also verified switch_session + set_model RPC mechanics end-to-end (beyond the tasks.md list, per the delegating brief). None of the findings reopen a design section; two (artifact-store location, memory-gateway prior art) add concrete realization/precision notes captured in verification-findings.md. Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
This PR records the Phase B verification work for the ratified change add-doxbench-editing-phase-b by adding a dedicated verification findings document and updating the change’s task list to mark verify items 3.1–3.8 as completed with pointers to the recorded evidence.
Changes:
- Added a comprehensive
verification-findings.mdcovering verify items 3.1–3.7 (plus an extra RPC mechanics note) with method/evidence/finding/consequence structure. - Updated
tasks.mdto tick verify tasks 3.1–3.8 and link each item to the corresponding section in the findings document.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| openspec/changes/add-doxbench-editing-phase-b/verification-findings.md | New verification findings document capturing evidence and consequences for verify tasks 3.1–3.8 (and an extra RPC mechanics verification). |
| openspec/changes/add-doxbench-editing-phase-b/tasks.md | Marks verify tasks 3.1–3.8 as complete and adds one-line pointers to the new findings sections. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+129
to
+131
| system prompt, and invoked by the model issuing an ordinary `write` tool | ||
| call whose `path` is `xd://<mounted-name>` and whose `content` is the JSON | ||
| argument object. |
brettheap
pushed a commit
that referenced
this pull request
Aug 23, 2026
… Brett's explicit word This was the one archived proposal among forty-four carrying `Status: ratified` with no ratification citation. The promoted rule in `openspec/specs/document-lifecycle/spec.md` makes a bare uncited `ratified` header a violation whatever else the document says, and `sanction-ratified-record-spelling` parked this record at its tasks.md 5.2 as out of scope, routed through a citing change. This is that change. THE RATIFICATION FACT, DERIVED FROM THE RECORD RATHER THAN ASSUMED. Three points on this change's own record name it: * The archive commit `02a71d6` (PR #264, 2026-08-22): "Archived on Brett's explicit word, through proposal-support.py's archive verb". PR #264's body opens "Brett's word given." * Task 13.8, written before the archive: "`proposal-support.py archive` is the sanctioned path and it is Brett's act on his explicit word, not a consequence of this box being checked." * The commit inside PR #264 that actually WROTE the `ratified` value -- `bdd09c2`, "Bot round on the archive: a mislabelled sha and a stale proposal Status" -- recording why: "a change whose spec deltas have PROMOTED is ratified by construction." So the ratification is the archive act and the promotion it performed, Brett Heap, 2026-08-22 -- an approver, a date, and a resolvable record, all three axes of the record-citing form's floor. THE HEADER'S HISTORY IS NOT WHAT A READER WOULD ASSUME, and it was checked commit by commit. The proposal read `Status: draft` from its proposing commit `d3d7f58` (2026-08-18, PR #205) through EVERY realization slice -- `e7e7a84`, `a4a6f6e`, `5daa173`, `ece236a`, `4926b7c`, `08c5aa9`, `0f50b35`, `671a690` -- and `ratified` was written only at the archive, on a Codex review finding. THE ORIGIN PAIR IS DELIBERATELY NOT CITED. `.openspec.yaml` carries `approved_by: Brett Heap (live-UI annotations and in-session rulings ...)` and `approved_on: 2026-08-18`, but those fields are nested under `origin:` and approve the staged topic's EXIT and this change's authoring. Citing them is the error `docs/archive-record-discrepancies.md` C2 names: "Reading them as ratification would date each change's ratification to the day it was proposed." B1's phase-a citation, which did cite an `.openspec.yaml` pair, is not a precedent -- the register states its condition, "its `approved_on` coincided with the ratification", and that fails here by four days. PRs #206 and #207 do call this a "ratified change" in prose, but that is builder prose written against a header still reading `draft`, and no ratification act distinct from the origin approval is recorded on 2026-08-18; it is reported, not cited. `Ratified:` is the correct spelling, verified rather than assumed: no approving OpenSpec change exists. The only other changes naming this one are Phase A, its two citers, and `sanction-ratified-record-spelling`, which found this defect. THE ORIGINAL RECORD STANDS WORD FOR WORD -- the diff is 96 insertions and zero deletions, so unlike Phase A's own bookkeeping correction (which had to overwrite the `Status:` value) the 2026-08-10 append ruling is honoured literally. Reasoning recorded in phase-b's tasks.md "Bookkeeping correction"; 5.2's phase-b half discharged inline with a dated suffix, its roster-device half left open and the box left unticked. Gates: `openspec validate --all --strict` 68 passed / 0 failed (main moved from 67 while this was authored); `tests/doc-health` 724 passed, unmoved before and after; `tests/ideation-dashboard -k workbench` 140 passed. Census re-measured the way the sanction authoring did: 88 archived proposals, 44 `Status: ratified`, 44 carrying exactly one citation, 0 missing. The line was also driven through the real checker helpers -- `fam_ratified_provenance`'s count is 1 and all three floor axes read True, with three resolvable record paths. Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Sep 3, 2026
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…r lanes (proposal, draft) (#676) * Author openxFactory's half of the floor addition grace as a draft proposal codexFactory's `add-floor-addition-grace` is RATIFIED and REALIZED (issue #203 ruled option (c), "rule c, this lane authors it"; "ratify 205, B1 stands"; PR #206, merge `712fc8ca`). Its ratified requirement *"The blocking check and the reporting lane implement one completeness rule"* has a second lane, and the second lane is this repository's — NAMED there as the companion change `openxFactory: mirror-floor-addition-grace` and deliberately not authored there (its tasks 4.1-4.3). This is that companion, as a PROPOSAL ONLY. ## What is refused today, and where it blocks The `repository_gate_floor` for `opensoft/openxFactory` is an EXACT SET: 59 generated spec paths inside a 67-entry floor. So promoting a capability is an ADDITION to the set the floor enumerates, and `surface - entries` reports the new path as uncovered in two places at once — the REQUIRED `pytest-suite` assertion `test_every_tracked_openspec_spec_path_is_on_the_floor` (org ruleset 21538893) with the two negative controls that fail with it by construction, and `merge-master-approval.yml` step 8 at stage `floor_incomplete`. The repair was paid FIVE TIMES IN TWO DAYS (codexFactory PRs #183, #195, #197, #198, #204 - four on 2026-09-04 alone), each matched here by an advance moving five pin sites in lockstep. Until this companion lands, the ratified grace is INERT IN THE ONLY LANE THAT BLOCKS. ## The measured defect this retires, re-measured here rather than quoted Re-measured on this branch against `origin/main` (`55c95dc1`), 2026-09-05: 3afd8a8 (THE LIVE PIN) NOT an ancestor of main c236c6b NOT an ancestor of main 8d893a0 NOT an ancestor of main 0ae7408 ancestor 2a3b29c ancestor THREE OF THE LAST FIVE declared `generated_at` pins are not ancestors of `main`, the live one among them, because the old order forced regeneration at an openxFactory PULL-REQUEST HEAD. With the addition graced the regeneration FOLLOWS the landing and can pin at a landed commit. ## The packet SEVEN `## ADDED Requirements`, 28 scenarios, in a NEW capability `review-lane-floor-mirror`. No `MODIFIED` and no `REMOVED` block anywhere in the delta: `grep -rl "review-lane-pin\|LQ-A7\|floor_snapshot" openspec/specs` returns NOTHING across all 59 promoted capabilities, so there is no requirement text to modify and no sibling-delta hazard to walk into. Decision A, the packet's one real design choice: the REQUIRED lane MIRRORS the rule and is falsified by replaying the core's 16 exported vectors plus its 5 refused ones; the ADVISORY lane IMPORTS `evaluate_floor_completeness` outright. The asymmetry is measured, not stylistic - the pinned core checkout is `continue-on-error: true` in `pytest-suite.yml` on purpose ("a required check that fails for reasons the candidate cannot fix blocks everything"), so an IMPORTING blocking assertion could only skip (the blocking check silently ceasing to block - the CSC-F16 shape inside the guard against CSC-F16) or fail for a cause no candidate can fix. Step 8 already treats an unreadable core as fatal and has nothing to protect by keeping a second copy of the rule. Decision B: a NEW capability rather than `neutral-product-pin`, on that pin file's OWN written ground - `contracts/review-lane-pin.yaml` declares `kind: pinned_workflow` and says why, "Reusing `pinned_contract_manifest` would have claimed a digest discipline this pin does not have and cannot have". Decision D: `sequenced_after: [codexFactory:add-floor-addition-grace]` - the FIRST cross-repository entry in this corpus. The grammar accepts `<repository>:<change-id>` and checks a qualified foreign entry for well-formedness only, which is exactly the disposition this dependency has. ## Validation openspec validate mirror-floor-addition-grace --strict valid openspec validate --all --strict 90 passed, 0 failed (was 89) scripts/proposal-support.py . verify ok scripts/validate-sequenced-after.py . passed (31 active, 2 declaring) pytest tests/review_lane_pin -q 55 passed, 1 skipped (unchanged) `--ledger-diff` is STALE by exactly this change's one missing row and the six derived totals that follow from it; the row is seeded in the next commit, once the pull request number this ledger records exists. RATIFICATION IS OWED AND IS BRETT HEAP'S ACT. His word of 2026-09-05, "companion", authorized the AUTHORING and not the content; nothing here is ratified by being authored. No realization code, no pin advance, no regeneration, no D-3 tolerance value, and no codexFactory file touched. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Move the one ledger row this packet's arrival moves A consequence of the previous commit, not a re-baseline to make a check pass. ## The row — moved by the tool, never by hand `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#676' --moved-on 2026-09-05` -> `wrote tests/sequenced_after/corpus-ledger.yaml (168 rows, 1 moved by #676)`, and the row it names is `mirror-floor-addition-grace`. + mirror-floor-addition-grace: {state: active, class: sole, + declares: [codexFactory:add-floor-addition-grace], depth: 0, + prose: false, moved_by: "#676", moved_on: "2026-09-05"} ONE LINE, ONE INSERTION, ZERO DELETIONS — `git diff --stat` reads `1 file changed, 1 insertion(+)`. **NO PARTNER FLIPPED**: the packet's delta opens a NEW capability (`review-lane-floor-mirror`), so it shares no requirement key with any change in the corpus and lands `class: sole` without moving anybody else's class. **No MOVEMENT LOG entry is owed** — `add-per-change-sweep-ledger`'s restated rule reserves an entry for a move the row diff does NOT state, and this move is entirely stated by the row diff. `--ledger-diff` had reported the staleness in advance and named its whole extent: one missing row plus the six derived totals that follow from it (change_ids 167->168, active 30->31, sole_modifiers 52->53, active_sole 10->11, declaring 3->4, and the declaring_ids tuple). It now reads `per-change sweep ledger consistent with the corpus (168 rows)`, exit 0, and `pytest tests/sequenced_after` is **162 passed** where it was 4 failed. ## One honest finding about `depth: 0`, recorded rather than smoothed over This is the corpus's FIRST cross-repository `sequenced_after:` declaration, and the derived `depth` it produces is **`0`** — because the sweep measures "the longest RESOLVABLE declared chain from this change", a qualified FOREIGN entry resolves for no validator by design (*"the neutral validator cannot read another repository's corpus and MUST NOT pretend to"*), and no hop is therefore walkable. The ledger's own header says `0` is the value it wanted to keep away from a non-declaring row because *"`0` would read as a resolved root"*. Here the row DOES declare — `declares:` carries the foreign parent verbatim, so the two keys read together say exactly what is true — but a reader keying on `depth` ALONE would read this row as a root, which it is not. The value is what the tool derived and it is not hand-corrected here; the observation is recorded so the first instance of the shape is on the record rather than rediscovered by whoever files the second one. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record the depth: 0 reading the first cross-repository declaration produces The observation was in the ledger commit's message and nowhere a future author would look. `design.md` gains § 7, so the shape is on the record at its FIRST instance rather than rediscovered at its second. `sequenced_after: [codexFactory:add-floor-addition-grace]` is the corpus's first QUALIFIED FOREIGN entry — measured 2026-09-05, three changes declare the field and all three declare bare local parents. The sweep derives `depth: 0` for it, and the value is TRUE: `depth` is "the longest RESOLVABLE declared chain", and a qualified foreign entry resolves for no validator BY DESIGN (`validate_resolvable` checks well-formedness only, because "the neutral validator cannot read another repository's corpus and MUST NOT pretend to"). But the ledger's own header keeps `depth` off a non-declaring row for exactly this reason — "`0` would read as a resolved root" — and `[]`, the POSITIVE root claim, is a fact the ledger goes to trouble elsewhere to keep apart from absence. Read together with `declares:` the row is exact; read on `depth` alone it is misleading. Nothing is hand-corrected: hand-editing a derived key is the defect "moved by the tool, never by hand" exists to prevent. Whether `depth` should distinguish "no resolvable hop" from "resolved root" is left as a question somebody can take up deliberately, in its own change, now against a real example. `openspec validate mirror-floor-addition-grace --strict` still valid; no requirement, scenario or front-matter field moves. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Copilot round 1: the pin-window command is the core's own, argument for argument FINDING ACCEPTED, AND IT IS A REAL DEFECT rather than a style note. Copilot found the same fault at two of the three sites that write the command (`proposal.md` § What Changes, `tasks.md` 2.2); the third (`design.md` § 3) had `--name-only` but not `--pretty=format:` and carried HALF the same fault, so all three are corrected in one act rather than only the two that were reported. WHAT WAS WRONG. The packet wrote the B1 window as git log --diff-filter=A <generated_at>..<base> -- openspec/specs which emits COMMIT HEADERS interleaved with nothing else — no path list at all without `--name-only`, and commit metadata mixed into the paths even with it unless `--pretty=format:` empties the header. A realization following the written command would have parsed a different thing from the one the pinned core parses, in a packet whose entire object is that the two lanes must not diverge. THE FIX IS NOT "ADD A FLAG", IT IS "COPY THE CORE'S INVOCATION". All three sites now carry `specs_floor_block.paths_added_after_pin`'s exact argument list: git log --diff-filter=A --name-only --pretty=format: \ <generated_at>..<base> -- <prefix> and each says why the two flags are load-bearing. `design.md` § 3 states the principle the correction actually follows: copying the invocation is the same discipline as replaying the core's vectors — the rule has one home, and so does the command that feeds it. No requirement, no scenario and no front-matter field moves; the spec delta is byte-unchanged. `openspec validate mirror-floor-addition-grace --strict` valid; `--all --strict` 91 passed / 0 failed; `proposal-support.py . verify` ok. Refs #675 Lane: openxfactory-2 (openXfactory-2) Co-Authored-By: Claude Fable 5.1 <[email protected]> * Record Brett's ratification of mirror-floor-addition-grace: "ratify the companion when green, then realize it" Brett Heap (repository owner), in session, verbatim: "ratify the companion when green, then realize it" — a standing word given while the packet was being authored, applied at the first head where the condition held, ce9a81e (all ten checks green, three Copilot threads resolved, Copilot Approval recommended, Codex quota-refused). Recorded on PR #676 (comment beginning "RULING — Brett Heap") and issue #675 (comment beginning "RATIFIED — Brett Heap"). RATIFIED: the seven `## ADDED Requirements` (28 scenarios) on the new capability `review-lane-floor-mirror`, as written. Because the word preceded the authoring's completion, authoring decisions A-F stand as recommended and none is separately ruled; the owner may veto any by follow-up. Nothing in the spec delta changes between the ruled head and this commit: `git diff ce9a81e -- specs/ design.md tasks.md .openspec.yaml` is empty. Ratification authorizes promotion of the delta and performs no realization; realization is the next act on the same word. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) * Copilot round 2: the origin field answers its own "has not happened" .openspec.yaml's origin.approved_by note said the packet's content ratification "has not happened" — true when authored, stale after the ratifying commit. Append, in the same field, the house precedent's shape (amend-chain-anchoring-readiness-and-durability's .openspec.yaml): the field still records authorization to file only, and a separate dated statement records that the packet has since been ratified, citing the verbatim word, the head it applied at, and the ratification record. Nothing in the field's original text moves. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> Lane: openxfactory-2 (openXfactory-2) --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 5, 2026
…ddition grace (#686) * Advance the review-lane pin to codexFactory e57643a7, carrying the addition grace Lane: openxfactory-2 (openXfactory-2) Realization Commit A of `mirror-floor-addition-grace` (tasks.md task 1): the five-site lockstep advance the mirror in Commits B/C depends on, per requirement 6 ("the mirror is inert until the pin carries the rule, and the pin moves as one act"). codexFactory `origin/main` re-measured at realization time (task 1.1's own instruction, not the packet's dispatch-time value): it had moved past `712fc8ca` (PR #206, merge, realizing the ratified `add-floor-addition-grace`) to `e57643a7` (PR #208 merge) by way of one intervening PR (#207, a vendored `uv.lock` only). `git merge-base --is-ancestor 712fc8ca e57643a7` holds, and the floor document at `e57643a7` is byte-identical to the document at `712fc8ca` and at `467cec42` (sha256 `0eba8e58…7ba4be`, 15402 bytes) — PR #207 and #208 touch unrelated `exercise-gate-footing` files only, never `repository_floor_drift.py`, `specs_floor_block.py`, the floor document, or the vectors fixture. This is the FIRST advance in this pin's history whose floor grew by ZERO paths: the generated block is unchanged (`generated_at` stays `3afd8a8c`, `entry_count` stays 59, floor total stays 67); the object of this advance is the addition-grace mechanism the core shipped alongside it — one new hand-authored field, `floor.pending_floor_extension_tolerance: 3`, outside the generated block — not a spec promotion. `floor_snapshot.sha256` moves (`c4a386db…` -> `0eba8e58…`) because it hashes the whole document; `floor_snapshot.entry_count` does not (67 -> 67). Five sites, one commit: `contracts/review-lane-pin.yaml` `core_commit`; `.github/workflows/merge-master-approval.yml` `PINNED_CORE_COMMIT` and its core checkout `ref:`; `.github/workflows/pytest-suite.yml`'s core checkout `ref:`; and `contracts/review-lane-floor-snapshot.yaml`, re-copied byte for byte from codexFactory `e57643a7` (not hand-edited) and gated by `cmp` against a codexFactory clone before this commit. `pytest tests/review_lane_pin` is green both without the core on disk (55 passed, 1 skipped) and with `PINNED_CORE_CHECKOUT` pointed at a codexFactory checkout of `e57643a7` (56 passed, freshness verifier runs and passes). The 40-hex guard holds: exactly one `\b[0-9a-f]{40}\b` token in `contracts/review-lane-pin.yaml` (`core_commit` itself). `pinned_members` gains two new entries this advance makes load-bearing: `scripts/merge_master/specs_floor_block.py` (`paths_added_after_pin` / `pin_window_for_document`, B1's measurement) and `tests/merge-master/fixtures/floor-addition-grace/` (the replayable vectors the required lane's mirror is falsified against, Commit B). Neither is a pin site; both are read out of the pinned tree and are named here so a future re-point ceremony knows they are now consumed. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Mirror the addition-grace completeness rule into the required coverage assertion Lane: openxfactory-2 (openXfactory-2) Realization Commit B of `mirror-floor-addition-grace` (tasks.md task 2). The required coverage assertion (LQ-A7, `test_every_tracked_openspec_spec_path_is_on_the_floor`) and its two negative controls now classify an off-floor tracked path exactly as the pinned core's `evaluate_floor_completeness` does: covered-pending when the candidate's own diff creates it, or when it landed on the base branch after the snapshot's declared `generated_at` (B1); uncovered otherwise; no grace when the base or the pin is unmeasurable (fail-safe, the default). Authoring decision A, as ratified: the assertion RE-IMPLEMENTS the rule from git alone (`resolve_base_branch`, `created_since_merge_base`, `pin_window`, `graced_uncovered`) rather than importing the pinned core — the core checkout carries `continue-on-error: true` by design, so an importing required assertion could only skip on an outage (a CSC-F16 silent-false-green) or fail for a cause no candidate can fix. It is FALSIFIED instead, by a new `TheVectorReplay` class that replays the pinned core's own 16 accepted and 5 refused vectors (`tests/merge-master/fixtures/floor-addition-grace/ vectors.json`), read from the checkout, comparing `tracked_under_prefix`, `uncovered` and `pending` — the facts this mirror actually computes; `stage`/ `escalated`/drift are the advisory lane's concern (Commit C), not this one's. `test_the_unmutated_surface_is_a_positive_first` and `test_a_fabricated_off_floor_spec_path_is_refused` move onto the graced expression, keeping their meaning; the fabricated path is created by no diff and lies in no window, so it stays refused — asserted explicitly, so the grace cannot be misread as "additions are free" (decision E). A new `TheGraceItself` class adds the negative controls the grace itself needs: a created path is pending; a modification/copy/rename/removal are not, including real disposable-git-repository tests proving the actual `git diff --diff-filter=A` / `git log --diff-filter=A` invocations exclude each; an unmeasurable base or an unmeasurable/non-ancestor pin grants nothing from that half alone, without disabling the other half's independent grace. The vector replay's skip is watched BY NAME in `pytest-suite.yml` (`VECTOR_REPLAY_CLASSNAME`/`VECTOR_REPLAY_TESTNAME`), same discipline as the freshness verifier's, with `EXPECT_SKIPPED` moving 21 -> 22 and a new `test_the_required_suite_watches_the_vector_replay_by_name` asserting the pair against the live class/method objects. The JUnit-parsing python is factored into one `named_verdict()` helper called for both watched pairs, rather than duplicated. `pytest tests/review_lane_pin` is green both without the pinned core (72 passed, 2 skipped, 22 subtests) and with `PINNED_CORE_CHECKOUT` pointed at a codexFactory checkout of `e57643a7` (74 passed, 43 subtests — the vector replay's 21 subtests plus the negative-control subtests, all exercised rather than skipped). Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Import the addition-grace completeness rule into the advisory lane's step 8 Lane: openxfactory-2 (openXfactory-2) Realization Commit C of `mirror-floor-addition-grace` (tasks.md task 3). `.github/workflows/merge-master-approval.yml` step 8 now imports the pinned core's `evaluate_floor_completeness` and `pin_window_for_document` directly (authoring decision A: the advisory lane already refuses to run at all when the pinned core is unreadable, so it has nothing to lose by importing and everything to lose by keeping a second copy of the classification) and DELETES both the hand-rolled `sorted(set(tracked) - set(floor. never_clearable_paths))` completeness set difference and the separate, conditional `candidate_floor_drift` call: both partitions (`caused_by_candidate`/`already_unreachable` and `uncovered`/`pending`) now come from ONE call over the SAME post-merge facts, superseding two callers of the pinned core's own `_drift_between` with one. `refusals[0].stage` keeps its documented order (drift, then already-unreachable, then completeness, with `pending_floor_extension` reported only when nothing refuses) because that order is the core's own `FloorCompleteness.refusals()`, not re-derived here. Requirement 5 / decision C: step 3's base checkout ("Checkout base (this repository)") now carries `fetch-depth: 0` — measured cost 2,025 commits / 29.6 MiB on this branch, 2026-09-05 — because B1's window (`generated_at..origin/main`) is unmeasurable on the shallow checkout this step had before, which would fail-safe the pin-relative grace off on every run of this lane while it worked in the required lane (`pytest-suite`, already full history). The targeted-fetch alternative is recorded as cheaper but strictly more fragile (a depth sufficient today silently fails into the fail-safe as the pin ages). Task 3.4: the jq report and the rendered advisory-verdict table both gain a covered-pending count, per-path reasons, the escalation state and whether B1's pin was measured; every new lookup keeps the `// []` / `// "-"` default discipline the early refusal stages need. Task 3.5: the anti-vacuity step gains a POSITIVE assertion that the addition-grace computation produced a result (`has("pending_floor_extension")` plus its own four-field shape), same form as the existing three (b′) guards. Verified against three real, hand-constructed scenarios run through the extracted step-8 script with the pinned core on disk (not CI — a local pre-merge check, not the archive-gate evidence tasks 5.2/5.3 require of a real run): a clean tree (`floor_complete`); a candidate that adds an off-floor spec path (`pending_floor_extension`, path named, tolerance 3, pin correctly NOT measured — `3afd8a8c` is not an ancestor of this branch's `origin/main`, exactly the live-pin defect the packet's own proposal documents); and a candidate that removes a floored path (`floor_drift_caused_by_candidate`, unchanged from before this commit). Updates two pre-existing `test_review_lane_caller.py` assertions that named the old shape by literal string: `test_the_caller_calls_the_three_amended_core _functions` now names `evaluate_floor_completeness` in place of `candidate_floor_drift` (still exercised — the SAME underlying function, one call rather than two); `test_the_caller_asserts_the_floors_completeness` (renamed `..._and_grace`) gains assertions for `pin_window_for_document` and `pending_floor_extension`; a new `test_the_base_checkout_carries_the_history_the_pin_window_needs` asserts `fetch-depth: 0` on the named checkout step. `pytest tests/review_lane_pin` is green both without the pinned core (73 passed, 2 skipped, 22 subtests) and with `PINNED_CORE_CHECKOUT` pointed at a codexFactory checkout of `e57643a7` (75 passed, 43 subtests). `tests/doc-health/test_workflow_contract.py` (18 tests) is unaffected. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Tick tasks.md for the mirror-floor-addition-grace realization's first PR Lane: openxfactory-2 (openXfactory-2) Ticks 1.1-1.5 (the pin advance), 2.1-2.8 (the required lane's mirror and vector replay) and 3.1-3.6 (the advisory lane's import and reporting), each with an evidence line naming the commit and the measured test counts; ticks 5.4 (the vector replay green on this head, against the pinned core). Does NOT tick 4.1-4.3 (the first landed floor regeneration is a separate, later codexFactory act), 5.1 (the full `pytest-suite` green is CI's own required check, not yet observed on this head), 5.2-5.3 (the `pending_floor_extension` outcome and a real promoting pull request observed NOT RED are reserved for a real run, which this PR's local verification is not), or 6.1-6.3 (the owner's own acts, per that section's own heading). Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Fix: EXPECT_SKIPPED stays 21, not 22 — CI proved the assumption wrong Lane: openxfactory-2 (openXfactory-2) `pytest-suite` reds on PR #686's first push (run 33978773175): "skipped 21, pinned exactly 22", with BOTH named verdicts (freshness verifier, vector replay) reporting `passed`, not skipped. Commit f6185a1 moved `EXPECT_SKIPPED` 21 -> 22 on tasks.md task 2.7's literal instruction, on the assumption that the new vector-replay test always contributes a skip. It does not: on the normal path (pinned core present, the common case in CI) it RUNS and PASSES, exactly like `TheFreshnessVerifier` beside it — the two share the same `locate_pinned_core()` guard and only skip TOGETHER, on a core-checkout failure, which would report 23 (not 22). The happy-path aggregate is therefore unchanged at 21, and pinning it at 22 reds every normal run. Reverts `EXPECT_SKIPPED` to `"21"` with a corrected comment; fixes the two `test_floor_snapshot.py` docstrings that repeated the wrong assumption (`test_the_required_suite_watches_the_vector_replay_by_name` and `TheFreshnessVerifier`'s own class docstring); corrects tasks.md's 2.7 evidence line to record the deviation from that task's own prose, with the CI run that caught it. `pytest tests/review_lane_pin -q`: 73 passed, 2 skipped, 22 subtests (unchanged in shape — the fix is a comment and one string literal, not a test-count change). Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> * Tick tasks.md 5.1: pytest-suite green on CI, and the local-clone submodule gap Lane: openxfactory-2 (openXfactory-2) `pytest-suite` passed on CI at head `8e3910d9` (run 33979893935, 22m21s): selected=9725 passed=9704 skipped=21 failures=0 errors=0, both named verdicts passed. Ticks task 5.1 with that evidence alongside the already-measured subset results. Also records what the ~95 failures / ~50 errors in the FIRST local full-suite run (noted but not yet explained in the prior commit) turned out to be: this clone never ran `git submodule update --init openXwallet`, and every one of them sat in `tests/trust-anchor/`, `tests/openxwallet_pin/`, `tests/clearing/`, or was the flat-checkout case pytest-suite.yml's own header already documents (`test_find_validator_locates_pinned_checkout`). Initializing the submodule and re-running each affected subtree cleanly (311 passed, 203 passed) confirms this was a local setup gap, not a defect this PR introduces — CI's own "Init the openXwallet gitlink only" step does this already, which is why the CI run above needed no such correction. Refs #675 Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
Summary
add-doxbench-editing-phase-b, per that change's own tasks.md instructions.openspec/changes/add-doxbench-editing-phase-b/verification-findings.md: one section per verify item, with method, evidence (source citations + hands-on command/output snippets), FINDING, and implementation consequence.tasks.mdwith one-line pointers to the findings doc.switch_session+set_modelRPC mechanics end-to-end (requested by the delegating brief as its own item, beyond the tasks.md (a)-(g) list).Method
Cloned
can1357/oh-my-pi(the real project — not the unrelated npmoh-my-pipackage) and installed the realompv17.3.7 binary in an isolated scratchpad. Built a hand-rolled stdio MCP echo server and a local, keyless, zero-cost mock OpenAI-compatible model server, then drove realomp --mode rpcsessions end-to-end (no real API keys or cost anywhere) to get hands-on proof rather than source-reading alone, wherever feasible. Cognee's current default graph backend was checked viagh apiagainst the live upstream repo.memory-gatewayrealization depth was checked via read-only grep across the xFactory family checkouts.Key findings (see verification-findings.md for full evidence)
off|local|hindsight|mnemopi), one enum selector,offis the default and a true no-op.write xd://<tool>dispatch mechanism), including a real subprocess round trip.0.19.0upstream (merged 2026-08-15), still under active churn — informational only./shaketrigger surface: both manual and automatic exist; manual/shakeconfirmed hands-on reachable in--mode rpc.installs/hermes-install's memory-boundary gate (ratified 2026-07-24) precedes Phase B but is subject-bearing and provisional; Phase B remains the first subject-free, formally-conformant consumer — a precision correction to Claim 22's framing is recommended before landing, not a reversal.None of the findings reopen a design section. Two add concrete notes for the realization slices (task 9.1's dereferencing requirement; a one-sentence precision edit to design §7.1 / Claim 22).
Test plan
OPENSPEC_TELEMETRY=0 openspec validate add-doxbench-editing-phase-b --strictpassesverification-findings.mdDo NOT merge — this PR is for review; the realization slices it unblocks are downstream of ratification per this change's own tasks.md.
🤖 Generated with Claude Code