원클릭으로
hgraf-debug-task-stuck
Diagnostic playbook when a task appears stuck. Post-overlay-era: PENDING → NOT_NEEDED at invocation end is expected.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Diagnostic playbook when a task appears stuck. Post-overlay-era: PENDING → NOT_NEEDED at invocation end is expected.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Understand and safely change heartbeat interval, stuck threshold, and timeout constants — client cadence, server detection math, frontend signal.
Add a new AnnotationKind — proto, storage, ingress RPC, optional downstream delivery to agents, frontend authoring UI, tests.
Add a new agent Capability — proto enum, client advertisement, server ingest, frontend gating in the control UI.
Add a new ControlKind — capability advertisement, client handler, server routing, ack semantics, frontend button, and tests — all the way through.
Add a new drift kind end-to-end. Goldfive owns the detector + enum; harmonograf reflects the kind through the intervention aggregator and the UI timeline.
Script a complex multi-turn FakeLlm scenario — function calls, tool chains, drift events, side-effect hooks, partial responses — for deterministic adk test coverage.
| name | hgraf-debug-task-stuck |
| description | Diagnostic playbook when a task appears stuck. Post-overlay-era: PENDING → NOT_NEEDED at invocation end is expected. |
PENDING or RUNNING long past
when you expected it to resolve.⚠ stuck stripe is lit in the Graph view header.Under the overlay model (goldfive#141-144), a task that sits at
PENDING throughout a finished run and then flips to
NOT_NEEDED at the end is working as intended. Only worry if
the agent is actively running and the task still doesn't move.
This skill is a short index. For depth, go to the runbooks:
| Situation | Runbook |
|---|---|
| Task stuck at PENDING while agent runs | runbooks/task-stuck-in-pending.md |
| Task stuck at RUNNING | runbooks/task-stuck-in-running.md |
| Drift should've fired but didn't | runbooks/drift-not-firing.md |
| LLM or tool call hung | runbooks/high-latency-callbacks.md |
| Context window near limit | runbooks/context-window-exceeded.md |
SELECT id, kind, name, start_time FROM spans
WHERE agent_id='<AID>' AND end_time IS NULL
ORDER BY start_time DESC;
A long-open LLM_CALL → slow LLM / hung provider.
A long-open TOOL_CALL → tool hung.
Only an open INVOCATION → agent-code loop.goldfive.llm.duration_ms on the newest LLM call?
Values > 60 000 flag a wedged model.grpcurl -plaintext -d '{"session_id":"<SID>"}' \
localhost:7531 harmonograf.v1.Harmonograf/ListInterventions | jq .
grep 'duplicate HarmonografTelemetryPlugin' agent.log.
Silent duplicates don't break span emission but DO break the
on_cancellation sweep, leaving RUNNING spans after CANCEL.If you file a bug:
ListInterventions.task_plans for the session.DriftDetected lines.dev-guide/debugging.md for SQL snippets.user-guide/tasks-and-plans.md for the overlay-era state machine.