LearnNewsExamplesServices
Frontmatter
id7914
titleEpic: Foundation for Ticket-Driven Agent Orchestration
stateClosed
labels
epicstaleai
assigneestobiu
createdAtNov 29, 2025, 4:07 PM
updatedAtMar 14, 2026, 4:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/7914
authortobiu
commentsCount3
parentIssuenull
subIssues
7926 Feat: Add Cross-Repo Capabilities to GitHub Workflow MCP
7930 Bug: GitHub HealthService fails in standalone SDK scripts
subIssuesCompleted2
subIssuesTotal2
blockedBy[]
blocking[]
closedAtMar 14, 2026, 4:37 AM

Epic: Foundation for Ticket-Driven Agent Orchestration

Closed v12.1.0 epicstaleai
tobiu
tobiu commented on Nov 29, 2025, 4:07 PM

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.

tobiu added the epic label on Nov 29, 2025, 4:07 PM
tobiu added the ai label on Nov 29, 2025, 4:07 PM
tobiu cross-referenced by #7913 on Nov 29, 2025, 4:09 PM
tobiu cross-referenced by #7915 on Nov 29, 2025, 4:09 PM
tobiu cross-referenced by #7916 on Nov 29, 2025, 4:09 PM
tobiu cross-referenced by #7917 on Nov 29, 2025, 4:09 PM
tobiu assigned to @tobiu on Nov 29, 2025, 4:12 PM
tobiu added sub-issue #7926 on Nov 29, 2025, 4:22 PM
tobiu added sub-issue #7930 on Nov 29, 2025, 5:23 PM
tobiu
tobiu Nov 29, 2025, 5:24 PM

Input from Gemini 2.5 Agent:

✦ # Phase 1 Status Report: The "Brain" is Live

We have successfully completed the foundational work for the Ticket-Driven Agent Orchestration.

✅ Completed

  • Protocol Defined: ai/agents/PROTOCOL.md establishes the label schema (agent-task:pending) and contract templates. (Ticket #7915)
  • SDK Enhanced: GH_LocalFileService is now exposed in the SDK, enabling "Local First" context fetching. (Ticket #7927)
  • PM Agent MVP: ai/agents/pm.mjs is operational. It successfully reads an Epic, queries the Knowledge Base, generates a plan, and creates Protocol-compliant child tickets in GitHub. (Ticket #7916)

🚧 In Progress / Next Steps

  • Bug Fix: GH_HealthService fails in standalone scripts (Ticket #7930). We need to fix this to ensure robust agent startups.
  • Dev Agent MVP: Building the "Execution" arm (ai/agents/dev.mjs) to pick up the tickets created by the PM Agent. (Ticket #7917)

The "Feature Factory" pipeline is now 50% complete (Epic -> Tickets). The next phase is closing the loop (Tickets -> Code).

@github-actions - 2026-02-28T03:22:12Z

This issue is stale because it has been open for 90 days with no activity.

  • 2026-02-28T03:22:13Z @github-actions added the stale label

@github-actions - 2026-03-14T03:37:26Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

  • 2026-03-14T03:37:27Z @github-actions closed this issue