Skip to content

Scaffolded constitution-check agent/command hardcodes UF org framing #527

Description

@jflowers

Problem

The scaffolded constitution-check agent and command files describe their purpose as comparing "a hero constitution against the Unbound Force org constitution." This framing is incorrect for external adopters who are not UF hero repos.

Affected files (each has canonical + embedded copy)

  1. .opencode/agents/constitution-check.md + internal/scaffold/assets/opencode/agents/constitution-check.md

    • Line 2: description: "Constitution alignment checker — compares a hero constitution against the Unbound Force org constitution"
    • Line 18: against the Unbound Force org constitution and produce a structured
  2. .opencode/commands/uf.constitution-check.md + internal/scaffold/assets/opencode/commands/uf.constitution-check.md

    • Line 2: description: "Check a hero constitution's alignment with the Unbound Force org constitution"

Proposed fix

Genericize the agent description and instructions to reference "the project constitution" or "a parent constitution" rather than hardcoding "Unbound Force org constitution." For external adopters, the constitution-check should validate their own constitution's internal consistency or, if a parent constitution is configured, check alignment against that.

Consider whether this agent should even be scaffolded to all consumers or only to repos that declare a parent_constitution in their constitution file.

Context

Related to #526. Discovered via complytime/complyctl#814 where complyctl received these files via uf init despite being an independent external adopter with its own ComplyTime Constitution.

Activity

  1. added
    enhancement
    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

    enhancementllm_assisted

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions