Repository navigation
Description
👤 User Story
As a
team practicing spec-driven development
I want to
a headless uf gate --phase <specify|plan|implement|review|pr> --format json that exits non-zero when constitution checks fail
So that
FullSend validation_loop.script and the local pre-commit/pre-PR hook enforce the same spec-first rules and a model cannot bypass them
🎯 Acceptance Criteria
-
uf gateexists and is non-interactive (--format json) - Enforces: spec + plan + tasks exist/approved before implement
- Enforces: review PASS before PR
- Enforces: coverage strategy present (Constitution IV)
- Enforces: no direct commits to main
- Wired as
validation_loop.scripton write-capable harnesses - Same command is runnable as a local pre-commit / pre-PR hook
- Exit non-zero blocks the loop; output is machine-readable
🚫 Out of Scope
- Implementing specify/code/forge agents
- Replacing convention packs or the constitution text
- Soft warnings that the model can ignore
Dependencies
- Can start after Phase 0; must land before write-capable Increments 3–5
Cross-cutting; starts with Increment 3. Deterministic gate — not prompt-only. Comparable to ComplyTime policy/validation CLI work (M).
🏁 Definition of Done — 🛠️ Quality & Testing
- Code has been peer-reviewed for bugs and vulnerabilities.
- Proper testing has been completed and passes (Unit, Integration, E2E via GitHub Actions).
- The feature has been demonstrated/validated successfully in the target environment.
🏁 Definition of Done — 📝 Architecture & Docs
- Usage documentation or changelog updated (if user-facing changes introduced).
- Local ADR written and verified by Tech Lead if technical architecture deviated.
- Any newly introduced technical debt has been logged as a GitHub issue.
Context
- Source RFC: https://github.com/orgs/unbound-force/discussions/437
- Execution plan (Jay / @jflowers): https://github.com/orgs/unbound-force/discussions/437#discussioncomment-14559914
- Locked approach: A — OpenCode + uf as the agent runtime; FullSend is infrastructure (sandbox, WIF, dispatch)
- Size: M (comparative T-shirt; same scale as ComplyTime / Agentic-SSDLC / Unbound Force planning)
Implementation Notes (added by @jflowers, Aug 2026)
CLI signature:
uf gate --phase <specify|plan|implement|review|pr> --format json
Behavior:
- Exits non-zero on constitution-check failure (blocks the validation loop)
- Machine-readable JSON output on stdout for programmatic consumption
- Enforces:
- Spec + plan + tasks exist and are approved before
--phase implement - Review PASS before
--phase pr - Coverage strategy present (Constitution Principle IV: Testability)
- No direct commits to main (branch protection check)
- Spec + plan + tasks exist and are approved before
Integration with FullSend:
- Wired as
validation_loop.scripton write-capable harnesses (Inc3–5) - Non-zero exit blocks the validation loop, triggering retry or failure
- Same command runnable as a local pre-commit / pre-PR hook (parity)
Implementation location: cmd/unbound-force/ — new subcommand (does not exist today). The CLI currently has: init, version, doctor, setup, sandbox, gateway, config. This adds gate.
Must land before: Inc3 (#516), Inc4 (#517), Inc5 (#518) — all write-capable agents require uf gate enforcement.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady for Review 👀
Activity
jflowers commentedon Aug 24, 2026
Confirmed: wiring point exists
internal/harnessValidationLoop{Script, MaxIterations, FeedbackMode, Schema, PreflightCheck}is present on fullsendmain—uf gateslots intovalidation_loop.scriptas planned. Add the newly required cross-runtime contract: the runtime must honorRunParams.Prompton retry iterations (fall back toruntime.DefaultAgentPromptwhen empty), orfeedback_mode: appendis a silent no-op (fullsend-ai/fullsend#1050).docs(gate): add CLI reference entries and correct coverage record
docs(gate): track FullSend wiring as unbound-force#869 and close unbo…
feat: add headless uf gate command for constitution enforcement
docs(gate): add CLI reference entries and correct coverage record
docs(gate): track FullSend wiring as unbound-force#869 and close unbo…
feat: add headless uf gate command for constitution enforcement
docs(gate): add CLI reference entries and correct coverage record
docs(gate): track FullSend wiring as unbound-force#869 and close unbo…