feat(troubleshoot): OR max-consecutive-system-exceptions playbook + test - #2256
Conversation
…s playbook + test Adds job-consecutive-system-exceptions playbook: the abort "maximum number of consecutive system exceptions was reached" is a symptom, not the cause. The real fault is the System Exception that recurs on every transaction (broken selector, app/dependency down). Find and fix the recurring underlying exception; raising the threshold only delays the abort. Registers it in the Orchestrator summary. Adds the rpa-consecutive-system-exceptions faithful-replay scenario: a SelectorNotFoundException on "Click Submit" recurs on all five transactions before the abort; the root cause lives only in logs/traces (bypass-resistant). Validated 3/3 (skill_triggered + llm_judge both 1.0) on coder-eval with -m claude-opus-4-6. Closes a committed gap from the OR Diagnostic Agent backlog. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @Stefan-Virgil's task in 4m 46s —— View job PR Review: OR max-consecutive-system-exceptions playbook + test
SummaryAdds a new Orchestrator playbook ( Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | Playbook has valid confidence: medium frontmatter |
| E2E Tests | OK | Single e2e scenario with canonical skill_triggered + llm_judge; 3/3 pass claimed |
| Skill Body | OK | Playbook is well-structured, terse, and prescriptive |
| References & Assets | OK | Summary table updated, link resolves, mock fixtures consistent |
| Repo Hygiene | OK | CODEOWNERS covered, no secrets, no cross-skill deps, scoped changes |
Issues for Manual Review
- Domain accuracy: The playbook states that
MaxConsecutiveSystemExceptionsis configured via "REFrameworkConfig.xlsx/ an asset." Verify this matches the current REFramework template's configuration mechanism — if newer templates use a different config surface, the playbook should reflect that.
Conclusion
Clean PR. The playbook and test follow all suite conventions, the task YAML matches the canonical contract exactly, and the 3/3 pass rate with llm_judge: 1.0 demonstrates the scenario works as intended. No issues found that would block merge.
|
Claude finished @Stefan-Virgil's task in 2m 1s —— View job Coder-eval task lint (advisory)1 task YAML changed; verdicts: 0 Critical, 0 High, 0 Medium, 0 Low, 1 OK. Rubric: .claude/commands/lint-task.md. This check is advisory and never blocks merge. Evidence of passing run
Per-task lint
|
lifecycle:* is required on every task per tests/README.md tag taxonomy; sibling tasks already carry it. Read-only investigation scenario -> discover. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Rename data/m/r fixtures to sha1(match)[:10].json (suite convention) and repoint manifest.json. - Remove redundant 'project source is in the current working directory' prompt pointer (sim answers on request). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…s-exceptions fixtures The mock dispatcher emits each matched fixture verbatim to stdout, so the synthetic `_doc` annotation fields leaked the diagnosis to the agent. Stripped `_doc` from every response fixture, matching the convention every merged scenario follows. The log/trace content (the abort message plus the five recurring SelectorNotFoundException transactions) is the raw evidence the agent must analyze and is unchanged. Manifest `_doc` retained (never emitted). Behavior-preserving. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ve summary conflict, add sim fallback - Resolve orchestrator/summary.md by union (keep #2256's max-consecutive-system-exceptions row + output-too-large / generic-exit-code / #2225's 4 rows now on main) - Add the '.' source-location fallback to the simulation (source-based; the recurring SelectorNotFoundException root cause is in the workflow) Distinct from queue-items-failing (per-item failures) — this is the REFramework max-consecutive-SystemException circuit-breaker abort. Fixtures already hashed + _doc-cleaned by author; no tempdir pin; prompt quotes only the symptom; no 'jobs get --level' invalid flag.
What
Adds the maximum consecutive system exceptions Orchestrator playbook and its faithful-replay test — closing a committed gap from the OR Diagnostic Agent backlog.
Playbook —
job-consecutive-system-exceptions.mdThe maximum number of consecutive system exceptions was reached. Consecutive retry number: <N>is a symptom, not the cause. The real fault is the System Exception that recurs on every transaction (broken selector, app not launching, down dependency) until the REFramework threshold trips. Find the recurring underlying exception in logs/traces and fix that — raisingMaxConsecutiveSystemExceptionsonly delays the abort. Registered inproducts/orchestrator/summary.md.Test —
rpa-consecutive-system-exceptionsAn
OrderReconciliationREFramework job aborts after 5 consecutive system exceptions; the logs/traces show aSelectorNotFoundExceptionon "Click Submit" on every transaction. The job Info gives only the abort message, so the root cause is reachable only by reading logs/traces — an agent that stops at the abort (or suggests raising the threshold) scores low. Graded on identifying the recurring selector failure and recommending a selector fix.Validation
coder-eval
-m claude-opus-4-6,--repeats 3 -j 3: 3/3 SUCCESS —skill_triggered= yes andllm_judge= 1.0 on all replicates.Notes
skill_triggered+llm_judge.e2e, pertests/tasks/uipath-troubleshoot/CLAUDE.md.🤖 Generated with Claude Code