test+docs: drift guards batch — grammar completeness, docs sync, surface-authority honesty (architecture review F1/F6/F9) - #53
Closed
silversurfer562 wants to merge 1 commit into
Conversation
silversurfer562
force-pushed
the
claude/forms-drift-guards
branch
from
August 20, 2026 11:57
548cdfe to
912368f
Compare
silversurfer562
force-pushed
the
claude/forms-cleanup-batch
branch
from
August 20, 2026 13:13
e47d35b to
614cb2b
Compare
…ace-authority honesty (architecture review F1/F6/F9) The F1 accept-and-pin ruling made executable: a grammar-wide completeness test (every QuestionType must have table rows and construct-specific output on all four surfaces), docs drift tests for the hand-maintained README/SKILL grammar docs, the adding-a-construct touchpoint checklist, and advisory-status honesty on select_form_surface. Mutation-checked: changing README's construct count fails red. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
silversurfer562
force-pushed
the
claude/forms-drift-guards
branch
from
August 20, 2026 13:14
912368f to
f6076d5
Compare
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.
Summary
Batch C of the 2026-08-20 dynamic-forms architecture review. Stacked on #52 (base:
claude/forms-cleanup-batch) — merge that first, then retarget/merge this.The review's central ruling was to ACCEPT the ~19-file per-construct cost as the honest price of four surfaces (a construct means something different on each one) and pin it with drift catchers instead of abstractions. This batch is those pins.
Changes
tests/test_grammar_completeness.py(F1 pin): everyQuestionTypemember must carry a row in two completeness tables (widget collect mode + a canonically wrong-shaped answer), and each of the four surfaces must emit construct-specific output for it — widgetdata-collectmodes, AskUserQuestion expansion counts (derived from the shared helpers), elicitation-schema property shapes, the markdown reply skeleton's answer shapes, and validator rejection by field name. A construct wired into only three surfaces, or a 16th type added without updating the tables, fails red instead of degrading silently.tests/test_docs_drift.py(F6): README's spelled-out construct count must track the enum (it rotted by hand once — 543a7a0), README/SKILL.md must describe every construct/question type, and every MCP tool orx_to_ylibrary function the skill names must actually exist.docs/adding-a-construct.md: the 19-touchpoint checklist with file anchors, PRs feat: ranking construct — grammar member #7 (0.6.0) #24/feat: assumption-review construct — grammar member #8 (0.6.0) #25 as worked examples, and the rejected alternatives (base class, entry points, codegen) recorded so they stay rejected.select_form_surface's docstring and the README now state that in the shipped plugin the router is advisory — the agent's MCP tool choice is the effective decision (skill prose ladder), the router runs after the fact for telemetry agreement, and its answer is binding only for library consumers routing their own calls. The markdown-surface gap in its range is noted for the 0.7.0 follow-through (Batch D).Not in this batch (release-gated → 0.7.0, Batch D)
SKILL.md step 4 still instructs library-only markdown calls a plugin-only (uvx) install cannot make (F3). That fix is either two thin MCP tools or an honest degradation paragraph — a chair decision on the 0.7.0 train.
Verification
test_readme_states_the_real_construct_countred.🤖 Generated with Claude Code