github-actions[bot]
published Jul 21, 2026, 7:52 PM · updated Jul 21, 2026, 8:24 PM
Workflow Failure
Workflow: Smoke Claude
Branch: main
Run: https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508
Warning
Engine Failure: The claude engine terminated unexpectedly.
Last agent output:
2026-07-21T19:49:53.757Z [DEBUG] Stream started - received first chunk
2026-07-21T19:49:53.757Z [DEBUG] [API:timing] first byte after 1190ms
{"type":"assistant","message":{"model":"claude-opus-4-8","id":"msg_011CdFnNtCK1RkqnAdD9r6s2","type":"message","role":"assistant","content":[{"type":"text","text":"All artifacts and the status file are written. Now let me create the required issue and report the missing tool."}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":1979,"cache_read_input_tokens":20835,"cache_creation":{"ephemeral_5m_input_tokens":1979,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard","inference_geo":"global"},"context_management":null},"parent_tool_use_id":null,"session_id":"732f3d8c-0896-4477-bc91-f847541bbcaf","uuid":"54ae77e9-8f2b-4ccc-8a01-23c4064867cf","timestamp":"2026-07-21T19:49:54.866Z","request_id":"req_011CdFnNsQgTGqVzhZSBJBGY"}
{"type":"assistant","message":{"model":"claude-opus-4-8","id":"msg_011CdFnNtCK1RkqnAdD9r6s2","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_017UGxQrDmTARq4aXr33h891","name":"Bash","input":{"command":"printf '%s' '{\"title\":\"Smoke Test: Claude - 29862564508\",\"body\":\"# Smoke Test: Claude Engine Validation\\n\\n**Run URL:** https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508\\n**Timestamp:** 2026-07-21T19:49:52Z\\n\\n## Test Results\\n\\n| # | Test | Result |\\n|---|------|--------|\\n| 1 | Read latest 2 pull requests | ❌ |\\n| 2 | `make test` succeeds | ✅ |\\n| 3 | Create artifacts directory | ✅ |\\n| 4 | `./bin/threat-detect --version` | ✅ |\\n| 5 | Write status file | ✅ |\\n\\n## Details\\n\\n- **Test 1 ❌** — Could not read the latest 2 PRs. The GitHub MCP read tools are not exposed in this execution environment and `gh` is unauthenticated (`GH_TOKEN` unset). Only PR **#585** (`fix(engine): route codex through AWF proxy and honor detection model env vars`) is inferable from the merge commit `1de8e06`.\\n- **Test 2 ✅** — `make test` (`go test -v -race ./...`) passed: all 5 packages `ok`, 0 failures (`cmd/threat-detect` ~71.8s).\\n- **Test 3 ✅** — Created `/tmp/gh-aw/smoke-claude-29862564508/` with `aw-prompts/prompt.txt` and `agent_output.json`.\\n- **Test 4 ✅** — Binary was missing, ran `make build`; `./bin/threat-detect --version` → `threat-detect 1de8e06`.\\n- **Test 5 ✅** — Wrote `/tmp/gh-aw/agent/smoke-claude-29862564508.txt`.\\n\\n## Overall Status: ❌ FAIL\\n\\nTest 1 could not be completed due to unavailable GitHub read tooling in the sandbox. Tests 2–5 passed.\"}' | safeoutputs create_issue .","description":"Create smoke test result issue"},"caller":{"type":"direct"}}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":1979,"cache_read_input_tokens":20835,"cache_creation":{"ephemeral_5m_input_tokens":1979,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard","inference_geo":"global"},"context_management":null},"parent_tool_use_id":null,"session_id":"732f3d8c-0896-4477-bc91-f847541bbcaf","uuid":"5ea9817b-675a-4056-8b51-740eb8b63e81","timestamp":"2026-07-21T19:50:02.845Z","request_id":"req_011CdFnNsQgTGqVzhZSBJBGY"}
2026-07-21T19:50:02.862Z [INFO] [Stall] tool_dispatch_start tool=Bash toolUseId=toolu_017UGxQrDmTARq4aXr33h891 permissionDecisionMs=12
2026-07-21T19:50:02.867Z [DEBUG] Spawning shell without login (-l flag skipped)
2026-07-21T19:50:04.820Z [INFO] [Stall] tool_dispatch_end tool=Bash toolUseId=toolu_017UGxQrDmTARq4aXr33h891 outcome=ok durationMs=1958
{"type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_017UGxQrDmTARq4aXr33h891","type":"tool_result","content":"[info] [safeoutputs] Bridge invoked: url=http://awmg-mcpg:8080/mcp/safeoutputs, toolsFile=/home/runner/work/_temp/gh-aw/mcp-cli/tools/safeoutputs.json, userArgs=[\"create_issue\",\".\"]\n[info] [safeoutputs] Calling tool 'create_issue' with args: {\"title\":\"Smoke Test: Claude - 29862564508\",\"body\":\"# Smoke Test: Claude Engine Validation\\n\\n**Run URL:** https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508\\n**Timestamp:** 2026-07-21T19:49:52Z\\n\\n## Test Results\\n\\n| # | Test | Result |\\n|---|------|--------|\\n| 1 | Read latest 2 pull requests | ❌ |\\n| 2 | `make test` succeeds | ✅ |\\n| 3 | Create artifacts directory | ✅ |\\n| 4 | `./bin/threat-detect --version` | ✅ |\\n| 5 | Write status file | ✅ |\\n\\n## Details\\n\\n- **Test 1 ❌** — Could not read the latest 2 PRs. The GitHub MCP read tools are not exposed in this execution environment and `gh` is unauthenticated (`GH_TOKEN` unset). Only PR **#585** (`fix(engine): route codex through AWF proxy and honor detection model env vars`) is inferable from the merge commit `1de8e06`.\\n- **Test 2 ✅** — `make test` (`go test -v -race ./...`) passed: all 5 packages `ok`, 0 failures (`cmd/threat-detect` ~71.8s).\\n- **Test 3 ✅** — Created `/tmp/gh-aw/smoke-claude-29862564508/` with `aw-prompts/prompt.txt` and `agent_output.json`.\\n- **Test 4 ✅** — Binary was missing, ran `make build`; `./bin/threat-detect --version` → `threat-detect 1de8e06`.\\n- **Test 5 ✅** — Wrote `/tmp/gh-aw/agent/smoke-claude-29862564508.txt`.\\n\\n## Overall Status: ❌ FAIL\\n\\nTest 1 could not be completed due to unavailable GitHub read tooling in the sandbox. Tests 2–5 passed.\"}\n[info] [safeoutputs] MCP initialize: POST http://awmg-mcpg:8080/mcp/safeoutputs\n[info] [safeoutputs] MCP initialize: status=200, sessionId=K4VTVDQM..., elapsed=268ms\n[info] [safeoutputs] MCP notifications/initialized\n[info] [safeoutputs] MCP notifications/initialized: done (283ms)\n[info] [safeoutputs] MCP keepalive started (interval=10000ms)\n[info] [safeoutputs] MCP tools/call: tool=create_issue, args={\"title\":\"Smoke Test: Claude - 29862564508\",\"body\":\"# Smoke Test: Claude Engine Validation\\n\\n**Run URL:** https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508\\n**Timestamp:** 2026-07-21T19:49:52Z\\n\\n## Test Results\\n\\n| # | Test | Result |\\n|---|------|--------|\\n| 1 | Read latest 2 pull requests | ❌ |\\n| 2 | `make test` succeeds | ✅ |\\n| 3 | Create artifacts directory | ✅ |\\n| 4 | `./bin/threat-detect --version` | ✅ |\\n| 5 | Write status file | ✅ |\\n\\n## Details\\n\\n- **Test 1 ❌** — Could not read the latest 2 PRs. The GitHub MCP read tools are not exposed in this execution environment and `gh` is unauthenticated (`GH_TOKEN` unset). Only PR **#585** (`fix(engine): route codex through AWF proxy and honor detection model env vars`) is inferable from the merge commit `1de8e06`.\\n- **Test 2 ✅** — `make test` (`go test -v -race ./...`) passed: all 5 packages `ok`, 0 failures (`cmd/threat-detect` ~71.8s).\\n- **Test 3 ✅** — Created `/tmp/gh-aw/smoke-claude-29862564508/` with `aw-prompts/prompt.txt` and `agent_output.json`.\\n- **Test 4 ✅** — Binary was missing, ran `make build`; `./bin/threat-detect --version` → `threat-detect 1de8e06`.\\n- **Test 5 ✅** — Wrote `/tmp/gh-aw/agent/smoke-claude-29862564508.txt`.\\n\\n## Overall Status: ❌ FAIL\\n\\nTest 1 could not be completed due to unavailable GitHub read tooling in the sandbox. Tests 2–5 passed.\"}\n[info] [safeoutputs] MCP tools/call: status=200, elapsed=1358ms\n[info] [safeoutputs] MCP keepalive stopped\n[info] [safeoutputs] Tool call complete: total=1910ms\n{\"result\":\"success\"}\n[info] [safeoutputs] Tool output: 20 chars","is_error":false}]},"parent_tool_use_id":null,"session_id":"732f3d8c-0896-4477-bc91-f847541bbcaf","uuid":"9a06bfdf-9eab-4dce-ae83-689309f8361d","timestamp":"2026-07-21T19:50:04.821Z","tool_use_result":{"stdout":"[info] [safeoutputs] Bridge invoked: url=http://awmg-mcpg:8080/mcp/safeoutputs, toolsFile=/home/runner/work/_temp/gh-aw/mcp-cli/tools/safeoutputs.json, userArgs=[\"create_issue\",\".\"]\n[info] [safeoutputs] Calling tool 'create_issue' with args: {\"title\":\"Smoke Test: Claude - 29862564508\",\"body\":\"# Smoke Test: Claude Engine Validation\\n\\n**Run URL:** https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508\\n**Timestamp:** 2026-07-21T19:49:52Z\\n\\n## Test Results\\n\\n| # | Test | Result |\\n|---|------|--------|\\n| 1 | Read latest 2 pull requests | ❌ |\\n| 2 | `make test` succeeds | ✅ |\\n| 3 | Create artifacts directory | ✅ |\\n| 4 | `./bin/threat-detect --version` | ✅ |\\n| 5 | Write status file | ✅ |\\n\\n## Details\\n\\n- **Test 1 ❌** — Could not read the latest 2 PRs. The GitHub MCP read tools are not exposed in this execution environment and `gh` is unauthenticated (`GH_TOKEN` unset). Only PR **#585** (`fix(engine): route codex through AWF proxy and honor detection model env vars`) is inferable from the merge commit `1de8e06`.\\n- **Test 2 ✅** — `make test` (`go test -v -race ./...`) passed: all 5 packages `ok`, 0 failures (`cmd/threat-detect` ~71.8s).\\n- **Test 3 ✅** — Created `/tmp/gh-aw/smoke-claude-29862564508/` with `aw-prompts/prompt.txt` and `agent_output.json`.\\n- **Test 4 ✅** — Binary was missing, ran `make build`; `./bin/threat-detect --version` → `threat-detect 1de8e06`.\\n- **Test 5 ✅** — Wrote `/tmp/gh-aw/agent/smoke-claude-29862564508.txt`.\\n\\n## Overall Status: ❌ FAIL\\n\\nTest 1 could not be completed due to unavailable GitHub read tooling in the sandbox. Tests 2–5 passed.\"}\n[info] [safeoutputs] MCP initialize: POST http://awmg-mcpg:8080/mcp/safeoutputs\n[info] [safeoutputs] MCP initialize: status=200, sessionId=K4VTVDQM..., elapsed=268ms\n[info] [safeoutputs] MCP notifications/initialized\n[info] [safeoutputs] MCP notifications/initialized: done (283ms)\n[info] [safeoutputs] MCP keepalive started (interval=10000ms)\n[info] [safeoutputs] MCP tools/call: tool=create_issue, args={\"title\":\"Smoke Test: Claude - 29862564508\",\"body\":\"# Smoke Test: Claude Engine Validation\\n\\n**Run URL:** https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508\\n**Timestamp:** 2026-07-21T19:49:52Z\\n\\n## Test Results\\n\\n| # | Test | Result |\\n|---|------|--------|\\n| 1 | Read latest 2 pull requests | ❌ |\\n| 2 | `make test` succeeds | ✅ |\\n| 3 | Create artifacts directory | ✅ |\\n| 4 | `./bin/threat-detect --version` | ✅ |\\n| 5 | Write status file | ✅ |\\n\\n## Details\\n\\n- **Test 1 ❌** — Could not read the latest 2 PRs. The GitHub MCP read tools are not exposed in this execution environment and `gh` is unauthenticated (`GH_TOKEN` unset). Only PR **#585** (`fix(engine): route codex through AWF proxy and honor detection model env vars`) is inferable from the merge commit `1de8e06`.\\n- **Test 2 ✅** — `make test` (`go test -v -race ./...`) passed: all 5 packages `ok`, 0 failures (`cmd/threat-detect` ~71.8s).\\n- **Test 3 ✅** — Created `/tmp/gh-aw/smoke-claude-29862564508/` with `aw-prompts/prompt.txt` and `agent_output.json`.\\n- **Test 4 ✅** — Binary was missing, ran `make build`; `./bin/threat-detect --version` → `threat-detect 1de8e06`.\\n- **Test 5 ✅** — Wrote `/tmp/gh-aw/agent/smoke-claude-29862564508.txt`.\\n\\n## Overall Status: ❌ FAIL\\n\\nTest 1 could not be completed due to unavailable GitHub read tooling in the sandbox. Tests 2–5 passed.\"}\n[info] [safeoutputs] MCP tools/call: status=200, elapsed=1358ms\n[info] [safeoutputs] MCP keepalive stopped\n[info] [safeoutputs] Tool call complete: total=1910ms\n{\"result\":\"success\"}\n[info] [safeoutputs] Tool output: 20 chars","stderr":"","interrupted":false,"isImage":false,"noOutputExpected":false}}
{"type":"result","subtype":"error_max_turns","duration_ms":424967,"duration_api_ms":134918,"is_error":true,"num_turns":21,"stop_reason":"tool_use","session_id":"732f3d8c-0896-4477-bc91-f847541bbcaf","total_cost_usd":0.4954659999999999,"usage":{"input_tokens":39,"cache_creation_input_tokens":22814,"cache_read_input_tokens":215537,"output_tokens":8894,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":22814},"inference_geo":"global","iterations":[],"speed":"standard"},"modelUsage":{"claude-opus-4-8[1m]":{"inputTokens":4467,"outputTokens":8911,"cacheReadInputTokens":215537,"cacheCreationInputTokens":22814,"webSearchRequests":0,"costUSD":0.4954659999999999,"contextWindow":1000000,"maxOutputTokens":64000}},"permission_denials":[],"terminal_reason":"max_turns","fast_mode_state":"off","uuid":"52635e6d-f0ce-4c47-9c13-b7ac29f250c4","errors":["Reached maximum number of turns (20)"]}
2026-07-21T19:50:04.825Z [DEBUG] Cleaned up session snapshot: /home/runner/.claude/shell-snapshots/snapshot-bash-1784662983883-zrv4f8.sh
Action Required
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
- Start your agent
- Load the
agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.md - Type
debug the agentic workflow smoke-claude failure in https://github.com/github/gh-aw-threat-detection/actions/runs/29862564508
Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:
safe-outputs:
report-failure-as-issue: falseGenerated from Smoke Claude · 47.3 AIC · ◷
- expires on Jul 28, 2026, 7:52 PM UTC