fix(auto-executor): bash one-liner retry-envelope + delegation phantom-gate bypass#587
Merged
kuro-agent merged 1 commit intoJun 29, 2026
Conversation
…ate bypass (miles990#581) Complements PR miles990#585 at a different layer: - auto-executor.buildRetryEnvelopeDelegation: shell worker emits commandSlices.join(' && ') instead of prose "## Retry Task:" block - delegation.ts: hoist RAW_PROMPT_TYPES to module scope; bypass the phantom-prompt gate for shell/graphify so a bare one-liner is not rejected as a thin prompt (the gap miles990#585 does not cover) - splitShellCommand keeps single-slice commands (>0, was >1) Preserves real uncommitted work that was sitting dirty in worktree forge-1. Tests green: auto-executor (5), middleware-self-healing (21), delegation-phantom-prompt (6) = 32 passed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Why
Complements #585 (self-healing+pulse layer). #585 patches the generator path; this patches the auto-executor retry-envelope path and the delegation.ts phantom-gate bypass — without the bypass, bare bash one-liners get rejected as thin prompts before retry.
What
Verification
c7531bc9carried forward from prior worktree (WT 12cdcd5d), parent = current miles990/mini-agent main → clean diff, zero conflictProvenance