mirror of
https://github.com/github/spec-kit.git
synced 2026-08-03 06:26:30 +08:00
* fix: guard constitution command scope Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: be3f0d7d-2774-4ba2-b741-efbb4870148a * fix: render deferred command per integration Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: be3f0d7d-2774-4ba2-b741-efbb4870148a * fix: defer all lean non-governance intents Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: be3f0d7d-2774-4ba2-b741-efbb4870148a
1.3 KiB
1.3 KiB
description
| description |
|---|
| Create or update the project constitution. |
User Input
$ARGUMENTS
Scope Guard
This command's own work is limited to creating or updating the project constitution and propagating constitution-driven changes to dependent Spec Kit artifacts.
- Classify every part of the user input as constitution content or a separate non-governance intent. Feature implementation, code generation, refactoring, build, and deployment requests are examples of non-governance intents.
- You MUST NOT execute any non-governance intent. Defer each one to
Next Actions. - You MUST NOT create, modify, or delete application source files or other artifacts unrelated to the constitution workflow.
- If an instruction could be either constitution content or a non-governance intent, ask for clarification before making changes.
- After updating the constitution, list each deferred intent in a
Next Actionssection with an appropriate follow-up Spec Kit command, such as__SPECKIT_COMMAND_SPECIFY__, but do not invoke it. - Omit
Next Actionswhen there are no non-governance intents.
Outline
- Create or update the project constitution and store it in
.specify/memory/constitution.md.- Project name, guiding principles, non-negotiable rules
- Derive from user input and existing repo context (README, docs)