Skip to content

Epic: Foundation for Ticket-Driven Agent Orchestration #7914

@tobiu

Description

@tobiu

Epic: Foundation for Ticket-Driven Agent Orchestration

This epic captures the strategic initiative to transform Neo.mjs into the "Corporate Headquarters for AI Agents." We are moving from single-agent tool use to a hierarchical swarm of specialized agents (PMs, Developers) that coordinate asynchronously using GitHub Issues as their message bus.

Strategic Goals

  1. Establish the "Ticket-Driven Protocol": Define a strict contract for how agents communicate via GitHub Issues (labels, templates, state transitions).
  2. Enable Cross-Repo Coordination: Empower agents in one repository to queue tasks for agents in another.
  3. Prove the "Feature Factory": Demonstrate a fully autonomous workflow where an Epic is broken down into Tickets (PM Agent) and those Tickets are resolved into PRs (Dev Agent).

Key Deliverables

1. The Protocol (Contract)

  • Define Agent Task Protocol: Create ai/agents/PROTOCOL.md specifying label schemas (agent-task:pending), issue templates, and handoff rules.

2. The "Headless" Workforce (MVP Agents)

  • PM Agent MVP: A standalone Node.js script (ai/agents/pm.mjs) that reads an Epic and generates sub-issues based on the protocol.
  • Dev Agent MVP: A standalone Node.js script (ai/agents/dev.mjs) that picks up a pending issue, attempts a code fix, and submits a PR.

3. Infrastructure

  • GitHub Workflow Enhancements: Update the MCP server to support cross-repo issue creation and label management required by the protocol.

Success Metric

The "Feature Factory" Experiment: A single command (npm run agent:feature -- --epic=123) successfully triggers the chain:
Epic -> PM Agent -> Tickets -> Dev Agent -> PR
without human intervention.

Sub-issues

Metadata

Metadata

Assignees

Labels

aiepicA big time intense ticket with related sub-tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions