spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

fix(templates): point constitution sync checklist at installed command files

Open marcelsafin opened this issue 4 months ago • 1 comments

Fixes #660

Root cause

Step 4 of the constitution command's consistency-propagation checklist tells the agent to:

Read each command file in .specify/templates/commands/*.md (including this one) …

specify init never creates .specify/templates/commands/ — command templates are rendered directly into the agent-specific directory (.github/prompts/, .claude/commands/, .codex/commands/, …). See also the assessment on #3086: keeping commands out of .specify/templates/ is intentional, so the fix is to correct the reference, not to start copying files there.

The result today: this checklist step points at a path that does not exist in any initialized project, so the outdated-reference sweep it describes can never actually run.

Change

One line — the step now reads the installed speckit.* command files for the active agent (with .github/prompts/ and .claude/commands/ as examples), instead of the nonexistent template path.

Testing

No tests pin this template's prose. Verified the new strings are untouched by CommandRegistrar.rewrite_project_relative_paths (only bare scripts/, templates/, memory/ prefixes are rewritten).

marcelsafin avatar Jul 08 '26 23:07 marcelsafin

Copilot re-reviewed 180d33a and raised no new comments. The requested feedback is addressed and this is ready for another maintainer pass.

marcelsafin avatar Jul 10 '26 23:07 marcelsafin