Skip to content

docs(spec): focus acp on agent launch configuration - #129

Merged
cdupuis merged 2 commits into
docker:mainfrom
rumpl:docs/acp-launch-configuration
Oct 16, 2026
Merged

cdupuis merged 2 commits into
docker:mainfrom
rumpl:docs/acp-launch-configuration

Conversation

@rumpl

@rumpl rumpl commented Oct 15, 2026

Copy link
Copy Markdown
Member

What changed and why

The ACP capability had become too intertwined with ACP itself: it defined runtime protocol handling, session behavior, and agent implementation guarantees. We only want a way to launch an ACP session inside a sandbox. Narrow the capability page to the launch command, environment, protocol major version, agent identity, and composition rules.

Remove the runtime protocol duties and adapter guarantees, together with their conformance waivers. Align schema descriptions, Go comments, and authoring and migration guides with the launch-focused contract. Rewrite agent-sessions@1 in the same configuration-focused style while retaining its existing semantics and requirement anchors.

Normative accounting

  • Remove acp@1/sandbox-launch and acp@1/provided-agent as standalone runtime duties; retain the launch settings and composed-agent association as configuration semantics.
  • Remove acp@1/negotiated-features, no-host-io, session-identity, single-driver, transport, noninteractive-auth, native-sessions, load-session, sandbox-io, mcp-servers, permission-posture, model-effort, background-work, background-work-v2, shutdown, concurrency, and hook-session-id, along with their waivers.
  • Retain acp@1/optional-for-compatibility, config-valid, agent-unique, declaration-grants-nothing, and composition. Their recorded waivers point to TestACPExamples, TestACPValidation and TestACPSchema, TestACPAgentUniqueness, TestACPSurface, and TestACPComposition, respectively.
  • Preserve every agent-sessions@1 requirement anchor and its existing coverage accounting.

No descriptor fields are added, renamed, or removed; decoding, validation, defaults, and composition behavior are unchanged. The ACP contract is narrowed in place under @1; this draft contract change needs maintainer review under the draft-stage exception in RELEASES.md.

Validation

  • Passed task validate, task lint, and task test:unit.
  • Passed go test ./spec/... and the focused TestEveryNormativeLineCarriesAnAnchor and TestEveryStatementIsCheckedOrWaived checks after the documentation edits.
  • Passed Markdown lint and git diff --check after the final edit.
  • The full task test:tck run hit the command timeout; a subsequent run was canceled. The full suite remains unverified locally.

Release note

Simplify the ACP capability to agent launch configuration and align agent-sessions documentation with the same command-focused style.

The capability had become intertwined with ACP itself, specifying protocol handling, session behavior, and agent implementation guarantees. Keep the contract focused on the configuration needed to launch an ACP session inside a sandbox, and remove the protocol requirements and their conformance waivers.

Align agent-sessions documentation with the same command-focused style while preserving its requirements. Keep descriptor fields and composition behavior unchanged.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl
rumpl requested a review from a team as a code owner October 15, 2026 20:18
Copilot AI balanced review requested due to automatic review settings October 15, 2026 20:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The in-place ACP contract change requires maintainer approval under the documented draft-stage exception.

1 open finding
What changed in this PR

Narrows ACP to agent launch configuration while leaving descriptor fields and implementation behavior unchanged.

Changes:

  • Removes ACP protocol duties and their conformance waivers.
  • Aligns schema descriptions, Go comments, and Kit guides.
  • Rewrites agent-sessions documentation while retaining requirement anchors.
File Description
tck/​sandbox/​coverage_test.go Removes obsolete ACP waivers.
spec/​types.go Updates ACP capability comment.
spec/​acp.go Uses launch-focused comments.
skills/​migrate-kit-to-v3/​SKILL.md Revises ACP migration guidance.
skills/​migrate-kit-to-v3/​FIELD-MAPPING.md Explains ACP launch fields.
skills/​create-kit-v3/​SKILL.md Removes protocol guarantees from authoring guidance.
schema/​capabilities/​com.docker.sandbox/​acp@1.schema.json Updates field descriptions only.
docs/​spec/​capabilities/​com.docker.sandbox/​agent-sessions@1.md Reorganizes command documentation.
docs/​spec/​capabilities/​com.docker.sandbox/​acp@1.md Replaces protocol duties with launch configuration.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/spec/capabilities/com.docker.sandbox/agent-sessions@1.md Outdated
The merger retains sole declarations, collapses identical restatements, and rejects conflicting contributions from workloads or mixins. Match the capability page to the existing implementation and SPEC-v3 §9.5 rather than implying mixin declarations are discarded.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Copilot AI balanced review requested due to automatic review settings October 15, 2026 20:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Narrowing the existing ACP contract in place requires maintainer approval under the draft-stage exception.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@cdupuis
cdupuis merged commit 210ccc3 into docker:main Oct 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants