Skip to content

docs: retarget phase 1 acceptance criterion to checked-in fixture - #122

Merged
aram-devdocs merged 1 commit into
mainfrom
codex/120-docs-phase-1-acceptance-url
Apr 25, 2026
Merged

docs: retarget phase 1 acceptance criterion to checked-in fixture#122
aram-devdocs merged 1 commit into
mainfrom
codex/120-docs-phase-1-acceptance-url

Conversation

@aram-devdocs

Copy link
Copy Markdown
Owner

Summary

Closes #120 — the phase 1 acceptance criterion in docs/runbooks/phase-1-spec.yaml pre-conditioned on https://plumb.aramhammoudeh.com resolving, but the docs site is a phase 6 deliverable (#56). Anyone re-running the gate today gets a Chromium navigation error instead of a clean rule violation.

Fix

Replace the URL in both the parent-issue acceptance criterion and the phase-gate criterion with a file:// reference to the existing checked-in fixture at crates/plumb-cdp/tests/fixtures/static_page.html.

Why this fixture

  • Self-contained. No network dependency, no third-party uptime risk.
  • Already exercise-tested. chromium_driver_captures_static_fixture in crates/plumb-cdp/tests/driver_contract.rs (gated behind the e2e-chromium feature) already drives Chromium against this exact path.
  • Deterministically triggers a real rule. body { padding: 13px } is off-grid for the default spacing.base_unit = 4, so spacing/grid-conformance fires every run.
  • Forward-compatible. The phase-gate text notes that https://plumb.aramhammoudeh.com becomes an additional valid acceptance target once phase 6 ([RUNBOOK] Phase 6 — Docs + dogfooding #56) ships.

This matches option 3 from the issue ("checked-in HTML fixture served via file://"), which the issue author flagged as the lowest-friction option.

What's NOT changed

  • Other repo-wide references to plumb.aramhammoudeh.com (rule doc_url strings, SARIF informationUri, Cargo.toml homepage, README install link, schema $ids, phase-3/phase-6/roadmap specs). These are aspirational, will resolve when phase 6 ships, and are not what docs: phase 1 acceptance URL https://plumb.aramhammoudeh.com is 404 (docs site is not yet deployed) #120 is reporting.
  • crates/plumb-cli/tests/cli_integration.rs:61 and crates/plumb-cdp/tests/driver_contract.rs:68 reference the URL but never resolve it (the former asserts the Chromium-not-found error path; the latter asserts is_fake_url returns false). Both stay correct under any URL choice.

Test plan

  • cargo xtask validate-runbooks — 8 specs valid.
  • just validate — all gates pass (fmt + clippy -D warnings + nextest + cargo deny + audit).
  • CI green on the PR.
  • Claude code reviewer verdict: APPROVE.

Layer / determinism / scope

  • Crates touched: none (docs-only — docs/runbooks/phase-1-spec.yaml).
  • Layer discipline: N/A.
  • Determinism: N/A (no engine output changed).
  • Security: N/A.

🤖 Generated with Claude Code

@aram-devdocs aram-devdocs changed the title docs(runbook): retarget phase 1 acceptance to checked-in fixture docs: retarget phase 1 acceptance criterion to checked-in fixture Apr 25, 2026
@aram-devdocs
aram-devdocs force-pushed the codex/120-docs-phase-1-acceptance-url branch from fcd068a to fb467ef Compare April 25, 2026 16:24
The phase 1 acceptance criterion in `docs/runbooks/phase-1-spec.yaml`
pre-conditioned on `https://plumb.aramhammoudeh.com` resolving, but
that URL is a 404 — the docs site is a phase 6 deliverable (#56).
Anyone running the gate today gets a Chromium navigation error
instead of a clean rule violation.

Replace the URL with a `file://` reference to the checked-in fixture
at `crates/plumb-cdp/tests/fixtures/static_page.html`. The fixture's
`padding:13px` on `<body>` is off-grid against the default
`spacing.base_unit = 4`, so `spacing/grid-conformance` fires
deterministically. The fixture is already exercised by the
`e2e-chromium` driver contract test, so the path is exercise-tested.

Note that the docs-site URL becomes a valid additional target once
phase 6 (#56) ships.

Closes #120
@aram-devdocs
aram-devdocs force-pushed the codex/120-docs-phase-1-acceptance-url branch from fb467ef to 1846d40 Compare April 25, 2026 16:25
@github-actions

Copy link
Copy Markdown
Contributor

I have everything I need. Let me now write the review.


Review: docs: retarget phase 1 acceptance criterion to checked-in fixture (closes #120)

Files changed: docs/runbooks/phase-1-spec.yaml (7 insertions, 4 deletions)
Crate bucket: docs/runbooks — no Rust code


Blocker checklist

Check Result
New unsafe outside plumb-cdp N/A — docs only
unwrap/expect/panic! in library N/A
println!/eprintln! outside plumb-cli N/A
SystemTime::now/nondeterminism in plumb-core N/A
todo!/unimplemented!/dbg! N/A
HashMap/HashSet in observable output N/A
New GPL/AGPL dep N/A
Rule added without golden test + register + docs page N/A
docs/src/** changed → humanizer required No — only docs/runbooks/** changed

All blockers clear.


Substantive findings

None.

Correctness verified:

  • crates/plumb-cdp/tests/fixtures/static_page.html exists in the repo ✓
  • The fixture contains <body style="margin:0; padding:13px;"> ✓ — 13 is not divisible by 4 (spacing.base_unit = 4), so spacing/grid-conformance fires as claimed ✓
  • Both changed locations (acceptance_criteria[0] and phase_gate.criterion) are updated consistently ✓
  • The forward reference to Phase 6 / issue [RUNBOOK] Phase 6 — Docs + dogfooding #56 is accurate and does not create a gate dependency ✓
  • The $REPO substitution note is explicit in both inline text and commit message — this is a human-facing runbook doc, so manual substitution is appropriate ✓
  • Commit format: docs: retarget … — valid Conventional Commits ✓

Minor observation (non-blocking):

  • docs/runbooks/phase-1-spec.yaml:22 — the new acceptance_criteria string is long (single YAML line). Could be split with a YAML block scalar (|) for readability, but the schema likely accepts either form and it doesn't affect generated output.

Verdict: APPROVE

@aram-devdocs
aram-devdocs merged commit fae2b39 into main Apr 25, 2026
23 of 24 checks passed
@aram-devdocs
aram-devdocs deleted the codex/120-docs-phase-1-acceptance-url branch April 25, 2026 17:25
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.

docs: phase 1 acceptance URL https://plumb.aramhammoudeh.com is 404 (docs site is not yet deployed)

1 participant