Skip to content

chore: Wire uf gate as validation_loop.script on write-capable harnesses #869

Open

Description

@yvonnedevlinrh

Summary

Parent: #514 (acceptance criterion: "Wired as validation_loop.script on write-capable harnesses"). PR #582 delivers the uf gate command itself; the harness wiring was deferred to this change (design.md Non-Goals,
openspec/changes/uf-gate/).

Scope:

  • Point FullSend write-capable harness validation_loop.script at uf gate --phase <phase> --format json (exit 0/1/2 contract; JSON on stdout, errors on stderr)
  • Document pre-commit / pre-PR hook usage
  • Decide multi-change resolution (first-match alphabetical is documented for now; a --change <name> selector is the candidate follow-up)
  • Optional: CI coverage ratchet for internal/gate (currently documented at 90.7%, not enforced) — CI change, needs its own spec

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. jflowers commented on Nov 1, 2026

    @jflowers
    Contributor

    Divisor Triage: VALID — feature

    The Divisor review panel assessed this issue by unanimous vote (6/6) and classified it valid, category feature, objectivity objective.

    Why. The issue completes a deferred acceptance criterion with an unbroken traceability chain:

    The scope is machine-checkable: the exact invocation (uf gate --phase <phase> --format json), the exit-code contract (0 pass / 1 check failure / 2 internal error), and the stream separation (JSON on stdout, errors on stderr). The panel also notes that the wiring converts a delivered capability into an enforced control — until uf gate runs as validation_loop.script, spec-first enforcement depends on prompt instructions.

    Recommendations.

    1. Sequence implementation after PR feat: add headless uf gate command for constitution enforcement #582 merges. The cited artifacts (uf gate command, internal/gate package, openspec/changes/uf-gate/) live on that PR's branch and are absent from the default-branch checkout.
    2. Split out the CI coverage ratchet. The optional internal/gate coverage ratchet (documented at 90.7%, not enforced) requires its own spec workflow — CI changes carry their own spec, and coverage thresholds are governance-gated. Five of six personas recommend extracting it into a dedicated issue (suggested title: "CI coverage ratchet for internal/gate"). The wiring scope then stays deterministic.
    3. Documentation gates attach to the implementing PR. As a user-facing workflow change, the wiring PR carries a docs-labeled issue in this repo plus the cross-repo website tracking issue per the Cross-Repo Documentation rule.

    Similar issues. The duplicate search surfaced #512 ([Story] Run the Divisor council review in FullSend). It targets council-review execution in FullSend — a different integration on the same harness family, not a duplicate of this work. The primary keyword search returned no matches.

    Next steps. File an OpenSpec change proposal (opsx/ branch) for the wiring once PR #582 lands, and track the coverage ratchet separately.

    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

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions