65 lines
2.2 KiB
Markdown
65 lines
2.2 KiB
Markdown
---
|
|
description: Create or update the local workflow constitution and propagate principle changes into dependent speckit artifacts.
|
|
handoffs:
|
|
- label: Build Specification
|
|
agent: speckit.specify
|
|
prompt: Create the feature specification under the updated constitution
|
|
---
|
|
|
|
## User Input
|
|
|
|
```text
|
|
$ARGUMENTS
|
|
```
|
|
|
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
|
|
## Outline
|
|
|
|
You are updating the local constitution at `.specify/memory/constitution.md`. This file is the workflow-facing constitutional source for the repository and must align with:
|
|
|
|
- `.kilo/skills/semantics-core/SKILL.md`
|
|
- `.kilo/skills/semantics-contracts/SKILL.md`
|
|
- `.kilo/skills/semantics-belief/SKILL.md`
|
|
- `.kilo/skills/semantics-testing/SKILL.md`
|
|
- `README.md`
|
|
- `docs/SEMANTIC_PROTOCOL_COMPLIANCE.md`
|
|
- `docs/adr/*`
|
|
|
|
Execution flow:
|
|
|
|
1. Load the existing constitution at `.specify/memory/constitution.md`.
|
|
2. Identify placeholders, stale assumptions, or principles that conflict with the current Rust MCP repository.
|
|
3. Derive concrete constitutional text from user input and repository reality.
|
|
4. Version the constitution using semantic versioning:
|
|
- MAJOR: incompatible governance/principle change
|
|
- MINOR: new principle or materially expanded guidance
|
|
- PATCH: clarifications and wording cleanup
|
|
5. Replace placeholders with concrete, testable principles and governance text.
|
|
6. Propagate consistency updates into dependent artifacts:
|
|
- `.specify/templates/plan-template.md`
|
|
- `.specify/templates/spec-template.md`
|
|
- `.specify/templates/tasks-template.md`
|
|
- `.specify/templates/test-docs-template.md`
|
|
- `.specify/templates/ux-reference-template.md`
|
|
- `.kilo/workflows/speckit.plan.md`
|
|
- `.kilo/workflows/speckit.tasks.md`
|
|
- `.kilo/workflows/speckit.implement.md`
|
|
- `.kilo/workflows/speckit.test.md`
|
|
- `.kilo/workflows/speckit.analyze.md`
|
|
7. Prepend a sync impact report as an HTML comment at the top of the constitution.
|
|
8. Validate:
|
|
- no unexplained placeholders remain
|
|
- version and dates are consistent
|
|
- principles are declarative and testable
|
|
9. Write back to `.specify/memory/constitution.md`.
|
|
|
|
## Output
|
|
|
|
Summarize:
|
|
|
|
- new version and bump rationale
|
|
- affected templates/workflows
|
|
- any deferred follow-ups
|
|
- suggested commit message
|