Agent Sandbox Registry

python-sdk

Decision: Change envd_inject default from True to False

无中文版

.agents/notes/implemented/feature/2026-09-28-envd-inject-default-false.md

Decision: Change envd_inject default from True to False

Status: implemented Implemented: 2026-09-28

Problem

When envd_inject=True, the FC platform's template build compares copy.image (target image) with the source image. If they match, the platform considers the build a no-op and skips the entire build step, leaving the target image non-functional. Sandboxes created from such templates fail immediately with StreamReset because the expected runtime (envd) was never injected.

This is a platform-side bug: the image-equality short-circuit ignores the fact that envd injection is a required transformation even when source == target.

Decision

Set envd_inject to False by default in DockerBuilder.deploy() and fc_template.create_template(). Templates are deployed with raw ACR images that include their own CMD/entrypoint.

Consequence

Alternatives considered

Files changed

Acceptance criteria