II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-remote-integration-gap-remote-007
GAP-REMOTE-007: Host Contract Layer overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-remote-integration-gap-remote-007.
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
# GAP-REMOTE-007: Host Contract Layer
| Field | Value |
|-------|-------|
| Category | remote-integration |
| Priority | High |
| Effort | L |
| Status | Missing |
## Description
Formal HostContract interface that external systems (IDEs, CI/CD, web UIs) can program against for babysitter integration, replacing ad-hoc CLI command composition.
## Current State
Harness adapters compose CLI commands ad-hoc based on each harness flag mapping (HARNESS_CLI_MAP). No formal contract that a host can program against.
## Target State
HostContract interface with startRun, getStatus, postEffect, subscribe methods. Implementation over existing CLI commands. Exposed via MCP server and HTTP.
## Dependencies
- None
## Key Files
| Component | Path |
|-----------|------|
| Harness invoker | `packages/sdk/src/harness/invoker.ts` |
| MCP server | `packages/sdk/src/mcp/` |
| Adapter registry | `packages/sdk/src/harness/registry.ts` |
## Recommendation
M1 (Foundation) implementation. Define HostContract interface. Implement over existing CLI. Expose via MCP and HTTP.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)