nilbox

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT

README ΒΆ


Nilbox app icon

Nilbox

Your GitHub inbox, set to nil.

One inbox for every repository you touch.
One click to hand any pull request or issue to a coding agent.


Release Go Version Platform License


CI / CD Β Β  Build Frontend Last Commit Β Β Β Β  Quality Β Β  Coverage
Security Β Β  Scorecard Security Β Β Β Β  Community Β Β  Contributors Bitcoin


Project Navigation
πŸš€Β Installation ⚑ QuickΒ Start ✨ Features
🧭 HowΒ ItΒ Works πŸ“šΒ Documentation πŸ”Β Security
πŸ› οΈΒ CodeΒ Standards πŸ§ͺΒ ExamplesΒ &Β Tests πŸ€–Β AIΒ Usage
🀝 Contributing πŸ‘₯Β Maintainers βš–οΈΒ License


Nilbox is a local-first macOS app that turns a GitHub account spread across hundreds of repositories into one focused inbox. It shows what needs you, hides the noise, lets you review and merge without leaving it, and opens any pull request or issue in Claude Code or OpenAI Codex, already in the right clone, worktree, account, and prompt.

GitHub's notifications stop scaling after a few dozen repositories. Across 200+ repos in personal accounts and organizations, review requests, mentions, assignments, and bot noise land in one unranked pile, and acting on any of it means a context switch: find the clone, check out the branch, open a terminal, start an agent, retype the prompt. Nilbox handles both: it filters out the noise, and it launches the agent for you. It then keeps the worktrees those agents leave behind tidy, and, if you use mage-x or go-pre-commit, releases your repositories and runs their hooks and scripts too. Your triage state stays on your machine and never touches GitHub.



                                   YOUR MAC
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚                                                                         β”‚
  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
  β”‚  β”‚  NILBOX                      β”‚        β”‚  iTerm2 / Terminal.app    β”‚  β”‚
  β”‚  β”‚                              β”‚        β”‚                           β”‚  β”‚
  β”‚  β”‚  Inbox      triage Β· review  β”‚  Open  β”‚  worktree pr-42 of        β”‚  β”‚
  β”‚  β”‚  Worktrees  track Β· clean up β”‚   in   β”‚  example-repo             β”‚  β”‚
  β”‚  β”‚  Prompts    your templates   β”‚ Claude β”‚  claude  or  codex        β”‚  β”‚
  β”‚  β”‚  Scripts    release Β· hooks  │───────►│    profile Β· model Β·      β”‚  β”‚
  β”‚  β”‚                              β”‚or Codexβ”‚    effort Β· your prompt   β”‚  β”‚
  β”‚  β”‚                              β”‚        β”‚                           β”‚  β”‚
  β”‚  β”‚  local SQLite, never sent    β”‚        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                       β”‚
  β”‚                  β”‚                                                      β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚  GraphQL + REST reads, and the edits you ask for
                     β”‚  your gh CLI token, held in memory
            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
            β”‚  api.github.com  β”‚
            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Installation

Nilbox is a native macOS app, built from source with one command.

Platform: macOS 13 or newer. Linux and Windows are on the roadmap.

Requirements

  • macOS 13+ with the Xcode Command Line Tools (xcode-select --install)
  • Go 1.26+, Node 26, and pnpm at the pinned version (npm install -g pnpm@12.16.1)
  • MAGE-X: go install github.com/mrz1836/mage-x/cmd/magex@latest
  • GitHub CLI, signed in with the repo and read:org scopes (add the optional read:project scope to see the projects your issues are in)
  • To launch sessions: the Claude Code CLI (claude), the Codex CLI (codex), or both, and iTerm2 or Terminal.app
git clone https://github.com/mrz1836/nilbox.git && cd nilbox
magex app:run      # build bin/Nilbox.app and open it

After that, magex app:open reopens the build, and magex app:run rebuilds after you pull. The Wails CLI is never installed: the build runs it with go run at the version go.mod pins.

Signing, firewalls, and where your data lives
  • Signing: magex app:build signs the bundle ad hoc, which is enough to run it on the Mac that built it.
  • Firewalls: a per-app firewall must let bin/Nilbox.app/Contents/MacOS/nilbox reach api.github.com, or every refresh times out. Blocking avatars.githubusercontent.com only swaps profile pictures (yours, and those of the people an issue shows) for initials, and blocking the status pages (www.githubstatus.com, status.claude.com, and status.openai.com) only leaves the service status check saying it couldn't reach them.
  • Data: everything lives in ~/Library/Application Support/Nilbox, readable only by you. The database is nilbox.db (SQLite, WAL mode), and a copy is saved before each schema migration (the three newest are kept). Your prompts and launch defaults are also kept in prompts.json and launch-defaults.json beside it, rewritten after every change, so they survive an update or a damaged database. The review sheet keeps the diffs of pull requests you open in it there too, capped at 64 MB, and the issue sheet the conversations of issues you open in it, capped at 32 MB, each dropped after 14 days unused. GitHub tokens are never stored there or anywhere else.
  • A damaged database is renamed to nilbox.db.broken-<UTC time>, never deleted, and the app starts with a fresh one, your prompts and launch defaults brought back on their own.
  • Logs: logs/nilbox.log in the same folder, at most three files of 5 MB each. Start the binary with --debug to keep debug records too. No log holds your GitHub token.

Full setup and every build target: docs/desktop.md.


⚑ Quick Start

Six steps, in the order you'll use them. On the first launch Nilbox walks you through the first few itself: a short setup checks your GitHub sign-in, finds your clones, picks your agent and terminal, and sets up your notifications, with the command that fixes anything missing. Settings β†’ About β†’ Run setup again brings it back.


Connect GitHub
gh auth login                     # Nilbox borrows this login; it needs the repo and read:org scopes
gh auth refresh -s read:project   # optional: show each issue's project and its status there
gh auth status                    # confirm you're signed in, and see the token's scopes

Nilbox reads the token with gh auth token and keeps it in memory only, for up to ten minutes; it asks gh again sooner when GitHub refuses the token or you switch accounts with gh auth switch. read:project is read-only and optional: without it everything works, issue cards just leave their projects out, and the inbox offers the command until you close the tip. Settings β†’ Account shows whether projects are on.


Work the inbox

The Inbox tab shows three lists, Review requested, Authored, and Assigned, drawn from every repository your account can see and refreshed every five minutes (Settings β†’ Refreshing sets how often). Snooze an item (3 days by default), dismiss it, or pin it to the top, and pin or mute a whole repository or org. Each card's β‹― menu gathers those, opens or copies the item's link, and, when you're assigned or asked to review, takes you off it on GitHub. Press ⌘F to filter the inbox: type a few words, or pick repo:, label:, author:, and more from the field's list.

Click a pull request's title to review it without leaving the app: its diff, description, checks, and what it still needs to merge, then one button for the action that fits, such as approve or merge, with every other action, asking for changes included, in its menu, all pinned to the commit you saw. Every merge asks first.


Launch a coding agent

Click Open in Claude (or Open in Codex) on any card. Nilbox finds the item's local clone under ~/projects, or in your other repository locations, gives the item its own pr-<n> or issue-<n> worktree beside it, opens a terminal there, and starts the agent with your prompt loaded. The card then follows the session: working, waiting for your approval, or done. Use the arrow beside the button instead to switch agents for one launch, pick the prompt, profile, model, effort, and plan mode, and save the choices as the repository's or org's defaults.


Make the prompts yours

The Prompts tab starts with Review, Work on it, Quick look, and Fix checks. Edit them or write your own as Go templates ({{.Title}}, {{.URL}}, …), with a live preview filled in from a real inbox item. Review replies beside them hold the text a review starts with, such as LGTM for people and Update OK for dependency bots.


Clean up finished worktrees

The Worktrees tab lists every linked worktree in your clone root and your other repository locations. Clean up removes one only when nothing would be lost, and a background sweep does it for you once the pull request merges or the issue closes. Clean up merged branches… clears out the local branches of pull requests that merged, never touching main, master, or any branch you protect.


Release, check, and run scripts

If you use mage-x or go-pre-commit, Settings β†’ Integrations finds them (or installs them from their GitHub releases), and a Scripts tab appears. Release lists every clone with unreleased changes, has magex tag and push the exact version you pick, and follows it until GitHub publishes it. Hooks installs go-pre-commit's Git hook across your clones and runs its checks, and Repo scripts runs a clone's t3.json scripts, VS Code tasks, magex targets, and commands of your own.


πŸ“– For how every feature behaves, see the Desktop Guide β†’


✨ Features

Everything Nilbox does, grouped by what you're doing. Expand any feature for the details; each links to its full write-up in the Desktop Guide.


Your inbox
One inbox, every repository: your reviews, pull requests, and assignments
  • Three lists, each a GitHub search across every repository your account can see: Review requested (open pull requests that ask for your review), Authored (your open pull requests), and Assigned (open issues and pull requests assigned to you). Each shows up to 100 items, with N of M when GitHub matched more, and a list with nothing in it, set aside included, hides. Archived repositories, and items merged or closed since GitHub indexed them, never show.
  • Cards that answer "is it ready?" in three lines: the title with Draft, Conflicts, and Auto-merge Β· squash tags; the repository, author, age, and a bot, untrusted bot, or outside contributor tag; then the checks passed out of those that ran, reviews, comments, a size grade (XS to XL) with lines, files, and commits, and the first labels in their GitHub colors. The details line up from card to card; hover any of them for the whole sentence.
  • Live signals: checks still running pulse in yellow (12/18), and a card names the item's worktree (worktree Β· 2 changes Β· Codex 3h ago) and what its agent session is doing (Claude Β· needs approval Β· 2m).
  • Click a title to review a pull request, or read an issue, in the app; ⌘-click it, or click the β†— beside it, to open it on GitHub.
  • Always current: a refresh on start and every five minutes, Refresh whenever you like, and a card's own circular arrow to read that one item for one API point. Pull requests whose checks are running are read again every 45 seconds, all in one request, until their checks end. Settings β†’ Refreshing sets both intervals.
  • Counts you can trust: the Inbox tab counts each item that needs you once, even when it is in two lists, and a list you collapse stays collapsed across launches.

More in Inbox cards.

Filter as you type: GitHub-style keys, with no request to GitHub
  • ⌘F or / focuses the toolbar's field, which filters the page you're on: the inbox, the worktrees, or the settings.
  • Words and keys: every word must appear ("a phrase" matches as one, -word leaves out), and keys narrow by what an item has: is:pr, is:issue, is:draft, is:pinned (pinned itself, or with its repository or org), is:conflict, repo:, org:, author:@me, label:, status:, project:, checks:failing, and review:approved, among others. -key:value leaves out, key:a,b means either, and #123 finds an item by its number.
  • Suggestions with counts as you type, each counted among what the rest of your query already matches, and keys the page understands are tinted.
  • Lists keep their order and show only their matches, as 5 of 38. Snoozed and Dismissed count theirs too, a tab with none points to the one that has some (No matches here Β· 2 in Snoozed), and the words you typed are marked in the titles.
  • Click to filter: a card's repository, author, and labels add themselves to the filter, and a second click takes them out.
  • Worktrees filter by repo:, branch:, agent:, is:dirty, is:in-use, is:finished, and more, and Find a setting narrows Settings to the sections with a match and marks it.
  • Each page keeps its own query until the app quits.

More in Filtering.

Issue projects: status, priority, size, and sub-issue progress on each card
  • On the card: the GitHub project an issue is in, its status there in the project's color, and its priority and size beside it. Hover the project for every other field (estimate, phase, dates, iteration), and click it to open the board; an issue in more projects shows +N.
  • Sub-issues: an issue with sub-issues shows how many are done, as 6/8 with a small bar. This needs no extra scope.
  • Sort by status: flip Assigned from Recent to Status to see work in progress above work that's ready, new, or set aside. Every project names its own statuses, so Status order is yours to arrange; statuses you haven't placed are placed by their names. The sort and the order are kept across launches. Beside it, All | PRs | Issues shows only one kind of item in the list, its count reading N of M while it does.
  • One optional scope: projects need the read-only read:project scope (gh auth refresh -s read:project). Without it the inbox works as before and offers the command until you close the tip. With it, projects come with the details the inbox already reads, so they add no request.

More in Issue projects.

Triage that stays on your Mac: snooze, dismiss, pin, and mute
  • Snooze an item for 1 day, 2 days, 3 days, 1 week, 2 weeks, or 30 days (3 days by default). It waits in Snoozed, comes back at the same time of day, and says Back from snooze for a day after.
  • Dismiss an item until you restore it, however much it changes on GitHub.
  • Pin an item to the top of every list it's in. A pin outlasts a snooze or a dismissal.
  • Pin or mute a repository or an org from a card's menu or Settings β†’ Repositories. A pinned one's items come right after the items you pinned, and match is:pinned. A muted one's wait in each list's Muted tab, out of the counts, the menu bar, and the notifications, and nothing follows their checks. A repository's own rule wins over its org's, so you can mute an org and pin one of its repositories.
  • From the sheets too: the review and issue sheets carry the card's snooze, dismiss, and pin in their headers, and move on to the next card when one sets it aside.
  • Undo is in the toast that confirms each snooze, dismissal, pin, and mute.
  • Wake rules end a snooze early when new commits (any push, by default), reviews (an approval or a request for changes, by default), or comments reach your thresholds in Settings β†’ Snoozing, and the card says why, as in Back early: approved, 2 new commits.
  • Inbox nil: empty every list and the inbox throws a party, with confetti, a terminal that checks off each list, and Achievement unlocked when you get there while you watch. With Reduce motion on, it holds still.
  • Snoozes, dismissals, pins, and mutes live on your Mac. GitHub never hears about them.

More in Snooze, dismiss, and pin and Inbox nil.

The item menu and edits on GitHub: take yourself off an item from its card
  • One menu per card: the β‹― beside the triage buttons opens a pull request in the review sheet (Review…), opens the item on GitHub, copies its link, gathers the triage actions under Inbox actions (with a submenu of snooze lengths), and holds the edits below. The hover buttons stay for one-click triage, and the menu works from the keyboard like any Mac menu.
  • Unassign me takes you off an item assigned to you, and Remove me as reviewer takes back a pull request's request for your review. A request made only to a team says so instead, since GitHub removes a team's request for every member or none.
  • Checked, then shown: each edit is one REST request. While it runs, the card fades under a note saying what GitHub is doing, and it changes only once GitHub's answer confirms the edit. The item stays out of that list while GitHub's search catches up.
  • Your account only: an edit goes out only with the token of the account whose inbox you see, so a gh auth switch never sends one for the wrong person.
  • Within your budget: edits are counted in the API budget, paced at 30 a minute and 200 an hour, well under GitHub's limits on writes (80 and 500), held while REST is down to its last hundredth, and paused as long as GitHub asks.

More in The item menu and edits on GitHub.


Review and merge
The review sheet: a pull request's diff, checks, and reviews in one panel
  • Everything in one place: click a pull request's title for its files and diffs, its description (rendered with no remote images), its checks (failing first, the required ones marked, running ones pulsing), each reviewer's latest review, and a readiness sentence that stays in view, such as An approval Β· checks running Β· auto-merge available, with the pull request's worktree and agent session under it. A dependency bot's pull request says what it bumps (golang.org/x/net 0.30.0 β†’ 0.31.0 Β· minor).
  • Easy to read: lock files, generated files, and files with more than 400 changed lines start folded, viewed files get a tick, and ← and β†’ step through the list the pull request came from.
  • One button runs the action that fits and says what it does: Approve & squash-merge, Approve & auto-merge, Merge, Update branch, Ask Dependabot to rebase, or Comment when a required check fails. βŒ˜β†© runs it, and its menu lists every action, with why one can't run now.
  • Bringing a branch up to date: the menu offers Ask Dependabot to rebase on every open Dependabot pull request, and Update branch whenever GitHub lets you. Neither is the button unless the rules hold the pull request back for being behind (or, for the rebase, it has conflicts); with nothing else to run, the button reads Choose an action and opens the menu.
  • Workflow runs waiting for approval: the runs GitHub holds until a maintainer approves them, as it does a fork's, show on the card as held rather than as passed checks, and the sheet names them in a bar with Approve workflows to run, which asks first when the pull request changes workflow files. The sheet stays open until their checks start, and each run links to GitHub in case GitHub won't let the sheet approve it.
  • Line comments and suggestions on the diff, checked against it before GitHub sees them, and a draft per pull request that survives closing the sheet.
  • Your replies, your agent's verdict: your review replies start the text, and the latest Claude or Codex session on the pull request shows what it last said, with Use as review comment to put it in your review. Open in Claude (or Codex) is right there too.
  • Instant and cheap: it opens from what it read last time, with no request, then checks GitHub in the background, for one GraphQL point when nothing was pushed.

More in Reviewing a pull request.

The issue sheet: read, comment on, and close an issue in the app
  • Read it here: click an issue's title for its description and conversation, oldest first, with hidden and bot comments folded, events on a line, and a New divider at what came since your last visit, which the sheet scrolls to.
  • Where it stands, in one sentence: Fix merged: #14 into release-1.2, Fix in progress: #14 Β· checks failing, You replied last, or Assigned to you, beside the pull requests that fix it, its labels, projects, milestone, sub-issues, and who took part.
  • Comment, or close it as completed or as not planned: every close asks first, posts your text as a comment before it, and never goes over a comment you haven't read: if someone commented since you opened it, nothing is sent and the sheet shows you what's new. Unassign me is in the same menu, and Quote reply quotes a comment into yours. Replies fills your comment in from one of your comment replies for issues; none is picked for you.
  • Labels and assignees, with triage access: edit them from the details, each answer checked, since GitHub ignores a change it won't make rather than refusing it.
  • Your agent's verdict shows with Use as comment, and Open in Claude (or Codex) hands the issue to an agent from the sheet.
  • One list, both kinds: ← and β†’ step through the list's cards as it shows them, pull requests and issues alike, and the sheet switches to suit each. A pull request that fixes the issue, or an issue a pull request closes (the review sheet's Closes row), opens in its own sheet when it's in your inbox, with a step back.
  • Instant and cheap: it opens from what it read last time, with no request, then checks GitHub for one GraphQL point.

More in Reading an issue.

Merges you can trust: pinned to the commit you saw and confirmed every time
  • Every merge asks first, with the methods the repository allows (starting on the one Settings β†’ Reviewing picks) and any warnings to accept, such as optional checks failing. Approve, Comment, Request changes, and Update branch are one click; Update branch asks first on a Dependabot pull request, which Dependabot stops rebasing once someone else changes it.
  • Pinned to the commit you saw: a merge after a push is refused, and an approval checks that nothing was pushed before it goes, so you never approve code you didn't see.
  • No silent admin bypass: every merge reads the merge state fresh and merges only when GitHub says it can, so an admin's token never merges past branch protection on its own. Merge past the rules does, only from the menu, after you accept each rule it skips.
  • Your text goes with it: Merge, Merge when ready, and Merge past the rules post your text and line comments as a comment first, at the commit you saw, and only once the merge can go ahead. If GitHub then won't merge, the toast says the comment is posted and why, and the text leaves your draft, so a second try never posts it twice.
  • Close without merging: Close pull request sits at the foot of the menu wherever GitHub lets you close it. It is never the button, it asks first, and it posts your text as a comment before it closes, once it has checked that nothing was pushed.
  • Every step in view: a panel ticks off each step as GitHub finishes it (Checking your account, Approving, Checking that GitHub can merge it, Squash-merging), and a toast reports the outcome. A merge or a close takes the pull request out of every list at once.
  • No agent ever approves, merges, or closes. Each one happens only because you clicked.
  • Costs what it says: each write costs one point, plus one to check the head before an approval or a close, one to three for the merge-state read before a merge, and one more when your text goes as a comment first (two for Merge when ready, which reads the merge state before it comments).

More in Reviewing a pull request and Edits on GitHub.


Coding agents
One-click launch: Claude Code or OpenAI Codex in the item's own worktree
  • Two agents, one button: Open in Claude or Open in Codex starts the agent in a new iTerm2 tab (the default) or Terminal.app window, with the item's prompt, profile, model, and permissions already worked out.
  • The item's clone, found by matching git remotes one level under your clone root (~/projects by default) and your other repository locations: folders anywhere else, each looked into one level deep, or single clones, added in Settings β†’ Repositories. No clone yet? The card offers to clone it into the clone root with gh repo clone, or to pick the clone you have elsewhere, which it adds as a location, then carries on with the launch.
  • Smart about where clones live: adding a folder previews it first. A folder with no clones directly inside suggests the folders inside it that have some (~/src/<owner> layouts), a clone whose folder holds other clones offers that folder, and a location that is unplugged says so, while its worktree records wait for it. A network share that stops answering is skipped after 5 seconds, and read again next time.
  • Its own worktree, made by Nilbox in Go beside the clone, at ~/projects/.nilbox/worktrees/<repo>/pr-<n> (or issue-<n>), from the pull request's head or the default branch. Every agent shares it, so a later launch, with either agent, resumes it, and a worktree Claude Code made under a clone's .claude/worktrees is picked up too.
  • Your clone stays as it is: a launch never checks out, pulls, or resets an existing clone, and its git commands run with hooks off, so no hook can run a pull request's code before the agent starts. A clone whose own git config names a program git would run gets no worktree, and the launch names the settings.
  • No trust dialog: the folder is marked trusted in the profile's own config (Claude Code's .claude.json, or Codex's config.toml), so the session starts straight away.
  • No prompt on the command line: the prompt goes through a file, and the launch script only changes into the folder and starts the agent.
  • One session per folder, unless you say so: while a session runs on an item, its button is Show in terminal, and starting another in the same folder asks first.

More in Launching a session and Worktrees.

Profiles and launch defaults: each repository launches with the right setup
  • Profiles: ~/.claude and ~/.codex are each agent's default profile, and each ~/.claude-<name> or ~/.codex_<name> folder (either separator) becomes that agent's profile <name>, run with CLAUDE_CONFIG_DIR or CODEX_HOME. Settings β†’ Profiles lists them with what each sets, and marks a Codex profile that isn't signed in.
  • The launch menu (the arrow beside the button) switches the agent and picks the prompt, profile, model, effort, worktree, and plan mode for one launch, each showing where its default comes from. Its preview shows exactly what will run: the filled-in prompt, the folder, what happens to the worktree, the permissions, and the command line.
  • Save as the default for the repository, or for its whole org, in one click, with Undo.
  • Launch defaults per org and per repository set the agent; each agent's profile, model, and extra flags; the prompts for pull requests and issues; and the effort, plan mode, and worktree. They resolve in a fixed order, so each repository launches on the right account with either agent.
  • Codex's effort and Fast mode: Codex keeps its own unless you turn on Set Codex's effort at launch or Start Codex in Fast mode in Settings β†’ Launching, or tick Fast mode in the launch menu for one launch. Each runs the session outside Codex's app server, where Nilbox can't see that it waits for you.
  • Your agents, as they are: Nilbox never stores model credentials and never reads an agent's sign-in.

More in Coding agents and profiles and Launch defaults.

Follow every session: what each agent is doing and what it last said
  • On the card: a tag such as Claude Β· needs approval Β· 2m follows the item's newest session: starting, working, needs approval, needs input, idle, failed, or ended. A session that ended stays on the card for a day.
  • The session panel: click the tag for every session of the item, with its agent, profile, and prompt, what it started with and where (full access Β· new worktree), anything its launch worked around, and the start of what the agent last said. Show in terminal brings its tab forward, Resume reopens one that ended, Show in Finder shows its folder, and Copy session ID copies the agent's own ID.
  • Waiting for you: the menu bar lists the sessions waiting for your approval or input, and banners for sessions that wait or finish a turn are there to turn on.
  • Read, never sent: Claude Code is read through claude agents --json and its transcript, and Codex through its local app server, with read-only methods. Nothing is ever sent to a session, and nothing about sessions leaves your Mac.
  • Follow agent sessions under Settings β†’ Launching turns it all off.

More in Following a session.

Prompt library and review replies: Go templates with a live preview
  • Prompts are Go text/templates with variables such as {{.Title}}, {{.Branch}}, {{.Checks}}, and {{.Dependency}}. Each has a title, a short nickname for the launch button, the kinds of item it applies to, and optional launch settings (each agent's model and extra flags, and the effort, plan mode, and worktree).
  • Four starters, Review, Work on it, Quick look, and Fix checks, are yours to edit, duplicate, delete, or reset.
  • The editor highlights the template and completes variables as you type. It checks the template with the same Go package a launch uses, reporting the line and column with "did you mean" suggestions, and previews it filled in for a real inbox item beside a cheat sheet of variables.
  • Defaults for pull requests and for issues, app-wide, per org, or per repository.
  • Review replies are a second library beside the agent prompts: the text the review sheet starts an approval, a request for changes, or a comment with, filled in for the pull request. LGTM, Update OK, Needs changes, and Question to start, and a default for approvals, for bots' pull requests, for changes, and for comments. A comment reply can be for issues too, which the issue sheet offers. A reply never launches anything.
  • Never lost: after every change the library is copied to prompts.json, and your launch defaults to launch-defaults.json. Both come back on their own whenever the database has to start over.
  • Share them: export the library, or one prompt, to a prompt file, and import one after seeing what each prompt would do. Importing never changes a prompt you wrote or edited, and Restore from a backup brings prompts back from any copy the app kept.

More in Prompts.

Trust and sensitive files: plan mode for outsiders, and risky files flagged
  • Outside contributors: items from forks, people outside the project, and bots not on your trusted list (dependabot, github-actions, and renovate by default) launch in plan mode (for Codex, a read-only sandbox that asks first), whatever the profile says, unless you opt out for that one launch. Their prompts end with a fixed line telling the agent to treat the item's text as information, not instructions.
  • Sensitive files: pull requests from outside contributors and untrusted bots (and from collaborators, unless you narrow the check) have their changed files checked against five categories: agent configuration, workflows and CI, build and dev tooling, review and merge rules, and dependencies. Your own .gitignore-style patterns are checked too, and Try a path says whether a path would be flagged.
  • On the card: a chip names each category touched, links every file to its diff, and says plainly when the files weren't all checked.
  • Head-commit confirmation: a launch on a pull request that changes agent configuration, or whose files couldn't all be checked, waits until you confirm its exact head commit. A project hook added on that branch would run as soon as a session starts, even in plan mode.
  • Permissions stay put: a profile's extra flags can never set permissions, and a shared prompt file can't loosen them.

More in Outside contributors and Sensitive files.


Your clones

The Scripts tab, with Release, Hooks, Repo scripts, and Runs, appears while mage-x or go-pre-commit is on in Settings β†’ Integrations, or while you turn Scripts on there.

Worktrees and branches: cleaned up once merged, never at the cost of work
  • Every worktree, in one view: the Worktrees tab lists every linked worktree of the clones in your clone root and other repository locations, including ones from sessions started outside Nilbox, with the branch, uncommitted files, commits not on GitHub, locks, and the age of the last commit. While it lists, the toolbar shows how far it has got.
  • Kept track of: Nilbox records each worktree it makes, with the agent and time of its latest session, and checks every record against git each time it lists or sweeps: a worktree moved is followed, one removed outside the app is forgotten, and one on an item's worktree-<item> branch is picked up.
  • Linked to its item: GitHub is asked whether each one's pull request or issue is done, so each shows as in use, ready to clean up, or needs a look. In use means a running process, of any agent or tool, works inside it.
  • Clean up removes a finished worktree only when nothing would be lost: no uncommitted changes, every commit on GitHub, and no session running in it. A sweep every five minutes (or as set in Settings β†’ Refreshing) does the same once a pull request merges or an issue closes.
  • Remove, Remove all clean, Force remove (for dirty, unlocked worktrees), Prune, and Unlock for an agent's lock whose session has ended. The main worktree is never removable, a worktree in use is never removed, and a lock you set by hand is never released.
  • Branches go only on purpose: every removal asks first, with a box for each branch it would take, ticked as Settings β†’ Worktrees says. A branch goes only when every commit on it is on GitHub, and only while it still points at the commit shown.
  • Clean up merged branches… finds each clone's local branches whose pull request merged, in a few batched GitHub requests, and deletes the ones you tick. Protected branches (main and master by default, plus names or patterns such as release/*) and each repository's default branch are never offered, and Copy restore commands copies what brings a deleted one back. A merged branch held only for commits not on GitHub can be deleted anyway, once you ask for such branches to be offered, tick it, and confirm a second time.
  • Recently cleaned up lists each cleanup, by hand or automatic, with the deleted branch and the commit the worktree was at.
  • Guarded against a clone's own config: a worktree whose status can't be read safely, such as one whose clone names a hook or a filter git would run, says why and is never removed.

More in The Worktrees view and Branches.

Release in two clicks: tag and push with magex, followed to published
  • Every clone, one list: each clone in your repository locations whose origin is on GitHub, grouped into Unreleased changes (newest commit first), Up to date, No releases yet, Can't release here, and Muted, the repositories you muted, which GitHub isn't asked about. A pinned repository comes first in its group. Each row shows the newest version, the commits since it, the checks on the newest commit, and what matters about your clone, such as being on another branch or having uncommitted files. Groups stay open or folded as you left them.
  • Read once, then kept: the list is read from GitHub in a few batched requests and kept as it is, however old, until you click Read GitHub again. After a restart it shows at once while it's read again behind it, and after a release, or a merge in the review sheet, only that repository's row is read again.
  • The release sheet checks the clone, origin, and GitHub before you click: uncommitted changes, where your clone is, commits not on GitHub, a version only on your Mac, reaching origin, the checks, signing, and more, each with its fix. It lists the commits since the last version and offers Patch (always preselected), Minor, or Major, with a hint from the commits' feat: and fix!: prefixes. The button names the version, and everything is checked again under the clone's lock before magex runs.
  • Major needs a magex that can be told which version to make (1.30.0 or later), the exact version typed to confirm, and, for a Go module whose go.mod doesn't name the new major, a box ticked on purpose.
  • Runs in Nilbox or your terminal. In Nilbox, the sheet ticks off magex's steps with the live log; in iTerm2 or Terminal.app, a signing passphrase can be typed, and Nilbox still follows the run. Either way, the result is what GitHub and your clone say once magex ends: the tag on GitHub, the branch your clone is back on, or, if the push didn't land, the commands to finish or undo it.
  • Followed to published. Once the tag is on GitHub, Nilbox follows the tag's release workflow, at most 20 checks over 45 minutes, and says when the release is published, when one of the tag's workflows failed, or why it stopped following, with a banner for the first two. It picks up where it left off after a restart.
  • Recent lists the last 10 releases started from the app, and how each came out.
  • After a merge, the review sheet's toast offers Release acme-org/sdk…, behind a setting that's on by default. Nilbox never releases by itself: magex tags and pushes only when you click the button that names the version.

More in Release.

Git hooks: go-pre-commit's hook installed and kept current in every clone
  • Every clone with a go-pre-commit config, grouped into Needs attention (no hook yet, an outdated one, another tool's, or a hooks folder other repositories share), Ready, and Turned off in the repository, with the clones that have no config folded below. It never asks GitHub, so it works offline.
  • Install, Update, Reinstall, or Replace… a clone's hook in one click, or Install and update all at once. Replacing another tool's hook (husky, pre-commit, lefthook) asks first and names where it goes, and a hooks folder other repositories share asks before anything changes it.
  • Read from the hook files: what each action did comes from the hook files afterwards, never from go-pre-commit's exit status alone.
  • Run the checks on every file, the staged ones, or one check. The result says which passed and which failed and why, and every file they fixed or staged, including files that already had uncommitted changes.
  • Each row's β‹― menu also uninstalls the hook (putting back the one it replaced), shows the config in Finder, and opens your terminal in the clone.
  • The PATH warning shows while your shell's PATH won't let the hook find go-pre-commit, with the line that fixes it.

More in Hooks.

Repo scripts: tasks, magex targets, and your own commands, one click each
  • A clone's own commands: its t3.json scripts, the .vscode/tasks.json tasks Nilbox can run (one it can't, such as a task that uses ${file}, shows greyed with the reason), and magex's targets: the common ones one click away, the rest searchable, with an Arguments field for key=value pairs. A task's inputs open a small form first.
  • Your own scripts: New script saves a command of yours, shown first in every repository, the Go ones, or those you choose, with its own place to run, an optional ask before running, and an icon. It runs exactly as written in your login shell, with NILBOX_REPO, NILBOX_REPO_DIR, and NILBOX_DEFAULT_BRANCH set.
  • A command from the repository asks first. Before a t3.json script, a VS Code task, or the repository's own magex target runs for the first time, Nilbox shows exactly what will run and where, and asks again whenever it changes, showing what you ran before. What runs is what you saw: a command that changed after you confirmed it is refused.
  • Version bumps point to Release, which does them with its checks; Run it anyway stays in the menu.
  • Up to date before you run: beside the branch, the page says whether origin has newer commits on it, asking about that branch alone (an origin not on GitHub only when you click Check), and Pull fast-forwards it (git pull --ff-only, never a merge or a rebase). A clone whose own git config names a program git would run says it can't be pulled, and why.
  • Runs where you want: every command runs where your runs go, or, from its menu, in the other place. The page says a run started, with Show it, or opens each one beside the scripts if you ask. Its sections fold and stay as you left them.
  • Nothing runs just to list them: the files are read, and magex's own targets are listed in a folder of the app's own. Settings β†’ Integrations chooses which sources the page reads.

More in Repo scripts.

Runs: every release, check, script, and update, with its live log
  • One list: every run, with its status, its result, and its full log (colors kept), plus Copy log, Show the log file, Open in terminal, and Run again where it makes sense. The Scripts tab counts the runs going, with a red dot after one fails.
  • In Nilbox or your terminal: Runs in under Settings β†’ Integrations picks. A run in iTerm2 or Terminal.app gets a real terminal (colors, a passphrase prompt), and Nilbox still follows its output and exit status.
  • One run per clone, none queued: a second run there, or a launch that needs a new worktree, fails at once and names the run. Up to four run in Nilbox at once. A release, hook change, check, pull, or tool update in Nilbox has a time limit; a script, and any run in your terminal, has none.
  • Stop sends the run's whole process group Control-C, then SIGTERM, then SIGKILL. It is held back, with the reason, wherever stopping would leave something half done, such as a pull or a release switching branches.
  • Quitting asks first while a run goes in Nilbox: Keep running or Stop and quit. After a crash or a restart, a run still going is followed again, and one that ended is settled: a release, hook change, check, pull, or tool update is checked as if it had just ended.
  • A failed run tells you: one entry in the notification history, with a banner, that opens the run. One you stopped, or one a quit interrupted, tells nothing.
  • History: the newest 200 runs, with up to 512 MB of logs.

More in Runs and The Scripts tab.

Your tools, found and kept current: mage-x and go-pre-commit, verified
  • Found the way your terminal finds them: after the first paint, Nilbox reads your login shell's environment and looks on its PATH, then in Homebrew, /usr/local/bin, ~/.local/bin, ~/bin, and go install's folder. Settings β†’ Integrations shows which copy it uses, its version, and where it came from, and lets you choose another.
  • Checked for updates once a day, while you're signed in to GitHub.
  • Updated by their own updater (magex update:install, go-pre-commit update) wherever a copy can update itself; the updater checks the release's SHA-256 checksums.
  • Otherwise installed from their GitHub release: the archive is checked against the release's checksums file and GitHub's own digest, the program is tried once, and it is swapped into ~/.local/bin (or in place) with a rename, the old copy put back if the new one won't run.
  • Never go install or sudo, never your shell's startup files, and never a Homebrew copy (it shows the brew upgrade command) or a link. A copy Nilbox didn't install is replaced only after you say so.
  • Other copies can go to the Trash from the card, through Finder, so Put Back works.
  • Minimums: magex 1.29.5 and go-pre-commit 1.12.0. An older copy's card says so, and when your PATH misses ~/.local/bin, the card gives the line to add to ~/.zprofile.

More in Tools the app finds and installs and Your shell's environment.


The app
Menu bar and notifications: a live count, native banners, and a history
  • A menu bar icon shows how many items need you. Its menu lists the agent sessions waiting for you, up to five items per list, and Refresh Now, and opens any item in the window. While the icon is shown, closing the window keeps Nilbox running in the menu bar.
  • Native banners for new review requests, new assignments, snoozes that end early, releases you started that reach GitHub, are published, or whose release workflow fails, and runs from the Scripts tab that fail, each kind with its own switch, all on by default. Two more, for agent sessions that wait for you or finish a turn, start off.
  • Clicking a banner brings the window forward with its item in view, or opens the release or the run it's about, and marks it read. More than three at once are summed up in one banner, and Send a test shows a sample.
  • The toolbar's bell is a quick view of what is unread: opening it marks nothing, and each entry's βœ“ takes it off the bell.
  • A Notifications page keeps the newest 1,000, by day, with Show, Type, search, and Mark unread, beside every GitHub notification Nilbox keeps a copy of, read ones too, and what clearing did, with Undo.

More in Menu bar and notifications and The Notifications page.

API budget gauge: a live dial for the budget closest to running out
  • Always in view: the toolbar's dial follows whichever GitHub budget has the least left (GraphQL, REST core, or search), since every tool on your machine shares them, and turns from green to yellow, orange, and red as it runs down.
  • Live, at no cost: it updates with every GitHub response the app gets, and the open panel reads the budgets again every 30 seconds for free, so what gh and your agents spend shows as you watch.
  • Who spent what: click it for each budget's remaining points, its reset time, what Nilbox spent against everything else signed in as you, what an inbox refresh costs an hour at your interval, and the edits it made for you in the last hour.
  • Kept across restarts, and complete: every GitHub request the app makes goes through the one function that reports to the gauge, and a repository test fails the build otherwise.

More in The window.

Settings, appearance, and About: themes, text size, intervals, and search
  • Themes: follow the system, or pin Light or Dark. The window cross-fades to the new palette, and the native window frame and menus follow.
  • Text size: 100%, 115%, or 130%, apart from the window's size. Text and the spacing around it scale together, so nothing clips.
  • Window size: open at Compact, Standard, Large (the default), or Extra large.
  • Refreshing: how often the app reads the inbox (every 2 minutes to every hour), the pull requests whose checks are running (off, or every 30 seconds to every 2 minutes), and the worktrees' sweep (every 5 minutes to every hour). A change applies at once.
  • Service status: which services' status pages the app checks (GitHub, Claude, and OpenAI's Codex, each with a switch), which of each one's parts you care about (Git Operations, API Requests, Issues, Pull Requests, and Actions; the Claude API and Claude Code; and the Codex API, Codex CLI, and Responses to start with), and how often (off, or every 5 minutes to every hour, 30 minutes by default).
  • Settings covers your account, appearance, notifications, refreshing, and service status; then the inbox (snoozing and reviewing); the agents (repositories, profiles, launching, trust, sensitive files, and worktrees, in the order you set them up); and the tools (integrations). Find a setting in the toolbar narrows the sections to those with a match and marks the setting, and ⌘, opens Settings from anywhere.
  • The account menu shows who is signed in, opens your GitHub profile (or click your name), and lists each service whose status you watch with where it stands, opening its status page. Report a bug and Send feedback open a new GitHub issue, filled in for you to read before you send it.
  • Service status: while a part you watch of GitHub, Claude, or Codex has an incident, a warning shows beside the budget gauge, amber or red, with the incidents and what they affect a click away, and a banner tells you when it goes down and when it's back. An incident elsewhere, such as GitHub's Copilot, stays quiet. Each check is one small request to the service's own status page, outside any API, so it costs no budget, and nothing at all when the page hasn't changed.
  • About shows the version, build, commit, and system, each coding agent's installed version, and the GitHub CLI's. Report a bug opens a GitHub issue with those details filled in, and your settings and integrations folded away beneath them, with nothing personal: no account, repository, path, or name of your own. Run setup again walks the first-run setup once more, and Reset Nilbox… starts over on fresh data, keeping your prompts, launch defaults, and scripts.

More in The window.


Support & roadmap
Feature Status Description
βœ… macOS 13+ Supported Native desktop app with a menu bar icon and notification banners
βœ… Claude Code Supported Your own profiles, models, effort, and flags
βœ… OpenAI Codex Supported The same, with a switch on each launch and defaults per repo or org
βœ… iTerm2 and Terminal.app Supported iTerm2 by default
βœ… mage-x and go-pre-commit Supported Releases, Git hooks, and repository scripts in the Scripts tab
βœ… Mute or pin repositories and orgs Supported Hide or raise everything from a repository or org at once
βœ… First-run setup Supported GitHub, clones, agent, terminal, notifications, and tools, in steps
🚧 Security alert sweeps Planned Sweep security alerts across every repository
🚧 More coding agents and terminals Planned Beyond Claude Code, Codex, iTerm2, and Terminal.app
🚧 More integrations Planned Beyond mage-x and go-pre-commit
🚧 Linux and Windows Planned The core is plain Go and already builds and tests on Linux

🧭 How It Works

Layer Details
Desktop shell Wails v3: a Go backend in the native macOS webview. Everything but the window is plain Go, built and tested on Linux without CGO
Frontend React, TypeScript, Vite, and Tailwind, reaching Go only through generated bindings
GitHub access Your GitHub CLI token, held in memory only, for up to ten minutes. One GraphQL request carries all three searches; card details load by node ID in concurrent batches
API budget A 43-item inbox refreshed every five minutes spends 1.2% of the hourly GraphQL budget; running checks cost one request every 45 seconds, and only while they run
Storage SQLite through a pure-Go driver, with sqlc-generated queries and forward-only, checksummed migrations, each after a backup
Agents The Claude Code and Codex CLIs you already use, with your own profiles. Nilbox never stores model credentials and never reads an agent's sign-in
Worktrees Made, resumed, and tracked in Go, one per item per clone and shared by every agent; the launch script only changes into the folder and starts the agent
Git Every git command Nilbox runs is an argument list, never a shell, and none runs a hook or a program a clone's own config names
Integrations mage-x and go-pre-commit, found and run with your login shell's environment, as your terminal runs them; one runner records every run and its whole log

Your data stays on your Mac. Nilbox's own requests go only to GitHub: api.github.com, avatars.githubusercontent.com for profile pictures (yours, and, by login, those of the people an issue you open shows, each kept and downloaded again at most weekly), and, when you install or update a tool, github.com and GitHub's release download hosts for that tool's public release, with no token and nothing of yours. It reads from GitHub, and changes something there only when you ask: taking you off an item, a review, comment, merge, auto-merge, branch update, Dependabot rebase request, approval of held workflow runs, or close you send from the review sheet, or a comment or close you send from the issue sheet. The git it runs reaches a clone's own remote only to make a worktree, to check a release before and after magex pushes its tag, and for Repo scripts' branch check and Pull, which ask an origin that isn't on GitHub only when you click Check. Your preferences, triage state, and cache, the diffs of pull requests you review and the conversations of issues you read included, never leave your machine.


πŸ“š Documentation

View the full documentation for Nilbox:

Document Description
Desktop Guide Setup, build targets, data location, and how every feature behaves
Performance Measured startup, refresh, launch, size, and API budget, and how to reproduce them
CLAUDE.md Nilbox's own rules, the gate every change passes, and the layout
AGENTS.md The shared engineering rulebook for contributors and AI agents
Tech Conventions Commits, branches, pull requests, testing, releases, and security practices
Support Questions, bug reports, and private contact

πŸ” Security

Important Disclaimer

⚠️ Experimental Software β€” Use at Your Own Risk

Nilbox is open-source software provided "AS-IS" without warranty. By using it, you acknowledge:

  • Agents act on your machine: a launched coding agent runs with your profile's permissions and can run commands and change files in your clones.
  • Untrusted content stays untrusted: pull requests and issues from outside contributors can carry prompt injection. Plan mode (Codex's read-only sandbox) for outsiders and the sensitive-file checks reduce that risk; they don't remove it.
  • Tools you install run on your Mac: Nilbox installs mage-x and go-pre-commit only from their GitHub releases, after checking the release's checksums, into ~/.local/bin, and never with go install or sudo. A copy that can update itself is updated by its own updater (magex update:install, go-pre-commit update), which checks the release's checksums too; Nilbox never runs it for a copy in a go install folder ($GOBIN, $GOPATH/bin, or ~/go/bin, as your shell and go env set them), where magex's would run go install. Those tools then fetch what they need themselves: before 1.14.0, go-pre-commit installs its own linters with go install and curl, which Nilbox can't check.
  • Repository commands run as you: a t3.json script, a VS Code task, or a magex target runs in its clone with your permissions, and magex reads the repository's code and .github/env settings. Nilbox asks before a command from the repository's files first runs and whenever it changes; read it before you say yes.
  • No formal audit: Nilbox has not been professionally audited.
  • No liability: the authors accept no responsibility for lost work, exposed data, or damages.

Review what you launch, especially from people you don't know.

For security issues, see our Security Policy or contact: nilbox@mrz1818.com


Additional Documentation & Repository Management
Development Setup (Getting Started)

Install the MAGE-X build tool and the go-pre-commit hooks (install guide), then the frontend toolchain:

go install github.com/mrz1836/mage-x/cmd/magex@latest   # build tool
go-pre-commit install                                   # git hooks, run from the repo root
npm install -g pnpm@12.16.1                             # once, at the version frontend/package.json pins
magex frontend:install                                  # frontend dependencies, exactly as the lockfile pins them

Node must be version 26 (frontend/.nvmrc). Full prerequisites are in the Desktop Guide.

Build Commands

View all build commands:

magex help

Common commands:

magex build          # build the headless binary
magex app:dev        # run the desktop app with a hot-reloading frontend
magex app:build      # build the macOS app bundle
magex app:open       # open the last build as it is, building it first when it's missing
magex app:run        # build the app, quit the running copy, and open the new build
magex test           # run the Go test suite
magex lint           # run golangci-lint
magex format:fix     # format the code
magex frontend:gate  # format check, lint, typecheck, and test the frontend
magex db:generate    # regenerate the typed queries after changing a query or migration

Before opening a pull request, run the full gate:

magex format:fix && magex lint && magex test:race && go-pre-commit run --all-files
magex frontend:gate
magex db:check       # the generated queries are current and every query prepares
magex app:check      # macOS: bindings drift check, desktop lint, desktop tests, and bundle build
Project Layout
Path Purpose
cmd/nilbox/ Entry point: a headless build by default, and the desktop app (window, menu bar icon, banners) with the desktop tag
internal/brand/ Product identity and design tokens; internal/brandgen/ generates the theme, Info.plist, and icon artwork from it
internal/ The bound services (inbox, review, launcher, prompts, launch defaults, settings, profiles, worktrees, notifications, sessions, the API budget, integrations, script runs, release, hooks, and repository scripts) and their building blocks
frontend/ The React + TypeScript frontend and its generated Go bindings
build/ App and menu bar icon artwork, and the macOS bundle's Info.plist and icon set
magefiles/ Custom magex targets for the brand, the frontend, the app, the database queries, and measurements
docs/ The Desktop Guide and measured performance
.github/ CI workflows, community docs, and engineering conventions
Releases

Create and push a new Git tag, from the app's own Release page or with:

magex version:bump bump=patch push=true branch=master

The tag starts two workflows. GoFortress runs every check on it but publishes nothing (ENABLE_RELEASE=false in .github/env/90-project.env), and desktop-release.yml builds the universal macOS app, unsigned, on a macOS runner with no secret in reach, waits for GoFortress to pass, then signs it in a job of its own and publishes the release with its zip, disk image, checksums, and signed update manifest attached. magex app:build stamps the app with the same version, build number, and commit, all shown in Settings β†’ About. The Desktop Guide has the details, the secrets the workflow needs, and what to do when a release goes wrong.

GitHub Workflows

Nilbox uses the Fortress workflow system for its Go CI/CD, plus a dedicated frontend gate and its own release workflow:

  • fortress-test-suite.yml β€” Complete Go test suite, built on Linux without CGO
  • fortress-code-quality.yml β€” Code quality checks (gofmt, golangci-lint, staticcheck)
  • fortress-security-scans.yml β€” Security scanning with gitleaks, govulncheck, and Nancy
  • fortress-coverage.yml β€” Code coverage reporting to Codecov
  • fortress.yml β€” Runs every check above on pull requests, master, and v* tags; on a tag it publishes nothing here (ENABLE_RELEASE=false)
  • desktop-release.yml β€” On a v* tag, builds the macOS app on a macOS runner, waits for GoFortress to pass, then signs it in a separate job and publishes the release with its files
  • frontend.yml β€” The frontend gate (magex frontend:gate): install, format check, lint, typecheck, tests, and the render check
  • sqlc.yml β€” Checks that the generated queries match their SQL and that every query prepares

No check runs on macOS, so magex app:check runs locally; only the release workflow's jobs run on macOS. See all workflows in .github/workflows/.

Updating Dependencies

To update all Go dependencies (Go modules, linters, and related tools), run:

magex deps:update

Frontend dependencies are pinned by frontend/pnpm-lock.yaml, and Dependabot keeps Go modules, GitHub Actions, and the dev container current.


πŸ§ͺ Examples & Tests

All tests run via GitHub Actions and use Go version 1.26. View the Go configuration and the frontend configuration.

Run all Go tests (fast):

magex test

Run all Go tests with race detector (slower):

magex test:race

Run the frontend gate (format check, lint, typecheck, tests with coverage, and the render check):

magex frontend:gate

Test Coverage

View coverage report:

magex test:coverage

Coverage reports are automatically uploaded to Codecov on every commit.


Performance

Measured on an Apple Silicon Mac (M1 Max) running macOS 15, against the production bundle magex app:build produces:

Metric Target Measured
Cold start to first paint < 1 s 0.58 s
Inbox refresh < 3 s 2.44 s
Launch to prompt loaded < 3 s 1.15 s
App binary size < 30 MB 22.9 MB
API budget at 5-minute cadence < 2 % 1.20 %

Cold start and the refresh come from the build of 2026-11-11, once the integrations were done; the launch and the size were measured again on 2026-11-14, after the issue sheet and the GitHub notifications. The launch's time is for one whose files check out; how it splits between its steps, and what a held-back launch adds, is in the performance notes.

Re-measure everything (size, startup, live read-only refreshes, and a real launch in iTerm2):

magex measure:all

Numbers are local-machine baselines, not SLOs. Use them to spot regressions on the same hardware after a change. The method, every run, and how to reproduce them are in docs/performance.md.


πŸ› οΈ Code Standards

Read more about this Go project's code standards.


πŸ€– AI Usage & Assistant Guidelines

Read the AI Usage & Assistant Guidelines for details on how AI is used in this project and how to interact with AI assistants, and CLAUDE.md for the rules every assistant follows in this repository.


πŸ‘₯ Maintainers

MrZ
MrZ

🀝 Contributing

View the contributing guidelines and please follow the code of conduct. Before your first pull request, read CLAUDE.md for Nilbox's own rules and the gate every change passes, and AGENTS.md for the conventions on code, tests, commits, branches, and pull requests that both humans and AI agents follow here.

Keep private names out of the repository

Nilbox is public, so nothing committed here may name your employer, your clients, or your private organizations and repositories. The guard tests can check that for you: list those names in your clone's private-terms file, and magex test fails wherever one appears.

Create or edit the file (it lives inside .git, so it works from any worktree of your clone):

"${EDITOR:-vi}" "$(git rev-parse --path-format=absolute --git-common-dir)/info/private-terms"
# One term per line. Blank lines and lines starting with # are ignored.
your-employer
your-client-org
an-internal-codename
  • Matching ignores case and finds whole words only: acme matches Acme, acme-org, and acme_api, but not acmetools or AcmeClient. List each form you use, and prefer distinctive names over common words, which would flag ordinary text.
  • What it checks: the contents and path of every file (tracked files, plus untracked files that aren't ignored), the current branch name, and every commit that no remote has yet. A failure lists each file:line or commit to fix.
  • Run it with the rest of the suite (magex test or the full gate), or on its own with go test ./internal/repoguard -run PrivateTerms -v.
  • It stays on your machine. Git never commits anything inside .git, and CI, which has no such file, skips the check.
How can I help?

All kinds of contributions are welcome πŸ™Œ! The most basic way to show your support is to star 🌟 the project, or to raise issues πŸ’¬. You can also support this project by becoming a sponsor on GitHub πŸ‘ or by making a bitcoin donation to ensure this journey continues indefinitely! πŸš€

Stars


πŸ“ License

License

Directories ΒΆ

Path Synopsis
cmd
nilbox command
Command nilbox is the application entry point.
Command nilbox is the application entry point.
internal
agent
Package agent knows the coding agents a launch can start, Claude Code and OpenAI Codex, and checks the options a launch passes them, so every place that stores those options (profiles, prompts, and launch defaults) and the launcher that passes them apply the same rules.
Package agent knows the coding agents a launch can start, Claude Code and OpenAI Codex, and checks the options a launch passes them, so every place that stores those options (profiles, prompts, and launch defaults) and the launcher that passes them apply the same rules.
appdata
Package appdata resolves where the application keeps its per-user data: the SQLite database, the copies of the prompt library and the launch defaults kept beside it, generated launch scripts, and logs.
Package appdata resolves where the application keeps its per-user data: the SQLite database, the copies of the prompt library and the launch defaults kept beside it, generated launch scripts, and logs.
appinfo
Package appinfo tells the frontend who the app is and takes its first-paint report.
Package appinfo tells the frontend who the app is and takes its first-paint report.
avatars
Package avatars keeps the profile pictures of the people the sheets show, by login.
Package avatars keeps the profile pictures of the people the sheets show, by login.
backup
Package backup exports the user's whole setup to one file and imports it back: their settings, their repositories, the prompt library, the launch defaults, and their own scripts, each a category the user ticks on export and again on import (see File for the format).
Package backup exports the user's whole setup to one file and imports it back: their settings, their repositories, the prompt library, the launch defaults, and their own scripts, each a category the user ticks on export and again on import (see File for the format).
branchrules
Package branchrules holds the user's rules for deleting local branches: which branches go with a worktree the app removes or cleans up, whether a branch whose pull request merged starts checked in the cleanup of a clone's merged branches, and which branches are never deleted.
Package branchrules holds the user's rules for deleting local branches: which branches go with a worktree the app removes or cleans up, whether a branch whose pull request merged starts checked in the cleanup of a clone's merged branches, and which branches are never deleted.
brand
Package brand is the single source of truth for the product's identity: its name, identifiers, tagline, color palette, and logo mark.
Package brand is the single source of truth for the product's identity: its name, identifiers, tagline, color palette, and logo mark.
brandgen
Package brandgen renders the files that are generated from internal/brand: the frontend's theme tokens and brand constants, the macOS app bundle's Info.plist, and the app icon artwork that `magex brand:icons` renders into the raster icons.
Package brandgen renders the files that are generated from internal/brand: the frontend's theme tokens and brand constants, the macOS app bundle's Info.plist, and the app icon artwork that `magex brand:icons` renders into the raster icons.
budget
Package budget keeps the app's view of the user's GitHub API budgets current.
Package budget keeps the app's view of the user's GitHub API budgets current.
bump
Package bump recognizes a dependency-update pull request from its title, as Dependabot and Renovate write them, and says how big its version jump is.
Package bump recognizes a dependency-update pull request from its title, as Dependabot and Renovate write them, and says how big its version jump is.
clock
Package clock tells the services the time and writes times the one way the app does.
Package clock tells the services the time and writes times the one way the app does.
clonelock
Package clonelock keeps one clone-changing job at a time on each clone: a worktree made or removed, a release, a hooks install, a checks run, a script, or a pull.
Package clonelock keeps one clone-changing job at a time on each clone: a worktree made or removed, a release, a hooks install, a checks run, a script, or a pull.
core
Package core assembles the app: it prepares the data directory, opens and migrates the database (starting over first when the user asked to), syncs the discovered agent profiles, brings back the prompt library, the launch defaults, and the user's own scripts the database lost, adds the starter prompts, decides once whether the first-run setup shows, and builds every service the window binds to.
Package core assembles the app: it prepares the data directory, opens and migrates the database (starting over first when the user asked to), syncs the discovered agent profiles, brings back the prompt library, the launch defaults, and the user's own scripts the database lost, adds the starter prompts, decides once whether the first-run setup shows, and builds every service the window binds to.
desktop
Package desktop is the desktop shell's logic, kept apart from the desktop runtime: what the app does with the services' events, how the menu bar icon is kept current, the background work that runs while the app is open, and the order the app shuts down in.
Package desktop is the desktop shell's logic, kept apart from the desktop runtime: what the app does with the services' events, how the menu bar icon is kept current, the background work that runs while the app is open, and the order the app shuts down in.
event
Package event defines what happens in the app that another part of it reacts to: one Go type per event, the name each is known by, and the Sink that receives them.
Package event defines what happens in the app that another part of it reacts to: one Go type per event, the name each is known by, and the Sink that receives them.
execpath
Package execpath finds the external programs the app runs (gh, git, claude) and runs them.
Package execpath finds the external programs the app runs (gh, git, claude) and runs them.
flight
Package flight runs one call per key at a time and hands its result to every caller that asked while it ran, the way golang.org/x/sync/singleflight does, with each caller's context kept:
Package flight runs one call per key at a time and hands its result to every caller that asked while it ran, the way golang.org/x/sync/singleflight does, with each caller's context kept:
ghthreads
Package ghthreads mirrors the user's GitHub notifications, which GitHub's REST API calls threads, as the web inbox lists them (read and unread, not done), in the gh_threads table it owns, one row per account and thread, so the window counts and lists them without asking GitHub, and clears them by the user's rules (clear.go): it marks a thread done, or read, once the work behind it is finished.
Package ghthreads mirrors the user's GitHub notifications, which GitHub's REST API calls threads, as the web inbox lists them (read and unread, not done), in the gh_threads table it owns, one row per account and thread, so the window counts and lists them without asking GitHub, and clears them by the user's rules (clear.go): it marks a thread done, or read, once the work behind it is finished.
github
Package github talks to GitHub on the user's behalf.
Package github talks to GitHub on the user's behalf.
gitread
Package gitread runs the read-only git commands the release, hooks, and Repo scripts services ask of a clone, and reads their answers: the current branch, uncommitted changes, what git is in the middle of, branches and tags here and on origin, the commits between two, the signing settings, and where the hooks live.
Package gitread runs the read-only git commands the release, hooks, and Repo scripts services ask of a clone, and reads their answers: the current branch, uncommitted changes, what git is in the middle of, branches and tags here and on origin, the commits between two, the signing settings, and where the hooks live.
hooks
Package hooks is the Hooks page's service: the clones in the repository locations with a go-pre-commit config, the pre-commit hook in each, and what go-pre-commit does in them on the user's click, installing, updating, replacing, or removing the hook, and running the checks.
Package hooks is the Hooks page's service: the clones in the repository locations with a go-pre-commit config, the pre-commit hook in each, and what go-pre-commit does in them on the user's click, installing, updating, replacing, or removing the hook, and running the checks.
inbox
Package inbox keeps the local inbox in step with GitHub and serves it to the UI.
Package inbox keeps the local inbox in step with GitHub and serves it to the UI.
integrationprefs
Package integrationprefs declares the integrations' preference keys and decodes and encodes their values: whether each integration is on, off, or automatic, which copy of a tool to use, where the runs go, whether a merge offers a release, which sources Repo scripts lists, whether a run Repo scripts starts shows beside its scripts, and the window's memory of the Scripts tab (whether it was announced, the page and clone it reopens on, and the sections the user opened or folded).
Package integrationprefs declares the integrations' preference keys and decodes and encodes their values: whether each integration is on, off, or automatic, which copy of a tool to use, where the runs go, whether a merge offers a release, which sources Repo scripts lists, whether a run Repo scripts starts shows beside its scripts, and the window's memory of the Scripts tab (whether it was announced, the page and clone it reopens on, and the sections the user opened or folded).
integrations
Package integrations finds the tools the app drives, mage-x's magex and go-pre-commit, says what the settings show about each, and checks once a day for a newer release.
Package integrations finds the tools the app drives, mage-x's magex and go-pre-commit, says what the settings show about each, and checks once a day for a newer release.
issues
Package issues is the issue sheet: it shows one issue the user is assigned (its description, its conversation, where it stands, and the details beside it) and acts on it at the user's click: comment on it, or close it as completed or as not planned.
Package issues is the issue sheet: it shows one issue the user is assigned (its description, its conversation, where it stands, and the details beside it) and acts on it at the user's click: comment on it, or close it as completed or as not planned.
item
Package item names the pull requests and issues the app works on: their kind, a reference to one item, and the name of the worktree a session on an item runs in.
Package item names the pull requests and issues the app works on: their kind, a reference to one item, and the name of the worktree a session on an item runs in.
launchdefaults
Package launchdefaults stores launch defaults for orgs and repositories: the coding agent, each agent's profile, model, and extra flags, the default prompt for each kind of item, and the effort, plan mode, and worktree that launches on their items start from.
Package launchdefaults stores launch defaults for orgs and repositories: the coding agent, each agent's profile, model, and extra flags, the default prompt for each kind of item, and the effort, plan mode, and worktree that launches on their items start from.
launcher
Package launcher starts a coding-agent session (Claude Code or Codex) on a pull request or issue.
Package launcher starts a coding-agent session (Claude Code or Codex) on a pull request or issue.
launcher/terminal
Package terminal opens launch scripts in the user's terminal app.
Package terminal opens launch scripts in the user's terminal app.
localrepos
Package localrepos finds the user's local clones of GitHub repositories.
Package localrepos finds the user's local clones of GitHub repositories.
logging
Package logging builds the app's one logger.
Package logging builds the app's one logger.
measure
Package measure times the app for its performance record: startup to the first painted frame, the batched inbox refresh, an agent launch, and the size of the app bundle.
Package measure times the app for its performance record: startup to the first painted frame, the batched inbox refresh, an agent launch, and the size of the app bundle.
menubar
Package menubar works out what the app's menu bar icon shows for the stored inbox, the agent sessions, and the app's update: how many items need the user, beside the icon, and in its menu the sessions waiting for the user first, then a short list of the items, by list, then Check for Updates… and the update ready, in a build that updates.
Package menubar works out what the app's menu bar icon shows for the stored inbox, the agent sessions, and the app's update: how many items need the user, beside the icon, and in its menu the sessions waiting for the user first, then a short list of the items, by list, then Check for Updates… and the update ready, in a build that updates.
notify
Package notify tells the user about the items that newly need them, and keeps a log of everything it told.
Package notify tells the user about the items that newly need them, and keeps a log of everything it told.
notifyprefs
Package notifyprefs reads and writes which kinds of notification show a banner, the pref the settings page changes and the notify package obeys.
Package notifyprefs reads and writes which kinds of notification show a banner, the pref the settings page changes and the notify package obeys.
paths
Package paths turns the paths a user types into absolute ones and back: a leading ~ expands to the home directory, and a path under home is shown as ~/....
Package paths turns the paths a user types into absolute ones and back: a leading ~ expands to the home directory, and a path under home is shown as ~/....
periodic
Package periodic runs a job now and then, as often as a setting says, until its context ends, the way the inbox refresh, the checks follower, and the worktree sweep run.
Package periodic runs a job now and then, as often as a setting says, until its context ends, the way the inbox refresh, the checks follower, and the worktree sweep run.
prefs
Package prefs owns the prefs table: the user's settings and the app state that has no table of its own, each stored as text under a string key.
Package prefs owns the prefs table: the user's settings and the app state that has no table of its own, each stored as text under a string key.
prefs/prefval
Package prefval reads and writes the two shapes of value most preferences hold: a switch, stored as a boolean, and a list, stored as a JSON array of strings.
Package prefval reads and writes the two shapes of value most preferences hold: a switch, stored as a boolean, and a list, stored as a JSON array of strings.
procs
Package procs lists the running processes of the signed-in user with the directory each works in, so the app can tell a worktree some session still runs in, whichever coding agent or tool that is.
Package procs lists the running processes of the signed-in user with the directory each works in, so the app can tell a worktree some session still runs in, whichever coding agent or tool that is.
profiles
Package profiles discovers the user's coding-agent profiles and serves them to the UI.
Package profiles discovers the user's coding-agent profiles and serves them to the UI.
progress
Package progress tells the window how far a long read has got while it runs: the phase under way and how many of the phase's things are done, as an event the caller builds, at most a few times a second.
Package progress tells the window how far a long read has got while it runs: the phase under way and how many of the phase's things are done, as an event the caller builds, at most a few times a second.
prompts
Package prompts is the prompt library: the prompts a launch can fill in for a pull request or issue, with the launch settings each one sets, and the defaults for each kind of item; and, beside them in the same table, the review replies the review sheet fills in as the text of a review (see Purpose).
Package prompts is the prompt library: the prompts a launch can fill in for a pull request or issue, with the launch settings each one sets, and the defaults for each kind of item; and, beside them in the same table, the review replies the review sheet fills in as the text of a review (see Purpose).
release
Package release is the Release page's service: which clones have changes to release, and the release itself, through mage-x's magex.
Package release is the Release page's service: which clones have changes to release, and the release itself, through mage-x's magex.
repo
Package repo names GitHub repositories: an owner and a repository name, checked against GitHub's own rules, compared ignoring case, and written as "owner/name".
Package repo names GitHub repositories: an owner and a repository name, checked against GitHub's own rules, compared ignoring case, and written as "owner/name".
repoguard
Package repoguard holds repository-wide guard tests.
Package repoguard holds repository-wide guard tests.
reporules
Package reporules holds the user's rules for whole repositories and orgs: a pinned one's pull requests and issues count as pinned in the inbox, and a muted one's are set apart in each list's Muted tab, counted nowhere, told in no banner, and followed by nothing.
Package reporules holds the user's rules for whole repositories and orgs: a pinned one's pull requests and issues count as pinned in the inbox, and a muted one's are set apart in each list's Muted tab, counted nowhere, told in no banner, and followed by nothing.
review
Package review is the review sheet: it shows one pull request (what it changes, its description, checks, reviewers, its conversation, and what it still needs to merge) and acts on it at the user's click: approve, request changes, comment, merge, turn on auto-merge, update the branch, ask Dependabot to rebase, or close it.
Package review is the review sheet: it shows one pull request (what it changes, its description, checks, reviewers, its conversation, and what it still needs to merge) and acts on it at the user's click: approve, request changes, comment, merge, turn on auto-merge, update the branch, ask Dependabot to rebase, or close it.
scriptrun
Package scriptrun runs the commands of the Scripts tab, a release, a hooks action, a checks run, a script, or a clone's fast-forward pull, and a tool's own updater, in the app or in the user's terminal, and keeps their history.
Package scriptrun runs the commands of the Scripts tab, a release, a hooks action, a checks run, a script, or a clone's fast-forward pull, and a tool's own updater, in the app or in the user's terminal, and keeps their history.
scriptrun/scriptruntest
Package scriptruntest is the runner the suites of scriptrun's kinds share (hooks, scripts, and release): a real scriptrun Engine and its Service over a fresh database, the app's next start over the same history, a fake terminal app that runs each run meant for the user's terminal under /bin/sh (Terminal), and waits for a run's end that look again only when the engine says the runs changed, never on a timer (AwaitShell alone polls, for a shell the engine notes without telling).
Package scriptruntest is the runner the suites of scriptrun's kinds share (hooks, scripts, and release): a real scriptrun Engine and its Service over a fresh database, the app's next start over the same history, a fake terminal app that runs each run meant for the user's terminal under /bin/sh (Terminal), and waits for a run's end that look again only when the engine says the runs changed, never on a timer (AwaitShell alone polls, for a shell the engine notes without telling).
scripts
Package scripts is Repo scripts' service: the commands a clone's own files name (its t3.json scripts, its .vscode/tasks.json tasks, and its magex targets), listed for the page, and run on the user's click through scriptrun.
Package scripts is Repo scripts' service: the commands a clone's own files name (its t3.json scripts, its .vscode/tasks.json tasks, and its magex targets), listed for the page, and run on the user's click through scriptrun.
semver
Package semver reads semantic versions and compares them by semantic versioning's precedence: MAJOR.MINOR.PATCH, with an optional prerelease (-rc.1) and build metadata (+build.5), with or without a leading v.
Package semver reads semantic versions and compares them by semantic versioning's precedence: MAJOR.MINOR.PATCH, with an optional prerelease (-rc.1) and build metadata (+build.5), with or without a leading v.
sensitive
Package sensitive decides which of a pull request's changed files deserve a closer look before anyone reviews, merges, or opens an agent on it: files that run on CI with the repository's token and secrets, files a coding agent loads or runs, files that run on the reviewer's machine, files that change who must review, and files that bring in third-party code.
Package sensitive decides which of a pull request's changed files deserve a closer look before anyone reviews, merges, or opens an agent on it: files that run on CI with the repository's token and secrets, files a coding agent loads or runs, files that run on the reviewer's machine, files that change who must review, and files that bring in third-party code.
sessions
Package sessions follows the coding-agent sessions the app launches, from the item each was launched on, while they run in the user's own terminal.
Package sessions follows the coding-agent sessions the app launches, from the item each was launched on, while they run in the user's own terminal.
sessions/observe/claude
Package claude observes Claude Code sessions through `claude agents --json`, which Claude Code documents as the supported way to read session state from outside it, and reads a session's last message from the transcript it keeps.
Package claude observes Claude Code sessions through `claude agents --json`, which Claude Code documents as the supported way to read session state from outside it, and reads a session's last message from the transcript it keeps.
sessions/observe/codex
Package codex observes OpenAI Codex sessions through the local app-server daemon's JSON-RPC protocol, the one Codex's own IDE and desktop clients use, reached through `codex app-server proxy`.
Package codex observes OpenAI Codex sessions through the local app-server daemon's JSON-RPC protocol, the one Codex's own IDE and desktop clients use, reached through `codex app-server proxy`.
settings
Package settings stores the user's preferences in the prefs table and serves them to the UI.
Package settings stores the user's preferences in the prefs table and serves them to the UI.
setup
Package setup is the first-run setup's service: where the user is in it and whether it is done, and the checks its steps make that no other service makes for them: whether the GitHub CLI's sign-in gives the inbox what it needs, which terminals are installed, and how many of the user's clones use the tools the Tools step offers.
Package setup is the first-run setup's service: where the user is in it and whether it is done, and the checks its steps make that no other service makes for them: whether the GitHub CLI's sign-in gives the inbox what it needs, which terminals are installed, and how many of the user's clones use the tools the Tools step offers.
shellenv
Package shellenv reads the environment the user's login shell sets up, as editors do, so the tools the app runs see the PATH, the ssh agent, and the settings the user's terminal has.
Package shellenv reads the environment the user's login shell sets up, as editors do, so the tools the app runs see the PATH, the ssh agent, and the settings the user's terminal has.
snooze
Package snooze decides how long a snooze lasts and what new activity ends one early.
Package snooze decides how long a snooze lasts and what new activity ends one early.
statusprefs
Package statusprefs holds the catalog of the status pages the app checks (GitHub's, Claude's, and OpenAI's) and the user's choices of what to watch on them: which providers are on, and which of each one's parts count.
Package statusprefs holds the catalog of the status pages the app checks (GitHub's, Claude's, and OpenAI's) and the user's choices of what to watch on them: which providers are on, and which of each one's parts count.
store
Package store opens the application's local SQLite database.
Package store opens the application's local SQLite database.
store/migrate
Package migrate applies the application's SQLite schema migrations.
Package migrate applies the application's SQLite schema migrations.
svcstatus
Package svcstatus follows the status pages of the services the app depends on (GitHub, Claude, and OpenAI's Codex), so the window can say, without getting in the way, when a part the user watches has an incident: the inbox, reviews, and checks can lag or fail while GitHub has one, and the agents the app launches while Claude or Codex do.
Package svcstatus follows the status pages of the services the app depends on (GitHub, Claude, and OpenAI's Codex), so the window can say, without getting in the way, when a part the user watches has an incident: the inbox, reviews, and checks can lag or fail while GitHub has one, and the agents the app launches while Claude or Codex do.
testutil
Package testutil holds the helpers and fakes the test suites share: a fresh database, an isolated git, git repositories built once per test binary and copied into each test (GitTemplate), programs planted in a clone's own config for the guard tests, temporary files and agent homes, recorded runs of real tools (Recording), fakes for the small interfaces services take (a program runner, a program finder, a clock, and an event sink), and an in-memory log.
Package testutil holds the helpers and fakes the test suites share: a fresh database, an isolated git, git repositories built once per test binary and copied into each test (GitTemplate), programs planted in a clone's own config for the guard tests, temporary files and agent homes, recorded runs of real tools (Recording), fakes for the small interfaces services take (a program runner, a program finder, a clock, and an event sink), and an in-memory log.
textutil
Package textutil holds the small text helpers the services share for what they show: cutting text to a length, turning an error message into a sentence, counting a noun and listing names as a sentence does, handing the UI an empty list instead of a nil one, and quoting a word for a POSIX shell, always (ShellQuote) or only when it needs it (ShellWord).
Package textutil holds the small text helpers the services share for what they show: cutting text to a length, turning an error message into a sentence, counting a noun and listing names as a sentence does, handing the UI an empty list instead of a nil one, and quoting a word for a POSIX shell, always (ShellQuote) or only when it needs it (ShellWord).
threadrules
Package threadrules holds the user's rules for their GitHub notifications, the threads GitHub keeps for each pull request and issue: whether the app reads them, whether it clears one on its own once the work behind it is finished, whether clearing marks it done or read, and which moments count as finished.
Package threadrules holds the user's rules for their GitHub notifications, the threads GitHub keeps for each pull request and issue: whether the app reads them, whether it clears one on its own once the work behind it is finished, whether clearing marks it done or read, and which moments count as finished.
timeline
Package timeline is the conversation the issue sheet and the review sheet show: the comments, reviews, and events of an issue or a pull request, one page of entries at a time, oldest first.
Package timeline is the conversation the issue sheet and the review sheet show: the comments, reviews, and events of an issue or a pull request, one page of entries at a time, oldest first.
timing
Package timing measures how long the app takes to show its first frame.
Package timing measures how long the app takes to show its first frame.
toolinstall
Package toolinstall turns a tool's GitHub release into a verified program in place: it picks the release's archive and checksums file, downloads both into a fresh private folder, checks the archive against the checksums file and GitHub's digests, extracts the program's one entry, tries it, and puts it in its folder so that the target is never missing, rolling back when the placed copy won't run.
Package toolinstall turns a tool's GitHub release into a verified program in place: it picks the release's archive and checksums file, downloads both into a fresh private folder, checks the archive against the checksums file and GitHub's digests, extracts the program's one entry, tries it, and puts it in its folder so that the target is never missing, rolling back when the placed copy won't run.
trust
Package trust decides whether a pull request or issue comes from someone trusted with the repository.
Package trust decides whether a pull request or issue comes from someone trusted with the repository.
uierr
Package uierr keeps what the user is told about a failure apart from the error the logs record.
Package uierr keeps what the user is told about a failure apart from the error the logs record.
update
Package update is how the app updates itself.
Package update is how the app updates itself.
updateprefs
Package updateprefs declares the update setting's key and its choices: what the app does when a new version is out (update.mode).
Package updateprefs declares the update setting's key and its choices: what the app does when a new version is out (update.mode).
worklog
Package worklog records the worktrees the app made for pull requests and issues, which item each is for and the sessions started in it, and the worktrees it cleaned up.
Package worklog records the worktrees the app made for pull requests and issues, which item each is for and the sessions started in it, and the worktrees it cleaned up.
workspacetrust
Package workspacetrust marks the folder a session starts in trusted in the coding agent's own config, so a session launched there starts without the agent's workspace trust question.
Package workspacetrust marks the folder a session starts in trusted in the coding agent's own config, so a session launched there starts without the agent's workspace trust question.
worktrees
Package worktrees makes the worktrees coding sessions run in, keeps track of them, lists the git worktrees of the user's local clones, and removes them safely.
Package worktrees makes the worktrees coding sessions run in, keeps track of them, lists the git worktrees of the user's local clones, and removes them safely.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL