Skip to content

fix: strip volatile output from exec result hash to fix no-progress detection (#93917) - #94050

Closed
sunlit-deng wants to merge 7 commits into
openclaw:mainfrom
sunlit-deng:fix/issue-93917-Bug--genericRepeat-critical-ci
Closed

sunlit-deng wants to merge 7 commits into
openclaw:mainfrom
sunlit-deng:fix/issue-93917-Bug--genericRepeat-critical-ci

Conversation

@sunlit-deng

@sunlit-deng sunlit-deng commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Repeated failing exec calls never tripped the no-progress circuit breaker when their output text varied across calls. This covers both hard failures (command-not-found, timeouts, killed processes) and — the canonical #93917 case — ordinary nonzero exits like grep exit 1 or SSH/Docker retries, whose stdout/stderr carries fresh timestamps, PIDs, or session ids each retry while the actual outcome is identical. The stuck agent kept looping forever.

Fixes #93917

Why This Change Was Made

Foreground exec reports an ordinary nonzero exit (e.g. exit 1) as status: "completed", not failed — only shell 126/127, timeout, signal, and abort become failed. The previous fix stripped volatile output only on the failed branch, so the most common loop (a command that keeps exiting nonzero with changing output) still hashed its output and never accumulated a streak.

hashExecToolOutcome now fingerprints any nonzero outcome by stable facts (status, exitCode, timedOut, exitSignal, failureKind) and drops the volatile output, whether the result is completed with a nonzero code or a hard failed. Exit 0 still keeps its output in the hash, because changing output from a successful command is real progress. A shared hashStableExecFailure helper backs both branches so the two paths cannot drift.

The foreground producers carry those discriminators end to end (ExecToolDetails propagates failureKind/exitSignal, tightened to ExecToolFailureKind), addressing @vincentkoc's earlier finding that they were absent on the real result.

For hard failed outcomes that carry no exit code and no signal — the broad catch-all kinds (node-run-failed, runtime-error, approval-denied) — the exec producers now carry the actual failure reason as a structured failureReason (the node error / runtime error / gateway denial reason, not the volatile leading stdout). hashStableExecFailure fingerprints that failureReason, keeping stable text including numeric status/error codes (500 vs 503) and stripping only per-instance identifiers (gateway ids, uuids, hex handles). Genuinely different failures — including two node failures with identical leading stdout but different errors — stay distinct instead of collapsing into one no-progress streak, while repeats of the same failure (varying only in a unique id) still accumulate. Outcomes that already carry a real exit code or signal (including the completed nonzero path) keep their structured fingerprint and are unaffected.

User Impact

Stuck agents that loop retrying the same failing exec command — including the common exit 1 / SSH / Docker retry loop — now hit the global circuit breaker after the configured threshold instead of burning tokens forever. Successful commands with changing output stay progress-sensitive, and genuinely different failure modes keep distinct fingerprints.

Changes

File Change
src/agents/tool-loop-detection.ts Split the completed branch by exit code: nonzero exits use the stable failure fingerprint; exit 0 keeps output. Extract shared hashStableExecFailure for the completed-nonzero and failed paths. For failed outcomes with null exit code and signal, fingerprint the producer's stable failureReason (not the volatile stdout first line) so distinct catch-all failures stay distinct
src/agents/bash-tools.exec-types.ts, bash-tools.exec-runtime.ts, bash-tools.exec.ts, bash-tools.exec-host-node-phases.ts, bash-tools.exec-host-gateway.ts Propagate failureKind/exitSignal and a stable failureReason (the actual node/runtime/gateway error, not stdout) through the real foreground producers
src/agents/tool-loop-detection.exec-foreground.test.ts Real-tool regression: repeated nonzero completed exec with volatile output trips the breaker; exit-0 volatile output does not. Also drives the production before_tool_call hook (wrapToolWithBeforeToolCallHook) to prove the wrapped exec is vetoed with deniedReason:"tool-loop"
src/agents/tool-loop-detection.test.ts Unit coverage for nonzero-completed escalation, failure-kind / exitSignal distinctness, plus distinct catch-all failure reasons (including identical-stdout/different-error and numeric-code cases) staying distinct while volatile-only variation still collapses
docs/tools/loop-detection.md Document that any nonzero exit is fingerprinted by stable failure facts; exit 0 stays output-sensitive

Evidence

Live agent run — real DeepSeek model trips the production breaker (exact head)

An embedded agent run at this PR's head (openclaw agent --local), driven by a real DeepSeek model, was told to keep calling exec with the same failing command sh -c 'date +%s%N; exit 1'. That command prints a fresh timestamp and exits 1 on every call — the canonical #93917 volatile-output-with-nonzero-exit case. Loop detection was enabled with low thresholds (criticalThreshold: 3), and the production circuit breaker fired in the real run and blocked the loop:

$ openclaw agent --local --model deepseek/deepseek-chat \
    --message "call exec with sh -c 'date +%s%N; exit 1' repeatedly, never change it"
[provider-transport-fetch] [model-fetch] response provider=deepseek model=deepseek-chat status=200   (real model turns drive the exec tool)
[agents/loop-detection] Loop warning: exec called 2 times with identical arguments
[agents/loop-detection] Critical generic loop detected: exec repeated 3 times
[agents/tools] Blocking exec due to critical loop: CRITICAL: Called exec with identical arguments and identical outcomes 3 times. Session execution blocked to prevent runaway loops.
[diagnostic] tool loop: sessionKey=agent:main:proof93917-live1 tool=exec level=critical action=block detector=generic_repeat count=3
[agents/agent-command] [agent] run ... ended with stopReason=stop

The command's stdout changes every call (a fresh timestamp), yet loop detection records the outcomes as identical — the nonzero exit is fingerprinted by stable facts and the volatile output is dropped — so the no-progress streak accumulates and the breaker blocks the call. Before this fix the changing output hashed differently every call, the streak never formed, and the agent would loop forever. Model, provider, real exec child process, and the loop-detection breaker here are all the production path.

Live proof — the real changed module trips the breaker (before/after)

nonzero-exit-live-proof.ts imports the real changed module (src/agents/tool-loop-detection.ts) and drives its exported recordToolCall / recordToolCallOutcome / detectToolCallLoop with exec details shaped exactly as the real foreground producer emits for a normal exit (status:"completed", numeric exitCode, exitSignal:null, aggregated text with the trailing (Command exited with code N)). Output is fresh every call — the #93917 volatile-output case. The exit-0 run is also how a nonzero exit behaved before this fix (output-sensitive), so it is the pre-fix control.

$ node_modules/.bin/tsx nonzero-exit-live-proof.ts
[agents/loop-detection] Loop warning: exec called 2 times with identical arguments
[agents/loop-detection] Critical generic loop detected: exec repeated 3 times
[agents/loop-detection] Global circuit breaker triggered: exec repeated 4 times with no progress
after  (exit 1, volatile output) -> breaker: {"detector":"global_circuit_breaker","level":"critical","count":4}
[agents/loop-detection] Loop warning: exec called 2 times with identical arguments
[agents/loop-detection] Loop warning: exec called 5 times with identical arguments
before (exit 0, volatile output) -> breaker: null
RESULT: PASS
  • After fix: repeated nonzero completed exec with volatile output trips global_circuit_breaker at the threshold.
  • Before/control: exit 0 with volatile output stays progress-sensitive — no breaker — proving exit-0 semantics are unchanged.
nonzero-exit-live-proof.ts
import {
  detectToolCallLoop,
  recordToolCall,
  recordToolCallOutcome,
} from "./src/agents/tool-loop-detection.js";

const LOOP_CONFIG = {
  enabled: true,
  warningThreshold: 2,
  criticalThreshold: 3,
  globalCircuitBreakerThreshold: 4,
} as const;

// Mirror the real foreground exec result for a normal exit.
function completedExecResult(exitCode: number, freshOutput: string) {
  const exitMsg = exitCode !== 0 ? `\n\n(Command exited with code ${exitCode})` : "";
  const aggregated = `${freshOutput}${exitMsg}`;
  return {
    content: [{ type: "text", text: aggregated }],
    details: { status: "completed", exitCode, exitSignal: null, durationMs: 100, aggregated, timedOut: false },
  };
}

function runScenario(label: string, exitCode: number) {
  const params = { command: `run-${label}` };
  const state: { toolCallHistory?: unknown[] } = {};
  let breaker: { detector?: string; level?: string; count?: number } | undefined;
  for (let i = 1; i <= LOOP_CONFIG.globalCircuitBreakerThreshold + 1; i += 1) {
    const callId = `${label}${i}`;
    const result = completedExecResult(exitCode, `line ${i} @ ${label}-${i * 7919}`);
    recordToolCall(state as never, "exec", params, callId, LOOP_CONFIG as never);
    recordToolCallOutcome(state as never, {
      toolName: "exec", toolParams: params, toolCallId: callId, result, config: LOOP_CONFIG as never,
    });
    const detect = detectToolCallLoop(state as never, "exec", params, LOOP_CONFIG as never);
    if (detect.stuck && detect.detector === "global_circuit_breaker") {
      breaker = { detector: detect.detector, level: detect.level, count: detect.count };
      break;
    }
  }
  return breaker;
}

const nonzero = runScenario("nz-exit1", 1);
console.log("after  (exit 1, volatile output) -> breaker:", JSON.stringify(nonzero ?? null));
const zero = runScenario("z0-exit0", 0);
console.log("before (exit 0, volatile output) -> breaker:", JSON.stringify(zero ?? null));
console.log("RESULT:", nonzero?.detector === "global_circuit_breaker" && !zero ? "PASS" : "FAIL");

Real foreground exec regression (production tool path)

tool-loop-detection.exec-foreground.test.ts drives the actual exec tool (createOpenClawCodingTools -> execTool.execute) against a real child process, then feeds each real result through the production recorders and detector. It proves the nonzero case with a real exit 1 (a real status:"completed", exitCode:1 result) tripping the breaker despite fresh output, keeps the exit-0 control below the breaker, and still covers the hard failed command-not-found / timeout paths and their distinctness. Two added cases also drive the real before_tool_call orchestration hook (wrapToolWithBeforeToolCallHook) — the same path a live agent turn runs — and prove the wrapped exec is vetoed with deniedReason:"tool-loop" after the repeated volatile nonzero exits, while exit-0 volatile output is never vetoed. The tool-loop-detection.test.ts unit suite additionally proves that distinct catch-all failure reasons — including ones differing only by a stable numeric code (500 vs 503) — stay distinct, while repeats varying only in a per-instance id still collapse to the breaker.

$ node scripts/run-vitest.mjs src/agents/tool-loop-detection.test.ts src/agents/tool-loop-detection.exec-foreground.test.ts
 Test Files  2 passed (2)
      Tests  68 passed (68)

AI-assisted: built with Codex

@clawsweeper

clawsweeper Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed July 17, 2026, 10:32 AM ET / 14:32 UTC.

Summary
The PR changes exec loop-detection hashing and foreground failure metadata so repeated nonzero outcomes with volatile output can accumulate a no-progress streak and trigger loop blocking.

PR surface: Source +144, Tests +582, Docs +11. Total +737 across 11 files.

Reproducibility: yes. from source: repeat the same exec arguments with a nonzero exit while the output carries meaningful changing state, with occasional other tool calls; the proposed hash remains identical and matching history continues accumulating.

Review metrics: 1 noteworthy metric.

  • Exec outcome policy: 1 outcome class changed. Every completed nonzero exec result becomes output-insensitive, so this single classification change controls both the intended loop fix and the false-positive availability risk.

Stored data model
Persistent data-model change detected: serialized state: src/agents/tool-loop-detection-exec-fingerprint.ts, vector/embedding metadata: docs/tools/loop-detection.md. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #93917
Summary: This PR is the candidate fix for the canonical volatile exec-output fingerprint bug; the other loop reports concern distinct counting and veto-record behavior.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦞 diamond lobster
Patch quality: 🦪 silver shellfish
Result: blocked by patch quality or review findings.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Get an agent-runtime owner’s decision on completed-nonzero progress semantics.
  • [P2] Add a regression showing meaningful changing nonzero output does not accumulate as identical while volatile-only variation still does.

Risk before merge

  • [P1] A legitimate command can remain nonzero while its changing output shows incremental recovery or useful state changes; this patch treats those outcomes as identical and may block the agent.
  • [P1] Because matching history ignores intervening different calls, the false-positive streak can survive other tool activity instead of representing only consecutive identical retries.
  • [P1] The permanent policy for completed nonzero output—discard it, normalize it, or retain a bounded progress signal—has not been confirmed by an agent-runtime owner.

Maintainer options:

  1. Preserve progress before merge (recommended)
    Revise completed-nonzero fingerprinting to distinguish meaningful normalized progress, then add regression cases for volatile-only and genuinely changing output.
  2. Accept stricter loop blocking
    Merge the output-insensitive policy only after an agent-runtime owner explicitly accepts and documents the legitimate-retry false-positive tradeoff.

Next step before merge

  • [P2] An agent-runtime owner must choose the completed-nonzero progress policy before the contributor can make the final bounded repair.

Maintainer decision needed

  • Question: Should changing output from a completed nonzero exec count as progress, or should every same-command result with the same nonzero exit metadata be treated as identical?
  • Rationale: Both choices affect availability: output-sensitive hashing permits volatile retry loops, while unconditional output removal can terminate legitimate recovery workflows, so automation should not select the product policy.
  • Likely owner: vincentkoc — They already reviewed the foreground exec contract on this PR and have recent ownership signals across the affected agent-runtime and exec paths.
  • Options:
    • Preserve normalized progress (recommended): Keep a bounded normalized output signal for completed nonzero exits while stripping known timestamps and per-attempt identifiers so genuine progress resets the streak.
    • Accept output-insensitive failures: Treat all completed nonzero results with the same structured metadata as no progress and explicitly accept the legitimate-retry false-positive risk.

Security
Cleared: The patch changes in-memory exec result classification and types without broadening permissions, secret access, dependency execution, or supply-chain surfaces.

Review findings

  • [P1] Preserve progress in completed nonzero exec retries — src/agents/tool-loop-detection.ts:205-206
Review details

Best possible solution:

Preserve structured failure identity while retaining a bounded progress signal for completed nonzero results, such as hashing normalized output with known volatile identifiers removed, and add coverage for both volatile-only retries and genuinely progressing nonzero retries.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: repeat the same exec arguments with a nonzero exit while the output carries meaningful changing state, with occasional other tool calls; the proposed hash remains identical and matching history continues accumulating.

Is this the best way to solve the issue?

No, not yet; stable structured failure metadata is the right owner boundary, but discarding all completed-nonzero output is broader than necessary and creates a competing availability failure mode.

Full review comments:

  • [P1] Preserve progress in completed nonzero exec retries — src/agents/tool-loop-detection.ts:205-206
    This still hashes every completed nonzero result only by failure metadata. Because getNoProgressStreak skips intervening different calls, a legitimate retry whose output changes from an early recovery state to a later one can accumulate as identical and be blocked. Retain a normalized progress signal for completed nonzero outcomes, or reset on intervening progress, while keeping the volatile timestamp case collapsed.
    Confidence: 0.95

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b319493a529c.

Label changes

Label changes:

  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.

Label justifications:

  • P2: This is a normal-priority agent-loop reliability fix with meaningful but bounded availability impact.
  • merge-risk: 🚨 availability: The new fingerprint can either stop runaway retries as intended or prematurely block legitimate nonzero exec workflows that are making observable progress.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR provides an exact-head live model run through the production exec and loop-blocking path, supported by real child-process and wrapped-hook evidence; this proves the intended fix but not the false-positive case.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR provides an exact-head live model run through the production exec and loop-blocking path, supported by real child-process and wrapped-hook evidence; this proves the intended fix but not the false-positive case.
Evidence reviewed

PR surface:

Source +144, Tests +582, Docs +11. Total +737 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 8 191 47 +144
Tests 2 584 2 +582
Docs 1 14 3 +11
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 789 52 +737

What I checked:

Likely related people:

  • vincentkoc: Identified the real foreground-result contract gap on this PR and has recent merged work across the exec and agent-runtime surfaces. (role: reviewer and recent agent-runtime contributor; confidence: high; commits: 87b2a6a, 6f2e804, b742909; files: src/agents/bash-tools.exec.ts, src/agents/bash-tools.exec-types.ts, src/agents/tool-loop-detection.ts)
  • steipete: Committed the configurable loop-detection implementation and later guard fixes in the central module. (role: loop-detection feature contributor; confidence: high; commits: 076df941a326, 83a8b78; files: src/agents/tool-loop-detection.ts, src/agents/tool-loop-detection.test.ts, docs/tools/loop-detection.md)
  • akramcodez: Authored the original merged stuck-loop detection feature that established this history and detector boundary. (role: introduced behavior; confidence: high; commits: e5eb5b3e43d7; files: src/agents/tool-loop-detection.ts, src/agents/tool-loop-detection.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (37 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-14T21:36:08.370Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-14T21:53:48.603Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-14T22:11:22.852Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-14T22:30:04.252Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-14T22:56:01.594Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-14T23:21:26.295Z sha 512339c4c03a854cadb7601c33853c121f5588bc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-16T03:59:47.832Z sha 93add1267f13332ba305992f5a07946b327409b2 :: found issues before merge. :: [P1] Preserve progress across interleaved nonzero exec retries
  • reviewed 2026-07-17T00:01:31.681Z sha 0d737764690daf98ea61b3479692804651ac9ca0 :: found issues before merge. :: [P1] Preserve progress across interleaved nonzero exec retries

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jun 17, 2026
@sunlit-deng
sunlit-deng force-pushed the fix/issue-93917-Bug--genericRepeat-critical-ci branch from 75df1b9 to 8b30b85 Compare June 29, 2026 02:40
@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper clawsweeper Bot added the rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. label Jul 12, 2026
@sunlit-deng
sunlit-deng force-pushed the fix/issue-93917-Bug--genericRepeat-critical-ci branch from 32f191d to d846372 Compare July 12, 2026 03:33
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 12, 2026
@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 12, 2026
@sunlit-deng
sunlit-deng force-pushed the fix/issue-93917-Bug--genericRepeat-critical-ci branch from d846372 to 177d6dd Compare July 12, 2026 12:53
@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 12, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@sunlit-deng

Copy link
Copy Markdown
Contributor Author

@vincentkoc gentle ping — the failureKind/exitSignal propagation you pointed out is in now. Is the nonzero-output policy direction acceptable to you, or would you prefer I narrow the fingerprint to keep a progress signal for nonzero commands? Happy either way, just need a direction. Thanks!

@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

2 similar comments
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

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

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L stale Marked as stale due to inactivity status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: genericRepeat critical/circuit-breaker never fires when exec results vary slightly

2 participants