Skip to content

Scaffolded OpenSpec proposal template hardcodes Unbound Force constitution #526

Open

Description

@jflowers

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.md template lists only four (missing V. Security by Default)
  • schema.yaml proposal 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/):

  1. 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
  2. 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 Force remains in openspec/schemas/unbound-force/** or the embedded schema assets

Notes

  • Historical openspec/changes/**/proposal.md matches (~100+) are past artifacts — leave them
  • The meta-repo's own openspec/config.yaml context block is correct and NOT scaffolded to consumers — leave it
  • The starter constitution asset is already generically titled ("# Project Constitution") — no change needed there

Activity

  1. added
    bug
    llm_assisted
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugllm_assisted

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions