Skip to content

uf init installs unbound-force schema without aligning consumer openspec/config.yaml #528

Description

@jflowers

Problem

uf init installs the unbound-force OpenSpec schema files into openspec/schemas/unbound-force/ but does not update the consumer's openspec/config.yaml to set schema: unbound-force. This creates a confusing state:

  • Consumer's config.yaml may say schema: spec-driven (the default)
  • Yet the installed unbound-force schema templates are available and may be selected by openspec new change or the uf propose flow
  • The consumer has schema files they didn't explicitly opt into, with no indication of how they relate to their config

Example

complyctl's openspec/config.yaml says schema: spec-driven, yet its proposals were generated from the unbound-force schema template (likely because openspec new change discovered the installed schema or .openspec.yaml recorded it at creation time).

Proposed fix options

  1. Align on install: uf init updates openspec/config.yaml to schema: unbound-force when installing the schema, so the configuration matches the installed files
  2. Don't install by default: Only install the unbound-force schema if the consumer opts in (e.g., uf init --schema unbound-force), keeping spec-driven as the clean default
  3. Schema selection prompt: uf init asks which schema to install, explaining the difference

Option 2 or 3 would also reduce the surface area for issues like #526 (UF-specific content leaking to non-UF consumers).

Context

Related to #526. Discovered via complytime/complyctl#814.

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