iiRecord
Agentic AI Atlas · GAP-JSON-002: JSON Effect Dispatch and Response Protocol
page:docs-harness-features-backlog-gaps-json-interaction-gap-json-002a5c.ai
II.
Page reference

page:docs-harness-features-backlog-gaps-json-interaction-gap-json-002

Reading · 1 min

GAP-JSON-002: JSON Effect Dispatch and Response Protocol reference

Structured JSON protocol for dispatching effects and receiving results without CLI task:post. Direct programmatic effect lifecycle management.

Pagewiki/docs/harness-features-backlog/gaps/json-interaction/GAP-JSON-002.mdOutgoing · 0Incoming · 1

GAP-JSON-002: JSON Effect Dispatch and Response Protocol

FieldValue
Categoryjson-interaction
PriorityCritical
EffortL
StatusMissing

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

Key Files

ComponentPath
Task definitionspackages/sdk/src/tasks/
Task serializerpackages/sdk/src/tasks/serializer.ts
CLI commandspackages/sdk/src/cli/

Recommendation

Phase 1 implementation. Define JSON effect protocol. Implement as importable API and MCP tool.