II.
Page JSON
Structured · livepage:docs-harness-features-backlog-gaps-remote-integration-gap-remote-007
GAP-REMOTE-007: Host Contract Layer json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-harness-features-backlog-gaps-remote-integration-gap-remote-007",
"_kind": "Page",
"_file": "wiki/docs/harness-features-backlog/gaps/remote-integration/gap-remote-007.md",
"_cluster": "wiki",
"attributes": {
"nodeKind": "Page",
"sourcePath": "docs/harness-features-backlog/gaps/remote-integration/GAP-REMOTE-007.md",
"sourceKind": "repo-docs",
"title": "GAP-REMOTE-007: Host Contract Layer",
"displayName": "GAP-REMOTE-007: Host Contract Layer",
"slug": "docs/harness-features-backlog/gaps/remote-integration/gap-remote-007",
"articlePath": "wiki/docs/harness-features-backlog/gaps/remote-integration/GAP-REMOTE-007.md",
"article": "\n# GAP-REMOTE-007: Host Contract Layer\n\n| Field | Value |\n|-------|-------|\n| Category | remote-integration |\n| Priority | High |\n| Effort | L |\n| Status | Missing |\n\n## Description\nFormal HostContract interface that external systems (IDEs, CI/CD, web UIs) can program against for babysitter integration, replacing ad-hoc CLI command composition.\n\n## Current State\nHarness adapters compose CLI commands ad-hoc based on each harness flag mapping (HARNESS_CLI_MAP). No formal contract that a host can program against.\n\n## Target State\nHostContract interface with startRun, getStatus, postEffect, subscribe methods. Implementation over existing CLI commands. Exposed via MCP server and HTTP.\n\n## Dependencies\n- None\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Harness invoker | `packages/sdk/src/harness/invoker.ts` |\n| MCP server | `packages/sdk/src/mcp/` |\n| Adapter registry | `packages/sdk/src/harness/registry.ts` |\n\n## Recommendation\nM1 (Foundation) implementation. Define HostContract interface. Implement over existing CLI. Expose via MCP and HTTP.\n",
"documents": []
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "page:docs-harness-features-backlog",
"to": "page:docs-harness-features-backlog-gaps-remote-integration-gap-remote-007",
"kind": "contains_page"
}
]
}