Repository navigation
Record Project Alfa pilot proof - #24
Conversation
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
Records completion of Phase 6 (“Project Alfa Live Pilot”) for the enable-live-openworkflow-factory OpenSpec change by updating the task checklist and adding a Phase 6 evidence bundle documenting the controlled local/replay pilot path and validation outputs.
Changes:
- Mark Phase 6 Project Alfa pilot tasks as completed in the change task list.
- Add Phase 6 evidence write-up covering pilot target, commands run, artifact coverage, acceptance checks, and stop conditions.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| openspec/changes/enable-live-openworkflow-factory/tasks.md | Checks off Phase 6 pilot tasks to reflect completion. |
| openspec/changes/enable-live-openworkflow-factory/evidence/phase-6-project-alfa-pilot.md | Adds Phase 6 pilot evidence documenting the controlled local/replay pilot run and acceptance/stop-condition results. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | PR admission packet | PR admission replay and non-doc PR admission smoke | | ||
| | GitHub PR record | dry-run/draft PR fixture from live pilot smoke | | ||
| | Merge readiness report | non-doc Merge Council smoke and six-workstream smoke | | ||
| | Merge Master decision artifact | covered by later Phase 7/8 evidence | | ||
| | Traceability report | replay smoke checks feature/job/artifact/approval traceability edges | |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fd09dd1d1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| - [ ] 6.2 Run or replay decomposition, Spec Kit, branch, check, and review flow. | ||
| - [ ] 6.3 Verify changed-line budget and traceability. | ||
| - [ ] 6.4 Record pilot evidence bundle. | ||
| - [x] 6.1 Select or confirm the low-risk Project Alfa pilot feature. |
There was a problem hiding this comment.
Keep the pilot selection open until one feature is named
This checks off selecting the Project Alfa pilot, but the evidence added in the same commit still says the pilot is FEAT-000 / FEAT-001 depending on the replay fixture. When operators or auditors use this task list to proceed to the external pilot, the traceability and changed-line-budget proof can point at a different feature than the one actually piloted, so 6.1 should stay open or the evidence should name the single selected feature.
Useful? React with 👍 / 👎.
| | PR admission packet | PR admission replay and non-doc PR admission smoke | | ||
| | GitHub PR record | dry-run/draft PR fixture from live pilot smoke | | ||
| | Merge readiness report | non-doc Merge Council smoke and six-workstream smoke | | ||
| | Merge Master decision artifact | covered by later Phase 7/8 evidence | |
There was a problem hiding this comment.
Mark the future Merge Master artifact as pending
This row says the Merge Master decision artifact is covered, but its coverage is only “later Phase 7/8 evidence” while Phase 7’s Merge Master task is still unchecked and the Remaining Work section also lists Merge Master proof as not closed. Treating a future artifact as covered lets this Phase 6 bundle be used as complete end-to-end pilot evidence even though the Merge Master decision is still missing; mark it pending instead.
Useful? React with 👍 / 👎.
| | Traceability exists from feature to PR admission readiness | PASS | `smoke-live-factory-replay.sh` | | ||
| | No approval gate is bypassed | PASS | replay blocks continue before approval and only records PR-open artifact after approval | | ||
| | PR is not opened before PR admission | PASS | replay asserts `pr_opened` event absent before approval | | ||
| | Changed-line budget is enforced by policy | PASS | live pilot config validation caps at 10,000 changed lines | |
There was a problem hiding this comment.
Record the pilot's actual changed-line count
This marks the changed-line budget as verified using only the configured 10,000-line cap, but that does not prove the replayed branch or PR fixture actually stayed under the cap (or under the local <3,000-line pilot target). A replay with an over-budget diff could still have a valid cap configured, so the Phase 6 evidence should record the actual changed-line count from the branch/check/PR-admission artifact before task 6.3 is considered complete.
Useful? React with 👍 / 👎.
| | Missing Spec Kit control fixture | PASS | | ||
| | Missing implementation worker contract | PASS | | ||
| | PR opened before admission approval | PASS | | ||
| | Secret material appears in Git-tracked pilot files | PASS | |
There was a problem hiding this comment.
Check all generated pilot outputs for secrets
The change's stop conditions require stopping if secrets appear in Git, logs, memory, artifacts, or PR text, but this stop-condition check only covers Git-tracked pilot files and the acceptance check above uses a committed-secrets smoke. In this controlled pilot, Hermes artifacts and a draft PR record are generated outputs, so a token leaked there would not be covered by the recorded PASS; extend the check or mark this stop condition incomplete.
Useful? React with 👍 / 👎.
…60-file surface (#650) * Bump the openRepoShape pin to 122d729b: 27 digested / 33 path-only / 60-file surface `contracts/openreposhape-pin.yaml` pinned `opensoft/openRepoShape` at `deacbdcce4f52af427bcb4edd075fcc992e3dabe` — PR #4, the commit `add-project-repo-schema` was ratified against. The standard's `main` is now `122d729bc0c2f2e0ded0bb61b6b97f49512f613e` (2026-09-04, after #24 and #25), the shape every project carrying the standard has already taken through `update-shape`. The pin's own grammar makes this a RE-ENUMERATION rather than a one-line edit: the two lists must cover exactly the files present at the pinned commit (`pin-surface-undeclared` otherwise), and `122d729b` carries 60 files where `deacbdcc` carried 34. Each of the 26 new files was classified by the header's own rule — the standard's NORMATIVE SURFACE is digested; tests, CI, ignore files, `CLAUDE.md`, template READMEs and Makefiles and leg skeletons are path-only — giving 27 digested / 33 path-only. Every member declared at `deacbdcc` is still present and still in the list it was in; 11 of the 16 old digests move because the upstream bytes moved, and the five that do not are `templates/assembly-root/contracts/{spec,code,shape}-pin.yaml`, `bootstrap` and `LICENSE`. Every sha256 was recomputed from the real bytes at `122d729b` and none was transcribed. The header prose moves with the lists (SIXTEEN → TWENTY-SEVEN, EIGHTEEN → THIRTY-THREE, 34 → 60, and the "WHICH SIXTEEN, AND WHY THOSE" paragraph rewritten for the family shape, in-place adoption, `update-shape` and the path classification), and the tests' hard-coded `COMMIT` and count assertions move with it. $ python3 scripts/validate-openreposhape-pin.py --checkout <openRepoShape@122d729b> OK openreposhape-pin verified: opensoft/openRepoShape@122d729 from checkout …/ors-main, 27 digest(s) recomputed, 33 member(s) present, 60 file(s) declared with none undeclared Unreleased: the pin file is not a `contracts/manifest.yaml` entry and not a release-inventory member, so no cut is made here and the next cut re-baselines (`docs/contract-versioning-policy.md`). Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T * openRepoShape pin: count-free prose, and the doctrine's pin sentence amended The counts the bump moves were also written in prose that no test reads, which is exactly how a count goes stale. Three sites, and none of them needs a number to say what it says: - `scripts/validate-openreposhape-pin.py` — "THE TRUSTED REFERENT IS `commit` PLUS THE SIXTEEN `sha256`s" becomes "PLUS THE DIGESTED MEMBERS' `sha256`s", and "beats sixteen failures that need triage" becomes "a pile of failures". - `scripts/doc_health/pin_class.py` — the `openreposhape-pin-product-commit` note said the verifier "recomputes the sixteen digested members"; it now says "the digested members". `docs/project-repo-schema.md` is `Status: ratified` (`Ratified by: add-project-repo-schema`) and said, in bold, "The commit this repository pins is `deacbdc`". That sentence became false with the bump. The doctrine itself does not move — no requirement of `project-repo-schema` changes, and the pin advances within its own ratified grammar — so this is a CURRENCY correction, not a delta under the lifecycle's Explicit Delta Rule, and it owes no OpenSpec change and no `xspec:supersedes` marker. It is made the way `docs/document-lifecycle.md` itself makes one: the historical fact is kept and restated in the tense it is true in ("the commit this repository RATIFIED against is `deacbdc`"), and a dated `> Amended 2026-09-04` note quotes what the text first said, names the commit now in force, and says the pin file rather than the sentence is where the current commit is read. `README.md`'s MedxScribe pilot line and `ideation/README.md`'s record of what `add-project-repo-schema` landed keep `deacbdc`: both are historical statements about a past run and a past packet, not claims about the pin in force. Lane: repo-shape Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_015WekBEXf55Xv64psGe5t3T --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
… two more callers translate the refusal, and the repair stops at a carved file
Lane: openxfactory-4
SIX ANSWERS, five taken and one already the answer. Copilot's review at
`b2bea3b4` posted two threads and suppressed four more; the review at
`2e93000a` generated nothing new and re-listed the two. All six are here.
1. THE PREDICATE FAILED OPEN ON HALF A BLOCK, in all three copies
(`carved_reach.py`, `verify-carve-arrival.py`, `validate-carve-manifest.py`).
`retired: {at, at_path}` with no `ruling:` and no `surface:` read as a
RETIREMENT, so a row the manifest validator refuses twice over would already
have SILENCED that row's arrival check at the leg. The predicate's own
docstring said it failed closed; it checked two of the four required keys.
It now requires all four as non-empty strings.
MEASURED, not argued: with the landed two-key predicate, over a tree where the
file is absent under a half-written block, `verify-carve-arrival.py` prints
`{"result": "ok"}` and exits 0. With this commit it refuses `arrival-missing`
and the row stays owed. That pair is
`test_a_half_written_retirement_leaves_the_arrival_owed`, and it fails against
the previous commit — run both ways before this message was written.
2. TWO MORE RETAINED-CONSUMER CALL SITES translate `CarveRowRetired` instead
of leaking it as a traceback. Round 1 found the three that resolve a path BY
NAME; these two resolve one through a ROOT, and their `except ImportError`
guards the lazy import, not the call:
`scripts/ideation_dashboard/doxbench_contracts.py::_shed_aware` now raises
`ContractPinError` — the refusal `_pinned_schema_bytes` already raises for a
pinned schema the checkout does not have — and
`scripts/hermes_runtime_validation/release.py::_shed_aware` raises
`ReleaseDependencyError`. The second matters twice over: `exists()` would
otherwise answer a plain FALSE for a file that is not absent but DELETED BY
RULING, and "not here yet" and "never again" are the two answers a membership
test must not merge.
3. THE CROSS-REFERENCE VALIDATOR'S RETIREMENT IS A FINDING, not a harness
failure. Round 1 gave the refusal a name so it would stop being an
`ImportError` at the caller; it was still a bare `RuntimeError`, and `main()`
catches every `Exception` and prints `ERROR harness failure: …` with exit 2 —
which says the tool broke. It did not: it read the manifest, found that a
ruling had deleted the schema it validates against, and said so. Named
`RetiredSchema`, caught in `run_default`/`run_path` (which have a `Findings`
to put it in, where `main()` has none), reported as `ERROR [schema-retired]`
with the validator's own exit 1.
4. ONE DOCSTRING SENTENCE made readable (`catalog.py:131`).
5. THE MANIFEST HEADER now says the four keys are the READING guard and not
only the validator's requirement, because the tools that act on the field run
without the validator.
6. AND THE RUNBOOK § 5.8 STEP 4 TAKES ITS SECOND AMENDMENT FROM ITS OWN FIRST
USE. The step says the leg prose a deletion falsifies is repaired in a second
commit. Two of those sentences turned out to sit inside CARVED files, where
every line differing from the carve blob must be declared under one of RULING
OQ-1's three closed classes — and a comment naming a retired sibling is none
of them. `verify-carve-arrival.py --phase B` refuses
`arrival-undeclared-edit … line(s) [4] … declares [30]` and
`… [18, 19, 20] … declares [34]`. So the repair stops at the files the leg
OWNS, and the stale sentence inside a carved file stays as a named cost. The
withdrawal at openDox-code PR #24 (`ebf1425`) is that rule being obeyed one
act after the form that tested it.
Evidence: `validate-carve-manifest.py` → OK, 456 rows, 160/158/138, 4
RE-DESTINED, 0 RETIRED; `verify-carve-arrival.py --destination opendox_code
--dest-root <openDox-code main 8efb3cf5> --phase B` with the runbook § 5.5
flag set → OK, 119 arrived / 52 digests / 67 declared-edit rows / 7 of 7
replicas / 4 vacated; `pytest -q tests/carve_manifest tests/carve_arrival` →
308 passed (306 + 2).
Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment
5656690570.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Lane: openxfactory-4 Found re-reading the WIP block against the leg it describes. `test_intent_tray_dom.py`'s `retired:` note said the deletion's prose repair is openDox-code#24's "second commit", which is wrong twice over. That pull request is SQUASH-merged, so a landed manifest would point a reader at a commit that does not exist in the history it names. And the repair is no longer the one the sentence describes: #24 made the carved-file repairs, WITHDREW them on `arrival-undeclared-edit` (the verifier refuses a comment naming a retired sibling, because that is in none of RULED OQ-1's three closed classes) and now repairs only the prose the LEG owns — its `validate.yml` comment and the two intent-binding suites' docstrings. The note now says that, and names the residue with it: the two sentences inside CARVED files that go on naming the deleted sibling, listed as a known cost at the leg and in cutover-runbook § 5.8. A note is a claim about another repository's pull request, so it is written the way the landed document will be read — no ordinal into a squashed history. Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…until it bites Lane: openxfactory-4 None of the six was threaded; all six are real. Taken in the order they change what the document asserts. **THE FIRST-USE PIN ASSERTED TOO LITTLE.** It said `assert row["edits"]` — that a retired row still carries SOMETHING — while the sentence beside it claims the retirement leaves each row's existing declaration UNTOUCHED. A later act could rewrite either entry and a truthiness check would go on passing. Both rows now assert their exact `(class, lines)`: `path constants [30]` on the tray row, `path constants [26]` on the wheel row — the lines the LEG rewrote while the file was there, which a retirement does not reach. PROVEN BY TAMPERING: flip the wheel row's `[26]` to `[27]` in the landed manifest and this test FAILS; restore it and it passes. (The first attempt at that proof tampered a different row's identical `lines: [26]` and passed — a measurement error of mine, not a hole in the test, and re-run against the row's own block it bites.) **THREE STALE MIRRORS OF THE OLD STATE**, each now saying what is true instead: the fixture section's comment still described the landed manifest as one that "carries the form and uses it NOWHERE", which this act's own assertion contradicts three hundred lines below it; `test_the_line_count_is_exactly_the_ expression_the_validator_carried` still taught "the manifest's 1422 line numbers" with no date on the figure, and now reads "1422 AT THAT RULING — 1761 today, and every one of them still in this numbering", which is the point that docstring exists to make; and README's index line said § 2's TABLE carries 1761, which is false of the per-destination table and true only of the aggregate. **THE PER-DESTINATION TABLE NOW SAYS IT IS STALE AT THE TABLE.** The previous commit explained the deferral sixty lines above the cells, in the aggregate paragraph — and an operator who reads the cells does not read sixty lines up, which is exactly the finding. The lead sentence no longer promises "these are the numbers each leg's arrival run must report": it names the one column that is still that (`declared roots`), states that the four declared-line cells sum to 1421 with slice S5's +162 and this act's +177 both outside them and RULED Q6's four re-destinations unmoved in the row counts, and says the value to compare a run against is the run's own line. openxFactory #1031 registers the same thing at greater length and lands first; the two statements collapse into one at that merge, which is the cheapest possible conflict and the honest state in the meantime. **AND THE ADMISSIONS ENTRY WAS WRITTEN IN THE WRONG TENSE.** It said the two suites "are GONE … and opensoft/openDox-code#24 deleted them" — but #24 is a DRAFT that lands AFTER this, so on the day this lands the files are still there. What is true on that day is the RULING: both rows are retired, the floor stops asking for their arrival and requires it ABSENT, and #24 carries the deletion that answers it — until it merges, that leg's arrival run refuses `arrival-not-retired`, which is the window § 5.8 now describes. A record that claims a destination state it cannot yet see is the same defect as a manifest edited to match a tree. Evidence at this commit: five carve suites `460 passed`; `validate-carve-manifest.py` OK, 456 rows, `2 row(s) RETIRED by ruling`. Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
… is main The retirement annotation this floor was stacked on is in main now, and with it the two legs (openDox-code #24, openXdox-code #20). The pull request's diff is this act's own files from here. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Summary
Tests