Skip to content

test+docs: drift guards batch — grammar completeness, docs sync, surface-authority honesty (architecture review F1/F6/F9) - #57

Merged
silversurfer562 merged 1 commit into
mainfrom
claude/forms-drift-guards
Aug 20, 2026
Merged

test+docs: drift guards batch — grammar completeness, docs sync, surface-authority honesty (architecture review F1/F6/F9)#57
silversurfer562 merged 1 commit into
mainfrom
claude/forms-drift-guards

Conversation

@silversurfer562

Copy link
Copy Markdown
Member

Reopens #53 (auto-closed when its stacked base branch claude/forms-cleanup-batch was deleted on #52's merge). Rebased onto main#52's commits dropped since they're now in main via squash fc7c653; only this batch's single commit replays. 723 tests green, ruff clean.

Batch C of the 2026-08-20 dynamic-forms architecture review — the drift-catcher pins for the accepted per-construct cost (F1/F6/F9):

  • tests/test_grammar_completeness.py (F1): every QuestionType must carry a row in the completeness tables and emit construct-specific output on all four surfaces — a construct wired into only three, or a 16th type added without updating the tables, fails red.
  • tests/test_docs_drift.py (F6): README's spelled-out construct count tracks the enum; README/SKILL.md must describe every construct; every MCP tool / x_to_y function the skill names must exist.
  • docs/adding-a-construct.md: the 19-touchpoint checklist with anchors and the rejected alternatives recorded.
  • Surface-authority honesty (F9): select_form_surface docstring + README state the router is advisory in the shipped plugin (agent MCP tool choice is the effective decision).

Not in this batch (release-gated → 0.7.0, Batch D): SKILL.md step 4's library-only markdown-call instruction (F3).

🤖 Generated with Claude Code

…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
silversurfer562 merged commit 262164b into main Aug 20, 2026
7 checks passed
@silversurfer562
silversurfer562 deleted the claude/forms-drift-guards branch August 20, 2026 13:35
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