Repository navigation
Description
Description
Summary
In a Claude Code session hosted by Orca (Agent SDK), the person answers QualityLayer's chat_questions in Orca's AskUserQuestion picker. Claude Code receives the answers. QualityLayer never records them. The task stays at waiting_on: question and native-picker-completions.json keeps the calls as pending.
Environment
QualityLayer 14.7.1
Orca 1.4.287 (CLAUDE_CODE_ENTRYPOINT=orca, ORCA_STRUCTURED_SESSION=1)
Claude Agent SDK 0.3.330
macOS (Darwin 27.2.0), arm64
Task answers mode: terminal
Steps to reproduce
- Open a Claude Code chat in Orca (native chat, not a terminal pane).
- Start a QualityLayer task: "fix gh issue N … using QualityLayer".
- In Plan, the agent runs qualitylayer question ask --batch and asks the returned chat_questions with AskUserQuestion.
- Pick an answer in Orca's picker.
- Run qualitylayer next / qualitylayer status --json --task .
Expected
The pick is recorded. events.ndjson gets a question_answered event. The open question count drops to 0.
Actual
waiting_on stays {"kind":"person","reason":"question"}. next shows open: {"questions": 1}.
events.ndjson has question_asked (batch b1) and no answer event.
native-picker-completions.json keeps both AskUserQuestion calls in pending (toolu_01JUfw…, toolu_01EsPz…).
The PostToolUse hook (hook activity and the async hook picker) returns:
Waiting for the native client to save its picker result. Run qualitylayer question poll to collect the saved result.
question poll never finds a saved result. Orca does not write one.
Evidence that the answer was available to the hook
The Claude Code transcript has the answers in the tool result of the same call:
"toolUseResult": {
"questions": [ ... ],
"answers": {
"Which findings of #236 does this task fix?\n\nType more or not sure in Other": "All 9 (G1, G2, G4-G8, G10, G12) (Recommended)",
...
}
}
Claude Code passes toolUseResult to PostToolUse as tool_response, so the hook payload should carry the same answers object (not captured directly). QualityLayer takes the "native client saves its own result" path (as for Antigravity, Grok, Copilot) instead of reading tool_response.answers.
Environment
- QualityLayer version: 14.7.1
- OS: macOS 27.2
- Architecture: arm64
Activity