← Back to Pull requests

fix(permissions): a person's standing instruction decides a seat's later asks, and "stop asking" is read for what they mean #4167

Closed
unknown closed this pull request without merging on Nov 29, 2026 18:46 UTC
View on GitHub
unknown unknown commented on Nov 29, 2026 13:50 UTC
Author

What a user gets


When a person tells their own agent not to ask about routine steps ("don't ask me about test runs"), the agent decides the team's later permission prompts that those words cover, and records them correctly. When the person says to stop asking, the agent acts on what they mean.

Why it changes


  • A seat's permission ask at a person's conversation said the same thing for every prompt: ask the person, then record their answer, and "Never decide without their answer." It named no case for an instruction the person had already given.

  • In a 0.7.26 first-user session, four "stop asking" requests were followed by 13, 10, 6 and 1 prompts, each asked again. The skill the plugin ships allowed deciding under a standing instruction, but the ask, which the agent reads at that moment, said the opposite.

  • Given standing words, an agent could also misrecord. In the runs below, Haiku decided under them but recorded 2 of 3 decisions with --relay, which says the person answered this prompt, when they hadn't.
  • What changed


  • The ask (to a person's conversation):

  • - "Ask your person… unless they've already told you how to handle actions like it."
    - A new case: a standing instruction that covers it. Check what the exact action touches against what they asked to be asked about. If their earlier words clearly cover it, decide under them without asking again, with --reason and their earlier words in --person-said, and tell them what you decided. If the words don't clearly cover it, ask.
    - "Never decide without their answer or a standing instruction of theirs that covers this action."
    - If they say to stop asking, act on what they mean, asking back once only if it stays unclear:
    - routine work they've already allowed: decide prompts like this one under their words;
    - a lasting setting for the seat: offer rig seat set-permissions for the seats and actions they name. It applies at the seat's next managed launch or resume, not to this prompt, needs their explicit choice, and is never a reason to restart a seat;
    - pausing or stopping the work: do that, rather than muting the prompts.
  • rig_seat_decide_permission's description says the same about a standing instruction.

  • The openrig plugin's skill gets a short "When your person says to stop asking" section with the same three meanings. Within routine work, it says to answer a seat's own question about that work with the person's instruction.

  • Unchanged:

  • - Nothing is decided without the person's words. There's no parser from words to a permission mode, and no new setting, refusal or restart.
    - rig seat set-permissions already says its rules apply at the next managed launch or resume and that the running process is unchanged, with its older-version warning for ask rules.

    Cost


  • Source: the ask +4 −2, the tool description +1 −1, the skill +10.

  • Tests: +15.
  • Measured


    Headless Claude Code 2.1.330, with no tools. The prompt gave the person's earlier words ("Running the unit tests is routine, don't ask me about test runs.") and then the rendered ask for npm test -- --run.

    | Ask body | Sonnet 5.5 | Haiku 5.5 |
    |---|---|---|
    | main | 3 of 3 decided under the words (judgment) | 3 of 3 decided, 2 recorded with --relay |
    | this branch | 1 of 1 decided as judgment (2 runs returned nothing) | 3 of 3 decided as judgment, with --reason and the earlier words |

    This short check doesn't reproduce the re-asking in a long first-user session. The real journeys are the proof of that part.

    Tests


  • New in native-permission-answer.test.ts: the ask to a person's conversation carries the standing-instruction case, the narrowed never-decide line, the next-launch timing of a lasting setting, and the pause-or-stop meaning. It fails on main.

  • The 35 daemon test files that touch permission asks, decide-permission, the plugin skill or seat prompts: all pass. Two need the CLI built first, and pass then.

  • The CLI's mcp-server.test.ts: 104 tests pass.

  • Daemon and CLI tsc: pass.
  • 🤖 Generated with Claude Code

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Clarified how to handle permission requests when a person’s standing instructions cover the specific action, including how to distinguish clear answers from conditional or ambiguous ones.
    Added guidance for interpreting requests to stop asking: apply existing instructions to permitted routine work, explain when seat permission settings take effect and act only on an explicit choice, or pause or stop the work.
    Clarified how to relay a person’s words safely and how permission decisions are reported when no seat is configured.
    Tests
    Added coverage for these instructions and for preserving a person’s words as literal data.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 631 lines (+473 / -158) across 7 files Reviewer: mvschwarz Review duration: 296m
    All Vouch review confidence checks passed
    Residual risk 0.31 = Change Risk (0.74) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.74 · 631 lines diff across 7 files
    0.74
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    57%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.386
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.074
    Real PR Conversation Timeline
    1 comments
    "Review active on #4167"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 58.0% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 73.6% (HIGH) · Higher = larger blast radius
    73.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 58.0% · Lower = rushed or shallow review
    58.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 30.9% · Safe to merge
    30.9%