← Back to Pull requests

docs: name the npm update folder, and keep the app and the daemon on one home #4217

Closed
unknown closed this pull request without merging on Nov 30, 2026 12:55 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 10:58 UTC
Author

When the openrig plugin can't find rig, it runs the one OpenRig's daemon recorded in OpenRig's home. Two places in the docs left a person guessing:

  • Which folder to update. Getting started said to update an older npm global install "with npm install -g --prefix of its own folder". It now names that folder as the plugin's own notice does: the folder above the bin that holds rig, the one with lib/node_modules/@openrig/cli. It also says why npm prefix -g isn't a way to find it, and gives the routes for an install in a project's node_modules and for any other install.

  • Which home. The app reads the record from the home in the environment it starts with (OPENRIG_HOME, else ~/.openrig). Getting started and the plugin README now say that if your terminal sets OPENRIG_HOME and the app doesn't, the app needs the same OPENRIG_HOME. Then the record the daemon writes is the one the app reads.
  • Docs only, following #4207. The wording follows the plugin's no-rig notice (claude-hook-bridge.cjs) and the MCP launcher's message (run-rig.cjs) at 2287470c.

    🤖 Generated with Claude Code

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

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Clarified that the app and daemon should use the same OpenRig home, which is read from the app’s startup environment through OPENRIG_HOME or defaults to ~/.openrig.
    * Expanded update guidance for existing installations, including global npm installs, local project installs, and installations managed through other methods.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 215 lines (+161 / -54) across 2 files Reviewer: openrig-review Review duration: 116m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 215 lines diff across 2 files
    0.37
    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%
    60%
    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.322
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4217"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 36.6% (MEDIUM) · Higher = larger blast radius
    36.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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.5% · Safe to merge
    14.5%