Agent Sandbox Registry

python-sdk

Decision: No Backward Compatibility for the Capability Model

无中文版

.agents/notes/implemented/architecture/2026-09-03-no-backward-compat-capability.md

Decision: No Backward Compatibility for the Capability Model

Status: implemented

Problem

Introducing the command capability model (vocabulary + gating) changes runtime behavior: some calls that previously reached the transport layer now raise CapabilityNotSupportedError. We must decide whether to preserve the old "everything is available" behavior for existing callers and templates.

Decision

Do not preserve backward compatibility. The project is not released and there are currently zero published templates, so there is no installed base or prior behavior to protect. The capability model is adopted as the canonical behavior: - No compatibility shim, feature flag, or "legacy mode" is added. - Existing tests are adjusted to the new model rather than the model being bent to keep old tests green. - Any test that implicitly assumed unconditional shell/upload/download is updated to declare or assume DEFAULT_CAPABILITIES explicitly.

API Design

N/A — this decision does not involve API changes.

Alternatives considered

Dependencies

Test Strategy

Acceptance criteria

Consequences