refine: back design-doc behavioral assumptions with evidence#142
Merged
Conversation
Design docs often rely on unstated behavioral or factual claims —
framework/library defaults, capabilities assumed already provided, or
features assumed already implemented — that flow into implementation
unverified. The existing dependency check only confirms that components
exist, not that they behave as assumed.
Add an evidence-backed assumption check across the generator, template,
and reviewer:
- technical-designer (backend + frontend variants): a Behavioral Claim
Verification step. Each relied-upon behavioral claim attaches one
evidence source (codebase file:line, command result, or authoritative
doc) and is recorded with Confirmed: Yes; a claim without locatable
evidence is recorded Confirmed: No plus a matching Risks and Mitigation
row that restates the claim and names how it will be verified during
implementation (command, test, or code-inspection point) or guarded by
a fallback.
- design-template: an Assumed Behaviors slot in the Agreement Checklist,
reusing the existing Evidence/Confirmed pattern. The restated claim is
the shared lookup key to its Risks and Mitigation row.
- document-reviewer: a behavioral-claim evidence check that uses
declarative phrasing ("already", "by default", "defaults to",
"handled by") as scan starting points and flags, as an important
feasibility issue, any relied-upon claim absent from the slot,
Confirmed: Yes without evidence, or Confirmed: No without a matching
Risks and Mitigation row.
Bump patch version to 0.22.3 and re-sync plugin distributions.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Design docs frequently rely on unstated behavioral or factual claims — a framework/library default, a capability assumed already provided, or a feature assumed already implemented — that then flow into implementation unverified. The existing dependency check only confirms that a component exists, not that it behaves as the design assumes.
This adds an evidence-backed assumption check that runs end-to-end across the generator, the template, and the reviewer, so each relied-upon behavioral claim is either backed by evidence at design time or explicitly bound to a follow-up.
What changed
technical-designer, backend + frontend variants) — a Behavioral Claim Verification step under Existing Code Investigation. For each relied-upon behavioral claim, attach one evidence source (codebasefile:line, command result, or authoritative doc) and record it withConfirmed: Yes. A claim without locatable evidence is recordedConfirmed: Noplus a matching Risks and Mitigation row that restates the claim and names how it will be verified during implementation (a command, test, or code-inspection point) or guarded by a fallback.design-template) — an Assumed Behaviors slot in the Agreement Checklist that reuses the existingEvidence/Confirmedpattern. The restated claim is the shared lookup key linking the slot row to its Risks and Mitigation row.document-reviewer) — a behavioral-claim evidence check in the quality gate. It uses declarative phrasing (already,by default,defaults to,handled by) as scan starting points (a hint set, not exhaustive) and flags, as animportant/feasibilityissue, any relied-upon claim that is absent from the slot, markedConfirmed: Yeswithout evidence, or markedConfirmed: Nowithout a matching Risks and Mitigation row.Design notes
feasibilityissue category; no new reviewer enum value.Validation
pnpm sync+pnpm sync:checkclean across all plugin distributions.pnpm check:skills-indexconsistent.claude plugin validate --strictpasses for the marketplace manifest and all four plugins.0.22.3.🤖 Generated with Claude Code