ContextPack
Projects the current repo state, impacted contracts, canon packs, policy bindings, and acceptance checks into one task-scoped envelope.
ContractSpec docs
Build on the OSS foundation first. Use Studio when you want the operating layer on top.
Primary docs
Guard coding-agent edits and shell actions with task-scoped context, plan packets, patch verdicts, and review packets.
Secondary reading
Philosophy, comparisons, and educational pages that support the main OSS path without replacing it.
OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Spec pack
Connect is the adapter layer between agent-native actions and the existing ContractSpec stack. It reuses control-plane, ACP, workspace, knowledge, and harness primitives to explain what the agent is trying to do before a file edit or shell command lands.
Connect stays narrow on purpose. It projects local evidence, maps its verdicts back to runtime semantics, and leaves the canonical system contracts where they already live.
The CLI and the workspace service already implement the pack. The main workflow is local initialization, task projection, verification, then optional review sync.
contractspec connect init --scope workspace
contractspec connect adoption sync --json
printf '{"goal":"Prefer an existing release helper before adding a new one"}' | contractspec connect adoption resolve --family sharedLibs --stdin --json
contractspec connect context --task refactor-docs --paths packages/libs/contracts-spec/src/control-plane/contracts.ts --json
printf '{"objective":"Document the control-plane contract surface","commands":["bun run typecheck"]}' | contractspec connect plan --task refactor-docs --stdin --json
printf '{"operation":"edit","path":"packages/libs/contracts-spec/src/control-plane/contracts.ts"}' | contractspec connect verify --task refactor-docs --tool acp.fs.access --stdin --json
printf 'bun run typecheck' | contractspec connect verify --task refactor-docs --tool acp.terminal.exec --stdin --json
contractspec connect review list --json
contractspec connect replay <decisionId> --jsonEvery Connect command is there to emit or inspect one of these reviewable objects under `.contractspec/connect/*`.
Projects the current repo state, impacted contracts, canon packs, policy bindings, and acceptance checks into one task-scoped envelope.
Compiles a candidate objective into ACP-aware steps plus explicit refs back to control-plane intent, plan compile, and plan verify contracts.
Classifies one file edit or shell command as permit, rewrite, require_review, or deny, with runtime-linked control-plane state when available.
Persists the evidence a human needs when Connect escalates, while keeping the local artifact trail authoritative in OSS mode.
Connect adoption keeps reuse guidance in the same local control surface. Before a new contract family, helper, or runtime abstraction lands, Connect can mirror the bundled catalog and resolve the best reuse candidate by family.
Read the control-plane runtime page when you want the underlying governance contracts, then use the Studio bridge only if your team wants centralized review queues on top of the OSS-local evidence path.
Define AI-native surfaces as typed bundle specs that resolve into personalized, auditable runtime plans.
Route multimodal authoring work through governed builder contracts, provider policies, readiness gates, and mobile review flows.
Why ContractSpec
Keep educational and comparison content reachable without letting it define the primary OSS learning path.