Skip to content

Implement CG-013 Podman-first detonation runtime provider and sandbox image flow#12

Open
ysqander wants to merge 1 commit intomainfrom
codex/implement-ticket-cg-013
Open

Implement CG-013 Podman-first detonation runtime provider and sandbox image flow#12
ysqander wants to merge 1 commit intomainfrom
codex/implement-ticket-cg-013

Conversation

@ysqander
Copy link
Copy Markdown
Owner

Motivation

  • Provide the detonation runtime foundation required by CG-013 so behavioral detonation can be built on a Podman-first provider with Docker parity.

Description

  • Add a new runtime provider module packages/detonation/src/runtime-provider.ts exposing createDetonationRuntimeProvider, a DetonationRuntimeProvider contract, and sandbox image preparation helpers with a defaultSandboxImageTag.
  • Add a repeatable sandbox Containerfile at packages/detonation/sandbox/Containerfile used by the provider build/pull logic.
  • Export the new runtime-provider APIs from the detonation package entrypoint via packages/detonation/src/index.ts and make the preflight benchmark prefer Podman explicitly.
  • Extend detonation tests in packages/detonation/src/index.test.ts to validate Podman-first preference and shared image-cache/build semantics for Podman and Docker.
  • Update planning docs to mark CG-013 complete and adjust the remaining detonation-ticket snapshot (docs/clawguard-ticket-breakdown.md and docs/clawguard-development-plan.md).

Testing

  • Ran pnpm lint and the linter reported no blocking issues.
  • Ran pnpm build and pnpm typecheck and both completed successfully.
  • Ran pnpm --filter @clawguard/detonation test and the detonation package tests passed (validating runtime preference and image cache/build semantics).
  • Ran full pnpm test; the run exited non-zero due to an existing unrelated failure in the discovery tests (buildSkillSnapshot returns read-failed when a file cannot be read) that appears environment-dependent and is not caused by these changes.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant