docs: add minimal, trial-basis Spec Kit Constitution (dogfooding)
Summary
Adds memory/constitution.md, an initial Spec Kit repository constitution — the project dogfooding its own flagship artifact on itself.
What this PR is: a deliberately minimal, trial-basis constitution, adopted per maintainer guidance in #2504 to "try it out and see where it leads" — not a claim of fully-settled governance. Two principles:
- I. Selective Spec-Driven Development — proposed, non-binding criteria for when SDD pays off on this repo (non-trivial scope, ambiguous design, cross-cutting impact, security/correctness stakes), plus an anti-theater clause. Guidance for contributor judgment; reviewers MAY reference it, it gates nothing.
- II. Spec-Forward, Historical Once Shipped — the maintainer-stated stance from #2504: a spec defines the unit of work and becomes a frozen historical snapshot once shipped. Quoted verbatim as provenance.
What it deliberately is not: it does not resolve the constitution-vs-AGENTS.md question. #2476 is still an open community debate, so that concern is reduced to a one-line scope boundary under Governance, explicitly framed as this repo's working split — not ratified as a principle.
Dogfooding on-ramp
The document is the governance half of dogfooding; the operative half is running the workflow on a real feature and committing its artifacts. The PR sets that up explicitly:
- Mechanism: the constitution is loaded on demand during
plan,tasks, andimplement(per #2476), so it takes effect the moment SDD is run on a spec-kit feature. - Trigger: the next change meeting Principle I's criteria SHOULD be developed with committed
specs/<feature>/artifacts. - Proof-of-concept candidate: #2393 (opt-in auth registry) — security model pivoted mid-PR,
AuthProviderreshaped twice, ~ten follow-up commits patched threat-model gaps. A retroactivespecs/auth-registry/is named as a parked, non-blocking next step.
Path choice
The constitution lives at memory/constitution.md, not .specify/memory/constitution.md. The .specify/ path is for downstream projects initialized by specify init; this repository keeps its own governance artifact at the repo root.
Compliance posture
Non-binding by design. Reviewers MAY reference Principle I when asking whether a change warrants spec artifacts; whether the criteria are met is a contributor judgment call. The document explicitly avoids becoming a process tax.
Out of scope
Broader principles (agent neutrality, template stability, extension surfaces) and the constitution-vs-agent-context resolution (#2476) are not asserted in v1.0.0. They may be added via future amendments after the trial-basis document has seen real use.
Test plan
- [x]
memory/constitution.mdrenders correctly on GitHub - [x] Sync Impact Report header is accurate
- [x] No bracket-token placeholders remain
- [x] Cross-references resolve (#2504, #2476, #2393)
- [x]
AGENTS.mdreferences the constitution without duplicating governance rules - [x]
/speckit.constitutionstill targets.specify/memory/constitution.mdfor downstream projects
Closes #2698 Refs #2504 Refs #2476