Skip to content

Discharge gates 5.1-5.4 of add-staged-topic-outline-template: live browser proof of the outline tab - #227

Merged
brettheap merged 5 commits into
mainfrom
change/outline-template-live-proof
Aug 21, 2026
Merged

brettheap merged 5 commits into
mainfrom
change/outline-template-live-proof

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Closes the last open tasks on add-staged-topic-outline-template — section 5's gates and the live browser proof.

5.4 — driven in a real browser, not simulated. Playwright (venv verified to launch before use) against a scratch-checkout serve on port 8791 built via build_server(...) with a fake pull-request factory — the production dashboard on 8765 untouched, and the served scratch checkout proven unmoved afterward (branch, HEAD, porcelain all checked). The drive: wheel two-click gesture → open workbench → outline tab on a conforming topic (five index rows, required trio present, zero gaps) and a pre-template topic (three real sections rendered including a proposal element read from its xspec:candidate fence, calm migration-stage sentence, stored bytes byte-identical — matching the ratified "A pre-template topic is opened" scenario). Added an "Impact analysis" section through the free-form control; the save produced exactly one action route — /actions/gate/first-edit → 200 — and the commit landed on session branch draft/outline-conformer with the edit-document verb evidenced three independent ways (response body, commit message + Gate-Action trailer, and the gate-action record in the commit). 18/18 scripted verdicts pass; reproduced end-to-end twice; pageerror empty throughout.

5.1–5.3: both validates exit 0 (62/62); tests/ideation-dashboard 3700 passed; tests/doc-health green on a clean path (the four client-identity failures in build worktrees are the known .git-path-segment location artifact, enumerated). The 5.3 zero-regression claim is measured, not asserted: base run vs branch run with --previous-report → new findings [], "Findings By Family" body byte-identical; the template family's 29 intended warnings enumerated by topic (28 opt-in, 1 required).

Also refreshed the README record row that still listed 5.4 + gates as outstanding.

Surfaced for follow-up, not fixed here: staged-topic-template is missing from FAMILY_IDS, so the human-readable report names none of its findings (same recorded omission as proposal-origin); and two topics staged today (identity-brokering-plane, pki-trust-anchor-plane) already draw the family's required nudge — the gate working as specified, pinned with shas in the tick annotation.

With this, all 22 tasks of the parent change are discharged; archiving with realization evidence is the natural next slice.

🤖 Generated with Claude Code

brettheap and others added 4 commits August 21, 2026 10:19
Task 5.4's live proof, driven rather than described. Headless Chromium through
the shipped page against a THROWAWAY scratch checkout on port 8791 (never 8765,
where the production dashboard serves a real worktree): the real wheel gesture,
the real outline selection tab, the free-form add on a conforming topic, and
the shipped Save. The verb is evidenced three independent ways -- the
/actions/gate/first-edit response body's `verb: edit-document`, the commit
subject plus its Gate-Action trailer, and the committed gate-action record's own
`action: edit-document` -- rather than by the existence of a commit. Exactly one
action route was reached across 99 recorded responses, which is the spec's "no
second write verb" read off the wire. `pageerror` empty; the served checkout's
branch, HEAD and filtered porcelain unmoved.

The pre-template topic degraded exactly as the spec's third scenario requires:
its three real sections rendered (including `Why` as a proposal element, from
the xspec fence rather than from sniffing), one calm migration-stage sentence
carrying none of error/invalid/broken/fail, and the stored bytes byte-identical
after the tab had rendered.

5.3 enumerates the new family's 29 warnings by topic instead of counting them --
28 opt-in, one REQUIRED (`substantive-review-lane-questions`, the only topic
staged after ratification) -- and records a real finding that only enumerating
could surface: `staged-topic-template` is registered in FAMILIES but absent from
FAMILY_IDS, so the report's "Findings By Family" prints no section for it at
all. Left alone for the reason that file already states for `proposal-origin`.

5.2 names the four `test_client_identity_composition` failures as the agent
worktree's `.git`-path artifact and proves it by re-running the same suite green
on a clean-path clone, rather than asserting the artifact.

Co-Authored-By: Claude Fable 5 <[email protected]>
`New regressions vs previous report: 0` is printed by every run that is given
no `--previous-report`, so quoting it proved nothing. The base (0a4b63a) is now
run first on its own clean-path clone and this branch's run diffed against that
report: `--new-findings-out` comes back `[]`, and the whole "Findings By Family"
body of the two reports is byte-identical. Also records that the run examined
324 documents -- the whole corpus, not a truncated tree.

Co-Authored-By: Claude Fable 5 <[email protected]>
The row still said "Outstanding: task 5.4's live browser proof and gates
5.1-5.3", which stopped being true when those gates ran. Records what the live
proof actually established (the session branch, the one commit, and the three
independent pieces of verb evidence), the report-section omission 5.3's
enumeration surfaced, and the one thing genuinely still open: release-realization's
archive gate, which a non-empty code surface holds until its realization merges
green.

Co-Authored-By: Claude Fable 5 <[email protected]>
…r it

main advanced to a1c694b (#226) while the gate was running, staging two topics
the family had never seen. Re-running the same enumeration there gives 31
findings over 326 documents instead of 29 over 324 -- both new topics are staged
after ratification and carry neither an idea-notes nor a conflicts heading, so
each is a REQUIRED nudge, which is task 2.2 working rather than a regression
here. Recorded with both shas so a later reader comparing counts is not left
guessing which corpus each number describes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 21, 2026 14:24

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

Pull request overview

Updates the OpenSpec records for add-staged-topic-outline-template to reflect that section 5 gates (including the live browser proof) have been executed and are now closed, and refreshes the README’s active-change status accordingly.

Changes:

  • Marks gates 5.1–5.4 as complete and records detailed, reproducible verification evidence (including a real Playwright-driven browser run) in the change’s tasks.md.
  • Updates the README active-change row to reflect gate closure and summarize the live-browser proof outcomes and follow-up surfaced items.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Refreshes the active-change entry to state gates 5.1–5.4 are closed and summarizes the verification evidence.
openspec/changes/add-staged-topic-outline-template/tasks.md Ticks gates 5.1–5.4 and adds detailed gate-run evidence, including the live browser proof narrative.

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

Run from a clean-path `git clone` of this branch (never `git archive` —
that drops the git-dependent `record-immutability` family), directory named
`openxFactory` so no family self-skips on a repository-name mismatch:
`python3 scripts/doc-health.py --single-repo . --report-out …` → **exit 0**.
…llipsis

Copilot on PR #227: a literal ellipsis as the --report-out argument makes the
recorded gate command non-copy/pasteable, against the repo's evidence
convention (concrete path, or prose naming the destination). The command now
shows the real shape and the annotation states both reports went to the proof
session's scratchpad, outside the repo.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 21, 2026 14:32
@brettheap
brettheap merged commit 0d4cf16 into main Aug 21, 2026

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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

brettheap pushed a commit that referenced this pull request Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this
change. Neither list was right, so neither was adopted: the answer was
re-derived mechanically from gh pr view --json files, asking of every
candidate whether it edits a file under
openspec/changes/add-staged-topic-outline-template/.

Eight PRs pass that test and are this change's own chain: #193, #195, #198,
#208, #211, #217, #224, #227. The PR description omitted the first three -
they predate the session handoff it was written from - and wrongly claimed
#215, #221 and #222, which fail the test: each touches only its own change's
documents and code, so each belongs to align-demote-to-round-trip-rule,
refine-demote-round-trip-mechanics and align-status-reader-to-real-lines
respectively, all three of which already have archive records carrying their
own evidence. What #217 contributes here is task 4.2 and the archiving of the
first of them, not the fix.

The README row, the proposal banner and the tasks.md evidence section now
state the two categories explicitly and name the test, so the chain can be
re-derived rather than trusted. One exception is recorded rather than left to
surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and
6.3 after the doxbench topic exited staging - a cross-change bookkeeping
repoint that discharges no task here.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 21, 2026
The README row and the PR description disagreed about which PRs realized this
change. Neither list was right, so neither was adopted: the answer was
re-derived mechanically from gh pr view --json files, asking of every
candidate whether it edits a file under
openspec/changes/add-staged-topic-outline-template/.

Eight PRs pass that test and are this change's own chain: #193, #195, #198,
#208, #211, #217, #224, #227. The PR description omitted the first three -
they predate the session handoff it was written from - and wrongly claimed
#215, #221 and #222, which fail the test: each touches only its own change's
documents and code, so each belongs to align-demote-to-round-trip-rule,
refine-demote-round-trip-mechanics and align-status-reader-to-real-lines
respectively, all three of which already have archive records carrying their
own evidence. What #217 contributes here is task 4.2 and the archiving of the
first of them, not the fix.

The README row, the proposal banner and the tasks.md evidence section now
state the two categories explicitly and name the test, so the chain can be
re-derived rather than trusted. One exception is recorded rather than left to
surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and
6.3 after the doxbench topic exited staging - a cross-change bookkeeping
repoint that discharges no task here.

Co-Authored-By: Claude Fable 5 <[email protected]>
@brettheap
brettheap deleted the change/outline-template-live-proof branch August 21, 2026 23:57
brettheap added a commit that referenced this pull request Sep 6, 2026
…ec-CLI pin (codexFactory #227) (#720)

Records the completion of task 6.1 through codexFactory #216 (06935a4a), openxFactory #697 (724a2a4), xFactory #275 (5deaf90) and codexFactory #227 (bb66d85c); narrows the bump change's 6.3 note to the three consumers still unwired; closes the disposition change's step-3 successor box. No change directory, ledger row or contract moved. Merged on Brett Heap's standing word to lane codexfactory-1, "merge the tick PR when green" (2026-09-06); all nine checks green on 73c4ac4.
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