Repository navigation
add-nightly-dashboard-refresh: record the re-realization (S1–S5 landed; S7 and the first nightly owed before archive) - #655
Conversation
…d; S7 and the first nightly owed) Slice S6 of plan-nightly-refresh-rerealization-2026-09-04.md, doc-only. Brett's words: "go S2 to S7", then "lets go". The re-ratified amendment created a code/spec disagreement its own proposal declined to assess. Five PRs closed it; this records them in the packet, with every squash sha verified merged at the gate rather than read out of a handoff: S1 openxFactory #642 bbc21e4 --generated-at on the generate CLI S4 openxFactory #641 19a777d the module's raw-clone --phase build retired S2 openxFactory #648 96aa61a the parent seals the bounded source artifact S3 opensoft/xFactory #243 84dbbb24 the child consumes it, holds no Git credential S5 Omnigent-Install #211 cdfe3152 the worker profile describes the sealed intake tasks.md — no checkbox moves (3.2/3.3/3.4/4.1/3.6 were already ticked; 3.6 by #642). Each of those five gains a dated REALIZED evidence note naming the PR and its squash. The stale note in 3.4 that still described the child as running `dashboard-refresh-nightly.py --phase build` is CORRECTED by an appended, dated note rather than an edit — the sentence is retained text, and #641's body flagged it for this slice. Task 7.6 gains the size measurement and stays UNTICKED, because its staleness half needs a live run. New § 9a records the five acts, the four remaining S7 host acts (act D is DELETED, not deferred), and § 9's not-re-verified list carried forward. design.md — three notes. (a) The disambiguation owed to PR #595's DECLINED review thread: "host clone" in the sealed-artifact failure scenario means a clone on the WORKER host, and the parent's materialization is the prior scenario's requirement, so the two scenarios do not contradict when read in order. (b) What the manifest attests versus corroborates: verification step 5 is an INTERNAL-CONSISTENCY check (both sides come from one manifest), and the independent anchors are correlation_id, artifact_name, parent_run_id and parent_repository (#243's finding) — plus open question 7's sealed-but-not-baked validator asymmetry and #243's equality-not-presence check on generated_at. (c) The sealed source measures 3511 files / ~35.1 MB, recorded beside the design's ~8 MB estimate, which is low by a factor of four. proposal.md — § AMENDED AFTER RATIFICATION gains a dated REALIZED subsection listing the five PRs and stating what S7 still owes. Status: ratified and the single Ratified: citation line are untouched (grep -c = 1). README.md — the OpenSpec Records entry's lifecycle sentence gains the re-realization state; no entry added, removed or reordered. Substrate row 3 claimed on issue #630 before the push, per protocol Rule 7. The ARCHIVE GATE STAYS OPEN. S1-S5 make the lane exercisable, which is not exercised: the evidence is one real nightly's pin PR merged and reconciled plus one wider diff refused and parked, and that is S7's. Refs #591 Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟡 Changes recommended
One newly added task note asserts a specific Docker build-context behavior (“kept out of the daemon’s context”) that is not established/grounded within this packet and should be rephrased to avoid encoding a potentially false implementation detail.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Records (doc-only) the 2026-09-04 re-realization of the add-nightly-dashboard-refresh lane (S1–S5 landed) across the change packet and the README OpenSpec index, including dated evidence and carried-forward “still owed” archive-gate conditions.
Changes:
- Updates the README “OpenSpec Records” entry to reflect amendment re-ratification + re-realization state and what remains owed before archive.
- Adds dated REALIZED / CORRECTION / PARTIAL evidence notes to
tasks.md, plus a new §9a re-realization record table. - Extends
proposal.mdanddesign.mdwith clarification notes (scenario disambiguation, manifest attestation vs corroboration) and the measured sealed-corpus size.
File summaries
| File | Description |
|---|---|
| README.md | Updates the OpenSpec Records index entry for add-nightly-dashboard-refresh to include re-realization status and remaining archive-gate debt. |
| openspec/changes/add-nightly-dashboard-refresh/tasks.md | Adds dated evidence notes for realized slices and introduces §9a as the re-realization record. |
| openspec/changes/add-nightly-dashboard-refresh/proposal.md | Appends a REALIZED subsection documenting the five landed PRs and what S7 still owes. |
| openspec/changes/add-nightly-dashboard-refresh/design.md | Adds clarification notes on scenario interpretation and verification strength, and records measured artifact size. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…file Bot round 1 (Copilot), one thread, PARTIALLY TAKEN. Copilot: the note asserts the child keeps `manifest.json` and `recipe/` out of the Docker build context, which "isn't established elsewhere in this packet (and could be false if the seal root is used as the build context)". The factual half is DECLINED — the claim is true. But the grounding half is TAKEN, and it caught a real ambiguity: openxFactory #648's own S3 contract had proposed the SEAL ROOT as the build context with `manifest.json` and `recipe/` merely "inert" in it, so a reader following that contract would conclude exactly what Copilot suspected. #243 chose the leaner assembled shape instead. Settled against the LANDED file rather than either PR body: `.github/workflows/dashboard-image-worker.yml` at `84dbbb24` runs `docker build -f "$GITHUB_WORKSPACE/$SEAL_DIR/recipe/Dockerfile" -t "$REF" "$GITHUB_WORKSPACE/ctx"` — the context is `ctx/`, assembled by copying `CONTEXT_ROOTS` out of `<seal>/openxFactory` — and the file carries the assertion in its own comment ("the daemon receives a lean tree and neither manifest.json nor recipe/ reaches it"), plus a guard that fails when the assembled context is missing the renderer packages. The note now states the mechanism, names the divergence from #648's contract and why #243's shape is also what the ratified requirement's "the assembled workspace shape as context" says, and cites the landed file and its comment. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq
Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq
There was a problem hiding this comment.
🔵 Needs a closer look
The updated documentation introduces internal inconsistencies (conflicting amendment dates in the README entry) and references a non-existent readiness script path that should be corrected for accuracy.
Review details
Suppressed comments (4)
Previously missed (4) — in code that hasn't changed since the last review.
README.md:1590
- The README entry now says the amendment was "amended 2026-09-01" here, but later in the same entry it still says "AMENDED 2026-09-04". Please reconcile to a single amendment date so the record is internally consistent.
openspec/changes/add-nightly-dashboard-refresh/proposal.md:424 scripts/worker_readiness.pyis referenced as the readiness gate implementation, but that path does not exist in this repository and is inconsistent with the earlier reference toscripts/check-worker-readiness.pyin this same proposal. Use the same (existing/established) entrypoint name consistently.
openspec/changes/add-nightly-dashboard-refresh/proposal.md:463- Minor wording issue: "STILL STAYS OPEN" is redundant. Consider simplifying to "STAYS OPEN" for clarity.
openspec/changes/add-nightly-dashboard-refresh/tasks.md:749 - This section references
worker_readiness.py, but that file path does not exist in this repository and is inconsistent with the established readiness-gate reference earlier in this packet (scripts/check-worker-readiness.py). Use the same entrypoint name consistently.
- Files reviewed: 4/4 changed files
- Comments generated: 0 new
- Review effort level: Lite
…adiness paths by repository Four findings, all in Copilot's suppressed set (no new inline threads). Two TAKEN as reported, one TAKEN with the remedy corrected, one TAKEN. 1. README amendment dates CONFLICT — TAKEN, and it was a REAL pre-existing contradiction my sentence made visible. The entry said "WAS AMENDED 2026-09-04 AND RE-RATIFIED THE SAME DAY" while its very next sentence said "authored 2026-09-01", and `proposal.md`'s front-matter `Amended:` line — the authoritative one — reads 2026-09-01. Reconciled to the real sequence: RULED 2026-09-01, reached this repository 2026-09-04 by rescue (PR #595), re-ratified that same day. Both halves of the entry now say it, and the entry names the front-matter line as authoritative. 2 + 4. `worker_readiness.py` "does not exist in this repository" — the observation TAKEN, the proposed remedy DECLINED. Measured, not assumed: `scripts/worker_readiness.py` AND `scripts/check-worker-readiness.py` both live in `opensoft/xFactory`, and NEITHER is a path in openxFactory. They are not two spellings of one entrypoint to be unified — `check-worker-readiness` is the CLI and imports `from worker_readiness import evaluate`, and the gate predicate this packet is about (`repository_credentials_present`) is in the module. openxFactory's `doc-health-reusable.yml` invokes the CLI by a relative path that resolves in the CALLER's checkout, because it is a REUSABLE workflow — which is exactly why neither file is here. So both references are now qualified by repository and the CLI/module relationship is stated, rather than one name being rewritten into the other and losing the distinction. 3. "STILL STAYS OPEN" redundant — TAKEN, now "STAYS OPEN". Validation on this head: openspec validate <change> --strict valid; --all --strict 89 passed / 0 failed; pytest -q tests/doc-health tests/sequenced_after 1714 passed; grep -c on the Ratified: line = 1. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq
|
Lane: openxfactory-f2 Bot round 2 (Copilot) — four findings, all dispositioned in
|
| file | repository | role |
|---|---|---|
scripts/check-worker-readiness.py |
opensoft/xFactory |
the CLI; from worker_readiness import evaluate |
scripts/worker_readiness.py |
opensoft/xFactory |
the module; holds the repository_credentials_present predicate |
Neither is a path in openxFactory — you were right about that, and right that it needed saying. But they are not two spellings of one entrypoint to be unified: one imports the other, and the gate predicate this whole packet turns on lives in the module, which is why the module is the one these paragraphs name.
The reason both are absent here is worth recording, because it will confuse the next reader too: doc-health-reusable.yml is a reusable workflow, so its python3 scripts/check-worker-readiness.py resolves in the caller's checkout — the aggregation. Rewriting one name into the other would have satisfied the consistency check while erasing a real CLI/module distinction and asserting a path that exists in neither repository under that role. Both references are now qualified by repository, with the relationship stated.
3. "STILL STAYS OPEN" redundant — TAKEN. Now "STAYS OPEN".
Validation on b47a5def
OPENSPEC_TELEMETRY=0 openspec validate add-nightly-dashboard-refresh --strict → valid
OPENSPEC_TELEMETRY=0 openspec validate --all --strict → 89 passed, 0 failed
timeout 900 python3 -m pytest -q tests/doc-health tests/sequenced_after → 1714 passed (6:05)
grep -c -E '^(Ratified by:|Ratified:)' …/proposal.md → 1
origin/main (bc1bd4ee, #654's MedxChart archive) was merged into this branch at 8d2c5ae3 before this round — that landing moved the README entry directly above this one from Active to Archived, so the adjacency was worth resolving in-tree rather than at merge. Both suites were re-run on the combined tree.
Codex was asked once and refused: usage limits reached for code reviews. Sourcery is the private-repo upsell stub. So this PR's bench is Copilot only, across two rounds — noted rather than left to look like silence.
One finding, TAKEN. The 3.4 correction note listed the surviving phases as
`decide | pin | report | seal | record-pr`, but `dashboard_refresh_lane.py`
declares `choices=("decide", "seal", "pin", "report", "record-pr")` — so a
reader who hit `--phase build` would see a usage error listing them in a
different order than this note. Matched to the tuple verbatim, and the note now
says that is where the order comes from, so the next edit has a reason to keep
them in step.
Validation on this head: openspec validate <change> --strict valid;
--all --strict 89 passed / 0 failed; pytest -q tests/doc-health
tests/sequenced_after 1714 passed; grep -c on the Ratified: line = 1.
Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq
There was a problem hiding this comment.
🟢 Approval recommended
The changes are documentation-only and the only issues found are minor line-wrapping/formatting nits with straightforward fixes.
Review details
Suppressed comments (3)
Previously missed (3) — in code that hasn't changed since the last review.
README.md:1647
- The bolded "LANDED 2026-09-04" is split across lines, leaving the date orphaned on its own line. Rewrap so the emphasis reads cleanly and matches the surrounding line-wrapping style.
openspec/changes/add-nightly-dashboard-refresh/proposal.md:433 - This paragraph has an unwrapped line where "Brett ordered…" is appended after a sentence, creating a very long line and reducing readability. Split it onto its own line to keep wrapping consistent with the rest of the document.
openspec/changes/add-nightly-dashboard-refresh/tasks.md:238 - The blockquote paragraph is wrapped mid-sentence, leaving an overly long line and making the final sentence harder to read. Split the final sentence onto its own wrapped blockquote lines so formatting is consistent with surrounding text.
- Files reviewed: 4/4 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-f2 Provenance for the admin merge. RULING for lane openxfactory-f2's PR #655 (head |
Lane: openxfactory-f2
Slice S6 of
plan-nightly-refresh-rerealization-2026-09-04.md— the packet ticks and evidence for theadd-nightly-dashboard-refreshre-realization. Doc-only: no code, no contract byte, noopenspec/specs/**path. Brett's words for this fan-out were "go S2 to S7", then "lets go".Why this PR exists
Re-ratifying the amendment left a debt the amendment itself named and declined to pay.
proposal.md§ "The consequence this amendment does NOT discharge" said the landed realization "may now disagree with the amended delta" — and it did: the child still held two SSH deploy keys and cloned two private repositories, whileworker_readiness.pyfailed the lane's readiness gate closed withrepository_credentials_presentunless the heartbeat attestedrepository_credentials_absent: true. The lane could be READY or it could FETCH, never both.Five PRs closed that. This one records them in the packet, so the packet stops describing a lane that no longer exists.
The five landed acts, each verified merged at the gate
bbc21e41--generated-at <RFC 3339>ongenerate/generate-and-open, validated at the CLI boundary and REFUSED when malformed. Task 3.6.19a777d8--phase buildrecipe — a second, unreached realization the amended delta now forbade.96aa61a3--phase seal,manifest.jsonwith afilesindex andtree_digest, thegit archivepax-header revision assertion, the validator in the seal set (and only the seal set),dfr-seal/dfr-uploadfinalize steps, dispatch gated onsealed == 'true'and the upload'soutcome. Path containment hardened in branch commit5628fab1, folded into that squash.84dbbb24download-artifact, eight ordered verification steps all BEFORE ACR login, no Git credential and nogitinvocation left in the file, deploy-key clones gone, job idbuild-and-pushand the frozen grandfather enumeration untouched.cdfe3152description,capabilitiesandprerequisitesdescribe the sealed intake;profile_versiondeliberately stays 1, so--required-profile-version 1needs no lockstep edit.What moved in
tasks.md— and note that NO CHECKBOX MOVEDEvery task the plan named for this slice was already ticked, 3.6 by #642 itself (verified:
- [x] 3.6). So this PR ticks nothing; it supplies the dated evidence those ticks were standing on a promise for. No9.xor archive item is ticked.git archives the seal path set out of the already-initialized submodule (Refresh lane: the credentialed parent seals the bounded source artifact (nightly-refresh re-realization S2; lands after #641) #648), and the child owns no checkout at all and assembles the same minimal context from the seal (Create + seed Keycloak-Install and OpenXPKI-Install (implement-* changes, realized) #243). Carries the measurement below.main, not from the aggregation's submodule pin…" — its existing note said "the child clones Omnigent-Installmain". That sentence is now retired in place (retained, not deleted — it describes the pre-amendment realization) and followed by the truth: nobody clones the recipe; the parent reads it through the contents API at the pinnedrecipe_revisionand seals it atrecipe/Dockerfile, and the child builds with-f <seal>/recipe/Dockerfile.dashboard-image-worker.yml…" — two additions. First, the:126-128correction Retire the refresh lane's raw-clone--phase buildrecipe (nightly-refresh re-realization S4) #641's body flagged for this slice: the note still said the child randashboard-refresh-nightly.py --phase build. It never did — it always did the recipe in its own bash, and the module's--phase buildwas an unreached copy that Retire the refresh lane's raw-clone--phase buildrecipe (nightly-refresh re-realization S4) #641 deleted.--phasenow accepts onlydecide | seal | pin | report | record-pr(verified against the landed argparse), and--phase buildis a usage error. Retained text is preserved; the correction is an appended dated note. Second, the REALIZED note for Create + seed Keycloak-Install and OpenXPKI-Install (implement-* changes, realized) #243 — this is the act 3.4's amendment was waiting for.doc-health-reusable.yml'sfinalizejob, ordered AFTER the report-delivery step…" — records that the stage gained three steps INSIDE the same block while its POSITION did not move, so the ordering property the task holds is untouched.The 35 MB datum
Design open question 2 asked for the sealed corpus size to be measured on the first real run. It was measured earlier, on the real corpus, twice:
3e5a309063586454The difference is corpus drift between the two revisions, not a disagreement. So the sealed source is ~35.1 MB, against the design's ~8 MB estimate — low by a factor of four, because the Dockerfile's comment accounts the COPY roots and
ideation/plusopenspec/dominate what is actually there. The paragraph's conclusion is unaffected and its arithmetic gets stronger: 35 MB of governed roots against a 169 MBexperiments/tree is still the reason not tocp -aa full checkout. Recorded attasks.md§ 7.6, indesign.mdbeside the estimate, and in the README entry. Every manifest carriesfile_count/total_bytes, so nobody re-measures it by hand.The three design notes
corpus_revision/recipe_revisionagainst thedecisionblock sealed beside them in the same manifest, so both sides come from one writer and a consistently-lying manifest would pass. It still earns its place — it catches a malformed or half-written seal — but it does not prove the revisions. The independent anchors are the four values the dispatch carried and the manifest cannot influence:correlation_id,artifact_name,parent_run_id,parent_repository. The revisions are attested at the other end, on the only side still touching a real repository:git archive's pax headercomment=<sha>, which the parent refuses to seal against a mismatch, plus the child's independenttree_digestrecomputation. Same note also records open question 7's asymmetry — the validator is sealed but not baked, deliberately, because widening the decision scope would fireREASON_SCOPE_CHANGEDagainst every recorded pin and force one rebuild for nothing — and that Create + seed Keycloak-Install and OpenXPKI-Install (implement-* changes, realized) #243 checksgenerated_atfor EQUALITY, not presence, which is stronger than open question 4 asked for, while leaving the schema field optional.design.md's# requires task 3.6marker needed no replacement — verified: #642 already turned it into# implemented in task 3.6 (PR #642).proposal.mdand the READMEproposal.md§ AMENDED AFTER RATIFICATION gains a dated REALIZED subsection listing the five PRs and stating plainly what S7 still owes.Status: ratifiedand the singleRatified:citation line are untouched —grep -c -E '^(Ratified by:|Ratified:)' proposal.md= 1.The README "OpenSpec Records" entry's lifecycle sentence gains the re-realization state, and its amendment paragraph gains a closing sentence saying the owed realization landed while the archive gate stays open.
Substrates (Rule 7)
The change's own OpenSpec directory is explicitly not a substrate, and no
openspec/specs/**path or contract cut is touched (rows 1 and 4 unmoved). The README "OpenSpec Records" block is row 3, so it was claimed on issue #630 before this push (issuecomment-5542344363), with the movement declared in advance: one entry's lifecycle sentence, no entry added or reordered. The diff matches that claim. Row 2 (tests/sequenced_afterlive pins) is NOT moved — that is the eventual archive act's, and it is not this PR.THE ARCHIVE GATE STAYS OPEN
This is the honest half. S1–S5 remove the code/spec disagreement and the
repository_credentials_absentdeadlock, so the lane can now be exercised at all — which is not the same as exercised. No[x]in § 7 moves andtarget_releasestaysimplementation_pending.Act D — provisioning the SSH deploy-key Git substrate — is DELETED, not deferred: after #243 there is nothing on the worker to provision it for, and that is the single largest practical dividend of the whole re-realization. Still owed, and the operator's, not an agent's:
dashboard-image+ profiledashboard-image-refreshv1XFW_ACR_PUSH_USER/XFW_ACR_PUSH_TOKENinto the runner service environmentdocker-cevs a remote daemonpython3+ PyYAML for the runner service accountThen the first real nightly, in both directions: one digest-only pin PR merged and reconciled, PLUS one deliberately wider diff refused and parked. That is this change's own
target_releasebar, unmoved — "a lane proven only by a dry run is exactly the evidence this program has learned not to accept."Validation
Run in the foreground, in an isolated clone, against
origin/mainat6ced5d1d:Why an empty doc-health delta is the correct result and not a vacuous check.
scripts/doc_health/corpus.pydeclaresGOVERNED_ROOTS = ("contracts", "docs", "examples", "ideation", "templates"), so README and change-packet bodies are outside the word-total corpus by construction — the module states that invariance as its own claim (govern-openspec-corpus-membership, ruled 2026-08-23). The one file here that DOES enter the lifecycle scan set isproposal.md, read by exactly four families — status validity, standard backing, ratified provenance, succession integrity — and those show zero delta precisely becauseStatus: ratifiedand the singleRatified:line were left untouched. So the check confirms what it should: this packet's rows do not move, and nothing else does either.🤖 Generated with Claude Code
https://claude.ai/code/session_01X5cVGVtCbMg1WBwU7AbMZq