Repository navigation
Labels
Milestone
Description
👤 User Story
As a
team practicing spec-driven development with uf
I want to
run uf inside a FullSend BYOA container with full local/FullSend parity
So that
the agent refuses to implement without an approved spec whether it is running in OpenCode locally or in a FullSend sandbox
🎯 Acceptance Criteria
- Spec-driven development is enforced in FullSend: no implement path without an approved spec
- Same committed
.opencode/(commands, agents, packs, constitution) drives local and FullSend behavior - Child stories for Phase 0, upstream OpenCodeRuntime, image, Increments 1–5,
uf gate, and the security-hook gap are complete -
unbound-force/unbound-forceis the pilot per-repo FullSend install and the reference BYOA for other teams - Dewey/Ollama remain deferred; keyword fallback is acceptable
🚫 Out of Scope
- Skill-based / Approach C throwaway MVP
- Per-org FullSend install (custom harness routing is per-repo)
- Mixed-runtime repos (per-harness runtime override is an upstream follow-up)
- Interactive TUI/
AskUserQuestionparity (replaced by async GitHub Q&A by design)
This is the parent for the RFC. Child stories are the sprintable slices. Do not pull this parent into a sprint.
Jay's increment order (writes + security-hook parity):
| Inc | Agent | Writes? | Security-hook parity |
|---|---|---|---|
| 0 | Phase 0 GO/NO-GO spikes | No | n/a |
| 1 | uf-review (Divisor council) |
No | Gap acceptable |
| 2 | uf-address-feedback |
No (comments) | Gap acceptable |
| 3 | uf-specify / uf-opsx + uf gate |
Yes (artifacts) | Required |
| 4 | uf-code (cobalt-crush) |
Yes | Required |
| 5 | uf-forge |
Yes | Required |
🏁 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: XL (comparative T-shirt; same scale as ComplyTime / Agentic-SSDLC / Unbound Force planning)
Implementation Notes (added by @jflowers, Aug 2026)
Revised execution plan: see RFC #437 updated comment and the local working document opencode-fullsend-byoa-plan.md.
Child stories (sprintable slices):
| Story | Title | Size | Increment |
|---|---|---|---|
| #509 | Prove OpenCode runs headless (Phase 0 GO/NO-GO) | M | Inc0 |
| #510 | Contribute OpenCodeRuntime to FullSend | L | Cross-cutting |
| #511 | Digest-pinned fullsend-opencode image | M | Cross-cutting |
| #519 | Onboard unbound-force into FullSend (per-repo) | M | Onboarding |
| #512 | Divisor council review (Inc1) | M | Inc1 |
| #513 | Resume from GitHub comment answers (Inc2) | M | Inc2 |
| #514 | Headless uf gate |
M | Cross-cutting |
| #515 | Close security-hook gap | L | Cross-cutting |
| #516 | Create specs (Inc3) | M | Inc3 |
| #517 | Implement specs (Inc4) | M | Inc4 |
| #518 | uf-forge multi-agent (Inc5) | L | Inc5 |
Key additions since original filing:
- [Story] Onboard unbound-force/unbound-force into FullSend (per-repo enrollment) #519 (new): per-repo FullSend enrollment was missing — covers mint, inference (reuse existing Vertex WIF), GitHub app install,
fullsend github setup, and runtime flip to opencode. - Vendor preset (
fullsend github setup --config <url> --config-hash <sha256>) deferred as a follow-up for the "reference BYOA for other teams" AC. - Phase 0 spike ([Story] Prove OpenCode runs headless in the FullSend sandbox #509) reinstated as an explicit GO/NO-GO gate before runtime implementation.
Glossary (added Aug 2026, per review feedback)
| Term | Definition |
|---|---|
| FullSend | fullsend-ai/fullsend — the platform providing sandboxed agent execution, GitHub integration, and pluggable runtimes. External repo. |
| BYOA | "Bring Your Own Agent" — FullSend's extensibility model: an org supplies its own agent layer (harness + agent defs + image) on FullSend infrastructure. See RFC #437, fullsend ADR 0036. |
| harness | A FullSend YAML file (.fullsend/harness/*.yaml) defining one agent run: agent, role, image, model, triggers, security config, validation loop, host files, scripts. See fullsend/internal/harness. |
| validation_loop.script | Harness field pointing at a host-side script that validates agent output after each run; non-zero exit triggers a bounded re-run (up to max_retries). The wiring point for uf gate. |
| fullsend-opencode | Custom container image ghcr.io/unbound-force/fullsend-opencode extending fullsend-sandbox with opencode-ai + uf CLI. See #511. |
| runtime / OpenCodeRuntime | FullSend's pluggable execution backend (internal/runtime); OpenCodeRuntime is what this epic contributes upstream. See #510, fullsend #1260. |
| OpenShell | The sandbox execution layer (openshell sandbox exec) providing container isolation + provider profiles for credential injection. |
| mint | FullSend enrollment step — manual process to register an org/repo with the FullSend platform. See #519. |
| inference (WIF) | Vertex AI access via Workload Identity Federation — GitHub OIDC token exchanged for short-lived GCP credentials. Provisioned via fullsend inference provision. |
| sandbox_hooks / Tirith | FullSend's Claude-only Pre/PostToolUse security hooks (Tirith = bash command scanner). OpenCode lacks equivalents — this is the #515 gap. |
| TranscriptHandler / ndjson | Output capture interface; opencode emits ndjson via opencode run --format json. See fullsend #1935. |
| Divisor council | The multi-persona review council (Inc1 / #512). |
| uf gate | Spec-first enforcement CLI (uf gate --phase <phase> --format json). See #514. |
| forge | uf's multi-agent orchestration layer (Inc5 / #518). |
Process notes
- Coverage strategy (Constitution IV): Each story's spec/plan should include a coverage strategy before implementation begins. This is a spec-phase deliverable, not an issue-level acceptance criterion.
- [Story] Enforce spec-first with headless
uf gate#514 sequencing:uf gatereceived unanimous VALID from the triage panel and hasuf doctoras structural precedent. Recommend it enters the spec pipeline alongside #509 (Phase 0 spike).
Sub-issues
Collapse Sub-issuesSub-issues
Loading 11 sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
uf gate#514beatrizmcouto commentedon Aug 17, 2026
Child stories (sized on Unbound Force Planning):
uf gateParent (epic, not sprintable): XL — #508
beatrizmcouto commentedon Aug 18, 2026
Suggested order and priority
Do not sprint this parent (XL). Pull the child stories in this sequence.
#510 and #511 can run in parallel after #509 is GO. #519 O0–O2 can start immediately in parallel with #509; O3 waits on #510. #514 can start as soon as #509 is GO, but must land before any write-capable agent.
Source: Jay’s revised execution plan.
uf gateIf this sprint only pulls one path: #509 and #519 in parallel, then #512 once #510 and #511 are far enough to run a harness. That proves Approach A without waiting on write-path security.
[-][Story] Run uf in a FullSend BYOA container[/-][+][Epic] Run uf in a FullSend BYOA container[/+]yvonnedevlinrh commentedon Aug 18, 2026
Cross-cutting feedback from review
I've reviewed all 11 child stories and the Divisor triage panel results. Rather than repeating these on each child issue, noting them here at the epic level:
Terminology
"FullSend" and related terms (BYOA, harness, validation_loop.script, fullsend-opencode) have zero presence anywhere in the unbound-force codebase. The triage panel flagged this on every child story. A glossary in this epic or in Discussion #437 would unblock all downstream triage and spec work.
Coverage strategies
The triage panel flagged Constitution IV (Testability) violations on most child stories. This is expected at the issue level — coverage
strategies belong in the spec/plan phase. Each story should include a coverage strategy when it enters the spec pipeline, not before.
Repository scope on #510
All implementation paths in #510 (OpenCodeRuntime) reference
fullsend-ai/fullsend, not this repository. Nointernal/runtime/package exists here. If #510 is a tracking issue for upstream contribution, it should be labeled accordingly. If implementation
work lands in this repo, the issue needs to specify what that work is.
Phantom references
ADR 0036 (#511),
docs/runtimes.md(#511, #515), and "Inc1 schema fields" (#513) are referenced as existing artifacts but do not exist in the repository. These should either be created as prerequisites or the references should be updated to state they are newdeliverables.
Suggested sequencing
Based on triage results, the stories best positioned to enter the spec pipeline first are:
uf gate#514 (uf gate) — unanimous VALID, clearuf doctorprecedentStories that need author work before they can move forward: #510 (repo scope), #511 (phantom refs + UID decision), #516 (undefined
terms), #518 (
--pure/MCP blocker).jflowers commentedon Aug 24, 2026
Plan refresh vs fullsend
main(7223a90e, Aug 24 2026)Re-verified this epic against live fullsend
main. Core thesis (Approach A: OpenCode+uf as a FullSend runtime; FullSend = infra) is unchanged and now better supported. Deltas:piwent stub → fully enabled in ~1 week (Track pi (earendil-works/pi) as a supported agent runtime fullsend-ai/fullsend#6464, commit 7229878a).internal/runtime/now has the full pi file set +pi_extension/. This is our implementation template and proves the effort is days-scale. See [Story] Contribute OpenCodeRuntime to FullSend #510.SandboxHooksBootstrap+ ADR 0090 (commit 6cf88b15). This reshapes [Story] Close the OpenCode security-hook gap before write-capable agents #515 from "close a gap" to "implement a precedented pattern."docs/runtimes.mdboth exist in fullsend (the review was inspecting the unbound-force repo, not fullsend).config.ValidRuntimes()=["claude","pi","dummy"];opencodeis resolvable viaResolve()but rejected by config validation (Config-driven runtime selection doesn't validate against ValidRuntimes() before sandbox bootstrap fullsend-ai/fullsend#6471) and now fails fast before sandbox creation (Move runtime resolution above sandbox creation to fail fast on invalid runtime config fullsend-ai/fullsend#6509). This gates [Story] Onboard unbound-force/unbound-force into FullSend (per-repo enrollment) #519's runtime flip on [Story] Contribute OpenCodeRuntime to FullSend #510.scan inputis host-side only and not on thefullsend runpath today.)Glossary additions: ADR 0090,
piruntime (reference impl),sandbox_hooks_bootstrap.go. Increment order (Inc0→Inc5) unchanged.yvonnedevlinrh commentedon Aug 26, 2026
Plan refresh vs fullsend main (verified against 90ee8d6f, Aug-26)
A few glossary/scope items in the epic are now stale and should be corrected:
tool.execute.before/tool.execute.afterplugin hooks that fire around every tool call (verified inpackages/opencode/src/session/prompt.ts). fullsend docs now name these as the interception point. The real, narrower gap is thattool.execute.beforehas no structured block channel (throw-only); see [Story] Close the OpenCode security-hook gap before write-capable agents #515.runtime/model/effortnow live onagents:entries.Upstream status checklist (fullsend-ai/fullsend main):
piruntime as pluggable Vertex-backed template (fullsend#6572)runtime-implementation.mdcontract publishedValidRuntimes()stillclaude,pi,dummy—opencodenot yet selectable (gates [Story] Contribute OpenCodeRuntime to FullSend #510/[Story] Onboard unbound-force/unbound-force into FullSend (per-repo enrollment) #519)