← Back to Pull requests

docs(herdr): reopening adds a workspace unless you use --window; Herdr's status is its own #2032

Closed
unknown closed this pull request without merging on Oct 25, 2026 16:05 UTC
View on GitHub
unknown unknown commented on Oct 25, 2026 15:26 UTC
Author

What a person gets

Agents stop opening a second Herdr workspace when someone comes back to a view. When Herdr shows a waiting seat as idle, the person is told where to look instead.

Why

  • rig terminal open <view> --provider herdr always creates a new workspace. When the name is taken, it adds a number, such as my-rig (2). That's by design, and getting-started.md already said so.

  • Reuse only happens through rig terminal open <view> --window from inside Herdr. That finds a space with the same view and plan, checks its tiles are live, and focuses it.

  • The guidance pointed the other way:

  • - the shipped Herdr skill told agents to reopen with --provider herdr;
    - the --provider help said "use an existing workspace", which reads as reuse;
    - the capability map suggested --provider output could report a reused workspace, which only the window path does.
  • So someone coming back to a view got a duplicate workspace.

  • Herdr's status for a tile is Herdr's own reading of its screen. OpenRig gives Herdr the runtime and a reattach command, not a state. In a real run, Herdr showed a seat as idle while it was waiting on a question that was fully visible in the tile.
  • The change (text only)

  • The openrig-herdr skill (its home, the canonical mirror and the digest):

  • - coming back to a view: focus the open space; inside Herdr, --window reuses a matching space; each --provider herdr open adds a numbered workspace;
    - after a Herdr restart: a tile reattaches when Herdr took its restart command at open (Herdr 0.9.2 or later). Tiles that don't come back as empty shells, so reopen and close the old space. The line used to say every tile comes back empty;
    - a limit: Herdr's status for a seat can read idle or unknown while OpenRig shows it waiting. Use OpenRig's own view or the Feed.
  • The --provider help: it opens in the running provider without a desktop window; each open adds a new workspace (inside Herdr, --window reuses a matching one).

  • The capability map, the rigs skill (both copies) and getting-started.md: the same facts.
  • No behaviour changes.

    Checks

  • node scripts/mirror-skills.mjs regenerated only the Herdr skill's canonical copy and its two digest entries. The new digest equals the file's sha256, and --check passes.

  • The docs guard passes, and git diff --check is clean.

  • The two rigs skill copies are byte-identical.

  • No test pins the changed help text.

  • The context-pack check and the script tests need a daemon build; CI runs them.
  • 🤖 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 opening a view with a running provider creates a new workspace; opening from within Herdr with --window focuses a matching space.
    Added guidance for finding seats that Herdr may show as idle or unknown, including checking OpenRig’s process list, TUI, or Feed.
    Explained which tiles can reattach after a Herdr restart or update, and that other tiles may return as empty shells while their seats continue running.

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

    Diff: 412 lines (+309 / -103) across 5 files Reviewer: openrig-review Review duration: 39m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 412 lines diff across 5 files
    0.45
    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.360
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2032"
    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: 44.9% (MEDIUM) · Higher = larger blast radius
    44.9%
    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: 17.7% · Safe to merge
    17.7%