Skip to content

feat(agents): Support full RPI workflow in OpenCode and Kilo CLI #750

@AhmedMustafa249

Description

@AhmedMustafa249

Summary

Extend HVE-Core's Copilot agent collection to OpenCode (and Kilo CLI) for the full RPI workflow. Agent body content is 100% portable; frontmatter requires a translation layer and runSubagent maps to OpenCode's task tool. Targets .opencode/agents/, .opencode/skills/, and .opencode/commands/.


Work Required:

RPI agents

  • task-researcher → .opencode/agents/task-researcher.md
  • task-planner → .opencode/agents/task-planner.md
  • task-implementor → .opencode/agents/task-implementor.md — map runSubagent → task tool
  • task-reviewer → .opencode/agents/task-reviewer.md — preserve Complete / Iterate / Escalate statuses
  • rpi-agent (orchestrator) → .opencode/agents/rpi-agent.md — full 5-phase dispatch via task tool
    Subagents (all mode: subagent, hidden: true)
  • researcher-subagent, plan-validator, phase-implementor, rpi-validator, implementation-validator
    Utility agents
  • memory, doc-ops, pr-review, prompt-builder + its subagents
    Commands
  • Port all 15 prompts → .opencode/commands/; translate ${input:var} → $ARGUMENTS
    Skills
  • pr-reference → .opencode/skills/pr-reference/SKILL.md
    Docs & pipeline
  • docs/architecture/opencode-mapping.md — Copilot ↔ OpenCode artifact mapping
  • Update install.md, README.md, CUSTOM-AGENTS.md for OpenCode
  • Extend Generate-Plugins.ps1 with -Target OpenCode; add ConvertTo-OpenCodeAgent transformer

Acceptance Criteria

  • All 9 primary agents and 8 subagents exist under .opencode/agents/ and load correctly
  • rpi-agent drives the full 5-phase workflow in OpenCode
  • All subagents use mode: subagent and hidden: true; orchestrator dispatches via task tool
  • pr-reference skill exists under .opencode/skills/
  • All RPI artifacts use .copilot-tracking/ for state and output

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageRequires triage and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions