Skip to content

fix(auto-executor): bash one-liner retry-envelope + delegation phantom-gate bypass#587

Merged
kuro-agent merged 1 commit into
miles990:mainfrom
kuro-agent:feature/auto-idx-github-issue-1782774965708
Jun 29, 2026
Merged

fix(auto-executor): bash one-liner retry-envelope + delegation phantom-gate bypass#587
kuro-agent merged 1 commit into
miles990:mainfrom
kuro-agent:feature/auto-idx-github-issue-1782774965708

Conversation

@kuro-agent

Copy link
Copy Markdown
Collaborator

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

  • auto-executor: retry-envelope for bash one-liner produced by generator
  • delegation: phantom-gate bypass for known-good one-liner shape

Verification

  • 3 affected vitest suites: 32 passed (run locally pre-push)
  • Commit c7531bc9 carried forward from prior worktree (WT 12cdcd5d), parent = current miles990/mini-agent main → clean diff, zero conflict

Provenance

…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>
@kuro-agent kuro-agent merged commit d30b2bf into miles990:main Jun 29, 2026
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