II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-json-interaction-gap-json-002
GAP-JSON-002: JSON Effect Dispatch and Response Protocol overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-json-interaction-gap-json-002.
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
# GAP-JSON-002: JSON Effect Dispatch and Response Protocol
| Field | Value |
|-------|-------|
| Category | json-interaction |
| Priority | Critical |
| Effort | L |
| Status | Missing |
## Description
Structured JSON protocol for dispatching effects and receiving results without CLI task:post. Direct programmatic effect lifecycle management.
## Current State
Effects posted via babysitter task:post CLI with --value-inline or file path. No streaming or programmatic API.
## Target State
JSON protocol for effect dispatch: request effect, receive pending notification, post result. Streaming support for long-running effects. Programmatic lifecycle management from any language.
## Dependencies
- [GAP-JSON-001](../json-interaction/GAP-JSON-001.md) -- JSON API foundation
## Key Files
| Component | Path |
|-----------|------|
| Task definitions | `packages/sdk/src/tasks/` |
| Task serializer | `packages/sdk/src/tasks/serializer.ts` |
| CLI commands | `packages/sdk/src/cli/` |
## Recommendation
Phase 1 implementation. Define JSON effect protocol. Implement as importable API and MCP tool.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)