Repository navigation
Description
Problem
uf init scaffolds an OpenSpec schema (openspec/schemas/unbound-force/) whose proposal template and schema.yaml hardcode references to the Unbound Force org constitution. Every consumer — regardless of their own constitution — gets a proposal that says "Assessed against the Unbound Force org constitution" and grades against UF-specific principles.
This was discovered via complytime/complyctl#814, where complyctl (an independent external adopter with its own 7-principle ComplyTime Constitution) had its proposal certified against the wrong constitution, silently skipping its real principles.
Three-way inconsistency (even within the meta-repo)
The meta-repo's own constitution (v1.2.0) has five principles, but:
proposal.mdtemplate lists only four (missing V. Security by Default)schema.yamlproposal instruction says "three"- The scaffolded starter constitution (
internal/scaffold/assets/specify/memory/constitution.md) has five
So even UF's own proposals currently under-assess.
Affected files (each has two mirrored copies synced by drift test)
Canonical (repo root) + Embedded (internal/scaffold/assets/):
-
openspec/schemas/unbound-force/templates/proposal.md- Line 26:
Assessed against the Unbound Force org constitution. - Lines 28–56: four hardcoded principle subsections (I–IV) with UF-specific prompts
- Line 26:
-
openspec/schemas/unbound-force/schema.yaml- Lines 15–20 (proposal instruction): "all three org constitution principles" — wrong count + "org"
- Lines 41–45 (design instruction): hardcodes "Autonomous Collaboration, Composability First, or Observable Quality"
Proposed fix
Genericize the template so each consumer's proposal enumerates their own constitution's principles:
proposal.md template — replace the ## Constitution Alignment body with:
## Constitution Alignment
Assessed against the project constitution
(`.specify/memory/constitution.md`).
<!-- Read the principles defined in your project's constitution
at .specify/memory/constitution.md and create one subsection
below per principle. Do not assume a fixed set — enumerate the
principles your constitution actually defines. -->
### <Principle name from your constitution>
**Assessment**: PASS | N/A
<!-- How does this change comply with this principle, or why does
it not apply? -->schema.yaml — proposal instruction: "assesses this change against every principle defined in the project constitution. Read the principles from .specify/memory/constitution.md and add one subsection per principle."; design instruction: "design decisions that relate to specific principles in the project constitution (.specify/memory/constitution.md)."
Verification
- Drift test:
go test -race -count=1 ./internal/scaffold/...(embedded must equal canonical) - Full parity:
make check - Grep guard: confirm no
Unbound Forceremains inopenspec/schemas/unbound-force/**or the embedded schema assets
Notes
- Historical
openspec/changes/**/proposal.mdmatches (~100+) are past artifacts — leave them - The meta-repo's own
openspec/config.yamlcontext block is correct and NOT scaffolded to consumers — leave it - The starter constitution asset is already generically titled ("# Project Constitution") — no change needed there
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity