II.
Page JSON
Structured · livepage:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-005
GAP-AGENT-005: Cross-Run Communication json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-005",
"_kind": "Page",
"_file": "wiki/docs/harness-features-backlog/gaps/agent-delegation/gap-agent-005.md",
"_cluster": "wiki",
"attributes": {
"nodeKind": "Page",
"sourcePath": "docs/harness-features-backlog/gaps/agent-delegation/GAP-AGENT-005.md",
"sourceKind": "repo-docs",
"title": "GAP-AGENT-005: Cross-Run Communication",
"displayName": "GAP-AGENT-005: Cross-Run Communication",
"slug": "docs/harness-features-backlog/gaps/agent-delegation/gap-agent-005",
"articlePath": "wiki/docs/harness-features-backlog/gaps/agent-delegation/GAP-AGENT-005.md",
"article": "\n# GAP-AGENT-005: Cross-Run Communication\n\n| Field | Value |\n|-------|-------|\n| Category | agent-delegation |\n| Priority | High |\n| Effort | L |\n| Status | Missing |\n\n## Description\nEnable communication between related runs (parent/child, coordinator/worker) via a journal-backed message bus. Reframed from CC inter-agent messaging to babysitter cross-run/cross-effect communication.\n\n## Current State\nAll communication is orchestrator-mediated: process code dispatches effects and receives results. No mechanism for a delegated harness invocation to communicate with another. Effects are request/response only.\n\n## Target State\nAGENT_MESSAGE journal event type. Message routing via effect IDs and run relationships. Subscribe/poll mechanism for delegated tasks. Enables coordination patterns like fan-out/fan-in and supervisor/worker.\n\n## Dependencies\n- [GAP-AGENT-001](../agent-delegation/GAP-AGENT-001.md) -- sub-harness invocation for related runs\n\n**Merged**: GAP-TOOLS-015 (Inter-Agent Messaging) is covered by this gap. The original tool gap described messaging between agents -- this is the same concept as cross-run communication via journal-backed message bus, reframed for babysitter's effect model.\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Journal storage | `packages/sdk/src/storage/` |\n| Task definitions | `packages/sdk/src/tasks/` |\n\n## Recommendation\nPhase 2 implementation. Add AGENT_MESSAGE journal event type. Implement message routing via effect IDs. Add subscribe/poll mechanism.\n",
"documents": []
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "page:docs-harness-features-backlog",
"to": "page:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-005",
"kind": "contains_page"
}
]
}