Skip to content

feat(hac): Built Docker role images currently carry no org.holon.source-commit label, so merged e... - #482

Open
thomashan wants to merge 7 commits into
mainfrom
I-1796253987-hac-image-source-commit-label/P-1796254010-CLA-CO5.5/E-1796254347-CLA-CO5.5/_
Open

thomashan wants to merge 7 commits into
mainfrom
I-1796253987-hac-image-source-commit-label/P-1796254010-CLA-CO5.5/E-1796254347-CLA-CO5.5/_

Conversation

@thomashan

Copy link
Copy Markdown
Collaborator

Summary

Built Docker role images currently carry no org.holon.source-commit label, so merged engine fixes can remain undeployed in stale container images while host preflight runs unseen.

Goal:
Stamp org.holon.source-commit on every Holon image via build args/labels in apps/sandbox-executor/Dockerfile, apps/sandbox-executor/docker-bake.hcl, and apps/sandbox-executor/build_all_images.sh, and update apps/sandbox-executor/src/sandbox_executor/preflight.py to read the runner image's org.holon.source-commit label, report any mismatch against the host commit in preflight results, and fail launch unless an explicit override is set. Add hermetic unit tests in apps/sandbox-executor/tests/test_preflight.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show.

Key Changes

  • Implement Built Docker role images currently carry no org.holon.source-commit label, so merged engine fixes can remain undeployed in stale container images while host preflight runs unseen.

References

None

Plan & Validation Metadata

  • Plan ID: P-1796254010-CLA-CO5.5
  • Expected Value (EV): 47.75
  • Agent: claude-agent
  • Model: claude-opus-5-5

Holon Intent Agent and others added 7 commits December 2, 2026 23:26
Description:
Built Docker role images currently carry no org.holon.source-commit label, so merged engine fixes can remain undeployed in stale container images while host preflight runs unseen.

Goal:
Stamp org.holon.source-commit on every Holon image via build args/labels in apps/sandbox-executor/Dockerfile, apps/sandbox-executor/docker-bake.hcl, and apps/sandbox-executor/build_all_images.sh, and update apps/sandbox-executor/src/sandbox_executor/preflight.py to read the runner image's org.holon.source-commit label, report any mismatch against the host commit in preflight results, and fail launch unless an explicit override is set. Add hermetic unit tests in apps/sandbox-executor/tests/test_preflight.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show.

Generated by Holon Intent Agent at 2026-12-02T23:26:35Z
…mage-source-commit-label/P-1796254010-CLA-CO5.5/_
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.

1 participant