Probe Capability Contract v0
Scope
Defines the minimum capability payload that a Probe must report to Gateway for registration, compatibility checks, scheduling decisions, and health gating. This contract is normative for v0 and follows P0/P1 freeze decisions.Terminology
- Probe: host-side runtime controller for DevBox/Worker Sandbox lifecycle and channel/runtime status reporting.
- Gateway: sole control plane authority.
- Capability: the declared feature set and limits of a Probe instance.
Normative Spec
Required Fields
Probe capability payload MUST include:schema_versionprobe_idadapter_versionssupported_channelssupported_remote_modesagent_adapterslimitshealthlast_heartbeat_at
Channel and Mode Constraints
supported_channelsMUST only includessh_remoteand/ordialog.supported_remote_modesMUST only includeide_primaryand/orterminal_fallback.
Agent Adapter Declaration
For v0, Probe SHOULD declare support for:codexclaude_codeopencode
Health Requirements
health MUST expose at least:
- overall probe status
- channel-level status for
ssh_remoteanddialog - runtime health summary
healthy, degraded, unhealthy.
Compatibility Rule
Gateway MUST validateschema_version and reject unsupported versions.
Gateway MUST gate scheduling against capability and health constraints.
Examples
Error & Recovery
- Unsupported
schema_version: reject registration/update. - Missing required fields: reject with validation error.
health.overall=unhealthy: Gateway SHOULD stop assigning new work.- Heartbeat timeout: treat Probe as stale and trigger lease fencing.
Security & Audit
- Capability report itself MUST be auditable via metadata events.
- Probe capability MUST NOT imply control-plane authority.
- Gateway remains the sole decision authority for scheduling/policy.
Status
Current status:draft
Source discussions:
docs/maintainers/conversation-records/agent-platform/2026-03-24-probe-capability-contract-v0-draft.mddocs/maintainers/conversation-records/agent-platform/2026-03-24-p0-freeze-result-accepted.md
Changelog
- 2026-03-24: Initial skeleton created.
- 2026-03-24: Added normative v0 capability fields and validation rules.