You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
evals/: a claude plugin eval suite for the specs whose implementation is prose and therefore not lawified (prd-generation, front-matter-validation, impl-spec-check, doc-consistency-check, vibe-detection, clarify). One case per decision-table row or invariant (32 cases), each case.yaml naming the spec section it checks, graded by regex only. Run with claude plugin eval ./plugins/sdd-workflow --trust-plugin --scaffold --allow-tools Bash Write Edit
draft-laws: point assertions (a law with no for quantifier, i.e. one decision-table row, unless its kind is empty / singleton / identity) are no longer written to LAWS.bend. rank returns them in a new to_tests list and draft writes them as differential pytest cases against the implementation (<laws.tests_dir>/test_<feature>.py, default tests/laws/; new templates laws_tests.md en/ja), each preceded by the same # source: line as a law. New check --tests <file> --spec <spec> verifies those lines (errors test_source_missing / test_source_drift). .sdd-config.json gains laws.tests_dir
draft-laws: a spec declares where its implementation lives with plain impl-of: <path> lines (same shape as model-api:). status returns it as impl (fallback: the # model-of: of an existing main.bend; warning impl_undeclared when neither exists) and the model stage copies it into # model-of: instead of choosing a path. A spec whose implementation is prose only (every path a .md) is not lawified (impl.lawifiable: false, reason: prose_implementation): no laws, no tests, the report says why
draft-laws migrate <feature>: read-only classification of an existing LAWS.bend into keep / to_tests / prose_delete with a migration table (new templates laws_migration_report.md en/ja). Deleting laws, re-approving and updating the spec front matter stay human steps
shared/references/nfr_checklist.md: NFR reference (7 categories, definition of "quantified" and a 4-level scale: not stated / mention only / target value / target + condition + measurement, good/bad examples, guidance ranges). Linked from ambiguity_patterns.md. Reference only; no skill or agent behavior changes (Refs #8)
shared/references/ambiguity_criteria.md: single home for ambiguity-judgment criteria: per-requirement ○/△/× marks with ratio guidance (not fixed thresholds), High/Medium/Low viewpoint checks for vibe-detector (works without a PRD/spec), and NFR handling that reuses the nfr_checklist.md levels with an aggregation rule for the 7 categories (lowest in-scope mark). Referenced from vibe-detector and ambiguity_patterns.md; the vibe-detector and generate-spec risk tables gain a "no specs + clear request → Medium" row, an extension of the earlier 3-row table; the High / Low rows keep their wording (Refs #9)
Changed
user-prompt-submit hook: the context injected on a Vibe Coding signal now tells the model to invoke the sdd-workflow:vibe-detector skill with the Skill tool and to output its risk report before implementing. The previous wording ("follow the vibe-detector skill flow") was not enough for the skill to be loaded, so no risk level was reported
vibe-detector templates: the risk level line is now a placeholder ({High | Medium | Low}) instead of the literal High / Medium / Low, which the model could echo verbatim instead of choosing one level
Bend proof gate: bend remains an optional dependency and user projects still need no bend in CI (the result is SKIPPED / TOOL_NOT_FOUND without it). The wording in the README and in the laws-drafting / proof-gate specs no longer says the gate is never run in CI: this plugin's own repository now runs it in an optional, non-required CI job
Bend laws are now reserved for universal properties (for x: T); fixed-input propositions are checked by pytest against the implementation instead of being proved against a reference model that restates the same table. The proof gate (run-verification.py, CHK-205, the verdict table and the meaning of PASS) is unchanged; the differential tests are independent of it. # model-of: in main.bend must point at source code, never at a SKILL.md or agent definition
draft-laws report template (en/ja) gains a "Candidates routed to differential tests" section and lists the implementation location
Constitution version-bump definitions in the constitution skill (SKILL.md, references/best_practices.md) and the constitution_template.md templates (en/ja) now follow the repository CONSTITUTION v2.3.0 split: major = breaking change that makes existing implementations violations; minor = feature addition/update (including relaxations that leave existing implementations compliant); patch = fixes that do not change meaning. Amendment PRs state the impact on existing implementations and its rationale for reviewer confirmation (Closes #200) Existing projects' CONSTITUTION files are not updated automatically; update the version-bump definition by hand if needed.
The ### Index Fast Path text duplicated in 6 agents and doc-consistency-checker now lives in shared/references/index_fast_path.md (read index.md once; fall back to a specific file only when full text is needed; Glob/Grep/Read flow when SDD_INDEX is unset/off). Each caller keeps only its table list and fall-back condition. Behavior with SDD_INDEX=on is unchanged (Refs #190)
Aligned ambiguity-evaluation wording (Refs #9): the /clarify clarity-score tiers in skills/clarify/SKILL.md now match the 4 tiers of clarification-assistant (the agent is unchanged); the sample score table in the clarify output templates (en/ja, skill and shared) is corrected (overall 50% = Clear 16 / 32, was 61%; per-category scores recomputed as Clear / total); spec-reviewer labels its PRD→spec figure the "Coverage Rate" (Covered + Partially Covered) and states it differs from the clarity score (Clear only); generate-spec uses the same High/Medium/Low risk wording as vibe-detector, the canonical definition
Skills and agents no longer instruct a full read of AI-SDD-PRINCIPLES.md (~43KB). prerequisites_principles.md now tells the
reader to look up headings with grep -n and read only the sections each skill / agent names (§ <heading>); every
consumer (18 skills, 5 agents) lists its own sections. AI-SDD-PRINCIPLES.source.md itself is unchanged (Refs #7)
spec-reviewer Covered / Partially Covered / Not Covered now have concrete criteria that reuse ambiguity_criteria.md (Section 1; NFR: Section 3) instead of restating them; the 80% coverage warning is unchanged. The NFR check also reports quantification (nfr_checklist.md Level 0–3). spec_review_output.md (en/ja) and check-spec follow. NFR categories are unified to the seven in nfr_checklist.md across clarification-assistant, clarify, analyze-requirements, generate-prd and generate-spec (PRD §4.2 and spec §3.2 templates gain category guidance). PRD template §4.2 / requirement-analyzer / sample outputs use NFR_xxx instead of PR_xxx (SysML element type performanceRequirement is unchanged) (Refs #9, Refs #8)
Criteria calibration from the #9 real-document check (Refs #9): nfr_checklist.md gains checkable binary conditions at Level 2 (with examples), OS-name-only Compatibility as Level 2 (versions/support window count toward Level 3 only with a stated verification), a requirement-to-seven-category mapping table (wording that fits no category is outside V6), and unified Level 3 example wording. ambiguity_criteria.md: V1–V5 are N/A when the spec says they do not apply, △/× lines for V3/V4, V6 from the parent PRD's NFRs when the PRD has none. spec-reviewer and its output templates (en/ja): coverage rate (Covered + Partially) kept as defined but shown as reference together with the Partially Covered count and the Covered-only rate, the warning also fires on Not/Partially items, spec weakening a PRD verification method is Partially, link delegation to an existing canonical document is Covered, denominator is all requirement IDs (UR/FR/NFR/IR/DC). clarify: clarity score = Clear items ÷ (all items − N/A items), counted per item, Partial not in the numerator, defined once in nine_category_analysis.md (SKILL.md, agent, templates link to it); the spec-reviewer warning fires on coverage < 80% or Not Covered ≥ 1 only; OS name plus CI verification (no version) is Level 3
Fixed
--ci mode in 5 skills - checklist, implement, run-checklist and recommend-front-matter stopped at interactive confirmations even with --ci; they now follow the same rule as generate-spec / plan-refactor (missing arguments abort with an error, confirmations are skipped). task-breakdown already implemented --ci but omitted it from its argument-hint