Skip to content

[Story] Implement approved specs in FullSend with uf-code #517

Description

@beatrizmcouto

👤 User Story

As a
developer whose work is dispatched by FullSend

I want to
the cobalt-crush uf-code agent to implement only from an approved spec inside FullSend

So that
assigned work cannot skip spec-first once it leaves local OpenCode

🎯 Acceptance Criteria

  • harness/uf-code.yaml triggers on work-item ready-to-code (or agreed equivalent CEL)
  • Agent is OpenCode reading repo .opencode/; convention packs and constitution are active
  • uf gate --phase implement blocks when spec/plan/tasks are missing or unapproved
  • Source writes happen only after the gate passes
  • Security-hook compensating controls apply to this write-capable agent
  • Behavior matches local cobalt-crush for the same spec (parity check documented)

🚫 Out of Scope

  • uf-forge multi-agent orchestration
  • FullSend built-in code agent as the brain (Approach B)
  • Skill-only spec awareness (Approach C)

Dependencies

  • Increment 3 specify/opsx
  • uf gate
  • security-hook gap closed

Increment 4. First source-writing agent, but harness pattern exists after Inc3 — M, same as other write-path follow-ons once the gate and hooks exist.

🏁 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


Implementation Notes (added by @jflowers, Aug 2026)

Harness: uf-code — triggered on work-item ready-to-code (CEL trigger).

Runtime: OpenCode + fullsend-opencode image. Agent reads repo .opencode/ (packs, constitution, commands, skills).

Gate enforcement: uf gate --phase implement as validation_loop.script. Blocks when spec/plan/tasks are missing or unapproved — the agent cannot write source code until the gate passes.

Parity requirement: behavior must match running /uf.cobalt-crush locally in OpenCode. Document any divergences (e.g., MCP servers disabled via --pure, Dewey unavailable).

Agent mapping: the FullSend agent (agents/uf-code.md) delegates to the repo's cobalt-crush-dev.md agent (mode: subagent, temperature: 0.4). Convention packs from .opencode/uf/packs/ are active.

Security: all controls from #515 must be in place (write-capable agent writing source code).

Dependencies: Inc3 (#516) — spec must be created first; uf gate (#514); security hook gap (#515) closed.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions