Skip to content

Adopt the nightly-refresh edits: amended doc-health delta (pending Brett's re-ratification), packet file-forward, and the smoke tools (rescued from the shared checkout, #591) - #595

Merged
brettheap merged 13 commits into
mainfrom
rescue/nightly-refresh-edits-2026-09-02
Sep 4, 2026
Merged

brettheap merged 13 commits into
mainfrom
rescue/nightly-refresh-edits-2026-09-02

Conversation

@brettheap

@brettheap brettheap commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-f2

ADOPTED on Brett's word, 2026-09-04, verbatim: "go on 595" — after the 24-hour hold ruled on #591 expired with no activity from the originating lane (openxfactory-nightly). The 30-minute stand-down offered in this PR's claim comment also passed unanswered.

This PR is no longer a snapshot. It is the rescued work reshaped into its lawful form. Brett has ruled: the amended doc-health spec delta is RE-RATIFIED 2026-09-04, in-session, verbatim: "re-ratify and merge 595, delete the debug tool, roll out lane-line."


Provenance — nothing was invented, and nothing was discarded

The rescue commit 2ffe1807 is untouched and remains the first commit on this branch: every byte of it is still the shared checkout's working tree as the lane openxfactory-nightly left it on 2026-09-02, with the sha256 table in the original PR body still verifiable against it. origin/main was merged, never rebased, precisely so that stays true.

Eight commits sit on top:

commit what it is
1e57fdcc merge of origin/main (96b2b968 → 95c2cf6a). No conflicts — the six touched paths did not move on main in that range
cf54da81 the lawful-shape reshape of the change packet
366a42cc two real defects repaired in the rescued debug tool
0644826a the README active-change record flags the pending amendment
e5d81a42 one wrapped source path in task 3.6 unwrapped (prose only)
e883a378 Copilot round 1: the debug fork's hardcoded screenshot path
d4b5c829 Copilot round 2: the delta's self-contradiction, the 1.3 checkbox convention, and two host-absolute path mentions
e84d060a Copilot round 4: a checkbox implying evidence 1.2 has not taken, and a docstring sending operators to the wrong tool

The shape decision, and why

The question this PR had to answer: the snapshot edits add-nightly-dashboard-refresh, which is ACTIVE, Status: ratified (2026-08-25, "ratify add-nightly-dashboard-refresh against its realized system"), with its docs merged on main via #260/#261/#356 — including its specs/doc-health/spec.md delta. Editing a ratified change's requirements is a governance act.

Decision, in three parts, each against a precedent rather than a preference.

1. The amendment stays IN the active change. No new change directory. docs/release-realization-flow.md § Release Targets says a proposal modifying a requirement an active ratified change already modifies must reference it and declare deltas relative to its outcome — that rule addresses a different, later change, not this packet's own correction of itself. The packet is active, not archived; its archive gate is deliberately open (target_release: implementation_pending, no §7 task ticked, the lane has never run). The estate has a worked precedent for exactly this, and this PR follows it: openspec/changes/archive/2026-09-01-add-release-tag-publication-check amended its own ratified delta in place — "Two ADDED scenarios and one amended paragraph in the delta" — with an Amended: front-matter line and a ## AMENDED AFTER RATIFICATION section in proposal.md. (Second precedent, still active on main: add-requirement-ref-resolution-integrity.) Notably, neither precedent marks the amendment inside the delta file itself — the delta carries the amended text and proposal.md carries the record. This PR does the same.

2. Packet prose is FILED FORWARD, never overwritten — PR #592's §9.2 style, and this estate's convention. The snapshot reworded six passages of ratified text in place. Each is now restored verbatim, with the amended text beneath it as a dated, explicitly-pending note (proposal.md § What Changes; design.md Decision 3's five-step recipe, its "read from Omnigent-Install main" note, its "FRESH checkout" reproducibility argument, and § Next steps item 3; tasks.md 3.1, whose body had been rewritten while the box stayed unticked). The front-matter code_surface: is a single machine-read value that cannot carry both, so its pre-amendment wording is preserved phrase by phrase in the new proposal section.

3. Status: is NOT flipped, and there is still exactly ONE ratification citation line. The 2026-08-25 Ratified: line is untouched.

4. The README's active-change record flags the pending amendment (0644826a). That record still describes the lane as "fresh openxFactory main checkout, --strict snapshot generation from THAT checkout" — the ratified design, and the one that still governs, so it stays first and unedited. A dated paragraph follows it naming the ruling, what the amendment moves, its shape in the delta, and where the full record lives. The index is where a reader who is not opening the packet learns what a change says; leaving it silent would park an unannounced amendment in the estate's own active-change inventory.

The correction this PR makes to the snapshot's own standing claim

The snapshot added Amended: 2026-09-01 by Brett quoting a ruling about the runner design — "The runner design intentionally requires repository_credentials_absent; source is delivered as sealed job artifacts and the runners do not clone or push repositories." That is a real, cited ruling. It is not an act of consent to the amended delta text, and both estate precedents cite a consenting act of their own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER act"). So the amendment was marked PENDING RE-RATIFICATION everywhere it appeared, and § AMENDED AFTER RATIFICATION opened with "NOTHING HERE IS RATIFIED YET." That pending state is now resolved: RE-RATIFIED 2026-09-04 by Brett Heap, in-session, verbatim "re-ratify and merge 595, delete the debug tool, roll out lane-line" — see § AMENDED AFTER RATIFICATION.


THE DELTA — before / after, ruled in one word

The amendment touches two requirements in openspec/changes/add-nightly-dashboard-refresh/specs/doc-health/spec.md. No requirement title changes; none is added or removed; no ## MODIFIED Requirements block is introduced. It remains one ## ADDED Requirements block.

The contradiction it fixes

The ratified delta put a raw clone of a PRIVATE repository on the artifact worker — "a FRESH checkout of openxFactory main" — inside a lane whose own authority requirement holds "The worker SHALL hold no repository credential." Both sentences cannot be satisfied. It stayed latent because the lane has never run.

1. Requirement: Ideation-dashboard image refresh lane — opening paragraph

BEFORE — …the check precedes the checkout, so a quiet night costs two revision reads rather than a build and a push. Its work is then: a FRESH checkout of openxFactory main (never the aggregation's submodule pin); snapshot generation from THAT SAME checkout under --strict…; an image build from the Omnigent-Install containers/ideation-dashboard/Dockerfile at ITS main…; a push…; and capture of the resulting digest as the lane's result.

AFTER — …the check precedes source materialization, so a quiet night costs two revision reads rather than a bundle, build and push. The credentialed hosted parent SHALL then materialize fresh openxFactory main (never the aggregation's submodule pin) plus the Omnigent-Install recipe at ITS main into a bounded sealed source artifact carrying the source HEAD, source committer timestamp, and both path-scoped input revisions. The credential-free child SHALL verify and download that artifact, generate the snapshot from THAT SAME corpus tree under --strict using the manifest-pinned source revision and timestamp, build from the bundled Dockerfile…, push…, and capture the resulting digest as its only result. The worker SHALL perform no GIT repository clone, fetch, or push; the image push to the container registry named above is not a Git repository operation and is unaffected by this sentence.

The --strict-precedes-the-push paragraph beneath it is untouched.

2. Its #### Scenario: The lane runs on a night with corpus movement — the THEN bullet

BEFORE — the lane generates the snapshot from a fresh openxFactory main checkout under --strict, builds…, pushes…, records the digest
AFTER — the credentialed parent seals fresh openxFactory main plus the current recipe into a bounded source artifact, and the worker verifies it, generates the snapshot under --strict, builds…, pushes…, records the digest

The AND bullet — "the snapshot's source_revision and the baked corpus revision MUST be the same commit" — is untouched. That is the property the whole decision exists to hold.

3. NEW scenario (+5 lines)

#### Scenario: The sealed source artifact is unavailable or invalid
WHEN the child cannot download the source run's named artifact, its manifest is malformed, a required path is absent, or its recorded revisions do not match the parent decision
THEN the child MUST fail before strict generation and before any registry credential is used
AND no repository fallback, host clone, image push, digest, or pull request MUST occur

4. Requirement: The refresh lane conserves the worker and identity authority… — ONE new paragraph (+6 lines), nothing removed

Repository source SHALL cross into the worker only as the parent run's sealed, bounded Actions artifact. Git repository credentials, deploy keys, Git credential helpers, raw Git repository clones, and Git repository network access on the worker are prohibited; the credentialed hosted parent owns those reads and persists no credential into the artifact. "Repository" in this paragraph means a GIT repository throughout: the worker's push-scoped credential for the single ideation-dashboard IMAGE repository is governed by the paragraph above and is neither widened nor withdrawn here.

The existing first paragraph, including "The worker SHALL hold no repository credential", is untouched.

5. NEW scenario (+4 lines)

#### Scenario: The worker is asked to fetch repository source
WHEN any realization would place a repository token, deploy key, credential helper, or raw repository clone on the artifact worker
THEN it MUST be rejected — the credentialed parent seals the bounded source artifact and the worker consumes only that artifact

THE WORD "GIT" IN 1 AND 4 IS THIS LANE'S, NOT THE ORIGINATING LANE'S — the only words of the amendment this lane changed. Copilot found that the added sentence "The worker SHALL perform no repository clone, fetch, or push" forbids in its closing clause the very act the same sentence requires — the ACR push — and that the new prohibition paragraph carried the same ambiguity. The collision is real rather than pedantic: this packet itself calls the push target an "image repository". Both are now qualified to GIT repositories explicitly and the prohibition paragraph says so outright. No obligation moves; it is the reading every other sentence in the packet already assumes. Recorded as its own dated paragraph in proposal.md § AMENDED AFTER RATIFICATION, because a lane that quietly rewrites what it asks to be ratified has broken the thing that section exists to protect.

Direction of travel: every one of the five is a NARROWING or a clarification. Nothing the ratified delta forbade becomes permitted. Two things it permitted only by omission become forbidden. The lane's output, authority split, permission matrix, --strict gate and evidence gate are all unchanged.

The ask — RULED

Ruled. Brett Heap RE-RATIFIED 2026-09-04, in-session, verbatim: "re-ratify and merge 595, delete the debug tool, roll out lane-line." The section heading is ACCEPTED and the Amended: line's pending clause is now a consenting citation; Status: ratified and the 2026-08-25 Ratified: line do not move.


Three findings the reshape produced

1. THE AMENDMENT NAMES A CLI FLAG THAT DOES NOT EXIST — filed as new task 3.6. The amended recipe and the amended delta both require generation "using the manifest-pinned source revision and timestamp", via --generated-at. Measured, not assumed: ideation_dashboard.cli generate accepts --repo-root, --repository, --source-revision, --project-register, --possibles, --strict, --no-validate and nothing else (scripts/ideation_dashboard/cli.py, _add_generate_args). --source-revision is real; --generated-at is not. The Python entry point generate_snapshot does take generated_at, and _generation_stamp otherwise derives it by running git show -s --format=%cI inside the scanned tree — and RealGitDates is documented to degrade "to None … outside a git checkout", which is exactly what a sealed source artifact is. So the amended lane would publish a snapshot with no generated_at at all, and the served plane's freshness header would lose its stamp. The requirement is right; the interface is missing. This is realization work the amendment creates, and it lands only if the amendment is re-ratified.

2. THE 17 [x] FLIPS: every checkable claim VERIFIED, the rest listed as unconfirmed. The rescue flagged that these assert cross-repo facts it could not prove. Re-verified against the provider API — every merge sha named is real, merged, and is the sha named: Omnigent-Install #129 509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179 de9a1d99. No flip was altered. Host- and org-admin facts outside this identity's reach (App installation 145372182, runner label + runner-group id 5, ruleset 21294850, the overlay pin digest, the escrowed ACR token) are recorded as unconfirmed rather than doubted in the new tasks.md § 9 — every one is re-checked by § 7's real cycle, which is the gate that actually closes this change.

3. A READER'S NOTE ON code_surface:, raised and not resolved. The amended line drops the words environment: worker-credentials from the child's shape description. The ACR push credential that environment carries is not withdrawn by this amendment (§ 2 of tasks.md is entirely about it, and the amendment's subject is repository credentials, not registry ones), so it reads as compression. Recorded in proposal.md because a later reader diffing that line alone could read it the other way.


The code — and a scope finding

NEITHER SMOKE TOOL IS THIS CHANGE'S CODE SURFACE. proposal.md declares "tests under tests/ideation-dashboard/ over the status artifact, the no-change short-circuit, and the envelope-shaped diff the lane may produce". These two files drive the doxBench editor UI (T098, quickstart § 7 — outline editing, Save ordering, session branches). They ride this PR because they were stranded in the same working tree, not because the amendment reaches them. No task is ticked for them, and they neither advance nor block the archive gate. Neither file is collected by any test (both live under tools/ and match no test_* pattern).

playwright-smoke.py (+431/−197) is TWO real fixes inside a black-style reformat

Measured by a token-stream diff (whitespace and line-wrapping discarded, comments and strings kept), the entire rework reduces to:

  1. Two git config user.name/user.email calls on the scratch checkout, with a comment citing the actor_identity trust gap 72b9c48f: a -c user.name=… flag scopes to one command, so without this the "t098" actor claim resolves to nobody, fails closed, and the plane comes up read-only with the canvas never offered.
  2. One page.click('.doxbench-canvas button.doxbench-viewtab:has-text("Editor")') — the canvas opens on its Preview view by deliberate default and every editing step below needs the Editor view.

Everything else is formatting: trailing commas, parenthesized assert messages, two implicit string concatenations joined (same values), one blank line. The repo has no black/ruff config and neither is installed here — so the reformat is a session's local habit, not a repository convention. It is kept rather than stripped: discarding another lane's work on this lane's judgement is not what "adopt" was ruled to mean. Checked specifically: no assert x, (a, b) always-true tuple was introduced by the paren-wrapping.

playwright-smoke-debug.py — two defects repaired (366a42cc)

  1. A hard SyntaxError under -W error. Line 518 held a JS regex /<textarea[\s\S]*?<\/textarea>/g inside a non-raw triple-quoted Python string; \s and \/ are not Python escapes. Fixed by making the literal raw. Proved semantics-preserving rather than assumed: the constant was extracted from the AST before and after and hashed — sha256 e45e19201d519c18… both times, IDENTICAL. The browser sees exactly what it saw.
  2. Its docstring was copied verbatim from playwright-smoke.py, so the file announced itself as the smoke and told its reader to run the other file. It is that tool plus one 15-line hunk (step 4's Document-tab click wrapped in a try/except that screenshots and dumps the canvas DOM). The new head says what it is, that the oracle is playwright-smoke.py and never this fork, and that nothing keeps the two in sync — so re-copy and re-patch rather than edit, or delete.

RECOMMENDATION, NOT ACTED ON: this fork is session scaffolding — 15 lines of one-off DOM capture at the cost of a 1,164-line duplicate that will rot the first time the smoke is edited. Deleting it is defensible and this lane would not argue. It is kept because the rescue existed so nothing stranded is lost. One word removes it.

Neither tool is runnable here: both refuse by design without Playwright 1.61.0 + chromium on the host ("T098 PREFLIGHT REFUSED … This script never skips"), and they drive a real browser. No browser was launched.


Validation — measured at this head, against origin/main as the baseline

check branch origin/main baseline
openspec validate add-nightly-dashboard-refresh --strict Change 'add-nightly-dashboard-refresh' is valid —
openspec validate --all --strict 87 passed, 0 failed 87 passed, 0 failed
pytest -q tests/doc-health tests/sequenced_after 1618 passed, 7 warnings (re-run at every head) —
py_compile both tools OK —
python3 -W error -m py_compile both tools OK (was a SyntaxError before 366a42cc) —
doc-health.py --single-repo . 6 critical, 5 error, 29 warning, 15 info 6 critical, 5 error, 29 warning, 15 info
validate-sequenced-after.py . --sweep 160 ids (32 active + 128 archived), 112 co-modified, 48 sole, active 21/11 identical

The two doc-health reports are byte-identical after normalizing only the repo-identity label — sha256 e859fabf51112b75… on both sides, from a back-to-back pair run after the README edit. (An earlier pair read 16 info on both sides; between the two pairs a tag was published upstream whose commit this clone has not fetched, so release-tag-publication began skipping — on main identically. Environmental, and the reason the baseline is always re-measured beside the branch rather than remembered.) add-nightly-dashboard-refresh appears zero times in the report. The modified-block-currency, ratified-provenance, promotion-fidelity, duplicate-packet and proposal-origin families are all silent on this branch, exactly as on main.

NO PIN MOVED, and none should have. This family modifies an existing change rather than adding or archiving one, and it introduces no requirement title and no MODIFIED block — so neither the sequenced_after live measurement nor any modified-block-currency arm has a cause to move. Measured on both sides rather than predicted.

Not obtained: the full pytest tests/ -q -m "not postgres" suite (CI's own invocation) — left to CI on a shared host. The two suites that this diff could plausibly touch are green above.


What this PR does NOT discharge

The landed realization may now disagree with the amended delta. Aggregation PRs #141 (c1bba45d) and #179 (de9a1d99) landed the child workflow with a sparse/blobless repository checkout on the child; #179's fix was to the checkout shape, not to who performs it. If that is still the shape on opensoft/xFactory main, code and amended spec disagree and a follow-up realization is owed. Not assessed here — the aggregation is outside this repository and outside this diff. Recorded in proposal.md.

The archive gate stays open regardless of how the delta is ruled. target_release: implementation_pending; no §7 task is ticked; the lane has still never run.

Bot bench — four rounds, closed

Eight findings, eight taken, zero declined on the merits. All from Copilot; Codex was rate-limited at every request — a provider non-review, not a verdict, and the same state this rescue's sibling #593 hit five times. Two of the eight were defects in the original rescued snapshot (work stranded uncommitted had never been reviewed by anything); three were this lane's own; and one was in the amendment itself — round 2 found that the amended requirement forbade the ACR push it also required, which changed the text put up for ratification. Every thread is resolved; the four dispositions are comments on this PR.

This lane does not merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

… checkout at 6612d32

Snapshot ONLY. Every byte is the shared detached checkout's working tree at
6612d32, copied unchanged; nothing here was authored, renamed, re-homed or
"fixed" by the rescuing lane. The source checkout was left untouched, so this
snapshot removes nothing from it and cannot conflict with the originating lane.

The originating lane (LANES.md draft row `openxfactory-nightly`) has UNKNOWN
liveness — last file touch 2026-09-02 09:41 -0400. Its notes are
~/projects/xFactory/HANDOFF-nightly-refresh-session.md (untracked, 66 KB).

Content: the ratified add-nightly-dashboard-refresh change amended for Brett's
2026-09-01 in-session host ruling (the artifact rider holds no repository
credential; source crosses as a sealed parent artifact), 17 enablement tasks
recorded complete, and the Playwright acceptance tooling reworked.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW
Copilot AI lite review requested due to automatic review settings September 2, 2026 23:17

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new playwright-smoke-debug.py introduces a hardcoded host-absolute path and a SyntaxWarning-triggering string literal that can break the intended JavaScript regex passed to page.evaluate.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR is a snapshot-rescue of uncommitted “nightly refresh” work: it amends the already-ratified add-nightly-dashboard-refresh OpenSpec change to reflect a “sealed source artifact” runner model (credentialed parent, credential-free worker), and it updates/introduces Playwright-based operator smoke tooling for the ideation dashboard.

Changes:

  • Amend the add-nightly-dashboard-refresh packet (proposal/design/spec) to prohibit worker-side repository access and require a parent-sealed bounded source artifact.
  • Update the change’s tasks.md by marking multiple tasks complete and expanding completion notes.
  • Rework playwright-smoke.py and add a large playwright-smoke-debug.py operator tool under tests/ideation-dashboard/tools/.
File summaries
File Description
openspec/changes/add-nightly-dashboard-refresh/proposal.md Updates the ratified change narrative to the “sealed source artifact” model and records an in-session amendment note.
openspec/changes/add-nightly-dashboard-refresh/design.md Revises the build-context decision/recipe to shift repository reads to the credentialed parent and artifact handoff to the worker.
openspec/changes/add-nightly-dashboard-refresh/tasks.md Flips multiple tasks to done and adds detailed completion evidence/notes (cross-repo).
openspec/changes/add-nightly-dashboard-refresh/specs/doc-health/spec.md Adds/updates requirements and scenarios enforcing sealed-source behavior and rejecting worker-side repo fetching.
tests/ideation-dashboard/tools/playwright-smoke.py Formatting + behavioral adjustments for the operator smoke flow (notably switching to Editor view before edits).
tests/ideation-dashboard/tools/playwright-smoke-debug.py Adds an extended debug variant of the Playwright smoke tool for deeper operator diagnostics.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

brettheap added a commit that referenced this pull request Sep 3, 2026
…t is wider than one pull request

998a31b's closing "STANDING RACE" paragraph asserts that openxFactory #599
carries a `## MODIFIED Requirements` block and would move the live corpus pin
ahead of this branch. THAT WAS WRITTEN WITHOUT BEING MEASURED, AND IT IS FALSE.
Measured now:

  $ gh api repos/opensoft/openxFactory/pulls/599/files \
      --jq '.[] | "\(.status) \(.filename) +\(.additions) -\(.deletions)"'
  modified openspec/changes/add-credential-escrow-checkout/tasks.md +25 -2

One `tasks.md` edit. It adds no requirement block, no packet and no spec delta,
so it moves no reading of `scripts/validate-sequenced-after.py --sweep`.

The race itself is real and wider: any open change that ADDS a packet or a spec
delta moves `change_ids` / `active`, and any that adds or drops a
`## MODIFIED Requirements` block moves the co-modified and sole sets. Measured
against the open queue on 2026-09-03, SEVEN pull requests touch a `proposal.md`
or a `specs/**/spec.md` under `openspec/changes/` — #609 (this change's own
MedxPractice sibling), #595, #594, #593, #548, #491 and #447 — and whichever
lands first re-breaks this branch's pin.

This is the second fix commit rather than an amendment of the first, for the
same reason the first is not an amendment of c39d29b: force-pushing is
forbidden here (GH013), so a wrong statement in a pushed commit message is
corrected in the durable record and named there, never rewritten. The
correction lands in `review/verification-2026-09-03.md` § 9, beside the
paragraph that supersedes c39d29b's message by the same mechanism. Correcting
an evidentiary defect this round exists to remove, in the round's own commit,
is not an exception to the round — it is the round.

Validation, measured on this commit's tree:
  openspec validate create-medxchart-overlay-boundary --strict
    -> Change 'create-medxchart-overlay-boundary' is valid
  openspec validate --all --strict -> Totals: 86 passed, 0 failed (86 items)
  scripts/doc-health.py --single-repo .
    -> Findings: 6 critical, 6 error, 29 warning, 14 info. New regressions: 0.
       Finding lines BYTE-IDENTICAL to the c39d29b baseline; ZERO findings
       name this change.
  scripts/validate-sequenced-after.py . --sweep -> 157 / 109 / 48 / 22 / 11
  pytest tests/sequenced_after -q -> 118 passed

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

CLAIMED for adoption — lane openxfactory-f2, session_01KeBPLWRL4rhgRbmjP8Li41, 2026-09-04 ~00:5xZ; Brett Heap: "go on 595". The originating lane (openxfactory-nightly, handoff ~/projects/xFactory/HANDOFF-nightly-refresh-session.md) stayed silent through the 24-hour hold. This snapshot will be reshaped into its lawful amendment form (the edits touch a ratified, merged change's spec delta); this PR is either retitled and un-drafted or superseded by a successor PR that points back here. If the originating lane is alive, reply here within 30 minutes and lane f2 stands down.

Brett Heap and others added 5 commits September 3, 2026 20:48
The rescue snapshot 2ffe180 was cut from main at 96b2b96; main has since
advanced to 95c2cf6. Merged, never rebased, so the snapshot commit stays
byte-verifiable as the rescue's provenance evidence claims.

NO CONFLICTS. The four packet docs under
openspec/changes/add-nightly-dashboard-refresh/ and the two tools under
tests/ideation-dashboard/tools/ did not move on main between 96b2b96 and
95c2cf6 (`git log 96b2b96..origin/main -- <those paths>` is empty), so
README.md and tests/sequenced_after/test_sweep.py — both heavily changed on
main — merged as pure fast-forward content from main's side.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
… pending re-ratification

The rescued snapshot 2ffe180 amended a RATIFIED, MERGED change packet
(ratified 2026-08-25, docs on main via #260/#261/#356) including its
`specs/doc-health/spec.md` delta, in place and silently. This reshapes that
into the form the estate's own two precedents use, without changing one word
of what the originating lane concluded.

WHAT THIS COMMIT DOES NOT DO. It does not flip `Status:`, add a second
ratification citation line, touch the 2026-08-25 `Ratified:` line, or alter the
amended spec delta. The delta stands exactly as the snapshot wrote it — that
is the text Brett is being asked to rule on.

1. RETAINED TEXT RESTORED, AMENDMENTS FILED FORWARD (the #592 §9.2 style, and
   `add-clearing-dispatch-boundary`'s own convention). The snapshot REWORDED
   five passages of the ratified packet in place. Each is restored verbatim and
   the amended text now sits beneath it as a dated, clearly-pending note:
   - `proposal.md` § What Changes, the lane bullet;
   - `design.md` Decision 3, the five-step recipe (both recipes now stand, the
     ratified one first, the amended one labelled and following);
   - `design.md`'s "read from Omnigent-Install `main`" note;
   - `design.md`'s "starts with a FRESH checkout" reproducibility argument;
   - `design.md` § Next steps, item 3;
   - `tasks.md` 3.1, whose body was rewritten while the box stayed unticked.
   The front-matter `code_surface:` line is a single machine-read value and
   cannot carry both, so its pre-amendment wording is preserved phrase by
   phrase in the new proposal section instead.

2. `proposal.md` GAINS § AMENDED AFTER RATIFICATION, 2026-09-04 — modelled on
   `archive/2026-09-01-add-release-tag-publication-check`, which is this
   estate's worked precedent for amending a ratified delta, down to its
   sentence "Recorded here as an amendment awaiting Brett rather than absorbed
   into the realization". It states the ruling, the contradiction the ruling
   exposes (a lane whose recipe requires a private-repo clone on a worker its
   own authority requirement forbids a repository credential to), the
   correction, and all five delta movements with before/after.

3. THE STANDING IS MADE HONEST. The snapshot's `Amended: 2026-09-01 by Brett`
   line cites a ruling about the RUNNER DESIGN, not an act of consent to the
   amended delta text. Both estate precedents cite a consenting act of their
   own ("accept the amendment"; "by the same ratifier, in a SEPARATE and LATER
   act"). The line is extended to say so, and the amendment is marked PENDING
   RE-RATIFICATION wherever it appears.

4. A DEFECT IN THE AMENDMENT, MEASURED. The amended recipe and the amended
   delta both call for generation "using the manifest-pinned source revision
   and timestamp" via `--generated-at`. `--source-revision` is real;
   `--generated-at` IS NOT an argument of `ideation_dashboard.cli generate`.
   `_generation_stamp` otherwise derives the stamp with `git show -s` inside
   the scanned tree, and `RealGitDates` degrades "to None … outside a git
   checkout" — which a sealed source artifact is. So the amended lane would
   publish a snapshot carrying no `generated_at` at all. The REQUIREMENT is
   right and the INTERFACE is missing; filed as new task 3.6.

5. `tasks.md` GAINS § 9, the adoption record. Every cross-repository merge sha
   the seventeen `[x]` flips assert was re-verified against the provider API
   and every one is real, merged, and the sha named (Omnigent-Install #129
   509b7d65, #146 575bc26f, #153 da0bdeba; aggregation #141 c1bba45d, #179
   de9a1d99). No flip was altered. The host- and org-admin facts this identity
   cannot reach are listed as unconfirmed rather than doubted.

The archive gate is unmoved: `target_release: implementation_pending`, §7 has
no ticked task, and the lane has still never run.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
… a docstring that claimed to be the other file

Two defects the snapshot preserved faithfully, both in
`tests/ideation-dashboard/tools/playwright-smoke-debug.py`, neither fixed by
the rescue because a snapshot may not author.

1. `page.evaluate("""() => { … }""")` at line 518 carries a JavaScript regex
   `/<textarea[\s\S]*?<\/textarea>/g` inside a NON-RAW triple-quoted Python
   string. `\s` and `\/` are not Python escapes, so this is a SyntaxWarning on
   every import today and a HARD SyntaxError under `-W error` — which the
   repository's own tooling reaches for. Fixed by making the literal raw.

   PROVED SEMANTICS-PRESERVING, not assumed. Python retains an unrecognized
   escape verbatim, so the string handed to `page.evaluate` was already the
   bytes the JS needs. The constant was extracted from the AST before and after
   and hashed: sha256 `e45e19201d519c18…` both times, IDENTICAL. The browser
   sees exactly what it saw.

2. The docstring was copied verbatim from `playwright-smoke.py`, so the file
   announced itself as "T098: the scratch-repository doxBench Playwright smoke"
   and told its reader to run `playwright-smoke.py`. It is not that tool. It is
   that tool plus ONE fifteen-line hunk: step 4's Document-tab click wrapped in
   a try/except that screenshots and dumps the canvas DOM before exiting
   `DEBUG4:`. `diff -u playwright-smoke.py playwright-smoke-debug.py` was that
   single hunk and is now that hunk plus this docstring — nothing else.

   The new head says what the file is, that the ORACLE is `playwright-smoke.py`
   and never this fork, and — the part that matters to whoever finds it next —
   that NOTHING keeps the two in sync, so the fork should be re-copied from the
   smoke and re-patched rather than edited, or deleted once step 4 is
   understood. The remaining 1,164 lines of the original docstring are retained
   because they still describe correctly how to run this file.

RECOMMENDATION, FOR BRETT, NOT ACTED ON HERE: this fork is session scaffolding.
Its entire value is fifteen lines of one-off DOM capture, and it costs a
1,164-line duplicate that will rot the first time the smoke is edited. Deleting
it is defensible and this lane would not argue. It is kept because the rescue
existed so that nothing stranded is lost, and discarding another lane's work on
this lane's judgement is not what "adopt" was ruled to mean. One word removes
it.

NOT THIS CHANGE'S CODE SURFACE. Neither smoke tool is: `proposal.md`
names "tests under `tests/ideation-dashboard/` over the status artifact, the
no-change short-circuit, and the envelope-shaped diff the lane may produce",
and these drive the doxBench editor UI (T098, quickstart §7 — outline editing,
Save ordering, session branches). They ride this PR because they were stranded
in the same working tree, not because the amendment reaches them. No task is
ticked for them. The PR body carries the full analysis of the sibling
`playwright-smoke.py` rework.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
…d-refresh record

The record describes the lane as "fresh openxFactory `main` checkout, `--strict`
snapshot generation from THAT checkout" — the design as ratified 2026-08-25, and
the design an amendment now pending Brett's re-ratification would change. The
index is where a reader who is not opening the packet finds out what a change
says, so leaving it silent would let the amendment sit unannounced in exactly
the place the estate keeps its active-change inventory.

The ratified description is NOT rewritten: it is what still governs, and it
stays first and unedited. A dated paragraph follows it naming the ruling, what
the amendment moves and why, its shape in the delta (two ADDED scenarios, one
ADDED prohibition paragraph, no requirement title moved, no MODIFIED block),
its rescue provenance (#595, #591), and where the full record lives. The
archive gate is stated unmoved because it is: `target_release` does not move
and no §7 task is ticked whichever way the amendment is ruled.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
`scripts/ideation_dashboard/generator.py` was line-wrapped inside its backticks
by the previous commit, so Markdown renders it as two tokens with a space in
the middle — a path a reader cannot paste. Prose only; the task's content,
its number and its unticked state are unchanged.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
Copilot AI review requested due to automatic review settings September 4, 2026 01:25
@brettheap brettheap changed the title Rescue (snapshot): nightly-refresh edits (2026-09-02) from the shared checkout at 6612d323 Adopt the nightly-refresh edits: amended doc-health delta (pending Brett's re-ratification), packet file-forward, and the smoke tools (rescued from the shared checkout, #591) Sep 4, 2026
@brettheap
brettheap marked this pull request as ready for review September 4, 2026 01:26

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

@codex review

Head e5d81a42. Requesting one bot round on the adoption. What most needs an adversarial eye, in priority order:

  1. The amended specs/doc-health/spec.md delta — is it really only a NARROWING? The claim in the body is that nothing the ratified delta forbade becomes permitted, and that two things it permitted only by omission become forbidden. Check the two rewritten paragraphs against their ratified originals rather than against the summary.
  2. The finding that --generated-at does not exist. ideation_dashboard.cli generate's _add_generate_args is the evidence; _generation_stamp + RealGitDates in generator.py are the reason it matters on a git-less sealed tree. If that reasoning is wrong, new task 3.6 should not exist.
  3. The file-forward restorations. Six ratified passages were reworded in place by the snapshot and are now restored verbatim with the amendment beneath. Verify the restorations really are verbatim against origin/main, and that no retained text was dropped.
  4. playwright-smoke.py. Its +431/−197 is claimed to be a black-style reformat plus exactly two behavioural changes (the scratch checkout's own git identity; the Editor view-tab click). If a third substantive change is hiding in the reformat, that is the finding worth having. Also worth checking: no assert x, (a, b) always-true tuple was introduced by the paren-wrapping.
  5. The raw-string fix at playwright-smoke-debug.py:518 is asserted semantics-preserving on an AST hash. Disagree if the JS the browser receives can differ.

The rescue commit 2ffe1807 is deliberately untouched (main merged, never rebased), so its byte-identity evidence stays verifiable — please do not read its content as this lane's authorship.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

It introduces committed host-absolute paths (forbidden by the repo constitution) and contains a spec sentence that is literally contradictory/ambiguous without a small wording fix.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (2)

tests/ideation-dashboard/tools/playwright-smoke-debug.py:60

  • The repo constitution forbids committed host-absolute paths (.specify/memory/constitution.md:68-73). The ~/doxbench-operator/... reference is host-specific; consider referencing the script by name or as a repo-relative path instead.
serves (`scripts/ideation_dashboard/cli.py generate-and-open`, or
`~/doxbench-operator/t100_serve.py <worktree> <corpus> <port>`) are for a
human at a real corpus and are NOT used here; pointing this smoke at one would

tests/ideation-dashboard/tools/playwright-smoke-debug.py:539

  • The repo constitution forbids committed host-absolute paths (.specify/memory/constitution.md:68-73). Writing the screenshot to a fixed /tmp/... path can also collide across concurrent runs; prefer the per-run temp directory already created (base).
                page.screenshot(path="/tmp/t098-step4.png", full_page=True)
  • Files reviewed: 7/7 changed files
  • Comments generated: 3
  • Review effort level: Lite

… remedy, which would delete the artifact

Copilot, PR #595 review of 2026-09-02, on `playwright-smoke-debug.py:539`:
"This hardcodes a host-absolute path ('/tmp/...') ... Use a runtime-derived
path (e.g., under the script's temp workspace) instead."

TAKEN ON THE DIAGNOSIS. `page.screenshot(path="/tmp/t098-step4.png")` is the
ONLY host-absolute literal in either smoke tool — the parent
`playwright-smoke.py` has zero, and puts everything under its own
`tempfile.mkdtemp` workspace. It is also not portable: this tool is meant to
run on the Windows rider, where `/tmp` does not exist, and two concurrent runs
would overwrite each other's evidence.

DECLINED ON THE REMEDY, for a reason worth recording. "Under the script's temp
workspace" means `base`, and `main()`'s `finally` does
`shutil.rmtree(base, ignore_errors=True)`. This branch exits through that
`finally` by `raise SystemExit(f"DEBUG4: {e}")`, so a screenshot written under
`base` is DELETED before the operator can open it — the suggestion would have
silently destroyed the one artifact this fork exists to produce.

WHAT LANDED INSTEAD: a fresh `tempfile.mkdtemp(prefix="t098-debug-step4-")`,
which is durable (nothing removes it), collision-free between concurrent runs,
and rooted at `gettempdir()` on every platform — `%TEMP%` on the Windows rider,
`/tmp` on Linux, so the original behaviour is preserved where it worked. The
path is now PRINTED as `STEP4 SCREENSHOT: <path>` beside the existing
`STEP4 DOM:` dump, because a debug artifact at an unpredictable path that
nobody is told about is not an artifact. The comment states all three reasons
so the next reader does not "simplify" it back to either broken form.

`python3 -W error -m py_compile` still clean. Behaviour on the SUCCESS path is
untouched: this whole block runs only when the step-4 Document-tab click
raises.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
Copilot AI review requested due to automatic review settings September 4, 2026 01:29
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Bot round 1 — disposed. Head e883a378.

Bench: one reviewer, not two. @codex review was requested at 01:26Z and answered 01:26:32Z with "You have reached your Codex usage limits for code reviews." A provider non-review, recorded rather than counted — the same state this rescue's sibling PR #593 hit five times. Copilot reviewed. Sourcery is an upsell stub on this private repo and is not a reviewer.

Copilot's review predates the reshape (it ran on the snapshot head 2ffe1807), and both its findings are on the rescued debug fork — the file the rescue itself flagged as unreviewed. Both are real. Both TAKEN.

# finding disposition
1 playwright-smoke-debug.py:518 — regex escapes in a non-raw triple-quoted string trigger SyntaxWarning TAKEN — fixed in 366a42cc before this round, independently
2 playwright-smoke-debug.py:539 — hardcoded host-absolute /tmp/t098-step4.png TAKEN on the diagnosis, DECLINED on the remedy — fixed in e883a378 a different way, below

1 — the escape sequence: taken, with one correction to the reasoning

Fixed by making the literal raw. Copilot's diagnosis is right and its remedy is the one applied.

One clause of its reasoning is wrong, and the difference matters for anyone auditing this later: it says the escapes "can also alter the JavaScript regex content passed to page.evaluate." They cannot. Python retains an unrecognized escape verbatim, so \s and \/ already reached the browser as \s and \/. Measured rather than argued — the string constant was extracted from the AST before and after the fix and hashed: sha256 e45e19201d519c18… both times, IDENTICAL.

So this was never a wrong-behaviour bug; it was a build-time bug — SyntaxWarning today, a hard SyntaxError under -W error, which is a real failure mode and worth fixing. Right fix, right severity, slightly wrong mechanism.

2 — the hardcoded path: taken, but the suggested remedy would have deleted the artifact

The finding is right, and it is the only host-absolute literal in either tool — the parent playwright-smoke.py has zero and keeps everything under its own tempfile.mkdtemp workspace. It is also not portable: this fork is meant to run on the Windows rider, where /tmp does not exist, and two concurrent runs would overwrite each other's evidence.

Its recommended remedy — "under the script's temp workspace" — is the one option that must not be taken. That workspace is base, and main()'s finally does shutil.rmtree(base, ignore_errors=True). This branch exits through that finally via raise SystemExit(f"DEBUG4: {e}"). A screenshot written under base is therefore deleted before the operator can open it — the suggestion would have silently destroyed the one artifact this fork exists to produce.

What landed instead (e883a378): a fresh tempfile.mkdtemp(prefix="t098-debug-step4-") — durable (nothing removes it), collision-free between concurrent runs, and gettempdir()-rooted on every platform, so it is %TEMP% on the rider and /tmp on Linux, preserving the original behaviour exactly where it already worked. The path is now printed as STEP4 SCREENSHOT: <path> beside the existing STEP4 DOM: dump, because a debug artifact at an unpredictable path nobody is told about is not an artifact. A comment records all three reasons so the next reader does not "simplify" it back into either broken form.

A narrowing on Copilot's framing, for the record: it cites "the repo's artifact discipline (committed files must not contain host-absolute paths)." That rule is real but narrower than stated — it governs release and contract metadata (release-inventory-host-absolute-path; docs/contract-versioning-policy.md: "submodule, traversing, and host-absolute members all fail validation"), not Python source. The fix stands on portability and on the parent tool's own convention, not on that rule.

Nothing was raised on the governance half

Both findings landed on the debug fork. No bot has yet examined the amended doc-health delta, the file-forward restorations, or the --generated-at finding — the three things this PR most needs adversarial reading on, and the three named first in the review request above. Recorded as a gap in the bench, not as a clean bill.

One more measurement, and a pre-existing red that is NOT this PR's

The wider pytest -q tests/ideation-dashboard suite was run at this head: 4661 passed, 31 skipped, 1 failed. The failure is test_snapshot.py::test_find_validator_locates_pinned_checkout, and it fails identically on a clean origin/main worktree — verified side by side. It asserts a sibling openxFactory checkout is reachable from the repo root, which is true in the aggregation workspace and false in an isolated single-repo clone. Environmental, pre-existing, not a regression, and not touched by this diff. Recorded rather than worked around.

Everything else re-measured green at e883a378: openspec validate --all --strict 87/0 (same on main), pytest -q tests/doc-health tests/sequenced_after 1618 passed, python3 -W error -m py_compile clean on both tools, doc-health --single-repo byte-identical to main after normalizing the repo-identity label, sequenced_after --sweep identical on both sides.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard.

…adiction inside the amendment itself

Copilot re-reviewed at head `e883a378` and, unlike round 1, reached the
GOVERNANCE half. All three findings are real and all three are TAKEN.

1. THE AMENDED DELTA CONTRADICTED ITSELF, and this is the one that mattered.
   The sentence the amendment adds — "The worker SHALL perform no repository
   clone, fetch, or push" — FORBIDS IN ITS CLOSING CLAUSE THE VERY ACT THE
   SAME SENTENCE REQUIRES, a push to `acropensoftxfactoryqa.azurecr.io`. Not
   prose-picking: this packet calls the push target an "image repository" in
   `tasks.md` § 2 and in the authority requirement's own "scoped to the single
   image repository", so "repository" is overloaded across these very
   requirements. The new prohibition paragraph carried the same ambiguity —
   its "repository network access on the worker are prohibited" reads on the
   registry too.

   Both are now qualified to GIT repositories explicitly, and the prohibition
   paragraph closes by saying so and by stating that the push-scoped
   credential for the single `ideation-dashboard` IMAGE repository is neither
   widened nor withdrawn. NO OBLIGATION MOVES — this is the reading every
   other sentence in the packet already assumes.

   THESE ARE THE ONLY WORDS OF THE AMENDMENT THIS LANE HAS CHANGED, and the
   change is recorded in `proposal.md` § AMENDED AFTER RATIFICATION as its own
   dated paragraph, because it edits the text put to Brett for ratification. A
   lane that quietly rewrites what it asks to be ratified has broken the thing
   that section exists to protect.

2. Task 1.3 is CONDITIONAL ("If 1.2 shows the installation cannot be
   extended…") and was ticked with a note reading "NOT INVOKED" — a checkbox
   whose meaning did not match its text. This repository has a convention for
   exactly that, and Copilot cited it: `[x]` plus an explicit `**N/A —
   <reason>**` opening the task line
   (`archive/2026-08-24-govern-openspec-corpus-membership/tasks.md:54-63`,
   four consecutive instances). Verified, and followed. The originating lane's
   tick and its whole note are retained; only the N/A marker is added.

3. THE REPOSITORY CONSTITUTION FORBIDS COMMITTED HOST-ABSOLUTE PATHS OUTRIGHT
   — `.specify/memory/constitution.md` principle IV, "Committed files MUST NOT
   contain host-absolute paths; use repo-relative paths or runtime
   resolution." THIS LANE GOT THAT WRONG in its round-1 disposition, where it
   said the rule was narrower than Copilot claimed and reached only release
   and contract metadata. It searched `docs/` and `tests/` and never opened
   the constitution. The rule is repo-wide and Copilot was right.

   The offending lines were this lane's OWN: the new docstring described the
   fix as writing `/tmp/t098-step4.png`, and the new comment argued against a
   hardcoded "/tmp/...". Both now describe the behaviour without an absolute
   path, and the comment cites principle IV as the third reason not to
   regress it. The code itself was already compliant as of `e883a378`.

   DECLINED, with the reason: the `~/doxbench-operator/t100_serve.py` mention
   Copilot also flagged in the retained docstring is `$HOME`-relative rather
   than host-absolute, and is retained text byte-identical to the same line in
   `playwright-smoke.py`, which is already on `main`. Changing it here would
   edit retained text to fix a defect this PR did not introduce and would
   leave the parent tool divergent.

`openspec validate --all --strict` 87 passed / 0 failed; `python3 -W error -m
py_compile` clean.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Bot round 2 — three findings, ALL TAKEN. Head d4b5c829.

Copilot re-reviewed the reshaped head and, unlike round 1, reached the governance half — which is where this PR needed it. One of the three is the best finding of this adoption.

# file finding disposition
1 specs/doc-health/spec.md the amended requirement forbids the "push" it also requires TAKEN
2 tasks.md 1.3 conditional task ticked without the repo's N/A marker TAKEN
3 playwright-smoke-debug.py committed host-absolute paths violate the constitution TAKEN (one sub-item declined, with reason)

1 — THE AMENDMENT CONTRADICTED ITSELF. This is the finding worth having.

The sentence the amendment adds reads "The worker SHALL perform no repository clone, fetch, or push" — and the same sentence requires the worker to push to acropensoftxfactoryqa.azurecr.io. Copilot is right, and it is not prose-picking: this packet itself calls the push target an "image repository" (tasks.md § 2, and the authority requirement's own "scoped to the single image repository"). "Repository" is genuinely overloaded across these very requirements. The new prohibition paragraph carried the same ambiguity — its "repository network access on the worker are prohibited" reads on the registry too.

Both are now qualified to GIT repositories explicitly, and the prohibition paragraph closes by saying so and by stating that the push-scoped credential for the single ideation-dashboard image repository is neither widened nor withdrawn.

NO OBLIGATION MOVES. This is the reading every other sentence in the packet already assumes, and the amendment's whole subject is repository credentials rather than registry ones.

These are the ONLY words of the amendment this lane has changed, and the change is recorded as its own dated paragraph in proposal.md § AMENDED AFTER RATIFICATION — because it edits the text put to Brett for ratification, and a lane that quietly rewrites what it asks to be ratified has broken the thing that section exists to protect. The PR body's before/after has been updated to quote the text as it now stands, so what is shown is what would be ratified.

2 — the conditional checkbox: taken, precedent verified

Task 1.3 is conditional ("If 1.2 shows the installation cannot be extended…") and was ticked with a note reading "NOT INVOKED" — a checkbox whose meaning did not match its text. Copilot cited this repository's convention for exactly that case: [x] plus an explicit **N/A — <reason>** opening the task line. Checked, and the citation is exact — archive/2026-08-24-govern-openspec-corpus-membership/tasks.md:54-63 carries four consecutive instances. Followed. The originating lane's tick and its entire note are retained; only the marker is added.

3 — host-absolute paths: taken, AND THIS LANE WAS WRONG IN ROUND 1

Correcting the record. In round 1 this lane wrote that the host-absolute-path rule was "narrower than stated" and governed only release and contract metadata. That is wrong. It searched docs/ and tests/ and never opened the constitution. .specify/memory/constitution.md principle IV says, without qualification:

Committed files MUST NOT contain host-absolute paths; use repo-relative paths or runtime resolution.

Repo-wide, no carve-out for source files. Copilot was right and this lane's narrowing was unsupported. It is corrected here rather than left standing in the earlier comment.

The offending lines were this lane's own: the new docstring described the round-1 fix as writing /tmp/t098-step4.png, and the new comment argued against a hardcoded "/tmp/...". Both now describe the behaviour without an absolute path, and the comment cites principle IV as a third reason not to regress it. The code was already compliant as of e883a378.

One sub-item DECLINED, with the reason. Copilot also flagged the ~/doxbench-operator/t100_serve.py mention at line 58. That is $HOME-relative rather than host-absolute, and it is retained text, byte-identical to the same line in playwright-smoke.py, which is already on main. Changing it here would edit retained text to fix a defect this PR did not introduce, and would leave the parent tool divergent. If the constitution is to reach $HOME-relative paths too, that is a separate act over both tools — recorded, not smuggled into this one.

Still not examined by any bot

The file-forward restorations and the --generated-at finding. Round 2 reached the delta, which is the most important of the three, but no reviewer has yet checked that the six restored ratified passages are verbatim against origin/main, nor tested the reasoning behind new task 3.6. Recorded as a remaining gap in the bench rather than as a clean bill. Codex remains rate-limited — a provider non-review, not a verdict.

Re-measured at d4b5c829

OPENSPEC_TELEMETRY=0 openspec validate add-nightly-dashboard-refresh --strict → valid. --all --strict → 87 passed, 0 failed. python3 -W error -m py_compile on both tools → clean. pytest -q tests/doc-health tests/sequenced_after re-running at this head; result posted below if anything moves.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Bot round 4 — both TAKEN, and both were THIS LANE's defects. Head e84d060a.

Copilot reviewed the current head d4b5c829 (verified: commit_id=d4b5c829ea8a, "Files reviewed: 7/7"). Two findings, neither of them the originating lane's — both introduced by this adoption.

1 — a checkbox that stated a conclusion resting on evidence nobody has

Task 1.3 is marked complete as "N/A — 1.2's condition did not arise", but task 1.2 itself is still unchecked. As written, the checklist states a conclusion that depends on evidence 1.2 says is still pending.

Right, and it is this lane's wording from round 2. Taking Copilot's previous finding about conditional-task convention, this lane wrote a reason that reads as though 1.2 had concluded. It has not: 1.2 is [ ], owes a CALL-TIME write proof, and defers it to §7.1. That is exactly the failure mode the seventeen ticks were audited for in the new tasks.md §9 — a claim outrunning its evidence — reproduced by the lane doing the auditing.

The marker now separates the two questions instead of eliding them. 1.3 asks whether the installation cannot be extended; it demonstrably can, because it is already organization-wide (repository_selection: all) and Omnigent-Install is in scope with no extension act at all. That is independent of 1.2's outstanding proof, and the text now says so in terms, ending: "Nothing here asserts 1.2's proof has been taken." 1.2 stays [ ] and is untouched.

2 — the debug fork told operators to run the other tool

The debug fork's docstring tells operators to run the non-debug smoke script (playwright-smoke.py). That's misleading for this file and makes it easy to execute the wrong tool when investigating step-4 failures.

Right, and it is the sharpest of the eight findings — a correctness bug in the instruction, not a style point. The retained docstring carried python3 tests/ideation-dashboard/tools/playwright-smoke.py: correct in playwright-smoke.py, wrong in a fork whose entire purpose is to be run instead of the smoke when step 4 fails. Someone debugging step 4 would have run the tool that cannot show them anything — the precise scenario this file exists for.

This lane made it worse before Copilot caught it. The head added in 366a42cc asserted the retained docstring was kept "because every word of it still describes how to run this file" — false of exactly this line, and the assertion would have discouraged the next reader from checking. The invocation now names this file, the correction is marked in place so it is not misread as drift from the parent, and the blanket claim is narrowed to what is true.

A deliberate exception to this PR's retained-text rule, stated rather than smuggled: that rule protects a ratified packet's record. This file is new, was uncommitted before the rescue, and the line is not a record of anything — it is an instruction that was wrong the moment the file was copied.

Bench closed at four rounds

round head reviewed reviewer findings outcome
1 2ffe1807 (snapshot) Copilot 2 both TAKEN
2 e5d81a42 Copilot 3 all TAKEN (1 sub-item declined, reason given)
3 e883a378 Copilot 1 TAKEN — already fixed at head
4 d4b5c829 Copilot 2 both TAKEN
1–4 — Codex 0 rate-limited at every request — a provider non-review, not a verdict

Eight findings, eight taken, zero declined on the merits. The single decline is the $HOME-relative ~/doxbench-operator/… line — retained text byte-identical to playwright-smoke.py on main, and not host-absolute.

Two of the eight were defects in the ORIGINAL rescued snapshot (the SyntaxError-under--W error escape, the hardcoded screenshot path) — work that had never been reviewed by anything because it was stranded uncommitted, the same lesson this rescue's sibling #593 recorded. Three were this lane's own (the two above, plus the docstring path mention). One — round 2's — was in the amendment itself, and remains the most valuable: the amended requirement forbade the ACR push it also required.

Still unexamined by any reviewer at any head: the reasoning behind new task 3.6 (--generated-at does not exist on the generate CLI). The file-forward restorations were the other standing gap and this lane has since measured them itself — see the retention-proof comment above: 21 ratified lines moved across 1,386, all 21 accounted for, 17 of them checkbox markers, none a silent deletion.

Per this lane's brief the bench stops at four rounds. Nothing is unresolved. This lane does not merge — what is owed is Brett's one word on the amended delta.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

There are a couple of small but concrete doc/tool accuracy issues (one spec grammar fix and one misleading portability claim in the debug tool comments) that should be corrected before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

tests/ideation-dashboard/tools/playwright-smoke-debug.py:555

  • This comment block claims the debug-artifact path logic is meant to be Windows-portable, but the script elsewhere hardcodes Unix-specific paths (e.g., core.hooksPath=/dev/null). That makes the Windows portability claim misleading for operators; either make the script actually platform-neutral or remove the Windows-specific claim here.
  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +145 to +147
bounded Actions artifact. Git repository credentials, deploy keys, Git credential
helpers, raw Git repository clones, and Git repository network access on the
worker are prohibited; the credentialed hosted parent owns those reads and

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lane: openxfactory-f2

DECLINED — the subject is a five-item coordinated list, not "access".

The sentence reads:

Git repository credentials, deploy keys, Git credential helpers, raw Git repository clones, and Git repository network access on the worker are prohibited

Five coordinated noun phrases share one predicate — credentials, deploy keys, helpers, clones, and access are prohibited. A compound subject joined by "and" takes a plural verb, so are is correct; is would be the error. The finding appears to have read only the final conjunct.

Confirmed by the pre-amendment text too: the originating lane wrote the identical structure ("Repository credentials, deploy keys, Git credential helpers, raw repository clones, and repository network access on the worker are prohibited"), and this lane's round-2 edit only inserted the word "Git" in three places — it did not touch the subject count or the verb.

This thread is left OPEN rather than resolved, per this lane's standing rule that only TAKEN findings are resolved. A declined finding stays visible for a human to adjudicate.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

CONVERGED — head e84d060a, all five required checks GREEN, zero unresolved threads

check result
pytest-suite pass (22m)
merge-master-approval pass
signed-execution-chain-gate pass
wallet-validation pass
openreposhape-pin pass

mergeStateStatus: BLOCKED is the expected state — waiting on a human, not on a red. origin/main was merged in once and never rebased, so the rescue commit 2ffe1807 is still the first commit on this branch and its byte-identity evidence stays verifiable.

Local, re-measured at this head: openspec validate add-nightly-dashboard-refresh --strict valid; --all --strict 87 passed / 0 failed (identical on origin/main); pytest -q tests/doc-health tests/sequenced_after 1618 passed; python3 -W error -m py_compile clean on both tools; doc-health --single-repo byte-identical to origin/main after normalizing the repo-identity label; validate-sequenced-after.py --sweep identical on both sides. No pin moved, and none should have.

Bot bench closed at four rounds: eight findings, eight taken, zero declined on the merits, every thread resolved. Codex was rate-limited at all four requests — a provider non-review, recorded rather than counted.

What is owed, and it is one word

Brett's re-ratification of the amended doc-health spec delta. The before/after of all five movements is in the PR body; the record is proposal.md § AMENDED AFTER RATIFICATION, 2026-09-04, which opens "NOTHING HERE IS RATIFIED YET." Accepting flips that heading to ACCEPTED and converts the Amended: line's pending clause into a consenting citation; Status: ratified and the 2026-08-25 Ratified: line do not move either way.

Two things this PR deliberately does NOT discharge, both recorded in the packet: new task 3.6 (the amendment requires a --generated-at anchor the generate CLI does not have), and the possibility that the landed aggregation realization now disagrees with the amended spec — not assessed, because the aggregation is outside this repository. The archive gate stays open whichever way the delta is ruled.

This lane does not merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Round 5 — the bench's FIRST decline on the merits. Head unchanged at e84d060a.

Copilot reviewed the current head and raised one finding, on specs/doc-health/spec.md:147:

Subject/verb agreement: "Git repository network access … are prohibited" should be singular ("is prohibited") to match "access".

DECLINED. The subject is a five-item coordinated list, not "access":

Git repository credentials, deploy keys, Git credential helpers, raw Git repository clones, and Git repository network access on the worker are prohibited

A compound subject joined by "and" takes a plural verb. are is correct; is would introduce the error. The finding appears to have read only the final conjunct.

Checked against the pre-amendment text as well, because this lane edited that sentence in round 2 and had to rule out having caused it: the originating lane wrote the identical structure — "Repository credentials, deploy keys, Git credential helpers, raw repository clones, and repository network access on the worker are prohibited" — and round 2 inserted only the word "Git" in three places. The subject count and the verb were never touched.

The thread is left OPEN rather than resolved, per this lane's rule that only TAKEN findings get resolved; a declined finding stays visible for a human to overrule. The reply is posted in the thread itself. No commit was made — the head is still e84d060a and all five checks remain green on it.

Bench final: five rounds, nine findings

TAKEN 8 — two defects in the original rescued snapshot, three of this lane's own, one inside the amendment itself (round 2's ACR-push contradiction), two on the debug fork
DECLINED on the merits 1 — this one
DECLINED as out of scope 1 sub-item (the $HOME-relative ~/doxbench-operator/… line: retained text identical to playwright-smoke.py on main, and not host-absolute)
Codex 0 reviews — rate-limited at every request. A provider non-review, not a verdict

Eight of the nine came from a reviewer that only reached the governance half at round 2; the single most valuable finding of the whole adoption was that one. Unresolved threads: 1, deliberately. Everything else is resolved.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

…bug smoke tool (#595)

Brett Heap, 2026-09-04 ~02:2xZ, in-session, verbatim: "re-ratify and
merge 595, delete the debug tool, roll out lane-line".

- proposal.md: § AMENDED AFTER RATIFICATION heading flips from
  "flagged, PENDING re-ratification" to "RE-RATIFIED 2026-09-04";
  records the ruling as the consenting act for the five-movement
  amendment (including the Copilot-round-4 "Git repository"
  qualification), on PR #595 at head e84d060. The pending-state
  paragraph is retained, prefixed as superseded rather than removed.
  The `Amended:` front-matter line gets the same citation appended;
  `Status: ratified` and the single `Ratified:` line are untouched.
- tasks.md §9: dated ruling entry recording the debug tool's deletion
  and where its ~15 lines of DOM-capture diff remain recoverable
  (rescue commit 2ffe180).
- tests/ideation-dashboard/tools/playwright-smoke-debug.py: deleted
  per the ruling. No other file references its filename (grep
  checked); the tool's own docstring was its only self-reference.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41
Copilot AI review requested due to automatic review settings September 4, 2026 02:15
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Re-ratification recorded. New head 3126014c.

Brett Heap, 2026-09-04 ~02:2xZ, in-session, verbatim:

re-ratify and merge 595, delete the debug tool, roll out lane-line

One commit, 3126014c59b9dbf930f5471e7ead1ad0fd738974:

  • proposal.md § AMENDED AFTER RATIFICATION: heading flips from "flagged,
    PENDING re-ratification" to "RE-RATIFIED 2026-09-04"; the ruling above is
    recorded as the consenting act for the five-movement amendment (including
    the Copilot-round-4 "Git repository" qualification), on this PR at head
    e84d060a. The pending-state paragraph is retained, prefixed as superseded
    rather than removed. The Amended: front-matter line carries the same
    citation appended. Status: ratified and the single Ratified: line are
    untouched (grep -c check stays 1).
  • tasks.md §9: dated ruling entry recording the debug tool's deletion, with
    its ~15-line DOM-capture diff recoverable from rescue commit 2ffe1807 if
    ever needed.
  • tests/ideation-dashboard/tools/playwright-smoke-debug.py deleted per the
    ruling. Checked for outside references (grep -rn across *.py, *.md,
    *.yml, *.yaml) — none found; the file's own docstring was its only
    self-reference.

Verified before pushing: openspec validate add-nightly-dashboard-refresh --strict and --all --strict both clean (87/87 specs valid); pytest -q tests/doc-health tests/sequenced_after — 1618 passed, 0 failed.

Not merging — the orchestrator merges on green checks.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBPLWRL4rhgRbmjP8Li41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The governance/ruling status of the amendment is internally inconsistent across proposal/README (and within proposal front-matter), which needs to be reconciled before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 4
  • Review effort level: Lite

Comment thread README.md Resolved
…e and tool comment (#595)

Four Copilot findings on PR #595, all taken in one commit:

- proposal.md front-matter `Amended:` line was internally contradictory
  (asserted both "NOT YET RE-RATIFIED" and "Re-ratified 2026-09-04" in the
  same live header). Rewritten to one consistent statement: the runner-design
  ruling stands as quoted, and the amended delta is RE-RATIFIED 2026-09-04 by
  Brett Heap, verbatim "re-ratify and merge 595, delete the debug tool, roll
  out lane-line" (see § AMENDED AFTER RATIFICATION, already the section that
  carries the history). `Status: ratified` and the single `Ratified:` line
  are untouched.
- README.md's OpenSpec Records entry for add-nightly-dashboard-refresh said
  the delta amendment was still pending re-ratification; updated to state it
  was amended 2026-09-04 and re-ratified the same day.
- design.md's amended recipe snippet used `--generated-at`, a flag the note
  immediately below says does not exist yet; added an inline
  `# requires task 3.6 — flag not yet implemented` marker on that line so a
  copy/paste does not fail silently.
- tests/ideation-dashboard/tools/playwright-smoke.py's git-identity comment
  read as if `git config user.name` itself "falls through" to the operator's
  global identity; reworded to say that WITHOUT setting the checkout's local
  user.name/user.email, later commits fall back to the operator's global git
  config.

The fifth open thread (subject/verb on "Git repository ... access ...
prohibited") is a reasoned DECLINE already on record and is left untouched.

Lane: openxfactory-f2

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb
Copilot AI review requested due to automatic review settings September 4, 2026 02:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Several packet sections still say the amendment is pending re-ratification despite being recorded as re-ratified, and one new spec scenario wording can be read as contradicting the required parent materialization step.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (2)

Previously missed (2) — in code that hasn't changed since the last review.

openspec/changes/add-nightly-dashboard-refresh/specs/doc-health/spec.md:23

  • This failure scenario says “no … host clone … MUST occur”, but the requirement’s normal flow explicitly requires the hosted parent to materialize (i.e., clone/checkout) the sources in order to seal the artifact. As written, the scenario can be read as prohibiting the parent’s required checkout work when the artifact is missing/invalid. Reword to forbid worker-side fallback repository access instead.
    openspec/changes/add-nightly-dashboard-refresh/design.md:273
  • This section still labels the 2026-09-01 amendment as “PENDING RE-RATIFICATION”, but the packet front-matter and § AMENDED AFTER RATIFICATION state it was RE-RATIFIED 2026-09-04. Keeping “pending” here makes the governance state inconsistent across the packet.
  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

Two Copilot findings on PR #595 pointed at a reader-facing summary
blockquote (proposal.md) and a task-gating paragraph (tasks.md) that
still described the 2026-09-01 amendment as "pending re-ratification"
after Brett Heap's 2026-09-04 re-ratification (verbatim: "re-ratify and
merge 595, delete the debug tool, roll out lane-line"). Reworded both,
plus five stragglers found by grepping the whole packet
(tasks.md 3.1 note; design.md Decision 3 header, the amended-recipe
header, and two inline amendment asides) that carried the same stale
"(pending re-ratification)" phrasing a reader would take as current.
The superseded paragraph inside proposal.md's
§ AMENDED AFTER RATIFICATION, which is explicitly marked superseded,
is untouched, as is the single Ratified: line.

Task 3.6 (the --generated-at CLI surface) is now stated as REQUIRED
realization work on this change's code surface rather than conditional
on a future ratification; the task itself stays unticked since it is
not yet done.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb
Copilot AI review requested due to automatic review settings September 4, 2026 03:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated governance/index prose contains a date inconsistency and a couple of broken/contradictory phrasings that should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

README.md:1600

  • The bold README note is internally inconsistent about the amendment date (it says “AMENDED 2026-09-04” while the very next sentence says the amendment was authored 2026-09-01), and the phrasing “an amendment … was amended” is confusing. Consider rewording to state the delta was amended 2026-09-01 and re-ratified 2026-09-04.

This issue also appears on line 1605 of the same file.

README.md:1607

  • This sentence is grammatically broken (“forbids a repository credential to.”). Rewording makes the causal clause readable.
  verifies and consumes — because the ratified lane requires a clone of two
  PRIVATE repositories on a worker its own authority requirement forbids a
  repository credential to. Two ADDED scenarios and one ADDED prohibition
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

The §9 label read as contradicting the [x] ticks above it (e.g. 1.5/1.6).
Reword the label and its lead-in so the meaning is unambiguous: these are
host/org-admin facts the adopting lane could not check from outside the
host, and the ticks above stand on the originating lane's own evidence —
they are not withdrawn.

Lane: openxfactory-f2
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb
Copilot AI review requested due to automatic review settings September 4, 2026 03:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The amended spec delta contains a scenario clause that contradicts the amended workflow (forbidding “host clone”), and the README index entry has a self-contradicting amendment date statement.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

README.md:1600

  • This sentence says the delta “was amended 2026-09-04” but the next line immediately says the amendment was authored 2026-09-01 (and proposal.md front-matter also uses 2026-09-01 as the amendment date). Rewording the lead-in to use the correct amendment date avoids a self-contradicting governance record in the README index entry.
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment on lines +20 to +23
#### Scenario: The sealed source artifact is unavailable or invalid
- **WHEN** the child cannot download the source run's named artifact, its manifest is malformed, a required path is absent, or its recorded revisions do not match the parent decision
- **THEN** the child MUST fail before strict generation and before any registry credential is used
- **AND** no repository fallback, host clone, image push, digest, or pull request MUST occur

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lane: openxfactory-f2

DECLINED — the scenario's scope is the CHILD's failure path, and the parent's materialization precedes its WHEN. The scenario fires "WHEN the child cannot download the source run's named artifact …": by then the credentialed parent has already sealed (or failed to seal) the bounded artifact — the preceding scenario, "The lane runs on a night with corpus movement", is where the parent's materialization is REQUIRED ("the credentialed parent seals fresh openxFactory main plus the current recipe into a bounded source artifact"). The AND clause therefore enumerates what the CHILD must not do as a fallback once the artifact is missing or invalid: no repository fallback, no clone on its own host, no push, no digest, no pull request. Read in order, the two scenarios do not contradict; the parent's step is the one the design names and the one slice S2 of the re-realization plan implements. The delta text was re-ratified 2026-09-04 as written and is not re-edited here; to remove the ambiguity for implementers without touching ratified text, slice S6 will add one clarifying sentence to design.md ("'host clone' in the failure scenario means a clone on the worker host; the parent's seal is the prior scenario's requirement"). Thread left open as a reply per convention.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Provenance for the admin merge. RULING for lane openxfactory-f2's PR #595 (head 676bd5c6): Brett Heap, 2026-09-04, in-session — "go on 595" (adopt), then verbatim "re-ratify and merge 595, delete the debug tool, roll out lane-line". The re-ratification of the amended doc-health delta is recorded in the packet (proposal § AMENDED AFTER RATIFICATION — RE-RATIFIED 2026-09-04; Amended: header; tasks wording) and the debug smoke tool is deleted (recoverable from rescue commit 2ffe1807). Merge basis: ALL checks SUCCESS on 676bd5c6 — pytest-suite (the single earlier inherited failure, the release-tag self-gate, cleared when contract-v3.3 was tagged at 16b85614), wallet-validation, signed-execution-chain-gate, merge-master-approval, openreposhape-pin, clearing-dispatch-gate, lane-line. Ten Copilot rounds: every finding TAKEN and resolved except two reasoned DECLINES left open per convention (subject/verb over a five-item list; the child-failure scenario's scope, with a clarifying design sentence owed to slice S6). Codex rate-limited throughout (provider non-review). Substrate row 3 claimed on #630 before pushing. Adoption register: #591. --admin satisfies only the review-count rule. Squash merge at 2026-09-04T04:02Z. Session: https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

@brettheap
brettheap merged commit 92e662c into main Sep 4, 2026
8 checks passed
brettheap pushed a commit that referenced this pull request Sep 4, 2026
…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
brettheap added a commit that referenced this pull request Sep 4, 2026
…d; S7 and the first nightly owed before archive) (#655)

* add-nightly-dashboard-refresh: record the re-realization (S1-S5 landed; 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

* Ground the build-context claim in task 3.2 against the landed worker 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

* Copilot round 2: reconcile the README amendment dates, qualify the readiness 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

* Copilot round 3: the phase list matches the CLI's own order

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

---------

Co-authored-by: Brett Heap <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants