II.
Page JSON
Structured · livepage:docs-harness-features-backlog-gaps-json-interaction-gap-json-002
GAP-JSON-002: JSON Effect Dispatch and Response Protocol json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-harness-features-backlog-gaps-json-interaction-gap-json-002",
"_kind": "Page",
"_file": "wiki/docs/harness-features-backlog/gaps/json-interaction/gap-json-002.md",
"_cluster": "wiki",
"attributes": {
"nodeKind": "Page",
"sourcePath": "docs/harness-features-backlog/gaps/json-interaction/GAP-JSON-002.md",
"sourceKind": "repo-docs",
"title": "GAP-JSON-002: JSON Effect Dispatch and Response Protocol",
"displayName": "GAP-JSON-002: JSON Effect Dispatch and Response Protocol",
"slug": "docs/harness-features-backlog/gaps/json-interaction/gap-json-002",
"articlePath": "wiki/docs/harness-features-backlog/gaps/json-interaction/GAP-JSON-002.md",
"article": "\n# GAP-JSON-002: JSON Effect Dispatch and Response Protocol\n\n| Field | Value |\n|-------|-------|\n| Category | json-interaction |\n| Priority | Critical |\n| Effort | L |\n| Status | Missing |\n\n## Description\nStructured JSON protocol for dispatching effects and receiving results without CLI task:post. Direct programmatic effect lifecycle management.\n\n## Current State\nEffects posted via babysitter task:post CLI with --value-inline or file path. No streaming or programmatic API.\n\n## Target State\nJSON protocol for effect dispatch: request effect, receive pending notification, post result. Streaming support for long-running effects. Programmatic lifecycle management from any language.\n\n## Dependencies\n- [GAP-JSON-001](../json-interaction/GAP-JSON-001.md) -- JSON API foundation\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Task definitions | `packages/babysitter-sdk/src/tasks/` |\n| Task serializer | `packages/babysitter-sdk/src/tasks/serializer.ts` |\n| CLI commands | `packages/babysitter-sdk/src/cli/` |\n\n## Recommendation\nPhase 1 implementation. Define JSON effect protocol. Implement as importable API and MCP tool.\n",
"documents": []
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "page:docs-harness-features-backlog",
"to": "page:docs-harness-features-backlog-gaps-json-interaction-gap-json-002",
"kind": "contains_page"
}
]
}