Skip to content

[Docs] Add user-facing documentation for uf gate command #583

Open

Description

@em-redhat

Context

PR #582 adds the uf gate command for headless constitution compliance enforcement. User-facing documentation is needed.

Scope

  • CLI usage guide for uf gate --phase <specify|plan|implement|review|pr>
  • --format json output schema documentation
  • --dir flag usage
  • Exit code semantics (0/1/2)
  • Integration examples (pre-commit hook, CI script, FullSend validation_loop.script)
  • Check function reference (what each phase validates)

Source Material

  • openspec/changes/uf-gate/proposal.md — capabilities and motivation
  • openspec/changes/uf-gate/specs/gate-command.md — FR-001 through FR-011
  • openspec/changes/uf-gate/design.md — design decisions D1-D7

Related

Activity

  1. added
    documentation
    on Sep 8, 2026
  2. added
    enhancement
    on Nov 2, 2026
  3. jflowers commented on Nov 2, 2026

    @jflowers
    Contributor

    Triage Summary

    Classification: VALID — enhancement (objective)

    The Divisor review panel assessed this issue across five personas (adversary, architect, curator, guard, sre). All five reach VALID.

    Assessment

    Recommendations

    1. Apply the enhancement label — the capability ships via PR feat: add headless uf gate command for constitution enforcement #582; this issue completes its user-facing documentation.
    2. Sequence the documentation work against the PR branch or post-merge main. The six scope items form one cohesive deliverable for a single command, so no split is warranted.
    3. When writing the docs, disambiguate uf gate from the similarly named uf gateway command — the shared prefix is a realistic confusion vector for hook authors. The exit-code semantics (0 pass / 1 check failure / 2 internal error) and the --format json output schema are the automation contract that CI scripts, pre-commit hooks, and FullSend validation_loop.script depend on; they are the highest-value scope items. The repository's canonical spelling is "Fullsend"; prefer it over "FullSend" in the eventual documentation.

    This triage was performed by the Divisor review panel.

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

    documentationenhancement

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions