Rigwell 0.6.1 · Documentation

Rigwell user manual

For Rigwell 0.6.1 across Windows x64, macOS arm64, and Linux x64. See the 0.6.1 release notes for everything new and how it was verified. Rigwell is a local workspace for AI-assisted coding: a desktop app, terminal interface, headless CLI/ACP bridge, and agent service, with persistent Workstreams, Missions, repository tools, PR review and auto-fix, local auto-model routing, and multi-tab browser preview. You choose the model connection. Your machine runs the coordination service; a cloud model still receives the context sent to it.

This manual covers first use, everyday work, nontechnical review, technical operation and architecture. Feature-specific reference guides are linked where more configuration detail is useful.

Workstream review recovery. When a member runs out of output before a tool call, Rigwell asks it to take the next concrete action. A repeated cap before tool progress marks the turn failed and can wake the lead.

Workstream Next handoffs. In 0.4.2, a signed-in lead waiting in a Rigwell coordination tool receives the full message body with the event. See Workstream timing and recovery for what happens when a client is using its own tools.

Choose your starting point

You want to...Start here
Install Rigwell and complete a first taskNew-user guide
Review work without learning the command lineNontechnical-user guide
Coordinate multiple coding agentsWorkstreams
Run a planned, staged body of workMissions
Use the terminal, SDK or configuration filesTechnical-user guide
Understand the components and trust boundariesArchitecture
Recover from a problemTroubleshooting and recovery

New-user guide

What you need

Use a supported Windows, Linux or macOS computer, a folder containing your project, and access to a model. Git and ripgrep support repository and search tools. Desktop installers carry Rigwell's runtime; opening the installed app does not require separately installing Bun or Node.

Choose one model connection:

Do not paste credentials into a chat or a repository file. Use Settings and the credential store. See account and model connections for the exact connection formats and native-client permission differences.

Install and open

Download Rigwell 0.6.1 for your platform and keep the release's checksum information with the installer:

PlatformDownload & installationTrust & signing
Windows x64, 0.6.0rigwell-setup-0.6.1-x64.exe — run the NSIS setup executable, choose the install folder, and open Rigwell from its shortcut.Every program file and installer plugin is Authenticode-signed by Scott Converse with a trusted timestamp for Smart-App-Control-clean installation without SmartScreen warnings.
macOS arm64, 0.6.0Rigwell-0.6.1-arm64.pkg — double-click the .pkg installer to install Rigwell.app into /Applications.Signed with Developer ID certificates, Apple-notarized, and stapled so Gatekeeper verifies it cleanly with no bypass steps or scary warnings.
Linux x64, 0.6.0rigwell-0.6.1-x86_64.AppImage or rigwell-0.6.1-amd64.deb — install the .deb with sudo apt install, or make the AppImage executable and run it.Signed AppImage updates are verified against the embedded release public key before replacement, with built-in rollback.

On Windows, use Properties > Digital Signatures to confirm the Scott Converse publisher. On macOS, you can optionally verify the package with pkgutil --check-signature and xcrun stapler validate. See the installation guide for platform details and rollback instructions.

Connect your model

  1. Open Rigwell. An empty profile displays Connect a model.
  2. Choose Set up models for the guided page described in Set up models, or choose Configure a model to add a custom model by hand in Settings.
  3. For a supported subscription-client profile, select Signed-in official client and choose the matching provider. The client must already be installed and signed in. A custom executable path is available when automatic discovery does not find it.
  4. For an API or local server, enter the provider, model identifier and endpoint where required. Keep credentials in the credential store or an environment reference.
  5. Save the profile, return to the workspace and select it for your session.

Model identifiers are supplied by your provider or local server. Rigwell does not grant access to a model merely because a profile can be saved. A sign-in option without a registered client is shown as unavailable; use an existing official-client profile or a supported direct connection rather than guessing another application's client ID.

Set up models

The Set up models page finds and connects models for you. Open it with the Set up models button on Home, with Connect a model on the sidebar Finish setup card, or with Model setup in the Settings list. Each pick you save becomes an ordinary custom model, so you can edit or remove it later in Settings > Custom Models.

The page has three groups.

Subscription sign-ins. Rigwell shows whether Claude Code and Codex are installed and signed in.

  1. To sign in, choose Sign in to Claude Code or Sign in to Codex. The card shows a link and, for Codex, a one-time code with Copy code. Open the link, finish the sign-in in your browser and return to Rigwell. The link runs out after a time limit that the card shows. Cancel stops the sign-in.
  2. When the card shows Ready, pick a model in Models this sign-in brings, or choose Other model and type the exact model name. Then choose Use this model.
  3. Test sends one short request with that client.

The Ollama card shows whether Ollama is running and signed in. Its sign-in is optional; you need it only for Ollama Cloud models. Ollama prints a link; open it to finish.

Local & self-hosted. Rigwell looks for LM Studio (port 1234), Ollama (ports 11434 and 11435) and llama.cpp (port 8080) on this computer and lists their chat models. Choose Use this one beside a model to save it. The first request can load the model and take a minute. Refresh looks again. A server that does not answer shows Could not reach.

API connection. Use this for any service with an OpenAI-compatible API.

  1. Enter a Connection name and the Base URL. Add the API key if the service needs one.
  2. Choose Discover models to list the service's models, then choose one in Discovered models. If the service lists none, type the Model id.
  3. Test connection sends one short request. Save connection saves it.

The key is kept in the credential store, not in the settings file, and is not shown again after you save. A saved key is sent only to the base URL it was saved with. Discover and Test do not follow redirects; if the service moved, enter its final address. Each call stops after a time limit.

A model that is already saved shows Already saved. Models that Rigwell uses now are marked This app uses this. Test all connections checks every sign-in again and looks for local servers again.

Limits: "Use whatever model is loaded" is not offered, so pick a model by name. A saved local model shows only its model id as its name. When a connection gets a new key, the old key stays in the credential store. See the 0.5.2 release notes.

Check your session profile and effort

Before sending a task, check the model profile below the message box. Select the intended profile in the composer and check the adjacent Reasoning control if the task specifies an effort level. A model name in the prompt describes a requirement for the agent to follow. The composer selection controls which profile executes the turn.

For future sessions, change Model in Settings > Session Defaults. For the current session, use its composer. Use Tab and Shift+Tab to move between controls. In the desktop composer, Ctrl+Alt+M toggles Spec mode and Ctrl+Alt+R cycles reasoning effort.

If work has already started on the wrong profile, interrupt the turn and wait for it to become idle. Check what it already did, then select the intended profile and effort before sending another request. For a clean Workstream run, start a fresh session if the first attempt already created a proposal or changed the workspace.

Open a project safely

Choose the project folder before starting work. A Git repository is preferable because it makes changes and recovery easier to inspect. Save or commit work you want to preserve before a broad editing task.

Rigwell can ask whether you trust a folder. Trust permits project-controlled instructions, settings, hooks and extensions to load. Trust repositories you know; inspect unfamiliar repositories before enabling their executable configuration. Folder trust is separate from approval of an individual edit or command.

Complete your first task

Start with a small, observable request:

Read this project and explain how to run its tests. Do not edit files yet.

Read the response and check its file references. Then ask for a bounded change:

Fix the validation error in this form. Keep the public behavior unchanged, add an appropriate regression check, and show me the diff and test result.

Use planning/spec mode when you want a plan first. Keep autonomy conservative until you understand the repository and model connection. Review permission requests before accepting them: check the target folder, command and likely effect. Answer questions in the prompt panel so the agent can continue.

When the turn finishes, inspect the changed files, run results and remaining limitations. A confident answer is not proof that a build or test ran. Open Review to inspect the actual changes before committing or publishing.

Nontechnical-user guide

You can describe an outcome and review results without writing shell commands. You still decide what the agent may change and whether the result is acceptable. Work with a repository owner when a request involves credentials, deployment or important data.

Describe the result, not just the activity

A useful request identifies the problem, the desired behavior and how you will recognize success. For example:

On the contact form, submitting an empty email currently shows an unclear error. Make the message explain what to enter. Show the exact text before changing it, then demonstrate the result and report any checks you could not run.

For a larger task, ask for a plan with checkpoints. State whether the agent may edit, run commands, contact an external service or publish. If you only want an explanation, say so.

Understand requests for approval

Cancel when the operation differs from what you intended. Clarify the task in the conversation. Higher autonomy permits more actions without individual prompts; it does not establish that the agent's choices are correct. Subscription clients use their own native tool permissions, which differ from direct-adapter execution. In 0.4.2, unresolved Claude command approvals reach Rigwell's permission panel with the workspace and requested operation. Choose allow once or cancel; this does not change global client permissions. A native deny rule still applies. See native permissions.

Review without reading every line of code

Ask for a plain-language change summary, screenshots or reproducible steps where relevant, the tests actually run and the known limitations. In Review, look for unexpected files, unrelated changes, credentials and changed configuration. Ask the agent to explain anything you do not recognize. For code correctness, obtain appropriate technical review rather than relying only on the model's self-assessment.

You can interrupt an active turn. Saved sessions can be resumed later. A stopped turn may already have changed files; inspect the workspace before retrying. Never assume interruption rolls changes back.

Everyday workspace

The list pages (Mission Control, Workstreams, Inbox, Analytics, Academy, Wiki, Review, Automations) now use cards, pill-shaped status badges and underline tabs.

Menus, dialogs and the command palette (Ctrl+K) have a new look; they work the same way.

Sessions, files and terminal

The Home screen shows the Rigwell mark and asks What should we work on? (in mission mode, What should the mission do?). Type your request in the message box. The machine, folder and Worktree choices are now under the message box, so you pick where the work happens right below where you describe it.

The sidebar shows New Session, Automations, Search and Mission Control. More opens the other pages: Inbox, Workstreams, Review, Machines, Import session, Sync, Plugins, Wiki, Analytics and Evaluations. Search (Ctrl+K) finds every page, every Settings page and your sessions. Below the buttons the sidebar has three sections: Pinned (when you have pinned sessions), Workstreams (Beta) and Projects. Pinned lists the sessions you pinned so you can find them quickly. Workstreams lists the Workstreams that are running or paused. Projects groups your sessions by folder; click a folder name to fold or unfold it, and use its + to start a session there. The Filter projects button (three dots) opens the sidebar filters for last activity, project and grouping. Add folder (the folder button) adds a project folder. The buttons at the top of the window go Back, go Forward, and hide or show the sidebar. Rigwell remembers the sidebar choice the next time it starts. The gear button at the bottom of the sidebar opens Settings. In Settings, type in Find a setting to find a page by its name or by an option on it, such as theme or tokens. Settings that are on or off are now switches: click the switch to turn the setting on or off. The Appearance page shows three theme cards, System, Light and Dark; click a card to pick the theme.

A session records a conversation and its activity in a selected working folder. Use clear tasks and continue the same session when its context is relevant. Resume an existing session rather than repeating its work blindly; fork when you want an independent conversation based on an earlier one.

Send and Stop are now icon buttons in the message box; they are in the same place and use the same keys. The Tools panel and session menu buttons are icons at the top right of the session.

The side pane provides files, a terminal, a multi-tab browser, side chat and agents. Use Files to inspect the current folder and Review to compare changes. The embedded browser supports multiple independent tabs and automatic localhost discovery, which detects running local dev servers on your machine so you can preview your app with one click. A terminal command runs real code with the selected machine's permissions. Inspect command effects before authorizing installation, deletion or deployment.

Multi-window and split-pane tiling. You can open multiple independent Rigwell windows (for example, one per project or Workstream) and tile panes side by side inside a window using the split-pane layout (SplitView), resizing panes to view a conversation next to files, review diffs, or a terminal.

Language setting (8 locales). Open Settings > General to switch the desktop interface among 8 languages: English (en), Japanese (ja / 日本語), Korean (ko / 한국어), German (de / Deutsch), French (fr / Français), Spanish (es / Español), Italian (it / Italiano), and Polish (pl / Polski).

The Agents tab lists the Workstream members and Mission workers of the session. Each row shows the full name, the status, the current step and the running time. Click Details to see the tokens, cost, branch and allowed files.

Each session in the sidebar shows Working, Waiting for you or Idle. A pinned session shows a pin icon. When a Workstream runs or is paused, it shows in the Workstreams section; when none are running, that section says No workstreams running. Click a Workstream to open it. Archived and finished Workstreams do not show there.

When the model asks a question or needs approval, use the prompt controls in the session. Inbox and Workstream attention can help find work waiting on you. The displayed activity and transcript are evidence of reported execution; use actual files, command output and external readbacks to confirm results.

Two or more tool calls in a row fold into one line, such as Activity · 31 events. Click the line to open or close the list. A group stays open while one of its tools runs, and when a tool fails. During a turn, the status line names the current step, such as Running 1 command or Making 1 file change.

You can send a message while the agent works. The message goes to a Waiting list above the input, and moves into the transcript when the agent takes it. Press Enter to add it to the end of the list. Press Ctrl+Enter to deliver it after the current tool step. Neither key stops the agent. Only Stop or Esc stops it. A stop ends the current turn only, so the agent then takes the next waiting message.

When your last message scrolls out of view, a copy stays at the top of the transcript. Click it to jump back to the message. The transcript also shows a time line, such as Today 2:14 PM, after 30 minutes without activity or when the day changes. Older sessions that have no stored time show no time line.

Workstreams

To start a Workstream from a template, click + next to Workstreams in the sidebar. Pick your role and a template, or Or begin with a blank workstream. Give it a name, choose the working folder, and click Create workstream. Rigwell opens a new session with the first message filled in. Click Send. The lead session proposes the plan, and no member starts before you approve it.

See the Workstreams reference for member controls, delivery priorities, budgets and recovery.

A Workstream is persistent coordination around a goal. A lead session can propose a plan, then manage reusable member sessions, messages, listeners and shared progress. Members can use isolated Git worktrees so separate tasks have separate branches and files.

  1. Ask the lead for a Workstream with a specific goal, member roles, acceptance checks and budget.
  2. Review the proposal. Reject or edit it when the scope is wrong. Members must not start from an unapproved proposal.
  3. Open Workstreams to inspect the roster, member state and messages. Open a member transcript for detail.
  4. Use Message to give direction. Delivery priority controls when a message is offered; an active member may need to reach a turn boundary.
  5. Answer member questions and permission prompts. Pause or interrupt when you need control back.
  6. Review each member's branch and checks before integrating its work. Archiving is a separate action; review any cleanup confirmation.

If you reload or reconnect a session view while its Workstream proposal is waiting, 0.4.2 restores that pending prompt while the daemon and session remain alive. Open the same session and answer the restored proposal instead of submitting another request. Cancelling a proposal prevents a late answer from creating it. An interrupted or restarted daemon can end an in-flight proposal; saved Workstreams and members have their own recovery lifecycle.

For subscription-client members, Rigwell carries native coordination call/result receipts into subsequent invocations so the lead can retain member identities and handoffs. Members still need explicit roles, file ownership and integration checks.

Token, cost and wall-time limits can pause further work. Cost may be unpriced for subscription or local execution; a zero or absent estimate is not a measured monetary charge. A Workstream coordinates agents, but does not guarantee conflict-free code or an accepted pull request.

Example request:

Propose a Workstream to improve the onboarding guide. Use one writer and one verifier in separate worktrees. The verifier should check commands and links. Bring both results back for review, and do not push.

For a Workstream with a required lead profile, check the lead profile and reasoning level before requesting a proposal. Review the member profile IDs and worktree assignments in the proposed plan before accepting it, then confirm the active profiles in the roster.

The workstream page has a Shared files section. It lists each file in the shared folder with its version and who saved it last. Open a file to see every version, view an old version, or restore it. A restore adds a new version. See Shared file history.

Workstream Tasks & PR Auto-Fix. Workstreams include structured task tracking (create, assign, dependencies, and status updates across local and SSH members) and PR Auto-Fix workflows that inspect failing pull-request checks and review comments, prepare targeted fixes in an isolated worktree, and wait for your confirmation before pushing.

Missions

Use a Mission for a larger plan with staged execution and validation. Review the proposed features, boundaries and checks before starting. Mission readiness reports can identify missing tools or unrun checks; a readiness warning is not proof of failure or success.

During execution, inspect progress, questions and validation results. Use handoff information to understand unresolved work. A paused or interrupted mission is incomplete until its remaining outcomes are verified. Resume deliberately after reviewing the working directory. See mission readiness.

Run workers at the same time

Open Settings > Missions and set Workers at once from 1 to 4. The default is 1. With 1, a mission works in your folder, one feature at a time. A remote machine always runs 1 worker.

Above 1, each worker gets its own code copy (a git worktree). Rigwell runs two features together only when neither depends on the other (dependsOn) and their file areas (fileAreas) do not overlap. A feature with no file areas runs alone. Each worker must commit its work.

Rigwell merges finished features one at a time into a separate branch named rigwell/mission-<id>. Your own branch does not change. When the mission completes, review that branch and merge it yourself. Validators run alone, on the merged code. After a worker's work is merged, Rigwell removes that worker's worktree and branch. It never removes one that still has uncommitted or unmerged work.

If a merge has a conflict, Rigwell stops that feature, keeps its branch, and asks for your attention. Rigwell never resolves a conflict silently. If one worker has a problem, the running workers finish their current feature, no new worker starts, and the mission asks for your attention. Pause stops all workers at once.

Spend limits apply to every worker. Rigwell checks the limit before each model request, but a request already running can finish above it. With 4 workers, up to 4 requests can finish above the limit.

Branches, review and pull requests

Use an isolated worktree for work that should not disturb an existing checkout. Review tracks the actual repository snapshot. A changed head may require reloading the review before submitting it.

Creating a PR requires confirmation of the branch, base, title and body before any push. Canceling that approval does not push. Rigwell can display PR state and checks across GitHub, GitLab, Bitbucket, and Azure DevOps (Settings > Code Providers); worktrees with an open PR are excluded from automatic branch cleanup. Review also provides PR Layer Manifests (grouping large diffs into ordered architectural layers) and moved-code diff detection (highlighting only genuine edits inside relocated code blocks). Remote review comments and approval actions also require confirmation. See review.

Automations, Inbox and delegation

Automations run a saved task using its configured folder, schedule, model and permissions. The Automations page opens with a banner that explains what automations are for, followed by a Start from a template section with a card for each ready-made template. Click a card to set that template up. Creating an automation does not itself prove a run occurred. Review the saved instructions and schedule, then inspect run history. Pause unwanted work rather than deleting its recovery evidence.

The templates dialog has 16 ready-made templates. They report only: they do not change files, post messages or open pull requests. Templates that use a connector need that connector's tools set to always allow for the folder, because unattended runs cannot ask.

The templates dialog also has a CI workflows tab: Pull Request Review, QA Checks, Docs Refresh and Security Sweep. Choosing one opens a new session with the setup message filled in. The agent sets up the job as a local automation; it runs on this computer while the Rigwell service runs, not in GitHub Actions. Nothing is installed until you approve it.

Local event triggers can accept configured GitHub/CI, Slack and chained events. Continuous Session Goals let recurring loops and automations track multi-run objectives across iterations until completion criteria are met, while Automation Memory retains structured notes and findings between runs so scheduled jobs carry context forward. Slack and Teams delegation require the respective service registrations and credentials. They do not become operational solely because the feature exists in Rigwell. Inbox records events and routes you to the associated work. Email alerts require explicitly configured SMTP. See automations, event triggers, delegation and Inbox.

Models, connectors and plugins

Select the model appropriate to the task and your data requirements. A local endpoint keeps inference on the machine you configure; a remote endpoint receives model context. Changing a model may change cost, speed, tool behavior and account limits. You can also configure the Local Auto-Model Router (model ID auto), which scores your candidate models per turn with a lightweight classifier, chooses the cheapest qualifying model, keeps the rest as ordered fallbacks, and reports estimated savings in Analytics.

Connectors add external tools and resources through MCP. Review a server's origin, requested credentials and access before connecting. OAuth setup is server-dependent. The catalog supplies configuration; it is not an assurance that every listed server is safe or currently available. Plugins can add skills and configuration; inspect their source and permissions. Until setup is complete, the sidebar shows a Finish setup card with the next step: connect a model, start your first session in a project folder, then connect your tools. The card hides when all three are done. See connectors and plugins.

Knowledge, learning and evaluations

Wiki tools build and search local project knowledge. Academy provides local tutorials and practice checks. Analytics reads locally recorded usage; unpriced execution remains unpriced. The Analytics page also shows four badges (First Steps, Regular, Long Haul, Weekend Builder). They count your own sessions on this machine, not automation runs, subagents, forks, workstream members, mission workers or evaluation trials. Time is active time; a pause of more than 30 minutes ends a stretch. Settings > Usage shows bars for your daily and monthly spend limits and, where a provider reports them, its request and token limits with reset times in local time. A provider that reports nothing shows "Not available from this provider"; Rigwell never estimates these limits. Local review, triage and QA services use ordinary session and automation engines.

Evaluations displays saved runs, per-task evidence and same-task outputs side by side. Import CSV/JSONL datasets, then explicitly start trials through the CLI. A rubric requires a selected judge; a failed command check still fails overall. The current Stax option is explicitly mapped CSV conversion with unverified export compatibility. A hosted Stax option is next-version work. See evaluations, wiki, Academy, Analytics and local services.

Other machines, sync and phone access

Machines uses configured SSH access and a bootstrapped remote Rigwell service. Verify the host identity and selected working folder before running work. Fleet controls can update, restart or stop those services. Real remote-host acceptance depends on your network and credentials.

Sync is off until configured. Select a private Git remote or supported shared folder and the data types to transfer. Sync does not transfer repository checkouts, credentials or native-client logins. Imported work stays inactive until explicitly restored; examine copies and backups before handing off ownership.

Phone access is opt-in. It uses a selected network interface, certificate identity and one-time pairing. Treat a pairing code as access to the configured service, verify the identity and revoke devices you no longer use. Network reachability and physical-device notification behavior depend on your setup. See machines, sync, sharing and phone access.

Technical-user guide

Run from source

Use Bun 1.4.4, Git and ripgrep. Desktop development additionally uses Node 22 and its npm dependencies. Packaged desktop installation is a separate path and does not automatically make a global rigwell CLI command available.

git clone https://github.com/scottconverse/rigwell.git
cd rigwell
bun install
bun src/cli/main.ts --help
bun src/cli/main.ts eval tasks

From the source checkout, prefix the following CLI examples with bun src/cli/main.ts in place of rigwell. Examples using rigwell assume you have installed or linked the CLI yourself. See desktop development for starting Electron from source.

CLI and TUI essentials

rigwell --cwd <repository>
rigwell exec --cwd <repository> "Explain the test setup without changing files"
rigwell exec --cwd <repository> --auto low "Fix the failing validation test"
rigwell exec --cwd <repository> --use-spec "Plan the settings migration"
rigwell exec --cwd <repository> -f prompt.md -w fix-validation
rigwell exec --cwd <repository> -o json "Summarize recent changes"
rigwell exec --cwd <repository> --input-format stream-json --output-format stream-json
rigwell exec --cwd <repository> --output-format acp
rigwell exec --cwd <repository> --list-tools
rigwell exec --cwd <repository> --only-tools Read,Grep,MCP:github "Inspect open issues"
rigwell exec --cwd <repository> --append-system-prompt "Prefer minimal diffs." "Fix lint"
rigwell exec --cwd <repository> --resume
rigwell exec --cwd <repository> --resume <session-id> "Continue the remaining checks"
rigwell exec --cwd <repository> --fork <session-id> "Explore another approach"
rigwell daemon --no-automations

The interactive terminal UI is the default command. Use /help for the available commands, /review for review and /pr for PR state/actions. The CLI help documents explicit machine, model, autonomy, trust and transport options. Do not enable unsafe permission skipping as a routine setup step.

Headless output/input modes, tool selectors & prompt flags

Standalone CLIs: doctor, mcp, and loop

rigwell doctor [--json] [--verbose] [--timeout <ms>] [--checks <list|all>]
rigwell mcp list|add|remove|auth|permissions [options]
rigwell loop create|list|pause|resume|cancel [options]

Agent tools, routing, goals & code providers

Configuration and credentials

Default data lives under ~/.rigwell; RIGWELL_HOME selects an explicit home. settings.json contains model profiles and agent defaults. Project configuration is loaded according to trust rules. Use named local profiles to separate projects or roles without copying credentials.

rigwell profile create work "Work"
rigwell --profile work auth status
rigwell credential set <credential-name>
rigwell credential delete <credential-name>

The credential-set command reads the value from stdin. Avoid a secret literal in shell history. API profiles can refer to keychain:<name> or supported environment references. Windows uses current-user Credential Manager where supported and an owner-private fallback when required. Native-client subscriptions keep their credentials in their own official-client stores.

Generic OAuth flows support registered clients, PKCE/device flow where offered, refresh and sign-out. A working OAuth implementation is not an app registration or provider entitlement. See authentication, local profiles, policy, spend limits and fallback models.

Evaluation and qualification

rigwell eval tasks
rigwell eval run --task <task-name> --model <profile-id>
rigwell eval compare --config <private-comparison-config.json>
rigwell eval history
rigwell eval report --since 7d
rigwell eval export --run <run-id> --format jsonl --out <results.jsonl>

Task folders contain a prompt, fresh repository fixture, budget and grader. Comparisons require explicit equivalent profile mappings and three trials per side. Keep task contracts, model choice, effort and budgets stable during a comparison. Retain failures and distinguish fake-service checks, real model execution, installed behavior and final delivery.

Rubric judges are optional and use a separate model selection. Their tokens and cost are recorded separately. Subscription/local totals are not cash prices unless pricing is explicitly supplied. Current release evidence does not establish universal model-family quality or every account's entitlements. See eval engine and Evaluations.

SDK and protocol

The TypeScript SDK exposes session creation, execution, cancellation and daemon connections. NDJSON JSON-RPC uses the rigwell. method prefix. Desktop clients use a preload boundary and authenticated loopback daemon connections; direct process clients can use stdio.

Implement request handlers for real user approval and questions when building a client. A client without an approver must not manufacture user approval. Handle disconnects, cancellation, partial file changes and terminal outcomes. Do not replay native coding invocations automatically after an uncertain failure. See clients and SDK and the protocol specification.

Backup, restore and upgrades

Pause work before copying its data. Back up repositories and Rigwell profile data separately. Repositories contain code and branches; the profile contains sessions, definitions and other coordination data. Credential stores and official-client logins require their own recovery mechanisms and are not portable just because a profile folder is copied.

When a new version is available, an Update available button shows at the top right of the window. Click it to download. The button shows Downloading, then Restart to install. Rigwell installs only after you click Restart to install. If the button shows Update failed or Update refused, point to it to read the reason, or click it to try again. File > Check for Updates runs the same steps.

Keep the previous installer and a profile backup before upgrading. A binary rollback does not undo data migrations or agent edits. Linux AppImage rollback restores the retained previous application after confirmation. Windows rollback reinstalls a retained signed installer; inspect the profile before resuming work. See release updates.

Architecture

System components

flowchart TB
    User["User and approvals"]
    Desktop["Electron desktop (Multi-window + Split-pane + Multi-tab browser)"]
    Terminal["CLI, TUI, doctor, mcp and loop"]
    ACP["ACP, JSON-RPC and TypeScript SDK clients"]
    Daemon["Local authenticated daemon"]
    Session["Session orchestration"]
    Work["Workstreams (Tasks + PR Auto-Fix) and Missions"]
    Goals["Continuous Session Goals and Automation Memory"]
    Router["Local Auto-Model Router"]
    Tools["Repository, WebSearch, GenerateDroid and MCP tools"]
    Providers["Code providers (GitHub, GitLab, Bitbucket, Azure DevOps)"]
    Adapters["Model adapters"]
    Local["Local model endpoint"]
    Cloud["Provider API"]
    Native["Signed-in official coding client"]
    Store["Local profiles, transcripts and Savings Analytics"]
    User --> Desktop
    User --> Terminal
    Desktop --> Daemon
    Terminal --> Daemon
    ACP --> Daemon
    Daemon --> Session
    Daemon --> Work
    Daemon --> Goals
    Work --> Session
    Goals --> Session
    Session --> Tools
    Session --> Providers
    Session --> Router
    Router --> Adapters
    Adapters --> Local
    Adapters --> Cloud
    Adapters --> Native
    Session --> Store
    Work --> Store
    Router --> Store

Desktop is a multi-window, split-pane user interface (localized in 8 languages, with a multi-tab browser and localhost dev-server discovery) over the same local daemon used by CLI, TUI, ACP, JSON-RPC, and SDK clients. It includes a bundled Bun runtime for the daemon. A Session owns conversation state, turn lifecycle, tool coordination, and usage. Workstreams (with Tasks and PR Auto-Fix), Missions, and Continuous Session Goals with Automation Memory persist their state locally. When auto is selected, the Local Auto-Model Router evaluates candidates before dispatching to model adapters and records savings in Analytics. Repositories remain ordinary files and Git worktrees.

Direct and subscription execution

flowchart LR
    S[Rigwell Session] --> Choice{Execution profile}
    Choice --> Direct[Direct model adapter]
    Direct --> Call[Model response and tool requests]
    Call --> Gate[Rigwell permissions and tools]
    Gate --> S
    Choice --> Client[Official coding client]
    Client --> NativeTools[Client native coding tools]
    NativeTools --> Activity[Activity and final result]
    Activity --> S
    Client <--> Bridge[Request-scoped MCP coordination bridge]
    Bridge <--> W[Workstream service and user prompts]

With a direct adapter, Rigwell executes its tool loop and applies its per-tool gates. With a signed-in client, the client executes native coding tools under its own permissions; Rigwell records activity and coordinates the session. The temporary MCP bridge exposes selected coordination tools, not an unrestricted daemon administration interface. Policies requiring Rigwell-only per-tool enforcement can refuse a native backend.

Workstream lifecycle

sequenceDiagram
    participant U as User
    participant L as Lead session
    participant W as Workstream service
    participant M as Persistent member
    L->>W: Propose goal and plan
    W->>U: Request approval
    U-->>W: Approve or edit plan
    L->>W: Spawn member with role and workspace
    W->>M: Start isolated session
    M->>W: Send progress or question
    W-->>L: Deliver message or event
    W-->>U: Surface required user input
    U->>W: Answer or change direction
    L->>W: Review, pause or archive

Approval creates the coordination scope; it does not make every later action universally authorized. Members remain attributable to their actor and session. A lead can coordinate messages and wait for events while user questions remain under user control. Pending service approval requests participate in the Session prompt registry and can be answered after view reattachment while that Session is alive. Native request history includes coordination receipts for the owning native backend.

Storage and trust boundaries

flowchart TB
    subgraph Machine[Your selected machine]
        UI[User interfaces]
        D[Daemon and sessions]
        H[Profile data and local index]
        K[OS credential backend or private fallback]
        R[Repositories and worktrees]
        UI --> D
        D --> H
        D --> K
        D --> R
    end
    D -->|Explicit model context| P[Selected remote provider]
    D -->|Configured transport| M[SSH machine]
    D -->|Selected redacted data| Y[Configured sync destination]
    D -->|Approved tool access| C[MCP server or external integration]

Local coordination does not mean every workflow is offline. Model requests, configured integrations, sync and SSH can cross machine boundaries. Share/export redaction reduces known secret exposure but cannot recognize every piece of sensitive business data. Review the actual material and destination before sharing.

Source map

AreaMain implementation
Agent loop, prompts and Auto-Model Routersrc/agent/ (router.ts, budget.ts)
CLI, ACP, doctor, mcp, loop and exec modessrc/cli/ (main.ts, acp.ts, exec-modes.ts, doctor.ts, mcp.ts, loop.ts)
Provider, code-host and native-client executionsrc/adapters/, src/auth/code-providers.ts
Protocol and daemonsrc/protocol/, src/daemon/, src/sdk/
Desktop (multi-window, split-pane, browser, 8-locale i18n)desktop/main/ (window-manager.ts, localhost-ports.ts), desktop/preload/, desktop/renderer/ (SplitView.tsx, BrowserTab.tsx, i18n.ts)
Persistent coordination, Tasks & PR Auto-Fixsrc/workstreams/ (tasks.ts, pr-autofix.ts), src/missions/
Automations, Continuous Goals & Memorysrc/automations/ (crons.ts, memory.ts)
Git isolation, PR Layers & moved-code diffsrc/worktree/, src/review/ (layers.ts, moved-code.ts)
Execution, permissions and tools (WebSearch, GenerateDroid)src/tools/, src/permissions/, src/jobs/
Settings, credentials, transcripts & Savings Analyticssrc/storage/, src/analytics/router-savings.ts
Evaluations and reportssrc/eval/, eval/tasks/
Remote, sharing and extensionssrc/machines/, src/sync/, src/mcp/, src/plugins/

Troubleshooting and recovery

SymptomWhat to checkSafe next step
First run has no modelsThe active profile and Settings > Custom ModelsConfigure one connection; do not paste a credential into the conversation
Lead reports the wrong model or effortModel and Reasoning controls below the message boxInterrupt the turn if needed and check its effects. Select the intended profile and effort before sending another request. Use Settings > Session Defaults for future sessions.
Official client cannot be foundIts installation and optional absolute executable settingRun that client's help/auth status locally; correct the path without changing provider or model
Authentication or rate limit errorThe selected account, provider entitlement and reported errorReauthenticate through the proper client or wait for the account limit; do not repeatedly retry an uncertain coding action
Local model will not loadServer URL, installed model, available RAM/VRAM and other model processesFree appropriate resources or select a model that fits; preserve unrelated running work
A Workstream proposal disappeared after a view reloadSame saved session and daemon stateReopen the same session in 0.4.2; a still-pending proposal is restored. Check for an existing Workstream before proposing again
A native command reports approval is requiredNative client deny rules, displayed Rigwell permission panel and account stateReview the exact request and allow once or cancel; do not switch models or enable permission skipping to bypass a refusal
A permission prompt is waitingSession, Inbox and Workstream member promptsApprove only the intended operation, or cancel and clarify
Workstream member appears idleIts transcript, queued messages, questions and budgetInspect the reason before resuming or increasing a limit
Agent says a check passed but evidence is absentActual command output, exit code, files and CIRequest or run the specific missing check; do not treat the summary as a receipt
Update or download failsExact release asset, checksum, signature and available disk spaceRetain the previous app and profile backup; report the precise error
App or daemon disconnectsCurrent process state, selected profile and saved sessionCheck for still-running work before restarting; resume saved work deliberately
Sync has conflicting revisionsBoth copies and ownership/lease informationInspect copies and backups before Restore; do not overwrite the only known-good version

Use Report a bug to create a local diagnostic archive. It is not uploaded automatically. Review it before sharing, because redaction cannot guarantee removal of all sensitive data. Include operating system, app version, steps to reproduce, expected behavior, actual behavior and the relevant log or receipt. See crash reports.

Limits of this release

Rigwell 0.6.1 ships signed, packaged installers across all three platforms: a signed Smart-App-Control-clean Windows NSIS .exe, a signed, Apple-notarized, stapled macOS arm64 .pkg, and Linux x64 .AppImage and .deb packages. See the 0.6.1 release notes for current verification and upgrade details, and the 0.5.2 release notes for earlier Model setup notes. Real connector registrations, Bitbucket/Azure DevOps credentials, remote SSH hosts, phone networks, email delivery, and Bedrock access depend on your own environment and credentials.

The current evaluation subsystem is smaller than Stax. Compatibility with real Stax exports has not been verified. A hosted Stax option and later open-source reuse assessment belong to the next-version list, not this release.

Glossary

TermMeaning
SessionA saved conversation and execution context in a working folder
DaemonThe local background service connecting interfaces and agent engines
Model profileA configured way to access a model, including execution backend and options
Local profileAn isolated set of settings, sessions and credential namespaces
WorktreeA separate checkout tied to its own Git branch
WorkstreamPersistent lead/member coordination around an approved goal
MissionPlanned, staged work with execution and validation
ConnectorA configured external tool/resource service, commonly through MCP
AutonomyThe level of action allowed without individual prompts; enforcement depends on the execution backend
GraderA deterministic check or explicitly selected model judge used to evaluate a result

Reference library

For the current release: 0.6.1 release notes.

For installation and daily use: Install, Authentication, Desktop, Review, Clients.

For connected work: Machines, Phone, Sync, Sharing, Connectors, Plugins.

For operations: Workstreams, Automations, Triggers, Delegation, Inbox, Policy, Spend limits, Profiles, Release updates.

For knowledge and quality: Wiki, Academy, Analytics, Evaluations, Mission readiness, Local services, Browser tools, Evaluation engine, Fallback models, Workstream notifications, Labs, Crash reports, Hardware acceptance, Next-version scope and Specification clarifications.

The implementation contract is in the specification. Maintainer evidence and outstanding acceptance are tracked in the handoff. The license is AGPL-3.0-only, with third-party notices in NOTICE.