Skip to content

Picker answers from Orca's native chat never reach QualityLayer #276

Backlog

Description

@maxritter

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

  1. Open a Claude Code chat in Orca (native chat, not a terminal pane).
  2. Start a QualityLayer task: "fix gh issue N … using QualityLayer".
  3. In Plan, the agent runs qualitylayer question ask --batch and asks the returned chat_questions with AskUserQuestion.
  4. Pick an answer in Orca's picker.
  5. 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

  1. added
    bug
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions