Skip to content

ideation-dashboard: explicit --generated-at for sealed-artifact runs (add-nightly-dashboard-refresh task 3.6; re-realization S1) - #642

Merged
brettheap merged 3 commits into
mainfrom
feat/nightly-refresh-s1-generated-at
Sep 4, 2026
Merged

brettheap merged 3 commits into
mainfrom
feat/nightly-refresh-s1-generated-at

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: openxfactory-f2

Brett, 2026-09-04: "do 3.6" and "go S2 to S7". This is slice S1 of the
re-realization plan for add-nightly-dashboard-refresh after the 2026-09-04
re-ratification (plan § "S1 — oxF: task 3.6, the timestamp interface", which
blocks S3). Task 3.6 of the active change; the packet has been on main
since PR #595 (92e662cf).

The requirement this realizes

Amended specs/doc-health/spec.md, "Ideation-dashboard image refresh lane":

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 …

design.md Decision 3's amended step 3 spells the invocation out and names
--generated-at <manifest source committer timestamp>. The packet's own
measurement note recorded that the flag did not exist, and filed it as
tasks.md § 3.6.

Before / after

Before. generate accepted --repo-root, --repository,
--source-revision, --project-register, --possibles, --strict,
--no-validate and nothing else. generated_at had exactly one source:
generator._generation_stamp running git show -s --format=%cI inside the
scanned tree
, via a RealGitDates documented to degrade "to None … outside a
git checkout". A sealed source artifact is not a checkout — so on the amended
lane the snapshot would ship with no freshness stamp at all, and nothing
would say so: generation.generated_at is OPTIONAL in
contracts/schemas/ideation-dashboard-snapshot.schema.yaml, so --strict
passes, the image builds, the digest lands, and the served plane's freshness
header quietly loses its stamp. (Plan risk 4 — this is why S1 lands before S3.)

After. --generated-at <RFC 3339> on generate and generate-and-open,
declared in the shared _add_generate_args right beside --source-revision
because the two anchors are pinned together or not at all, and the two verbs
that publish a snapshot cannot diverge.

  • Validated at the CLI boundary by generator.is_rfc3339_datetime — the
    shape the snapshot schema declares for generation.generated_at
    (format: date-time): pattern and parse, so 2026-02-30T00:00:00Z is
    refused. Placed in generator.py beside _REVISION_RE, which is where the
    same containment already lives for the other anchor (--source-revision, in
    RealGitDates.commit_date).
  • Recorded verbatim and overriding. The value goes straight to
    generate_snapshot(generated_at=…); _generation_stamp already prefers a
    supplied value, so no plumbing was invented. +00:00 is NOT normalised to
    Z — the value is an anchor copied from the manifest, and a snapshot that
    disagreed with the manifest it was pinned from would defeat the pinning.
  • Malformed input is REFUSED, not degraded: cli.GeneratedAtRefused →
    stderr, exit 1, no snapshot file written, and on generate-and-open not even
    a run directory left behind (the same early check that verb already makes for
    --repo-root). This is the one place in the package where an unresolvable
    timestamp is fatal rather than omitted, and it is fatal because this one was
    typed: every other timestamp path degrades because it tried to
    discover the value. Degrading here would reproduce exactly the silent
    defect the flag exists to end.
  • Absence changes nothing. No flag → the git derivation still runs, an
    unresolvable stamp is still omitted, byte-identical to today.
  • generate's report now prints generated_at=… or <absent>, because the
    absence was invisible and a run that meant to pin one needs to see whether it
    landed.

Deliberately unchanged: RealGitDates semantics; _gate_snapshot (the second
generate_snapshot call site) — the gate verbs plan against a snapshot they
never publish and take no timestamp anchor, so they keep _add_gate_snapshot_args
as it is; and the schema, which stays optional (making it required would be a
contract cut this packet does not need — plan risk 4).

Tests

New tests/ideation-dashboard/test_generated_at_anchor.py, 16 cases:

  • the amended recipe's own step-3 argv parses, with both anchors;
  • the flag is on both generation verbs and on neither gate verb;
  • a supplied anchor is recorded verbatim (+00:00 survives) end-to-end through
    the CLI;
  • a supplied anchor overrides a git-derived one (injected FakeGit);
  • absence leaves the derivation running, and leaves an underivable stamp omitted
    on a non-git tree — the pre-change behaviour, pinned;
  • seven malformed spellings (date-only, no-offset, space separator, 2026-02-30,
    month 13, epoch seconds, empty) each refused with the flag named, RFC 3339
    in the message, and no snapshot file left behind;
  • the refusal precedes the run dir on generate-and-open;
  • the predicate checks the instant, not only the shape;
  • and the pinned value passes a real --strict validation run against the
    pinned validator, so the anchor is known to satisfy format: date-time for
    real rather than only satisfying the CLI's own predicate.

Validation (local, this head)

  • python3 -m pytest -q tests/ideation-dashboard tests/doc-health tests/sequenced_after — see the comment below for the recorded totals.
  • OPENSPEC_TELEMETRY=0 openspec validate add-nightly-dashboard-refresh --strict → Change 'add-nightly-dashboard-refresh' is valid
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict → Totals: 88 passed, 0 failed (88 items)
  • python3 -W error -m py_compile on cli.py, generator.py, the new test module → clean

Packet

Ticks tasks.md 3.6 with a dated evidence note (the ratified body is retained
verbatim; the note supersedes its "not yet done" clause and restates that 3.6 is
still not part of what closes the archive gate, § 4.8). Replaces the
# requires task 3.6 — flag not yet implemented marker in design.md's step-3
snippet, and appends one dated REALIZED line to the measurement note directly
below it — that note is the marker's home and said in the present tense that the
flag "IS NOT" a real argument, which ticking 3.6 would have falsified. No other
packet text is touched; S6 still owns the wider bookkeeping.

Substrates (Rule 7)

None. No openspec/specs/** path is added, removed or renamed (row 1
untouched); no README "OpenSpec Records" entry; no tests/sequenced_after live
pin; no contracts/ byte and no contract cut (row 4 untouched); no codexFactory
gitlink or review-lane.yml sha (row 5 untouched). Nothing to claim on #630.

Claimed on #591. Sibling check: no open PR touches this surface; S4 (which
retires --phase build in dashboard_refresh_lane.py) is a sibling from this
lane and this PR touches that module not at all.

🤖 Generated with Claude Code

https://claude.ai/code/session_013f11Yb8DF5FTL6NuV7xWYb

The nightly-refresh recipe as amended 2026-09-01 and re-ratified 2026-09-04 has
the credentialed parent seal a bounded source artifact and the artifact-only
child generate the snapshot from it. A sealed artifact is not a git checkout, so
`_generation_stamp`'s `git show -s --format=%cI` derivation resolves to nothing
there and the published snapshot loses its freshness stamp IN SILENCE:
`generation.generated_at` is optional in the snapshot schema, so `--strict`
still passes, the image still ships, and nothing anywhere says the stamp went
missing. `design.md` Decision 3's amended step 3 names
`--generated-at <manifest source committer timestamp>`; that flag did not exist.

It does now, on `generate` and `generate-and-open`, beside `--source-revision`
in the shared `_add_generate_args` — the two anchors are pinned together or not
at all, and the two verbs that publish a snapshot cannot diverge. The value is
contained at the CLI boundary against the shape the snapshot schema declares
for `generation.generated_at` (`generator.is_rfc3339_datetime`: the RFC 3339
pattern AND the parse, so `2026-02-30T00:00:00Z` is refused), then handed
straight to `generate_snapshot(generated_at=...)` — recorded VERBATIM, never
normalised, overriding the git derivation. Verbatim is the contract: the value
is an anchor copied from the manifest, and a snapshot that disagreed with the
manifest it was pinned from would defeat the pinning.

A malformed value is REFUSED — stderr, exit 1, no snapshot file written, and on
`generate-and-open` not even a run directory left behind. That is the one place
in this package where an unresolvable timestamp is fatal rather than omitted,
and it is fatal because this one was TYPED: every other timestamp path degrades
because it tried to DISCOVER the value. Absence changes nothing: the derivation
still runs and an unresolvable stamp is still omitted, exactly as before.

`generate`'s report now prints the stamp or `<absent>`, because its absence was
invisible and a run that meant to pin one needs to see whether it landed.

Pinned by `tests/ideation-dashboard/test_generated_at_anchor.py` (16 cases: the
amended recipe's own argv parses, verbatim, override, absence on both paths,
seven malformed spellings refused with nothing left behind, and the pinned value
passing a real `--strict` validation run). Ticks `tasks.md` 3.6 and marks the
`design.md` step-3 snippet realized.

Substrates (Rule 7): none. No `openspec/specs/**` path moves, no README OpenSpec
Records entry, no `sequenced_after` pin, no contract byte.

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

@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 ✨

File-forward: the note and the step-3 snippet were written with a placeholder
because the number does not exist until the pull request does.

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

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

@codex review

Head f60458fd. Slice S1 of the add-nightly-dashboard-refresh re-realization — task 3.6, the --generated-at CLI anchor. Points worth the closest look: the RFC-3339 containment in generator.is_rfc3339_datetime (pattern AND parse — is it equal to the schema's format: date-time as the delegated checker enforces it?); the deliberate asymmetry that a TYPED malformed timestamp is fatal while every DISCOVERED one degrades to an omitted stamp; and the verbatim-recording claim (no normalisation of +00:00 to Z), which the sealed manifest depends on.

@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

openspec/changes/add-nightly-dashboard-refresh/tasks.md still states task 3.6 is “not yet done (still unticked above)” even though it is now checked [x], which makes the task record internally contradictory.

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

Pull request overview

Adds an explicit --generated-at <RFC3339> generation anchor to ideation-dashboard snapshot generation so sealed-artifact (non-git-checkout) runs can still produce a correctly pinned generation.generated_at timestamp, with CLI-boundary validation and dedicated regression tests to prevent silent omission.

Changes:

  • Introduces is_rfc3339_datetime() in generator.py and wires it into the CLI to validate --generated-at, refusing malformed values (exit 1) before any snapshot is written.
  • Extends generate and generate-and-open to accept/pass through --generated-at, and updates reporting to make absence visible (generated_at=<absent>).
  • Adds a new test module covering parsing, verb coverage, override/absence semantics, refusal behavior, and strict validation.
File summaries
File Description
tests/ideation-dashboard/test_generated_at_anchor.py Adds comprehensive tests for the new --generated-at anchor behavior and refusal semantics.
scripts/ideation_dashboard/generator.py Adds RFC 3339 datetime validation helper used to guard the new CLI input.
scripts/ideation_dashboard/cli.py Adds --generated-at to generation verbs, validates/refuses malformed inputs, passes value into snapshot generation, and reports the resulting stamp.
openspec/changes/add-nightly-dashboard-refresh/tasks.md Marks task 3.6 as completed and records dated evidence about the implementation and tests.
openspec/changes/add-nightly-dashboard-refresh/design.md Updates the recipe snippet/commentary to reflect the implemented flag and records realization.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

…s it

Copilot round 1, TAKEN. The ratified amendment text stays verbatim — that is
this packet's convention — but a reader skimming the task list met "it is not
yet done (still unticked above)" beside a ticked box and had to reach the DONE
note to learn which one was true. The pointer now sits inside the clause, and
the DONE note drops the sentence that was doing that work from the far end.

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 04:46
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Validation record

Local, isolated clone of main (includes #595 92e662cf), head f60458fd (code identical at 57f20e29, which is a docs-only follow-up):

python3 -u -m pytest -q tests/ideation-dashboard tests/doc-health tests/sequenced_after
1 failed, 6367 passed, 31 skipped, 7 warnings in 1021.92s (0:17:01)

The one failure is environmental and pre-existing, not from this change:
tests/ideation-dashboard/test_snapshot.py::test_find_validator_locates_pinned_checkout asserts snapshot.find_validator(REPO_ROOT) is not None, and snapshot.VALIDATOR_RELPATH is openxFactory/scripts/validate-ideation-dashboard-contracts.py — so it passes only when the checkout (or an ancestor) is literally named openxFactory. This lane works in an isolated clone at …/scratchpad/s1-oxf. Proven against origin/main in a worktree of the same clone: same single failure, same assertion, on unmodified main. CI's checkout IS named openxFactory, and pytest-suite is green here.

OPENSPEC_TELEMETRY=0 openspec validate add-nightly-dashboard-refresh --strict
  → Change 'add-nightly-dashboard-refresh' is valid          (re-run after every packet edit)
OPENSPEC_TELEMETRY=0 openspec validate --all --strict
  → Totals: 88 passed, 0 failed (88 items)
python3 -W error -m py_compile scripts/ideation_dashboard/cli.py \
    scripts/ideation_dashboard/generator.py \
    tests/ideation-dashboard/test_generated_at_anchor.py    → clean

CI at f60458fd: all seven checks green — pytest-suite (20m33s), wallet-validation, signed-execution-chain-gate, clearing-dispatch-gate, merge-master-approval, openreposhape-pin, lane-line.

Bot rounds

Round 1. Codex: rate-limited, not a review ("You have reached your Codex usage limits for code reviews") — recorded as a non-review, not as an approval. Sourcery: private-repo upsell stub, not a review. Copilot: one finding, TAKEN at 57f20e29 (the stale "not yet done" clause beside a ticked box). Round 2 requested below.

No merge from this lane.

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.

🟢 Approval recommended

The change is backward-compatible, validated at the CLI boundary, and includes targeted automated tests that pin the new interface and refusal behavior.

Review details

Suppressed comments (1)

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

scripts/ideation_dashboard/generator.py:93

  • is_rfc3339_datetime and _RFC3339_DATETIME_RE duplicate the same RFC-3339 shape+parse logic already maintained elsewhere in the repo (e.g. scripts/ideation_dashboard/intent_apply_lane.py:_RFC3339 + _parses_as_datetime). Keeping two independent implementations increases drift risk (a future bugfix/tightening could land in one place but not the other). Consider extracting a single shared helper (e.g. ideation_dashboard/temporal.py:is_rfc3339_datetime) and importing it from both call sites.
  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-f2

Provenance for the admin merge. RULING for lane openxfactory-f2's PR #642 (head 57f20e29): Brett Heap, 2026-09-04 ~05:4xZ, in-session, verbatim: "merge 642 and merge 211" — following "do 3.6 and scope the re-realization" and "go S2 to S7" (both 2026-09-04). This is slice S1 of the nightly-refresh re-realization plan: the explicit --generated-at interface the re-ratified add-nightly-dashboard-refresh delta requires, task 3.6 ticked with evidence. Merge basis: ALL checks SUCCESS on 57f20e29 — pytest-suite, wallet-validation, signed-execution-chain-gate, merge-master-approval, openreposhape-pin, clearing-dispatch-gate, lane-line; Copilot's finding TAKEN and resolved (0 open threads); Codex rate-limited (provider non-review). No substrate register row moved. --admin satisfies only the review-count rule. Squash merge at 2026-09-04T05:22Z. Session: https://claude.ai/code/session_01TqM41pKPnpz7utYe8vanuE

@brettheap
brettheap merged commit bbc21e4 into main Sep 4, 2026
8 checks passed
brettheap added a commit that referenced this pull request Sep 4, 2026
Catch-up only, no conflict. Main moved twice while this review round ran and
BOTH commits came in with this merge, so both are named rather than the one the
merge was started for:

  * #639 (73b1b3c) — tests/doc-health/test_modified_block_currency_self_gate.py
    and nothing else.
  * #642 (bbc21e4) — the ideation-dashboard --generated-at anchor, a
    realization slice of add-nightly-dashboard-refresh: scripts/ and
    tests/ideation-dashboard/ only.

NEITHER adds nor archives a change directory, so the sequenced_after baseline
design D11 records is unmoved and no re-derivation is owed. VERIFIED AFTER THE
MERGE rather than argued: --ledger-diff still reports 164 change ids
(35 active + 129 archived), 113 co-modified, 51 sole, active 22 / 13, and
"consistent with the corpus (164 rows)". Neither touches contracts/clearing/,
the register, or any artifact this packet names.

Merged so that `git diff origin/main` over this branch shows the packet and
nothing else. Before it, the same command showed a 246-line phantom revert of
main's newer test file — exactly the kind of reader trap this review round
exists to remove, and the one this reviewer walked into on the first command of
the round.

Lane: hermes-wallet-exercise
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