Skip to content

MetalHexx/RadOrchestration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rad Orchestration System

A document-driven agent orchestration system that takes software projects from idea through planning, execution, and review — built on native AI coding assistant primitives and a small set of simple Node.js scripts.

Agents communicate through structured markdown documents. Routing, triage, and state validation are handled by a single pipeline script (pipeline.js). No external services, no Docker, no npm install (unless you use the Dashboard UI).

What It Does

Tell the Orchestrator your project idea, and it coordinates 12 specialized agents through a structured pipeline — research, requirements, design, architecture, planning, coding, and review — producing working software with full traceability from idea to implementation. It's automated spec-driven development!

flowchart TD
    START([💡 Idea]) --> BRAINSTORM[Brainstorm]
    BRAINSTORM --> |Goals| RESEARCH

    subgraph PLANNING [Planning]
        direction TB
        RESEARCH[Researcher] --> |Research| PRD[Product Manager]
        PRD --> |Requirements, Research| DESIGN[UX Designer]
        DESIGN --> |Design, Requirements, Research| ARCH[Architect]
        ARCH --> |Requirements, Architecture, Design, Research| MASTERPLAN[Create Master Plan]
    end

    MASTERPLAN --> GATE1(["✋ Human Approval"])

    subgraph EXECUTION [Execution Loop]
        direction TB
        GATE1 --> PHASE[Plan Phase Tactical Planner]
        PHASE --> HANDOFF[Plan Task]
        HANDOFF --> |handoff| CODE[Code]
        CODE --> |code|REVIEW[Code Review]
        REVIEW -->|needs correction | HANDOFF
        REVIEW -->|approved| COMMIT[🔀 Commit Code]
        COMMIT --> MORETASKS{more tasks?}
        MORETASKS -->|yes| HANDOFF
        MORETASKS -->|no| PHASEREVIEW[Phase Review]
        PHASEREVIEW -->|next phase| PHASE
        PHASEREVIEW -->|needs correction| PHASE
    end

    PHASEREVIEW --> FINAL[Final Review]
    FINAL --> GATE2(["✋ Human Approval"])
    GATE2 --> DONE([✅ Complete])
Loading

Monitoring Dashboard

The system includes a real-time monitoring dashboard — a Next.js web application that visualizes project state, pipeline progress, documents, and configuration.

Track active projects, drill into phase and task execution, read rendered planning documents, and view configuration — all updated in real time by reading the state.json file in each project. The project displayed in the screenshot was the project used to build the UI in 1-shot.

Learn more about the dashboard →

Key Features

Specialized Agents

Twelve agents with strict separation of concerns. Each agent has a defined role, scoped tool access, and explicit write permissions. The Orchestrator is a thin skill-driven coordinator — it loads the orchestration skill, signals pipeline events, and routes via a compact action routing table. Never writes files directly. The Coder reads only its task handoff.

Learn more about agents →

Document-Driven Architecture

Documents are the inter-agent API. Every agent reads specific input documents, does its job, and writes its output document. There is no shared memory, no message passing, no runtime coupling between agents. Every interaction produces a traceable artifact.

CLI scripts, essentially a state machine, handles the mechanical decisions around that document exchange — routing, triage, and state validation — but agents themselves still communicate exclusively through structured markdown. The document-driven model is what makes the system portable and auditable.

Learn more about the pipeline →

Human Gates

Configurable critical human checkpoints are reliably enforced. Humans approve the Master Plan before any code is written and approve final results before completion. Execution gates are configurable: per-phase, per-task, or fully autonomous.

Deterministic Routing & Triage

Pipeline routing, triage, and state validation are handled by a unified pipeline script (pipeline.js) — not LLM interpretation of prose. One event in, one deterministic action out. The script encodes external actions as a pure event-action lookup, internalizes triage decisions, and validates state invariants before every write. Same input always produces the same output.

Composable Skills

Eighteen reusable skills bundle domain knowledge, templates, and instructions. Agents are composed with the skills they need — the system can be extended with new agents, capabilities, or adapted to new workflows by remixing skills.

Learn more about skills →

Configurable Pipeline

A single orchestration.yml controls everything: project storage, pipeline limits, and human gate behavior. Sensible defaults out of the box, fully customizable.

Learn more about configuration →

Source Control Automation

Automatic git commits after each approved task. The Source Control Agent constructs conventional-format commit messages from task metadata and executes them — no manual git workflow needed. Configurable via orchestration.yml with auto_commit: always | ask | never (default ask, resolved at project start).

Learn more about source control →

Continuous Verification

Every task is reviewed against the plan. Code reviewers inspect source code directly. Minor issues trigger automatic corrective tasks. Critical issues halt the pipeline for human intervention. Plans don't drift unchecked. Pipeline failures are logged to a structured, append-only error log (ERROR-LOG.md) in each project folder.

Getting Started

Full getting started guide →

Documentation

Page Description
Getting Started Installation, first project walkthrough, common commands
Guides First-project walkthroughs, continuing projects, checking status
Pipeline Planning and execution flow, human gates, error handling
Agents All 12 agents — roles, access control, design constraints
Skills All 18 skills and how they compose with agents
Templates All 16 templates — purpose, producing agent, consuming agent
Configuration orchestration.yml reference — all options explained
Source Control Auto-commit configuration, agent modes, commit format, pipeline events
Project Structure File layout, naming conventions, document types, state management
Monitoring Dashboard Dashboard startup, features, data sources, real-time updates

Design Principles

  1. Documents as interfaces — Agents never share memory. Every interaction is mediated by a structured markdown document.
  2. Sole writer policy — Every document type has exactly one agent that may write it.
  3. Self-contained handoffs — The Coder never reads external planning documents. Everything is inlined.
  4. Deterministic where possible — Routing, triage, and validation are pure functions. LLMs handle judgment work.
  5. Human in the loop — Critical gates are enforced. Humans approve plans and results.
  6. Continuous verification — Every task is reported and reviewed against the plan.
  7. Zero dependencies — Node.js built-ins only. No npm install.

Platform Support

Currently supported: GitHub Copilot (VS Code) — custom agents, skills, prompt files, instruction files, and agent mode.

The document-driven architecture is inherently portable. Agents communicate through markdown and YAML, not platform APIs. Adapting to other AI assistants primarily involves translating agent definitions to the target format.

Development

Contributors working on this repo should enable the pre-commit hook so the orchestration TypeScript stays type-clean before each commit. The hook file is already committed at .githooks/pre-commit — point git at it once after cloning:

git config core.hooksPath .githooks

(Equivalent: node .claude/skills/orchestration/scripts/setup-hooks.js.)

This is dev-only setup. End users installing via the radorch installer do not get the pre-commit hook configured.

License

See LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors