Repository navigation
v5.0.0
Note: This is a major release with breaking changes to the document model. Read
"Migration from v4.x" in README.md / README.ja.md before upgrading an existing project. Migrating is
not urgent: existing specification/*_design.md files remain valid, the naming hook accepts them,
and the skills that read a technical design read them as supplementary input — nothing breaks until you
move their decisions into adr/, at your own pace.
Breaking Changes
Document Structure
specification/{feature-name}_design.mdis no longer a persistent document - Technical Design
Documents are now a temporary draft attask/{ticket-number}/design-draft.md, deleted after
implementation like the rest oftask/. Only the decisions, their rationale, and rejected
alternatives are persisted, in the newadr/{feature-name}.md(append-only). Existing
specification/*_design.mdfiles from v4.x remain valid: the skills that read a technical design
read them as supplementary input, and none of them reports them as a naming violation or proposes
deleting them (see "v4.x persistent design documents" under Fixed for the full list). Moving their decisions
intoadr/{feature-name}.mdis a human-paced step you can take feature by feature — see "Migration
from v4.x" in README.md / README.ja.md/generate-specnow requires a ticket number - The design draft path is ticket-scoped
(task/{ticket-number}/design-draft.md), so/generate-spectakes--ticket <number>(required in
--cimode, resolved interactively otherwise)doc-consistency-checkernow checks PRD ↔ spec ↔ adr, not PRD ↔ spec ↔ design/check-specnow compares the implementation against the spec, not against a design document -
The design document is a temporary draft (task/{ticket-number}/design-draft.md) that is deleted after
implementation, so it can no longer serve as a persistent comparison baseline./check-specnow takes
every spec underspecification/(suffix optional) as the first-class baseline, and uses a design draft
only as an optional auxiliary input when one exists — a missing draft is the normal state after
implementation and is never reported as a discrepancy. Because a spec is an abstract specification, the
comparison is limited to what it can express (public API, data model, behavior, literal values); module
structure and technology stack are compared only while a draft exists. Projects that still keep v4.x
{feature}_design.mdfiles underspecification/get the same auxiliary treatment for those files/plan-refactordecides Case A / Case B from the spec, and writes the plan into the design draft -
The case used to be decided by the presence ofspecification/{feature-name}_design.md, which is no
longer a persistent document, so every run fell through to Case B and reverse-engineered a persisted
design doc that the new model had just retired. The case now comes from whether a spec exists
(matched with and without the_specsuffix), the refactoring plan and the reverse-engineered design
are written totask/{ticket-number}/design-draft.md, and the reverse-engineered spec continues to be
persisted underspecification/. A leftover*_design.mdfrom v4.x is still detected, but only as
reading context — it never decides the case and is never written to/plan-refactornow takes a ticket number - The design draft path is ticket-scoped, so
/plan-refactortakes--ticket=<number>(required in--cimode, resolved interactively otherwise).
An existingtask/{ticket-number}/design-draft.mdis picked up as supplementary input in Case A/task-breakdownnow requires a ticket number - Both the design draft it reads and thetasks.md
it writes live undertask/{ticket-number}/, so the ticket number can no longer be omitted.
tasks.mdis always written totask/{ticket-number}/tasks.md; the previous fallback to
task/{feature}/tasks.mdis gone
Added
Skills
/generate-prd --amend- New mode that appends newly-provided requirements to an existing PRD instead
of regenerating it. Preserves existing requirement IDs, sections, and requirements-diagram nodes, and
assigns new IDs continuing from the existing maximum per prefix.finalize-prdnow accepts the existing
PRD text and merges the new content when called with--amend/generate-spec --amend- New mode that appends new functional/non-functional requirements to an
existing spec instead of regenerating it, preserving existing requirement IDs and sectionsrender-adr-review- New skill that renders anadr/{feature-name}.mddecision log (or
the decision rationale section of a*_spec.md/*_design.md) into a temporary review HTML, structured
by decision / rationale / rejected alternative rather than a plain Markdown-to-HTML conversion. Output
is written under.sdd/.cache/render-adr-review/and is not meant to be committed.
Because the log records a reversal one-way — on the newer entry, leaving the entry it reverses
untouched — a superseded decision carries no marker of its own in the source and reads as current.
The render resolves each entry'sSupersedesreference and marks the entry it points at as
superseded, so an obsolete decision is visibly distinct from the live one and links to the entry that
replaced it. The marker carries the one-line "what changed" theSupersedesitem records, and its link
points at the superseding entry's card in the same page rather than reusing a Markdown anchor from the
source. The file-levelsupersedes/superseded-byfront matter fields are never consulted for this,
because they mean a whole log file was retired, not that one entry was reversed. A decision that was
later reversed still shows as adopted within its own comparison table: that is what was chosen at the
time, and the reversal belongs to the entry's state, not to its history.Rejected alternatives: None consideredis rendered as "no alternatives were weighed", not as a rejected optiontask-cleanup- Posts a summary comment to the ticket when implementation completes, and checks
whether the decisions being integrated intoadr/also trigger a*_spec.mdupdate per the "When to
Update*_spec.md" criteria; if so, proposes the spec update viaAskUserQuestion/sdd-initnow generates${SDD_ROOT}/ADR_TEMPLATE.md- The decision log template ships with the
plugin in both languages and is copied like the PRD / spec / design templates (existing files are never
overwritten). It carries the settled ADR entry format, a worked two-entry example including one entry
superseding another, and a note to append below the last entry without touching the ones above. Note
that/sdd-initstill creates only the${SDD_ROOT}/root itself —adr/, likerequirement/,
specification/andtask/, is created when its first file is written/sdd-initnow adds the cache directory to your project's.gitignore-.sdd/.cache/(or
${SDD_ROOT}/.cache/for a custom root) holds generated, disposable files — the document index, the
per-skill working copies, therender-adr-reviewHTML — and used to be left for you to ignore by hand.
This is a new write into a file outside${SDD_ROOT}/, so it is deliberately minimal: the entry is
appended once under a comment naming what it is, an existing.gitignorekeeps every line it already
had (and gains a trailing newline only if it was missing one), a.gitignorethat does not exist is
created holding just that entry, and a project that already ignores the path — with or without a
leading or trailing slash — is left untouched. Re-running/sdd-initnever duplicates the line. Only
.cache/is ignored: your PRDs, specs, design drafts and decision logs under${SDD_ROOT}/stay
tracked/check-spec --ticket <number>- Scopes the auxiliary design draft to one ticket (see Fixed below)
Configuration
SDD_ADR_DIR/SDD_ADR_PATH- New environment variables for theadr/directory, set at session
start alongside the existingSDD_*_DIR/SDD_*_PATHvariables
Hooks
${SDD_ROOT}/MIGRATION_PENDING.mdlists the v4.x documents still waiting to be migrated - When a
project still holdsspecification/**/*_design.mdfiles, the SessionStart hook writes them into this
file (up to ten individually, then a count of the rest) and states that they remain valid and are read
as supplementary input, where their decisions move (adr/{feature-name}.md), where new technical
design goes (task/{ticket-number}/design-draft.md), and that the originals should be kept until the
migration is done. The steps are named as a path you can actually open —<plugin root>/README.md,
section "Extracting Existing*_design.mdFiles intoadr/" under "Migration from v4.x", with
README.ja.mdalongside it — instead of "see the plugin README". The file is deliberately separate
fromUPDATE_REQUIRED.md, which reports only thatCLAUDE.mdis outdated and disappears once
/sdd-inithas run: an unfinished migration is a different concern with a different pace, so
MIGRATION_PENDING.mdsurvives/sdd-init, is rewritten at every session start for as long as any
such file remains, and is removed automatically once none do. It is generated, so hand edits are
replaced next session. A project with no such files never gets the file. UnlikeUPDATE_REQUIRED.md,
whose presence makes the skills warn you to run/sdd-initfirst,MIGRATION_PENDING.mdis not a
pre-execution check: a pending migration never holds up a skill
Front Matter
sdd-versioncommon field - Documents may record the sdd-workflow plugin version at generation time
in thesdd-versionfront matter field, read fromplugin.json.generate-spec,generate-prd,
finalize-prd, andtask-cleanupset it when creating new front matter. Absent in documents generated
before this field was introduced, or when a document's front matter is added retroactively by
recommend-front-matter(which intentionally omits it rather than fabricate a false generation-time value)sdd-versionis now read, not just written - The document index (.cache/index.md) now includes
sdd-versionin its Metadata table.front-matter-reviewervalidates its semver format and warns when a
document's major version is older than the current plugin's major (a possible sign of a missed migration).
doc-consistency-checkerenumerates both documents with a stale generation and documents whose
generation is unknown (nosdd-versionat all — the normal state for anything written before v5), as
two separate advisory lists for manual migration reviewtype: "adr"schema -shared/references/front_matter_reference.mdnow defines the front matter
fields for a decision log, includingstatus(always"approved"at write time) andsupersedes/
superseded-by. Those two fields are file-level only: a log holds many entries but a single front
matter block, so they record that a whole log file was retired and replaced (a feature renamed, split
or merged). One entry reversing another is recorded in the body of the newer entry instead — see the
ADR entry format belowimpl-statusis now a valid Spec field, not just Design - A spec can now record whether its described
behavior is reflected in the implementation, independent ofstatus(the document's approval lifecycle).
generate-specsets it to"not-implemented"on new specs;implementadvances it to"in-progress"/
"implemented"as work proceeds;task-cleanupsets it as a safety net ifimplementdidn't.check-spec
now classifies a spec-documented function with no matching implementation by this field instead of always
flagging it Critical:implementedis a regression (Critical),not-implemented/in-progressis expected
(Info), and a missing field is undecidable (Warning, with a recommendation to add it).front-matter-reviewer
validates the field's enum value on specs, andrecommend-front-matterlists the specs that are missing it
— it never writes the value, because it does not inspect the implementation (see Changed below)
Workflow Guidance
- Task Type Determination now covers Breaking Changes - The Task Type Determination table and Task
Scale Criteria inAI-SDD-PRINCIPLES.mdgained a "Breaking Change" row, plus a new "Breaking Change
Handling" section defining impact analysis, the backward-compatibility decision, and where migration
steps are recorded (adr/). The table is now also transcribed into.claude/rules/ai-sdd-instructions.md
so every project gets the same guidance without opening the principles document - Drafting a new PRD when none exists is now explicitly allowed -
AI-SDD-PRINCIPLES.mdclarifies that
the "PRD is never automated" rule governs rewriting an existing PRD, not drafting a new one from scratch;
a drafted PRD must usestatus: "draft"and the"reverse-engineered"tag until a human approves it.
/plan-refactornow proposes this when its reverse-engineered spec has no PRD to depend on vibe-detectornow recommends a starting phase - Its risk report classifies the request against the
Task Type Determination table and reports the corresponding starting phase (Specify/Plan/Tasks/Implement),
in addition to the existing ambiguity risk assessment- The ADR entry format is now specified instead of left to each skill -
AI-SDD-PRINCIPLES.mdgained
an "Entry Format" section under Architecture Decision Record: a file is one front matter block, one#
title, and many##entries appended at the end. Each entry is headed## YYYY-MM-DD {decision title}
and carries Decision, Rationale and Rejected alternatives (None consideredwhen there were
none — never invented), plus an optional Supersedes linking to the earlier entry in the same file
that it reverses. Superseding is recorded one-way on the newer entry; the entry it reverses is never
edited, not even to add a back-pointer, so the log stays append-only and the last entry is always the
current decision. Those items match one-for-one whatrender-adr-reviewanddoc-consistency-checker
extract, so a log written this way is readable by the skills without further conventions
Fixed
adr/is now scanned by the document index and by/recommend-front-matter- Both previously
scanned onlyrequirement/andspecification/(plustask/for the latter), so decision logs never
appeared in the compressed index or in front matter recommendations- Editing a decision log now refreshes the document index - The
PostToolUsereminder fired, but the
index update it triggers for other document types did not run foradr/ AI-SDD-PRINCIPLES.md's Configuration Items table and.sdd-config.jsonexample now document
directories.adr-session-startalready resolved the setting intoSDD_ADR_DIR/SDD_ADR_PATH,
andadr/is created the first time a file is written into it (/sdd-initcreates only the
${SDD_ROOT}/root, never the subdirectories); only the documentation of the setting was missingdoc-consistency-checker's Obsolescence Detection now specifies how to record a reversal - The
follow-up action used to be undefined. It now proposes appending a new entry to the end of the same
adr/{feature-name}.md, with the required items plus aSupersedeslink to the entry it reverses. The
obsolete entry is left exactly as it is — no back-pointer, nostatus: "deprecated", and nothing
written into the file-levelsupersedes/superseded-byfront matter fields, which cannot express a
relationship between two entries of the same fileadr/{feature}.mdfront matter now has aticketfield, andtask-cleanupsets it - Previously,
when a ticket's tracker (GitHub Issue / JIRA) was unreachable,task-cleanupskipped step 9 (posting a
completion summary) with no fallback, and deletingtask/{ticket-number}/erased the only link between
the ticket number and the feature. Theadrentry created in step 7 now recordsticket, so the
association survives even when no tracker is reachablerun-checklistcan now actually run tests/linters/security scanners -allowed-toolshad no shell
access at all, so the skill's core function (executing verification commands) silently fell back to
guessing from static analysis. Added a scopedscripts/run-verification.py(detects the project's
toolchain and runs test/lint/typecheck/security commands, perreferences/verification_commands.md)
and pre-approved only that single script, consistent with this repo's "no bareBash" convention.
A project with no tests configured is reported asSKIPPEDrather thanFAIL, so an unconfigured
category never fails the quality gate. The categories the script does not cover (formatter checks,
dependency analysis, doc coverage) are now stated explicitly in
references/verification_commands.mdas manual-review items instead of being implied to be automatic- README.md / README.ja.md's Tool Permissions section no longer understates what is pre-approved -
It still listed/run-checklistamong the skills that pre-approve no shell access at all, which
stopped being true the moment this release gave the skillscripts/run-verification.py(above) — a
script that starts your project's own test, lint, typecheck and audit commands in a subprocess without
asking. Because that is a judgement you make before installing, the section now names the script and
its full path, the project markers it looks for (package.json,pyproject.toml,Cargo.toml,
go.mod,setup.py,requirements.txt,Gemfile, and — with no manifest at all — atests/or
test/directory containingtest_*.py/*_test.py), the commands it runs per
toolchain, its 300-second per-command timeout, and the fact that commands written inside your
checklist.mdare not executed — only that one script is pre-approved, not bareBash. It also
lists the ten helper scripts a skill pre-approves and states that this is the only one of them that
starts another process. Of the three skills that hadBashremoved in v4.0.1,/implementand
/task-cleanupare the two that still pre-approve no shell access checklist's bundled template no longer contradicts its own SKILL.md - The template used a
P0-P3priority scale and sequentialCHK001IDs, while SKILL.md's Processing Flow and canonical
example (examples/checklist_full_example.md) defineP1-P3andCHK-{category}{seq}IDs (e.g.
CHK-501). Rewrote both language templates to match, folded the template's extra "Project Principles
Review" category into Requirements Review (CHK-104/CHK-105) so the category count stays at the 9
categoriesrun-checklist'sCHK-1xx-CHK-9xxmapping assumes, and fixed a leftover "P0 items"
reference (there is no P0) in the Export Formats sectionvibe-detector's Escalation step no longer instructs an action it cannot perform - Its
disallowed-toolsblocksWrite/Edit/Bash(a deliberate constraint — the skill is
user-invocable: falseand runs automatically ahead of implementation, without the user asking for it,
so it must stay read-only), but the Escalation section told it to save
assumed-spec.mddirectly. It now drafts that document's content in its own output and instructs the
calling session (which holds normal write access) to save itrecommend-front-matternow knows the ADR schema -scan-documents.pyalready scans and classifies
adr/documents, but the skill's Prerequisites andtype_specific_fields.mdtemplates never defined
ADR's fields, so a front-matter-less decision log got an incomplete or invented recommendation. Added
references/front_matter_adr.mdand an ADR entry in both languagetype_specific_fields.mdtemplates,
and addedadrto the skill's owntypeenumeration anddepends-oninference table (which listed
every other scanned type, so the new reference would otherwise never be reached)naming.py::determine_type()no longer misclassifiestask/{ticket}/design-draft.mdastype: "task"- It special-cased
implementation_log/impl_logfilenames but had no branch fordesign-draft.md,
the canonical location for the new-era design draft, so callers likerecommend-front-matterrecommended
the wrong type-specific fields for it
- It special-cased
constitution's two version-bump tables now agree row for row - The "Update Constitution" table said
adding a principle is a MAJOR bump, while the dedicatedaddflow and the "Semantic Versioning" table
both said MINOR. It also mapped "Clarify principle" to MINOR while the Semantic Versioning table mapped
"Fix expression of principle" (the same act) to PATCH, and omitted the priority change that the
"Conditions for Major Version Bump" section lists as breaking. Both tables now enumerate the same change
types, split by one stated rule — does the change alter what an existing principle demands?sdd-init's "Configuration File Management" section no longer contradicts its own script - It said
init-structure.pyauto-creates.sdd-config.jsonwith defaults when missing; the script actually
exits with an error (by design — the SessionStart hook owns default creation, sosdd-initdoesn't
duplicate that responsibility). Corrected the prose to match the actual, intended behaviorfront_matter_reference.md's ADR schema no longer contradicts its own Status Transition Rules - The
field table listed adraft/review/approved/deprecatedlifecycle for ADR'sstatusfield, while
the Status Transition Rules section says ADR doesn't follow that lifecycle at all. Corrected the field
table to reflect that ADRstatusis always"approved"at write time, and that a reversal is recorded
one-way in the body of the newer entry (itsSupersedesitem) — never in the file-levelsupersedes/
superseded-byfields, which record only that a whole log file was retired and replacedfinalize-prd's Rule 7 (Amend Mode Integration) no longer contradicts its own PRD template - It
described new UR/FR/NFR row insertion as appending to "the end of the matching table in §4 (Detailed
Requirements)", but §4 intemplates/{en,ja}/prd_template.mdis prose (### FR_001: {name}headings),
not a table. Corrected the description to match the template (append a new subsection matching the style
of existing entries). Also added a default policy for which existing use case a new
<<include>>/<<extend>>relationship should attach to when the caller doesn't specify, and a rule to
surface (rather than silently drop) input attributes that have no corresponding slot in the existing PRD
structure (e.g.Priority)- The "Migration from v4.x" steps in README.md / README.ja.md now work - Step 1 told you to re-run
/sdd-initto create theadr/directory and its template, but the script creates only the
${SDD_ROOT}/root and no ADR template existed at all. Step 6 told you to verify with/check-specor
doc-consistency-checkerafter deleting a*_design.md, and neither skill checks link health, so
following it would have left brokendepends-onvalues and body links behind silently. Step 1 now
states what re-running actually gives you (ADR_TEMPLATE.md, withadr/created on the first write
into it), and step 6 is now two runnablegrepcommands — one for path references (_design\.md) and
one for id references (design-{feature-name}, ordesign-{parent}-{feature}for a hierarchical
feature) — both excluding.sdd/.cache/and.sdd/AI-SDD-PRINCIPLES.md, which are regenerated from
the installed plugin and whose hits are the plugin's own prose rather than references from your
documents. Without those exclusions the search drowned in generated files. The step now says to update
only the hits that point at a file you actually deleted, that prose mentioning the convention is not a
reference, that no skill reports broken links, and that keeping the old file is a valid choice. The
remaining steps now use the settled ADR entry format and the real front matter field list - README.md / README.ja.md now list every breaking change, and explain ticket numbers - "Breaking
Changes in v5.0.0" covered three of this release's breaking changes, so the/check-specbaseline
inversion,/plan-refactor's new case decision and ticket argument,/task-breakdown's required
ticket number and dropped fallback, anddoc-consistency-checker's new target were discoverable only
from this changelog; the section now matches it one-for-one. A new "Ticket Numbers" section lists, per
skill, how the number is passed and whether it is required, and explains that a project without an
issue tracker can use any stable identifier (the feature name being the easy choice) — only
/task-cleanup's completion comment needs a tracker, and when none is reachable it is skipped while
the association survives in theticketfront matter field ofadr/{feature-name}.md. The/sdd-init
description was corrected (it creates the root only, andCONSTITUTION.mdcomes from
/constitution init), andSDD_INDEXwas added to the environment variable table - README.md / README.ja.md's component table and
/check-specdescription now match the shipped
skills - The table still describeddoc-consistency-checkeras checkingPRD ↔ spec ↔ design, which
this release's own breaking-changes list contradicts, and six other rows had drifted from their skill's
description (/plan-refactor"creates/updates design documents",/generate-prdlimited to SysML
output,/check-specagainst "specifications" rather than the abstract spec,/task-breakdownreading
a "technical design document", and/checklistand/task-cleanupnaming retired destinations); all
of them were corrected against the descriptions the skills actually declare, and thespec-reviewer/
front-matter-reviewerrows now mention theiradr/responsibilities. The/check-specsection also
claimed that with several tickets in flight and no--ticketno draft is read at all; it now lists the
five outcomes the skill really has (no draft,--ticket,depends-onmatch, sole draft, or several
candidates with no evidence) and notes that--ticketis only required in that last case and can be
avoided by settingdepends-onin the draft. What--fullactually reviews is spelled out, including
that a feature with no decision log is "not applicable" rather than consistent. The distribution
repository's landing README, which had no mention of v5 at all, now covers updating an installed plugin
and the two headline breaking changes, and links to the full migration section - v4.x persistent design documents are handled the same way everywhere a technical design is read -
check-spec,plan-refactorandtask-breakdownalready read a leftoverspecification/*_design.md
as an auxiliary input, but the rest of the plugin disagreed with them and with each other:/implement
did not accept one as satisfying its Technical Design prerequisite, so resuming a feature started on
v4.x asked you to regenerate a design draft that had never existed;/generate-spec's
existing-document check never looked for one, so a new draft could contradict the recorded technology
stack and module layout;/checklistand/clarifyignored it outright, narrowing their Design Review
items and design-level questions to what the abstract spec supports — a regression against v4.1.0,
which read that document (and, in/checklist's case, required it);spec-reviewercould not review
one;task-cleanupdeclared it a temporary file deleted by another flow;plan-refactorcalled it
"needs manual migration"; and the naming quick reference listed it under "Incorrect Naming (never use
these)" even though the naming hook has always allowed it./check-spec,/checklist,/clarify,
/constitution,/generate-spec,/implement,/plan-refactor,/recommend-front-matter,
/sdd-init,/task-breakdown,/task-cleanup,doc-consistency-checker,spec-reviewerand
front-matter-reviewernow all say the same thing: such files remain valid, are read as
supplementary input, their absence is normal, new technical design always goes to
task/{ticket-number}/design-draft.md, and none of them ever reports one as a naming violation or
proposes deleting it./checklistand/clarifyresolve the document from the feature name rather
than a ticket number — flat{feature-name}_design.md, or{parent-feature}/index_design.md/
{parent-feature}/{feature-name}_design.mdfor a hierarchical feature — so it is consulted even when
the ticket number is omitted, and both treat it as read-only: neither writes answers or checklist edits
back into it. The checklist that/checklistgenerates records which design source it used, and
/checklist's warning about a ticket directory holding neither a design draft nortasks.mdstill
fires, because the legacy document lives underspecification/and says nothing about the ticket /generate-spec's completion report no longer claims files it never wrote - It reported
specification/{feature}_design.md(orindex_design.mdfor a hierarchical feature) as generated — the
very document this release retired — and pointed at/task_breakdownand/check_spec, neither of
which is a real command name. It now reports the persistent spec plus the temporary
task/{ticket-number}/design-draft.md, with instructions to drop that line and say why when the draft
was skipped, and the next steps are the real/task-breakdown {feature} {ticket-number},/check-spec,
and/task-cleanup {ticket-number}to move the decisions intoadr/before the draft is deleted/generate-prd's completion report no longer recommends a command that cannot succeed yet - It
offered/check-spec {feature} --fullas the verification step to run right after the PRD is written.
At that pointspecification/does not exist — like the other subdirectories it is created with its
first file — so/check-specstopped with "Specification directory not found" every single time the
advice was followed. The report now splits its commands by what can run when:/clarify {feature}
works on a PRD alone (with the note that its answers cannot be written intorequirement/, so they go
into the/generate-specinput or into the PRD by hand), while/check-spec {feature} --fullis
listed under what needs a spec first, with the reason. The next step is a copy-pasteable
/generate-spec --ticket {ticket-number} {requirements-description}, and the "generated files" section
now says the PRD is the only document this skill writes — the use case diagram, the UR/FR/NFR tables
and the SysML requirements diagram are sections inside it, not separate files- The spec template copied into your project now describes the v5 document model -
.sdd/SPECIFICATION_TEMPLATE.mdstill sent technology-choice rationale, architecture and the record of
design decisions to a persistentxxx_design.mdand never mentionedadr/, so specs written from it
kept pointing at the retired document. Its comparison table now covers all three documents (spec:
persistent / design draft: temporary / decision log: persistent and append-only), the header links to a
Related Design Draft and a Related Decision Log, the excluded content is split by destination
(decisions, their rationale and rejected alternatives toadr/{feature-name}.md; everything else
technical to the draft), and it warns that a decision left only in the draft is lost when the draft is
deleted task-cleanupverifies theadr/append before deletingtask/{ticket-number}/- The deletion
step rangit rmwithout checking that the integration had landed, so an incomplete extraction or a
failed edit destroyed the design decisions permanently. A verification gate now runs first: the decision
log is re-read from disk, the appended entry's## YYYY-MM-DD {title}heading and its Decision /
Rationale / Rejected alternatives are confirmed present and non-empty, the entries that existed
beforehand are confirmed unchanged, and the front matter and other document edits from the preceding
step are confirmed on disk. If any check fails nothing is deleted:task/{ticket-number}/is left in
place and the gap is reportedtask-cleanupcan now delete atask/directory that was never committed - The deletion step was
fixed togit rm, which fails on an untracked path (fatal: pathspec '...' did not match any files)
and deletes nothing, while the skill was simultaneously told not to try another delete route — so a
project that keepstask/out of Git could reach a completed, verified cleanup and still never finish
it. The step now establishes tracking first withgit ls-fileson the target, judged by its output
(it exits 0 whether or not anything matched), and then deletes withgit rmfor tracked paths, plain
rmfor untracked ones, and both — each on its own paths — for a directory holding a mix.rmis
documented as the normal route for an uncommittedtask/, not a workaround.Bashis still not
pre-approved for this skill, sogit ls-filesand every delete command ask for confirmation;
declining the deletion stops the skill and is reported, and switching delete commands to dodge a
confirmation prompt is prohibited. If you allowlist these to cut down on prompts, the commands to
allow aregit ls-files,git rmandrm— the README's examplesettings.jsonnow lists all three,
with a warning that allowingrmallows everyrmdoc-consistency-checkerno longer reports "0 stale" for a project it never assessed - Documents
with nosdd-versionwere explicitly excluded from the stale list, and that field does not exist in
anything written before v5, so a project made entirely of pre-v5 documents always got "stale: 0" —
indistinguishable from a completed migration. Stale (sdd-versionpresent, older major) and
generation-unknown (sdd-versionabsent) are now counted and reported as two separate lists, both
always shown even when one is zero (e.g.stale: 0 / generation unknown: 85 of 85 checked), and both
are computed with Grep + Glob, so the check is no longer skipped when the document index is disableddoc-consistency-checkerno longer reports an area it never checked as consistent - Withadr/
empty and only v4.xspecification/*_design.mdfiles present, the spec ↔ decision-record checks simply
did not run and the report came back clean. It now branches: entries inadr/are checked as before;
with no entries but a v4.x design document present, the same four checks run against that document and
are reported asspec ↔ design (v4.x legacy); with neither, the area is reported asnot checked,
never as consistent. Every report now opens with which decision record it used, and which checks it
could not run and whyfront-matter-reviewercan now validateadr/documents -adr/was missing from its type
determination, its id patterns and its cross-reference Glob, so everyadr-*reference looked
unresolved, duplicate ids insideadr/went undetected, and ADR's own fields were never checked. It now
determinestype: "adr"foradr/*.md(andtype: "design"for
task/{ticket-number}/design-draft.md), acceptsadr-*ids, checks the ADR-specific fields, verifies
the file-levelsupersedes/superseded-bypointers on both sides, and raises an error when an entry
heading or anchor has been written into those file-level fields instead of the entry body. A missing
sdd-versionis reported as info ("generation unknown") rather than silently droppedspec-reviewerreviews the design draft - Its input format and its technical-design section still
requiredspecification/{feature}_design.md, so it could not review what/generate-specnow produces.
It takestask/{ticket-number}/design-draft.md— whose absence is normal, in which case the spec ↔
design traceability check is reported as not applicable — checks ticket scope in place of the retired
hierarchical structure, asks for the rejected alternatives a lateradr/entry will need, and reviews a
v4.x design document as supplementary input/check-specno longer mixes another ticket's design draft into the comparison - Its helper script
collected everydesign-draft.mdundertask/, so with several tickets in flight another ticket's
design was fed in as auxiliary input and produced module-structure warnings against the wrong feature.
A draft is now selected by--ticket <number>when given, otherwise by itsdepends-onmatching the
target spec's id, otherwise by being the only draft in the project; when several candidates remain and
there is no evidence, none is used, the candidates are listed, and re-running with--ticketis
recommended. The same script also no longer mistakes a leading flag for a feature name, which made
/check-spec --fullsearch for a spec named--full/check-specnow reports the discrepancies it downgraded - Theimpl-status-based downgrade of
Critical findings happens silently, and since v4.x documents have noimpl-statusat all, an entire
report could be downgraded and then read as "0 Critical". The report now always states how many
findings were downgraded to Warning (field absent) and to Info (not-implemented/in-progress),
even when that is zero, and that downgraded findings are unresolved rather than fixed. The undecidable
case no longer points at an automaticimpl-statusfix that does not exist — it explains listing the
specs, checking the implementation, and filling in the value yourself. And because neither the default
run nor--fulldetects drift betweenadr/and the implementation (--fullcompares spec ↔ adr as
documents), the report now showsadr ↔ Implementation: Not checkedwith the manual step, and the
limitation is stated in the skill/check-spec --fullnow actually performs the spec ↔ adr review it advertises - The mode was
documented as comparing each spec against its decision log, but nothing resolved which log belonged to
which spec, the reviewer had no checks defined for that pair, and the English output template had no
field for the result (only the Japanese one did)./check-specnow resolves a decision log per spec —
by name, mirroring the spec's position underspecification/(adr/{feature}.md, and the legacy
adr/{feature}-decisions.md), and otherwise by anadrdocument whosedepends-onnames that spec —
honoring a customdirectories.adr, and hands the resolved paths tospec-reviewer. The review asks
whether the decisions behind the spec's described behavior are recorded at all, whether the current
decision (the latest entry not reversed by a later one) agrees with the spec, whether the spec still
relies on a decision a later entry reversed, whether the spec elements an entry cites still exist,
whether entries carry their required items, and whether the terminology matches. A disagreement is
fixed either by correcting the spec or by appending a new entry with aSupersedeslink — never by
editing an entry already recorded, and never through the file-level front matter fields. A feature
whose decision log could not be resolved is reported as not applicable, never as consistent, and a
project with noadr/directory at all is not an error and produces no warning. This remains a
document-level review: drift betweenadr/and the implementation stays out of scope, as stated aboverecommend-front-matterrecommends the right id for a design draft - Id generation had no design
exception, sotask/{ticket-number}/design-draft.mdwas given a feature-scoped id that no
cross-reference could resolve; it is nowdesign-{ticket-number}(no feature name, and the ticket
directory is not treated as a hierarchy parent), while a v4.xspecification/*_design.mdkeeps its
feature-scoped form.depends-oninference for a task or implementation log now looks for the draft in
the sametask/{ticket-number}/first and falls back to a v4.x design document, with neither being
present a normal result, and the missingadr->specinference step was addedsdd-init's Migration Support no longer describes work it does not do - It claimed that re-running
the command generates${SDD_ROOT}/AI-SDD-PRINCIPLES.mdwhen missing; that file (and
.claude/rules/ai-sdd-instructions.md) is owned by the SessionStart hook, which re-syncs it every
session, and the script never touches it. It also detected "this project needs migration" from that
file's absence — a state the hook makes impossible. Detection is now the absence ofADR_TEMPLATE.md
(an initialization from before theadr/document model), the template list covers all four templates,
and a new subsection walks through migrating a v4.x project to the v5 document model/constitution syncnow has a step for the ADR template it claims to sync -ADR_TEMPLATE.mdwas
listed among the files the command keeps in step withCONSTITUTION.md, but the procedure below the
list jumped straight from the spec/design templates to the task templates, so the file was named and
then never touched. The procedure now has that step: it adds the principle reference to the entry
format and aligns the terminology, keeps the required entry items (Decision / Rationale / Rejected
alternatives) because the skills read them, and touches only the template — the entries already
recorded in${SDD_ADR_PATH}/{feature-name}.mdare append-only and are never rewritten by a sync- The generated
.claude/rules/ai-sdd-instructions.mdnow showsADR_TEMPLATE.mdin its directory
layout - Both the flat and the hierarchical diagram listed the PRD, spec and design templates but not
the decision-log template that/sdd-initputs next to them, so the file the SessionStart hook re-syncs
into every project — and that is loaded for any work under.sdd/— described a${SDD_ROOT}/that did
not match what initialization actually produces checklist's spec table no longer contradicts its own naming note - The table marked
{feature-name}_spec.md(andindex_spec.mdfor a hierarchical parent) as required, while the note
below it said the suffix is optional underspecification/. Either form now satisfies those rows/constitution validateno longer skips suffix-free specs - Its pre-scan globbed
specification/**/*_spec.md, but this release makes the_specsuffix optional there, so a spec named
{feature-name}.mdwas never scanned and its principle compliance silently went unchecked. The scan now
takes every.mdunderspecification/except a v4.x*_design.md, which keeps its own separate list- The constitution template no longer requires a persistent design document - The shipped
CONSTITUTION.mdtemplate (and the/constitutionexamples and report template) told a project to
requirespecification/*_design.mdfor every implementation - the document this release retired. Those
rows now name the v5 documents: the abstract spec (suffix optional), the ticket's temporary
task/{ticket-number}/design-draft.md, andadr/{feature-name}.mdfor the settled decisions - v4-era document tables in the PRD template, the implementation log and the vibe-detector report - The
PRD template's document comparison, the implementation log's "content to integrate" section and
vibe-detector's specification-status table all still describedxxx_design.mdas the persistent
technical document, so a project reading them would keep writing decisions into a file the workflow no
longer keeps. They now show the spec / design-draft / decision-log split, and the implementation log's
integration checklist points each item at the matchingadr/entry item (Decision / Rationale /
Rejected alternatives) - Output templates no longer print command names that do not exist - Templates and examples across
task-breakdown,clarify,check-spec,implement,constitutionandvibe-detectorstill told the
reader to run/check_spec,/generate_specor/task_cleanup- the pre-v4 underscore spellings, which
have not been valid command names since the rename to hyphens. They now name the real commands
(/check-spec,/generate-spec,/task-cleanup) sdd-init's "What This Command Does" list no longer claims it createsCONSTITUTION.md- Item 2 said
the command generates${SDD_ROOT}/CONSTITUTION.mdwhen missing, contradicting three later sections of the
same file andinit-structure.py, which deliberately excludes it. It now says the command reports the
missing file and points at/constitution initrun-checklistreports a missing checklist instead of verifying nothing - Its error handling covered
test failures and unavailable tools, but not the checklist itself being absent. It now reports the path
it resolved, how the ticket was resolved (argument or feature name), and the two ways forward (re-run
with the ticket number, or generate the checklist with/checklist), and it never reports verification
results for a checklist it could not read- PRD-level requirement ID format is resolved from
id_conventionsinstead of being hardcoded -
analyze-requirements,prd-reviewer, andgenerate-requirements-diagramhardcoded hyphen notation
(UR-xxx/FR-xxx/NFR-xxx) while the bundled PRD template and the rest of the pipeline already
producedUR_001/FR_001. A project that configuredid_conventionsin.sdd-config.jsonhad it
ignored by those three, and even a default project got requirement-analysis IDs that did not match the
IDs its own PRD template wrote. All three now resolve the format per
shared/references/id_conventions_config.md§ PRD-Level ID Format Resolution, falling back to
UR_xxx/FR_xxx/NFR_xxx, so a configured convention is honored end to end check-specno longer attaches another ticket's design draft when exactly one draft exists -
find-spec-docs.py's sole-draft fallback used to accept the only draft on disk even when its
depends-onfront matter named a different spec entirely — positive evidence it belongs to another
feature, not merely an untagged draft that happens to be alone. That draft is now excluded from the
sole-draft exception and the run falls back tounscoped(or to a remaining untagged draft, if one
exists)check-spec/constitution validateno longer misclassify a spec named e.g.api_design.mdas a
legacy v4.x design doc - The_specsuffix is optional underspecification/, so a legitimately
named new spec can itself end in_design; the filename-only heuristic could not tell the two apart
and silently dropped such a spec from both commands' output. A file's own front mattertypenow
overrides the heuristic when declaredpost-tool-use.py's spec-sync reminder now matches a source file name literally, even when it
contains glob metacharacters -find_spec_doc/find_legacy_design_docinterpolated the file's
stem unescaped into anrglobpattern, so a file likeparse[v2].pyhad[v2]treated as a wildcard
character class instead of literal text, silencing the reminder for a spec that actually existed. The
same fix applies tocheck-spec's CLI target argument in its partial-match fallbackrun-checklist's verification script no longer reportsSKIPPEDwhen every candidate tool for a
category is genuinely missing - It now reportsTOOL_NOT_FOUND, matching the status SKILL.md
already documents for that case (SKIPPEDremains reserved for "no command is defined for this
category" and "the tool ran but had nothing to verify")run-checklist's verification script no longer risks an uncaught crash decoding non-UTF-8 tool
output -subprocess.runnow decodes witherrors="replace"instead of the locale's default, which
could raiseUnicodeDecodeErrorin a non-UTF-8 locale (e.g. aLANG=CCI container) and abort the
script without producing the JSON result the skill expectsevaluate-skills' safety-guard audit no longer stops checking a keyword after its first, negated
occurrence -audit_run_artifacts.pylocated only the first occurrence of each keyword in a
transcript; if that occurrence sat in a negated context ("...must not skip the check..."), a genuine
later violation of the same keyword was never examinedevaluate-skills' skill-creator path resolver no longer aborts silently when no version has ever
been cached - Underset -euo pipefail,findfailing on a nonexistent cache directory short-circuited
the script before it could print its own "not installed" error message. It also no longer picks the
wrong "latest" version when multiple are cached: the cache directories are named by an installation
hash, not a sortable version number, so a lexicalsorthad no real ordering signal; it now picks by
modification time instead
Changed
Naming
_spec/_design/-decisionssuffix is now optional underspecification/andadr/- Both are
single-type directories (every file is an abstract spec / a decision log respectively), so the
naming-enforcement hook no longer requires a suffix there. Existing suffixed files remain valid.
requirement/is unaffected — a_spec/_designsuffix is still forbidden there- Generation skills now default to
adr/{feature}.md(no-decisionssuffix) for new ADR files -
task-cleanup,generate-spec,render-adr-review,doc-consistency-checker,sdd-init,
implement, and the shareddocument_dependencies.mdreference now show the suffix-free filename as
the default when creating a new decision log. Existing-decisions.mdfiles remain valid and are
still discovered/edited in place;naming.pyvalidation is unchanged
Hooks
- The post-edit reminder now points at the spec, not a design document - After a source file edit,
thePostToolUsehook looks for a matching spec ({stem}_spec.md, then{stem}.md) under
specification/and asks for the spec to be kept in sync. Previously it looked for
{stem}_design.md, which no longer exists as a persistent document, so the reminder never fired.
The.sdd/document reminders now refer to PRD ↔ spec ↔ adr - A feature that has only a v4.x design document still gets a reminder - With the lookup moved to the
spec, editing source for a feature whose only document isspecification/{stem}_design.mdproduced no
output at all, silently dropping the reminder such projects used to get. That case now has its own
message: the design document is valid supplementary reading, its decisions belong in
adr/{feature-name}.md, and it should not be deleted before that is done. The steps are named as a
path you can open —<plugin root>/README.md, section "Extracting Existing*_design.mdFiles into
adr/" under "Migration from v4.x" — rather than "see the plugin README". When a spec exists the
unchanged spec-sync reminder is used instead, and only ever one message is emitted adr/edits now get a reminder - Editing a decision log used to produce no output at all. It now
reminds that decision logs are append-only and that a decision changing the specification must be
reflected in the spec
Skills
- Downstream skills now read the Design Doc from
task/{ticket-number}/design-draft.md-
task-breakdown,implement,checklist, andclarifystill pointed at the retired
specification/{feature}_design.md, which/generate-specno longer produces. Following
/generate-spec→/task-breakdown→/implementtherefore dead-locked: the design document the
downstream skills required could never be created. All four now resolve the draft at the ticket-scoped
fixed path, which is independent of the spec's flat/hierarchical structure checklistandclarifytreat the design draft as an optional input - The draft is deleted at
implementation completion, so its absence no longer blocks these skills; they continue with the
abstract spec (and PRD/tasks.mdwhen present).clarifytakes an optionalticket-numberargument
to locate the draft. When the draft is gone but the project still has a v4.x
specification/{feature-name}_design.md(orindex_design.mdfor a hierarchical parent), the
design-level questions and Design Review items come from that document instead of being droppedtask-breakdownandimplementsetdepends-onto the ticket-scoped design ID - The instructions
saiddesign-{feature-name}while the draft's ownidisdesign-{ticket-number}, so the
cross-reference check infront-matter-revieweralways failed. Both now instruct
["design-{ticket-number}"], and thetype: "design"schema inshared/references/front_matter_reference.md
was corrected to matchimplementaccepts an abstract spec with or without the_specsuffix - The suffix became optional
underspecification/, but the prerequisite check still demanded{feature}_spec.md; either
{feature}.mdor{feature}_spec.mdnow satisfies it/plan-refactorhands its decisions off toadr/- The completion output now points at
/task-cleanup, which appends the settled decisions toadr/{feature-name}.mdbefore the design draft
(and with it the refactoring plan) is deleted. The skill deliberately does not write toadr/itself:
a plan is a proposal, and only settled decisions belong in an append-only logdoc-consistency-checkerpoints PRD-update recommendations at/generate-prd --amend- When a spec
change contradicts a PRD requirement and a human chooses to update the PRD, the recommended path is now
/generate-prd --amendinstead of an unspecified manual edit- A ticket number can be passed as
--ticket <number>or--ticket=<number>to every skill that takes
one - The skills each documented one form or the other, so a habit learned from one did not carry
over. All ten skills that accept a ticket number —/generate-spec,/plan-refactor,
/task-breakdown,/implement,/checklist,/run-checklist,/clarify,/task-cleanup,
/check-specand/render-adr-review— now state that both forms are accepted and equivalent, and
that where the number is a positional argument
the flag form does not consume the positional slot./render-adr-reviewin particular also stopped
taking a flag that landed in a positional slot as a value, so
/render-adr-review adr/x.md --ticket=123no longer names its output file
--ticket=123-review.html./generate-spec'sargument-hintalso lists
--ticket,--ciand--amend, which never appeared in completion before. In--cimode a missing
ticket number stops the skill before anything is read or written, naming the missing argument and
showing a corrected invocation, instead of inventing a placeholder number or atask/unknown/directory - The skills that allow omitting the ticket number now state what they resolved -
/implement,
/checklist,/run-checklist,/clarifyand/task-cleanupfall back to the feature name (or to the
wholetask/directory), which quietly changes which paths are read and written. Each now states the
resolved path in its output, and when nothing is found there it reports that path, that the omitted
ticket number is the likely cause, and the two ways forward — instead of searching other task
directories or starting work without the document it needed./clarifyalso states when it analyzed the
PRD, the spec and any v4.x design document alone, so the reduced coverage of design-related questions
is visible recommend-front-matterreports specs missingimpl-status, and never writes the field ---apply
used to addimpl-status: "not-implemented"to specs that already had front matter, and include it in
the block it wrote for documents that had none. That value is a claim about the implementation, which
this skill does not inspect, and writingnot-implementedonto an already-implemented spec turns
/check-spec's regression detection (Critical) into an expected-gap note (Info) — the exact failure the
field exists to catch. It now leaves every document that already has front matter untouched, omits
impl-statusfrom the blocks it writes, and simply lists the specs missing the field so you can check
the implementation and fill inimplemented/in-progress/not-implementedyourself. The approval
prompt's count is now just the documents that have no front mattertask-cleanup's decision-log append follows the settled entry format - The instruction was to
"append to the end" and "match the structure of existing entries", which left the heading shape and the
item names to chance. One decision is now one## YYYY-MM-DD {decision title}entry carrying Decision /
Rationale / Rejected alternatives (None consideredwhen there were none, never invented) and an
optionalSupersedeslink to an earlier entry in the same file. Rewriting, reordering or deleting
existing entries is prohibited, a superseded entry is not edited at all, and a reversal must not be
written into the file-levelsupersedes/superseded-byfront matter fieldstask-cleanupnames a destination for the know-how it deletes - Implementation tips,
troubleshooting notes and performance findings were classified as safe to delete with nowhere to put
them, so they were simply lost. Know-how is not a decision and does not become anadr/entry (it can
appear as part of a decision's rationale); the skill now requires a destination for each item it drops —
a code comment, a test that pins the behavior, or the*_spec.md— and reports where each one went/plan-refactor's technical debt observations now get a persistent destination - They were written
into the design draft and vanished with it. Each observation is now assigned one of three destinations:
debt this refactoring resolves goes into the rationale of theadr/entry/task-cleanupappends; debt
deliberately deferred becomes a tracker item whose id is recorded in the plan (and, when deferring is
itself a decision, its own entry at cleanup); debt where the implementation contradicts the spec becomes
a proposed*_spec.mdcorrection for a human to approve. No new debt document is created — v5 has no
standing debt ledger andadr/records decisions — and the completion output lists any observation left
without a destination/plan-refactorstates which parts of its reverse-engineered analysis survive the ticket - In Case
B it inventories the existing implementation into the design draft — which is deleted at cleanup — and
nothing said which of those findings were meant to reach a persistent document, so the whole inventory
was silently thrown away every ticket. The boundary is now explicit, and the reverse-engineering
templates have a place for each part that persists: externally observable data flow goes into a new
"Behavior and Data Flow" section of the reverse-engineered spec, the module boundaries other code
depends on go into its "Internal Interfaces" section (contracts only, not the files behind them), and
the architecture pattern name goes into its implementation notes. Component breakdowns, directory
layout, inter-component dependencies, internal call order, algorithm walkthroughs, state-management
internals and coverage numbers are deliberately not persisted: they are re-derivable from the code,
a copy in a document drifts from it, and the spec template excludes them by design. The Case B
completion output now tells you which findings were carried into the spec and which were dropped on
purpose./task-cleanupclassifies the same structure descriptions as safe to delete for the same
reason, and does not ask you to find them a home — while a decision about structure still becomes an
adr/entry
Documentation
AI-SDD-PRINCIPLES.md- Adds aspec ↔ Implementationrow to the Consistency Checking table as
the persistent implementation check, and reframesdesign ↔ Implementationas valid only while a
design draft exists. Documents theadr/directory and thedesign-draft.mdlifecycle, and
makes explicit thatrequirement/(PRD) is never auto-updated from downstream spec/design/
implementation changes — contradictions are reported for a human to resolve, not silently written backshared/references/document_dependencies.md- Updated to theadr/model (previously still
describedspecification/*_design.mdas persistent, out of sync with the rest of the redesign)check-spec's front-matter-reviewer delegation now states explicitly when it could not run -
Previously, an environment where agent delegation is unavailable silently skipped front matter
validation while still reporting the check as done. It now says so and lists it as a manual review itemgenerate-prd's prd-reviewer / front-matter-reviewer delegation has the same explicit fallback -
Same fix as above, applied to both call sites (initial generation and--amend)checklistitems now disclose their basis - Each item states which document and statement it was
derived from, orsynthesized from: {component}when inferred from an implementation component's
existence rather than quoted from a document, so a reviewer can tell "extracted" from "invented"clarifynow records a Clear/Partial/Missing classification for all 9 categories, not only the
ones that became a question, so the analysis's actual coverage is visible in the outputgenerate-requirements-diagramstates a priority when completeness and the 10-15-requirement
readability guideline conflict - Completeness wins; split into a per-subsystem diagram first, and
only compress sub-requirements into a single annotated node when splitting does not apply, stating
explicitly which sub-requirements were compressed and whyclarifynow checks the implementation before flagging an NFR/constraint as ambiguous - When the
target feature'simpl-statusisimplemented, an apparently undefined threshold or timeout may
already be a concrete decision recorded only in code (aTIMEOUT_SECONDSconstant, for example)
rather than in the spec's prose; the analysis now searches the implementation for that value before
raising a question the codebase has already settledgenerate-requirements-diagramno longer edits the target document to fill a missing diagram
section - The "returns text only" contract now says explicitly that a missing section must not be
"helpfully" filled in withWrite/Edit; the diagram is still returned as text, leaving the write
decision to the callerchecklistrequires a priority on every item, in every category - Including any category added
beyond the standard nine (e.g. a principle-compliance category), and the priority-scheme origin note
now requires an actual comparison between the SKILL.md body and the template rather than a copy of the
reminder textcheck-specmatches NFRs individually against the implementation, the same way FRs are - A closing
summary sentence for NFRs no longer satisfies the per-requirement matching check; severity
classification also now states explicitly that severity tracks impact (public interface / observable
behavior / data model vs. internal-only), not detection confidencetask-cleanup's ADR entry-format guidance no longer duplicates the full field table already defined
inAI-SDD-PRINCIPLES.md- It now references that table as the canonical source and keeps only the
cleanup-specific refinements (heading date sourcing, the "None considered" wording) locally, so the
two copies cannot silently drift apart- The
PreToolUsehook reads.sdd-config.jsononce per tool call instead of twice - Path resolution
and the naming-ignore-pattern lookup each used to open and parse the file independently on every
single Write/Edit - The
PostToolUsehook's spec-sync reminder walksspecification/once per source-file edit instead
of up to three times -find_spec_doc's two suffix candidates and the separatefind_legacy_design_doc
fallback are now resolved from a single directory listing