2.3 KiB
2.3 KiB
description, handoffs
| description | handoffs | |||||||
|---|---|---|---|---|---|---|---|---|
| Create or update the local workflow constitution and propagate principle changes into dependent speckit artifacts. |
|
User Input
$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:
.opencode/skills/semantics-core/SKILL.md.opencode/skills/semantics-contracts/SKILL.md.opencode/skills/semantics-belief/SKILL.md.opencode/skills/semantics-testing/SKILL.md.opencode/skills/semantics-frontend/SKILL.mdREADME.mddocs/SEMANTIC_PROTOCOL_COMPLIANCE.mddocs/adr/*
Execution flow:
- Load the existing constitution at
.specify/memory/constitution.md. - Identify placeholders, stale assumptions, or principles that conflict with the current Python/Svelte repository.
- Derive concrete constitutional text from user input and repository reality.
- Version the constitution using semantic versioning:
- MAJOR: incompatible governance/principle change
- MINOR: new principle or materially expanded guidance
- PATCH: clarifications and wording cleanup
- Replace placeholders with concrete, testable principles and governance text.
- 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.opencode/command/speckit.plan.md.opencode/command/speckit.tasks.md.opencode/command/speckit.implement.md.opencode/command/speckit.test.md.opencode/command/speckit.analyze.md
- Prepend a sync impact report as an HTML comment at the top of the constitution.
- Validate:
- no unexplained placeholders remain
- version and dates are consistent
- principles are declarative and testable
- Write back to
.specify/memory/constitution.md.
Output
Summarize:
- new version and bump rationale
- affected templates/workflows
- any deferred follow-ups
- suggested commit message