Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
CG-015).Description
packages/detonation/src/prompt-runner.tsthat builds deterministic 3–5 prompt plans, extracts inline setup/install commands fromSKILL.md, inserts setup-command steps, and executes setup commands inside the prepared detonation sandbox while recording ordered execution records.packages/detonation/src/prompt-runner.test.tscovering bounded prompt selection, prompt deduplication, setup-command extraction from the staged-download fixture, execution-sequence recording, and fallback prompt synthesis.packages/detonation/src/index.tsso downstream orchestration can callbuildPromptRunnerPlanandrunPromptRunner.CG-015complete and adjust the immediate Milestone-B focus toward telemetry/enrichment (CG-016).Testing
pnpm buildsuccessfully (workspace build completed after changes). ✅pnpm typechecksuccessfully. ✅pnpm --filter @clawguard/detonation testshowed most tests passing, with two runtime-dependent smoke tests failing when no container runtime (Podman/Docker) was available in the environment.node --test packages/detonation/dist/prompt-runner.test.jsand they passed. ✅pnpm test; this surfaced an existing unrelated@clawguard/discoverytest failure in the repository state, not related to the prompt-runner changes.Codex Task