Plan the reference cards, task by task - #329
Merged
Merged
Conversation
Six tasks implementing narrative spec §3.9's amendment of 2026-09-15: the landing-page gate learns cards and stops letting `..` out of a section, the root page's card classes are renamed, seven icons are drawn and the Tutorials halo corrected, the reference page takes the cards, and the style guide's rule is rewritten for two shapes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C79QePZ862i61EJodupwVT
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C79QePZ862i61EJodupwVT
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The implementation plan for the reference quadrant's card landing page, specified in #327 (
narrative spec §3.9, amendment of 2026-09-15). Plan only — the build follows as its own pull request, as #320 preceded #322.The six tasks
CARD_SECTIONS,card_targets, and the API page derived fromconf.py..refusalteph-card/teph-card-iconpixi run tests,lint,docsA gate hole the plan closes
Planning the gate turned up that
test_every_row_links_to_a_page_in_its_own_quadrantresolves..:(DOCS / "reference" / "../howtos/units.rst").is_file()isTruetoday, so an entry reaching into another section passes as a page of its own. Task 1 refuses..and proves it by mutation.How the plan's code was checked
Plans are verified by nothing once merged, so this one was run before it was proposed. Task 1's seven code blocks and Task 4's page were extracted from the plan file itself and applied to a throwaway worktree of
main, then:NameErrors forcard_targets, one forgenerated_pages, and['cli', 'generated/api/index'] == ['cli'].[reference]failures stated.tests/test_docs_whatsnew.py, and the signpost test...mutation and Task 4's (a)–(d) each failed the check the plan names.It found two defects in the plan, both corrected before this commit. A line of Task 1's code was 92 characters, which
ruff checkrejects andruff formatrewrites — so an executor would have met a failing hook on the first commit. And mutation (b) was predicted to fail two checks; it fails three. After the corrections,ruff formatchanges nothing in the applied code andruff checkpasses.Not dry-run: Task 2's layout measurement, Task 3's drawings and render, and Task 4's build, renders and hover — each needs a docs build or a browser, and each is written with its own expected output and a control where the check could pass vacuously.
🤖 Generated with Claude Code
https://claude.ai/code/session_01C79QePZ862i61EJodupwVT