Skip to content

docs(story): the pseudo-state decorator outlines pseudo-states rather than forcing them - #11832

Merged
mike-thompson-day8 merged 1 commit into
mainfrom
worker/story-pseudo-docs
Oct 30, 2026
Merged

mike-thompson-day8 merged 1 commit into
mainfrom
worker/story-pseudo-docs

Conversation

@mike-thompson-day8

@mike-thompson-day8 mike-thompson-day8 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes rf2-oja9g.

Three Story user-docs lines described layout-debug-pseudo-id as forcing pseudo-states. The shipped decorator outlines the variant's elements for each requested :hover / :focus / :active / :visited state for inspection, and does not apply the author's own pseudo-class styles — the contract in tools/story/spec/005-SOTA-Features.md "Pseudo-state outline", which tools/story/spec/API.md and the layout-debug-pseudo-id docstring already match. One phrase changes on each line:

File Was Now
docs/story/07-decorators.md:51 Forces pseudo-states, ... Outlines the variant's elements for each requested pseudo-state, ...
docs/story/api/reference.md:60 Pseudo-state forcing (...) Pseudo-state outline (...)
docs/story/api/registration.md:415 (layout-debug-pseudo-id) The pseudo-state forcing decorator id. The pseudo-state outline decorator id.

Nothing else is touched.

Witness (the deliverable — no gate grades this wording)

grep -rniE 'forc[a-z]* pseudo|pseudo-states? forc' docs/story/
  • before the edit: 3 lines — exactly the bead's three;
  • after the edit: 0.

The wider census — every forc occurrence under docs/story/ other than force-fx-stub-id, run line-oriented, over whitespace-collapsed text, and with comment markers stripped before collapsing — found the same 3 before and 0 after. No pseudo-state "forcing" mention beyond the bead's three exists, so the delta against the bead is zero.

The wording is checked by hand against spec 005's "Pseudo-state outline" entry. Line endings are preserved (each file: CR == CRLF, zero bare LF).

Quality gates

Run locally on the branch head, each runner's own exit code captured to a file:

  • mkdocs build --strict — exit 0.
  • scripts/check_doc_slugs.py (absolute path) — exit 0. The gate prints no root, so a sabotage run proved it read this tree: a broken anchor planted on the edited registration.md:415 line went red (exit 1, BROKEN ANCHOR: docs/story/api/registration.md:415). After the restore, the file's blob hash matches HEAD's and git diff --quiet exits 0.
  • No code changed, so no shadow-cljs build ran.
  • The wording itself is checked by hand; no gate grades it. The grep above is the witness.

The final-base gate is this PR's CI. Since branching, the trunk has moved only by a tracker checkpoint, so nothing was rebased.

… than forcing them (rf2-oja9g)

Three Story user-docs lines described layout-debug-pseudo-id as forcing
pseudo-states. The shipped decorator outlines the variant's elements for
each requested :hover / :focus / :active / :visited state for inspection
and does not apply the author's own pseudo-class styles, per
tools/story/spec/005-SOTA-Features.md "Pseudo-state outline". One phrase
changes on each line.
@mike-thompson-day8
mike-thompson-day8 marked this pull request as ready for review October 30, 2026 02:37
@mike-thompson-day8
mike-thompson-day8 merged commit db6b813 into main Oct 30, 2026
59 checks passed
@mike-thompson-day8
mike-thompson-day8 deleted the worker/story-pseudo-docs branch October 30, 2026 02:38
mike-thompson-day8 added a commit that referenced this pull request Oct 30, 2026
Merge: db6b813 at 2026-10-30T02:38:44Z.
Completeness: Complete: all three stale user-doc statements named by rf2-oja9g now describe the narrowed pseudo-state outline contract; source bead read in full and the forcing census returns no remaining match in docs/story.
Correctness: Correct: checked the full patch, Spec 005 and the actual scoped stylesheet rules. Defaults and supported state set are unchanged, examples and table structure remain sound. Accepted strict-docs and slug gates with the reported anchor fault plant; CI passes.
Implementation quality: Good: three precise wording changes align user docs with shipped behavior and the prior ruling, with no new runtime machinery.
Findings: none.
Source forward pointers: none.
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.

1 participant