Changelog#
Each version says what changed and anything a workspaceWorkspace The folder that holds the team's files (CABINET.md, AGENTS.md, HANDOFFS.md, roles, specs, notes) and usually the product repos. It is its own private git repo. must do by hand after npx cabinet update, which prints these entries.
Upgrade notes
0.8.5 22 Nov 2026
- A new backup archive format:
cabinet backup createseals each archive with authenticated encryption (AES-256-GCM, from Node's own crypto, with a key from PBKDF2-SHA-256), starting with the bytesCBNTBAK1, and records the workspace's slugSlug The workspace's short name (acme). It names its schedules, logs, backups and backup key, so projects on one machine never collide. and the archive's stamp inside it.backup verifyandbackup restorecheck the whole archive before anything is unpacked: one that was changed, cut short or opened with the wrong passphrase is refused aschanged or damaged, or the passphrase is wrong, and restore writes nothing. The passphrase still never appears in a command's arguments. backup restorerefuses, writing nothing, an archive whose top is not exactly one folder, one whose slug or stamp differs from its file name, and a target folder whosecabinet.envnames another workspace (read as text, never run): restore into an empty folder instead. It now needs the archive's own file name,<slug>-YYYYMMDD-HHMMSS.tar.gz.enc, where 0.8.4 took a slug from any name; a renamed archive is refused with the name to give it back.backup verifyreports an archive made for another workspace, or with another stamp than its file name, as a problem.- Archives made before 0.8.5 still restore, as before, and restore says once that the archive is
not authenticated.backup verifyreports one as a problem,made before 0.8.5: back up again; its repos are still checked. Nothing to do by hand: the next scheduled backup writes the new format. - Every
.envfile is now in the backup, at any depth: 0.8.4 left out any more than three folders deep (apps/web/api/.env).node_modules,.git, nested repos and*.examplefiles are still left out. cabinet bootstrapwithCABINET_RUNNER=antigravitylooks foragy, the program Antigravity installs, as the doctor and scheduled jobs already did: before, it said scheduled jobs would not findantigravityand exited 1 withagyinstalled.- The deny rules for Claude Code, Grok, Qwen Code, opencode, Cursor CLI, Antigravity and Codex also refuse
git credential, which can print a password or token git has stored.cabinet bootstrapadds the rule; until then each tool's guardrailsGuardrails Rules installed in each agent tool, plus a git hook, that keep push, merge, release and publish with you. See guardrails. check incabinet doctorsays a rule is missing. guardrails.clone-settingsalso names Antigravity's project folders,.agents/,.agent/and.antigravity/, in the workspace and each repo it lists.
0.8.4 21 Nov 2026
- The kit's own runs start with no MCP servers. A connector or MCP server (GitHub, deploys, mail) writes through no shell command, so no deny rule or push gate sees it, and a run approves every tool call no rule denies. Claude Code runs now get
--strict-mcp-configand an--mcp-configfile of their own, readable by you only and removed when the run ends or is stopped; Qwen Code runs get--allowed-mcp-server-names; Cursor runs never get--approve-mcps. To let runs use some servers, name them in the newcabinet.envkeyCABINET_RUN_MCP_SERVERS(names joined by commas, letters, digits,_,.and-only, not starting with-or.) and approve the list atcabinet bootstrap's question, as a runner command is approved. Until it is approved, or after it changes, every run starts no agent and saysCABINET_RUN_MCP_SERVERS in cabinet.env is not approved on this machine; a name with any other character is never offered for approval, and bootstrap installs everything else and exits 1. An approved name Claude Code does not define starts no agent. Codex, opencode, Antigravity, Grok, Cursor and a custom runner have no switch the kit uses: their runs still start with every server their config holds, and the doctor says so. Every Claude Code and Qwen Code run line has these two or three more arguments, which a wrapper that reads them will see. - A run starts no agent while
CLAUDE_CONFIG_DIRorCODEX_HOMEpoints anywhere but where bootstrap writes that tool's rules, so a run never starts with settings the kit did not write; the message names the variable. Unset, or set to that same place, a run starts as before. - New doctor check
guardrails.mcp, notes only: each MCP server each tool has in its own config files (~/.claude.json,~/.codex/config.toml,~/.qwen/settings.json,~/.gemini/settings.json,~/.cursor/mcp.json), and whether the kit's runs load it; a note when the runner has no switch; that account connectors are in no file it can read; and a file it cannot read, which it leaves as it is. guardrails.clone-settingsalso names a cloned project's.mcp.json,.claude/settings.json,.claude/settings.local.json,.codex/config.toml,.gemini/settings.json,.cursor/mcp.jsonand.cursor/cli.json, in the workspace and each repo it lists. Still a note.cabinet repo addlists the repo's.github/workflows/under "Hard to undo" inAGENTS.md(once, and not when you turned the list off), since a workflow can publish on your next push.cabinet configsuggests it for a repo that has that folder and accepts it for one that does not yet. A release config has no one file name across tools: add yours withcabinet config --hard-to-undo. New workspaces say so under "Hard to undo".cabinet repo removetakes that line out again.- The guardrails page has a new section, "Outside the shell": each way an agent can reach GitHub, npm or another service without a shell command, what the kit covers for each tool, what no rule covers, and the server-side settings that are the hard boundary (branch protection or rulesets, read-only token scopes, npm two-factor or trusted publishing).
- A run stopped by a signal (TERM, INT or HUP) passes it on to the agent tool at once, with or without a time limit, and leaves no temporary file behind, also when the tool ignores TERM until the time limit ends it.
cabinet handoff runalso takes work for one roleRole An agent's job description: what it owns, decides, escalates and may write. Kit roles live in.cabinet/roles/; a project adds notes inroles/. on the team that is not a builder (design-lead, product-manager, a role of your own), filed--smallor--spec: that role works on it (<role>: works on <ID>) and each reviewer verifies, with the same fix rounds, cost limit, log and spend rows as a build. Its commits count in the workspace or a repo. Work whose commits are all in the workspace ends<ID> is done: every reviewer passed <reviews>; its commits are in the workspace, so there is nothing to push, and work no review depends on, with its commits all in the workspace, ends<ID> is done; no review is expected for it, unless its commits change a critical area: then it stops and says which reviewers to hand on to. A commit in a repo always needs a review, as a build's does. With the scheduled runner onsmallorall, handoffsHandoff One entry inHANDOFFS.md: who it is for, what changed, what they need to do. The only channel between agents. filed--smallto such a role are now moved too, each starting an agent and spending against the limit, where before run refused them at once. It refuses, starting no agent, an entry to you, to more than one name, to a name not on the team, and a review of another entry. Builds are unchanged.- A critical area in
AGENTS.mdwith aworkspace/...path now also covers the commits a done entry's status line names, so a project can ask for a review of work that is not code (| design | `workspace/specs/design/` | qa | the draft | none |).cabinet handoff add --smallto a role whose area such a row covers says, on stderr, which reviewers the work needs. cabinet handoff attachaccepts the entry's sender or an addressee, so the role that did the work, or the reviewer a review is addressed to, attaches its own evidence. A way back (--way-back) still comes from the sender only.cabinet handoff record's refusal of a qa PASS with no evidence names both.cabinet handoff archiveleaves done work under Open, saying why, while its commits change a critical area and no review entry depends on it.- New doctor check
handoffs.unreviewed, a note: each such done entry inHANDOFFS.md, with its areas and reviewers.cabinet handoff list --jsongainsaddressees(the names onTo:) andunreviewed, which is[]for every entry it lists, sincelistshows no done entry. cabinet handoff runasks the builder to name on the work's status line only the commits it made, never a base it built on, and the stop for a commit no passed review covers now ends; a commit this work did not make, such as a base it built on, comes off its status line.cabinet spec run --dry-rungoes through all the specSpec One file per feature inspecs/: the problem, the rules, testable acceptance criteria, your decisions, and the builders' plan. Work bigger than a small task is built only from a spec that is ready.'s work, printing each entry's dry run line in turn, and stops at the first with a step to take; with all of it ready to push it ends with the real run's last line (<spec> is ready to push: ...), without the run time. Before, it printed only the first entry's line.- An architect BLOCK on a spec's plan holds only for the plan it reviewed: once the plan changes,
cabinet spec check --jsongivesplan_reviewchangedandcabinet spec runasks the architect again, where before it stopped witharchitect blocked the plan.
0.8.3 20 Nov 2026
- A commit an agent makes as its role no longer carries another tool's attribution. The credit hook refuses a new commit made with
CABINET_AGENTset when its last lines hold aCo-authored-byline other than Cabinet's own for that role, aClaude-Sessionline, or a line holdingGenerated with, in any case, and prints each line it refused; your own commits are never checked. Every run's prompt now ends by saying so, andCABINET.mdtells an agent outside a run to commit asCABINET_AGENT=<role> git commit(withCABINET_CREDIT=onwhile credit roles are on) and never to type the credit line. Runcabinet bootstrapafter updating, which installs the new credit hook (v9) in place of the earlier one (a hook of your own is left as it is). - A silence default never goes ahead on a question the owner has since decided. Before a reversible sign-off item marked "default" goes ahead after 72 hours, chief-of-staff looks for a newer owner decision on it (an owner handoff, open or archived, a decided note, or an answer to the queue); when it finds one the item is dropped, and when it cannot tell the item stays in the queue without "default". Work filed from a silence default starts its
Changed:withSilence default:, carries the queue item as evidence, and is checked again by the role that receives it before any work; an entry a later one covers is setrejected, "superseded by <ID>". Rule text only: no command, option or check changes. Workspaces made before keep their ownOPERATIONS.mdline, which is not wrong, only shorter. - The kit's edits to workspace files such as
AGENTS.md(bycabinet config,cabinet repo,cabinet bootstrapand others) no longer write through a link. They write the new text beside the file, as<file>.tmp(orAGENTS.md.newforcabinet config --hard-to-undo), then rename it into place; in a cloned workspace that committed that name as a link, the file it pointed to was overwritten (and, for a.tmpfile, its permissions changed), or created when the link pointed to nothing, and the edited file itself became that link. Now whatever is at that name is removed first, never followed, and the edited file stays a plain file holding the edit.
0.8.2 18 Nov 2026
cabinet removeinside a project no longer deletes through a link. Before, when the project's.claudeor.claude/agentswas a link to a folder elsewhere, or a role file there was a link, the role files it pointed to were deleted outside the project. Now such a folder or file is kept, with one line naming it (kept the role files in the project's .claude/agents: <folder> is a link,kept .claude/agents/<role>.md in the project: it is a link), and the rest ofremovegoes on as before.cabinet role listno longer writes.cabinet/roles.list: in a cloned workspace that committed it as a link, the file it pointed to was overwritten.cabinet backup restorerestores.envfiles from an archive without passing their names to tar. Before, a.envfile named with a control character stopped the restore withNot found in archive(exit 1) after its repo, so the repos after it and the agent memory and settings were not restored; and on macOS a hand-made archive holding a member named*wrote over a.envfile the restore said it left as is. A.envfile is still restored only where none is there, and never through a link.cabinet movefinishes when~/.claude.jsonor Codex'sconfig.tomlis there. Before, once the folder had moved, it still looked for its own files at the old path: Claude Code's trusted folders were left at the old path, the move stopped at Codex's withCannot find module, and the schedules were stopped but not set up again at the new path. A move that stops after the folder has moved now also says so, withstop: the folder has already moved to <new-path>, and its schedules are stopped: run <new-path>/bin/bootstrap.sh once the problem above is fixed.
0.8.1 17 Nov 2026
cabinet update,cabinet outdatedand the update notice could stop with no message (exit 141) on some Linux machines, depending on timing, while reading the workspace's version. They now read it without a pipe. Other places that took one line or looked for a match through a pipe (cabinet config,new,initandrepo addchecking repo names,bin/repo.sh,bin/session.sh start,bin/spec.sh run, the team summary ofrole build, and schedules) now read to the end, so none can stop or give a wrong answer the same way.- The failure trace: when
cabinet, or a workspace script it runs, stops on a command that failed where it did not expect one, it now prints one line on stderr naming it,cabinet: stopped at <file> line <line>: <command> exited <status>, where it used to stop with no message at all (such as exit 141 and no output). The command is shown as written in the script, never with its values. Nothing changes for a command that succeeds, a failure it handles, or a stop with its own message. cabinet backup restorerefuses an archive whose.envfiles include a name starting with-, naming it, before anything is written (exit 1): restore passes each.envname to tar, which would read such a name as an option, and GNU tar has options that run a command.backup createnever writes one, so only a hand-made archive holds it. Archived sessionSession A folder of its own for one agent session in a repo (a git worktree on a branchsession/<name>), so several sessions work at once without touching each other's changes:cabinet session start. You merge its work.cabinet session endlists what deleting its folder would lose and refuses work that exists nowhere else, changing nothing;--forcedeletes it after asking at a terminal. See sessions. folder names are printed with control characters shown as?, as other archive names already were.cabinet movestops when the backup copy of an agent tool settings file (~/.claude.json, Codex'sconfig.toml) cannot be written beside it, and changes nothing more, withstop: could not back up <file>: <reason>(exit 1). Before, it ended partway with only the copy command's own error, which did not say which file.cabinet role build, whichcabinet updateruns, no longer writes through a link. Before, a cloned shared workspace that committedORG.mdas a link had the file it pointed to overwritten, one withagents/or.claude/agents/linked to a folder elsewhere had the role files written there, and a role file linked to a missing file created it outside the workspace (macOS). NowORG.mdand each role file are written beside it and renamed into place, so anORG.mdlink becomes a plain file; a role file that is a link is kept as not generated, and anagents,.claudeor.claude/agentsfolder that is a link, or inside one, gets nothing, withkept <folder>: it is a link or inside one, so cabinet writes nothing there.
0.8.0 15 Nov 2026
- Released specs:
cabinet doctorandcabinet spec checktell abuildingspec whose work is out in a release apart from unfinished work. A spec is released when every entry naming it on a- Spec:line isdoneorrejectedand, in each of its repos inrepos.tsv, the commits on the Verdict lines of itsdoneentries are all in a version tag (v1.2.3or1.2.3, no pre-release suffix).spec checkthen prints<spec> (building): in <repo> <tag>, released: set it to shippedin place of its problems and does not exit 1 for it;--jsongainsreleasedon every spec (null, or{"<repo>": "<tag>"}, the earliest version tag holding them all), andproblemsis unchanged. The doctor leaves a released spec out ofspecs.readyand names it in a new note,specs.released:<spec> is in <repo> <tag>, released: set it to shipped. It only suggests: you or product-manager setshipped.cabinet spec runrefuses a released spec with the same line (exit 1, before any step), and the scheduled runner skips it. - New:
cabinet spec list(bin/spec.sh list) shows every spec with its status,specs/<feature>.md (<status>);--jsonprints[{spec, status, released}].cabinet spec list --released <repo> [<commit>]lists the specs a release of that repo at that commit (default itsHEAD) completes, for the release review:specs/<feature>.md, with(<repo>, ... not released yet)when its other repos are not, orNo spec ships in this release.;--jsonprints[{spec, not_released}]. Both change nothing and exit 0; 2 for a repo not inrepos.tsvor a commit git does not find there. cabinet handoff runandcabinet spec runno longer count a branch or tag named only in hex (deadbeef, a date-shaped2026111) on a status line as a commit: a word counts only when it is the start of a commit's own ID in a repo ofrepos.tsv. Such a name used to count, and pointed wherever the branch or tag pointed at the time.
0.7.0 14 Nov 2026
- Run estimates:
cabinet handoff runandcabinet spec runsay how long a run and each step should take, and how long each took. Before the first step:Expected for this run: about <D1>, up to <D2>; done about <T1>, by <T2> at the latest (<source>). Each step stops at its time limit, <limit>.; under each step's line (after itsModel:line):Expected: ..., with, the time limitwhen the limit caps it; after each steptook <D>; and the last line (ready to push,Stopped:orPaused:) ends withRun time: <D>., after a.added when it had none.--dry-runprints the next step's estimate. The estimates come from this workspace's own logs on this machine, each time they are shown, with no setting and nothing stored: the median and 90th percentile of the last 20 steps of the same kind (role, what it does, and a small task's or a spec's), once there are 5; until then the kit's typical times, orno estimate yet. Logs gainrun startedand<role> took <D>lines; every line they had keeps its words.cabinet job runlogs<job> took <D> (exit <S>)on every run, by hand printsExpected for this run: ...(the job'sMINUTESuntil it has 5 runs here) and endsFinished in <D> (exit <S>). Open <RESULT>.,<D>nowunder 1 min,<n> minor<h> h <m> min.PIPELINE.md's last line isSpent $<X> of the $<L> limit for one run, in <D>., and each work line ends with its run time.cabinet digestadds the week's agent time to itsAgent runs this weekline (, 3 h 10 min of agent time). New doctor checkruns.estimates, a note when 5 or more of the last 20 steps of one kind took longer than the upper end given. Agents tell you how long a long task should take, from--dry-run, and what it took. cabinet handoff runcalls work ready to push only when its status line names at least one commit in a repo ofrepos.tsvand a passed review covers each one. A passed review of a plan, a spec or a note that depends on the work no longer counts as a review of the build: while the work isopenoracknowledgedand names no commit, the builder builds it. New stops say when the work is done but names no commit (<ID> is done but its status line names no commit in a product repo, so nothing was built to push), when it names commits no passed review covers (<ID> names <commits>, which no passed review covers), and when the builder ran but named no commit. The builder is now asked to name each commit it made on the status line when it closes the work.cabinet spec runpasses over a work entry that is done, names no commit and has no open review (a plan fix), saying so by name, where it used to stop on it every time; with nothing left to run it stops with<spec> has no work that names a commit, so nothing is ready to push, and its closing line lists only the work it ran. Acabinet spec run --dry-runthat stops no longer leaves the spec marked stopped, so the scheduled pipeline no longer skips it after a dry run.handoff list --readyandcabinet push-checkare unchanged.- New doctor check
handoffs.size, a note whenHANDOFFS.mdis over 100000 bytes:HANDOFFS.md is <bytes> bytes, over 100000: <c> closed entries (run bin/handoff.sh archive); <o> open, most to <name> (<n>), ... (each closes the entries whose work is finished or recorded elsewhere, with the reason). It says how many closed entries archive can move (commit HANDOFFS.md, then archivewhen the file has uncommitted lines) and which three addressees hold the most open ones. The limit is fixed in the kit; the doctor still exits as before.
0.6.0 13 Nov 2026
cabinet.envand job files are read as text, never run as shell, so a teammate's commit to one can change settings but never run a program, in any command, read-only ones included (cabinet doctor,next,job list). A value written with$(...),$VARor${VAR}($HOMEtoo), a backtick, an unquoted space orexport, acabinet.envvalue over several lines, or aCABINET_SLUGthat is not a slug, now stops with the file and line:cabinet.env:<line>: not a literal value; cabinet reads this file as text and runs nothing in it(for a job file, that job only does not run, and keeps its schedule; a job file that cannot be opened, such as a link to a missing file, is treated the same way, withjobs/<job>.job: cannot be read). If you relied on one, write the value out (the folder in full, not$HOME/Backups). Everythingcabinetwrites reads as before. A key cabinet does not read (PATH=...) is ignored and noted. The format is in docs/commands.md. New doctor checks:settings.literal,settings.unknown,jobs.name,roles.name,repos.local-path,commands.approved,settings.local-tracked.- A command from the workspace's files runs only once approved on this machine:
CABINET_RUNNER_CMD, or a job'sCOMMANDorAFTER, that you did not set here withcabinet neworcabinet config(a teammate's, or one edited by hand) is refused with<KEY> in <file> is not approved on this machine: run cabinet bootstrap at a terminal to see it and approve ituntilcabinet bootstrap, at your terminal, shows it and you answery. The kit's own (the brief's after-step and the scheduled runner) need nothing. After updating, a hand-written runner command or job command asks once: runcabinet bootstrapin a terminal. - Role and job names, and local-only files in
repos.tsv, are checked before they become paths: a word inCABINET_ROLESthat is not a role name is skipped (role buildexits 1 and names it), a job file whose name is not a job name is never listed or scheduled, and a local-only entry that is not a plain path inside its repo (such as../../HANDOFFS.md) is skipped by snapshot and bootstrap, withskipped the local-only file. A local-only file with a symlinked folder on the way, in the repo or underlocal/, is skipped too, so neither copies through a link to outside. cabinet listandcabinet digestrun nothing of other workspaces: they read each one as text with the installed kit. The DOCTOR column ofcabinet listis now the count of that workspace's last doctor run on this machine, with its time, ornot run yet;cabinet list --jsonaddsdoctor_checked.- One run of a job at a time: while a job is running, another
cabinet job runof it (by hand, or its schedule coming round) starts nothing, says<job> is already running (process <pid>): this run started nothing, and exits 1, where it used to start a second paid agent run on the same files. Different jobs still run at the same time. A run stopped with KILL leaves its lock behind; the next run takes it over. - A failed after-step (
AFTER) now fails the job: the run exits 1, by hand and scheduled, and records no quiet state, so the next scheduled run is a full one. It used to exit 0 withafter-step failedonly in the log. - A
COMMANDjob is now stopped at its time limit (TIMEOUT, elseCABINET_JOB_TIMEOUT), with everything it started, as an agent job is; the docs already said so. The pipeline job keepsTIMEOUT="0", no limit. A hand-madeCOMMANDjob with noTIMEOUTis now stopped atCABINET_JOB_TIMEOUT(60 minutes by default): give itTIMEOUT="0"or a longer limit if it needs one. - With
QUIET_DAYS, a job'sRESULTcounts only as a file inside the workspace: a path outside it, a link to outside or a file not there yet makes every run a full run, with a line in the log, and nothing atRESULTis read or touched. A quiet skip used to touch the file wherever it pointed. - Cron schedules (macOS with
CABINET_SCHEDULER=cron): a workspace path with an apostrophe gave a cron line the shell could not read under macOS's bash 3.2, so the job never ran. Quoting is now the same under every bash; runcabinet bootstrapto rewrite the line. The command shown to store the backup passphrase in a file is fixed the same way. - Model and effort per task.
cabinet config --tier <tier> "<model>[ <effort>]"|offnames the model, and optionally the effort, of three tiersTiers Who decides what: the agent (reversible, in its own files), its lead (reversible, across repos), or you (irreversible, public, or costs money).:light,standardandstrong(new keysCABINET_TIER_LIGHT,CABINET_TIER_STANDARDandCABINET_TIER_STRONGincabinet.env). A tier you have not set takes--model-lightor--model, so with none set every run uses the model it used before. - Each handoff to a role gets a
- Model: <tier> (<reason>)line fromcabinet handoff add:strongwhen its spec has a critical area,lightwhen every addressee is inCABINET_LIGHT_ROLES, elsestandard.handoff add --model <tier>sets it by hand; you change it by editing the word.cabinet handoff run(by hand, in the scheduled runner and underspec run) runs the builder and each reviewer at that tier, one tier up for each BLOCK or CHANGES on the work, never abovestrong, and a reviewer inCABINET_LIGHT_ROLESatlight; its log, andPIPELINE.md, name each agent's tier, model and effort. A word that is not a tier stops the run before any agent. An entry filed before this version has noModel:line and runs as before; jobs,role draftand the agentsspec runstarts itself keep today's models.handoff list --jsongainsmodel_wordandmodel_reason, and aModel:line is one of the sender's lines that are never read as a verdict. - A tier's effort reaches Claude Code and Antigravity as
--effort, Grok as--reasoning-effort, and a custom runner as$CABINET_EFFORT; Codex, Qwen Code, opencode and the Cursor CLI have no effort option, so they get none and the doctor notestier.effort. The doctor checks each tier as it checks--model(tier.exists). spend.tsvgains two columns at the end of each new row: the model and the effort the run asked for (empty for the tool's default). Older rows and readers keep working.cabinet job list --by-model [--json]shows this week's cost per model and effort; a row from before counts underunknown.cabinet job listwithout it is unchanged.cabinet statusends withruns in progress:, one row per run Cabinet started that holds its lock (handoff run,spec run, a job): role, work, runner, model, effort, start, time so far, andrunningorstale;cabinet status --jsongainsruns. Each run's lock now holds a filerun(and the handoff and spec locks a.gitignore), so a lock left by a run stopped with KILL is removed withrm -r, notrmdir.
0.5.1 11 Nov 2026
- The doctor's
handoffs.unread-verdictsno longer names an entry whose Changed or Needed line asks for a verdict ("record a PASS or a BLOCK"). It andunread_verdictsinhandoff list --jsonnow skip the title and the lines the sender wrote (From, Changed, Needed, Depends on, Way back, Evidence, Spec, Size), and still read the status line and any other line. - The workspace's secrets check now refuses a commit it cannot check: when
bin/secret.shis missing or not executable, a commit stops withcommit refused: bin/secret.sh is missing or not executable, so this commit cannot be checked for secrets (run bin/doctor.sh). Before, every release from 0.1.0 let such a commit through, silently.cabinet updatedoes not change the hook: runcabinet bootstrapafter updating, which replaces the earlier copy (and only that copy; a hook of your own is left as it is). The doctor'ssecrets.nonenow says the scanner cannot run, in place of "possible secrets". - The doctor's hook checks now say ok only for what they verified, so an owner whose doctor passed may now see a FIX or a note.
guardrails.push-gategives one result, ok only when the globalpre-pushis the kit's copy and executable; apre-pushthat is not the kit's (one of yours, an edited or older copy, a stub) is now a FIX saying the doctor cannot check it, with the steps to move yours into each repo, and one that is not executable is a FIX.guardrails.claimsays the gate asks in this workspace's repos only when the gate is the kit's.guardrails.hook-passthroughchecks all 14 stubs, naming each that is missing or not the kit's.secrets.hookfollows thepre-commitgit really runs for a commit in the workspace (acore.hooksPathset for it included) and names one that is not the kit's, or is its earlier copy, as not checked. - Codex's
approval_policyis read, not guessed. Bootstrap now reads the top level of~/.codex/config.tomlwith one line scan: it addsapproval_policy = "on-request"above the first[table](indented or not) only when the top level sets none, so a value set only under[profiles.<name>]no longer hides it and an indented one is no longer added twice; it createsconfig.tomlholding only that line when Codex has none, and~/.codexat mode 700 when onlycodexis onPATH. A value of yours, a file it cannot read safely (a multi-line string or array before the first table, a key set twice), a top-levelprofileline andCODEX_HOMEset to another folder are each left as they are and named, and the run ends withSome steps did not complete. New doctor checkguardrails.codex-approval, a FIX unless that top level sets"on-request"with no profile selected; Codex users whose doctor passed may now see it. - A backup copy bootstrap cannot write no longer stops it. Before, when the
.bakcopy of a tool's settings could not be written, bootstrap exited at that tool, so the guardrails of every tool after it, and the schedules, were never installed. Now it leaves that file as it is, says why, goes on with the next step, and ends withSome steps did not complete. A settings file bootstrap itself has just created is no longer backed up.
0.5.0 11 Nov 2026
cabinet session endremoves a session's folder only when deleting it loses nothing. Before, it checked for uncommitted changes and an ignored.envby its last name only, sogit worktree removedeleted a.envinside an ignored folder (secrets/.env), other ignored data (config/master.key, a database) and repos inside the folder with commits on no remote, with exit 0. It now lists everything git would delete with the folder and refuses, naming each path with a word that says why (uncommitted,unpushed,stash,ignored), unless the repo names it in a new## Safe to deletesection of itsAGENTS.md: one path per line, a path ending in/covering its folder, no wildcards (an entry that is absolute, holds..or a wildcard is not read, and is named). A.envfile or a repo inside a safe folder needs an entry of its own, and a session reads the list from the repo's main folder. A session that ended before because its ignored files were all build output now refuses until the repo names them. New optionsession end --force: deletes what the list names after askingyesat the terminal; refused with no terminal and in a scheduled run. Jobs now setCABINET_JOBfor every run, which--forcereads as a scheduled run. Git settings that hide work fromgit status(status.showUntrackedFiles, a submodule'signore, skip-worktree) do not hide it from the list, a submodule's checkout is kept as any repo inside is, and nothing a found repo's own git settings name runs (an fsmonitor, a hook, a filter): a repo that sets its own filter is kept asuncommitted. The check is one helper for every command that deletes,node scripts/lib.js delete-plan.cabinet removedeletes a workspace only when that loses nothing, with the same check assession end. Before, it looked only at the workspace's own uncommitted changes and commits on no remote, so it deleted a repo inside the workspace with untracked files or commits on no remote, a session's uncommitted work and ignored folders such asrecovered/ordrafts/, with exit 0; inside a project, shared, it checked nothing. It now refuses, naming each path and why, unless the workspace'sAGENTS.mdnames it in## Safe to delete; a reporepos.tsvlists, and its sessions, get that repo's own check, and the kit's own untracked files never refuse. Nothing is removed on a refusal, schedules, logs and the backup key included.--dry-runlists what the folder holds and exits 1 when anything would be kept.--forcenow asksyesat the terminal and is refused with no terminal and in a scheduled run, so a script runningremove --yes --forcewith no terminal, on a workspace holding work found nowhere else, is now refused: run it yourself at a terminal. A workspace folder with no git at all now refuses too, unless its files are named safe.cabinet backup restorereads the whole archive before it writes anything, and moves aside every path in its way. Before, restoring in place deleted a file where the archive has a folder (a filespecsoverspecs/x.md) with no copy and exit 0, stopped for good on a folder where the archive has a file (README.md/), stopped half done on a file the archive added without committing, read each repo's folder from therepos.tsvit was about to replace, and a second run only fetched. Now each repo's folder comes from the archivedrepos.tsv; an archive member with an absolute path or a..part is refused, naming it, with nothing written; then one check lists every path in the way (differs,file-in-way,folder-in-way) and moves each torecovered/<archive>/<repo>/, or to<repo>-2,-3, ... when that exists, so a run never writes over what an earlier one kept. A restore stopped half way finishes when run again (.git/cabinet-restoremarks a checkout in place until it is done). New option--forcedeletes what is in the way instead, after listing it: it asks at a terminal and is refused with no terminal and in a scheduled run.- The kit places in a workspace only the files listed in
core/kit-files, a new file in the package that lists every kit file and is never placed itself. Before, it copied everything in itsscripts/,guardrails/,core/rules/androles/folders, so a stray file there (a swap file,.DS_Store) was placed, recorded in.cabinet/manifestand committed in the workspace. A workspace now records its format in.cabinet/format(one whole number; this version writes1, and a workspace with none is format 0), written by setup andcabinet updatejust before.cabinet/version.cabinet updatereads it before it changes anything: a workspace set up by a newer Cabinet (a higher number) is refused withthis workspace was set up by a newer Cabinet (format <n>); update the kit first, and so is a format file that does not hold a whole number, with nothing changed. cabinet updateandcabinet initin an existing folder no longer read or write.cabinet/versionand.cabinet/formatthrough a link. Before, a folder from someone else (an unpacked archive, or a clone of a shared workspace) could carry either as a link to a file elsewhere, and setup orupdatereplaced that file's contents with the version or format. Nowinitrefuses a folder where either is already there in any form, or where.cabinetis a link;updaterefuses a workspace where either is a link or not a plain file, or.cabinetis a link; nothing is changed either way. Both files are written through a new file and a rename, and the versionupdateprints is shown without terminal control characters. The same holds for.cabinet/manifest:initrefuses a folder that already has one,updaterefuses one that is a link, not a plain file or missing, and it is written through a new file and a rename. A kit path that is a link, or under a linked folder (such asbin/lib.shlinked to a file that does not exist yet, orbinlinked elsewhere), is never copied onto:initin an existing folder refuses it as a file already at a path the kit uses, andupdateleaves it as is and keeps the version, as for an edited kit file. Before, on macOS, a dangling link let setup orupdatecreate the kit file outside the workspace.cabinet updatechecks every kit file before it writes any, and writes the version last. Before, it had already replaced some kit files when it reached an edited one and stopped, copied scripts in place, so a job running one during the update could fail, and wrote the version before the roles were rebuilt, while a failed manual build still let it end with exit 0. Now one check (delete-plan kit, the onesession end,removeandbackup restoreuse) lists every kit file that iseditedhere ornot-kit(at a kit path, but never placed by the kit, a link or under a linked folder included) and refuses with nothing changed; otherwise each kit file is written to<path>.cabinet-newand renamed into place, then.cabinet/manifestthe same way, then the roles andOPERATIONS.htmlare rebuilt, and only then.cabinet/formatand.cabinet/versionare written. A failure after the copy, the manual build included, now exits 1 withhalf updated: run cabinet update againand keeps the old version, and running it again finishes. New optionupdate --forcereplaces the listed files after askingyesat the terminal; refused with no terminal and in a scheduled run. A kit file that is a link is now named in that list instead ofalready here and not the kit's, left as is. The doctor'skit.uneditedandcabinet init's check of files already at kit paths read the same check, with their messages unchanged; the doctor now also names a kit file under a linked folder, which an update refuses. A.cabinet/manifestline naming a path the kit never places (anything butCABINET.mdor a path underbin/,.cabinet/rules/,.cabinet/roles/or.cabinet/guardrails/) is now ignored byupdateand the doctor. Before, as in 0.4.1, a cloned workspace whose manifest named another file with its hash (.git/HEAD, a file in a product repo) had that file deleted byupdate.
0.4.1 9 Nov 2026
- Every command now reads
HANDOFFS.mdthe same way. A status word other thanopen,acknowledged,doneorrejected(such asDone,closed,in-progress, or no status line) is named bycabinet doctoras a FIX, with a new check ID,handoffs.status;cabinet handoff runstops on it, naming the line, instead of building the work again, and never counts a review handoff with such a word as closed; a scheduled run names it inPIPELINE.mdand goes on; it still shows inhandoff list, andarchivekeeps it. A handoff toOwnerorFOUNDER, in any case, now reaches you inhandoff list owner,cabinet next,cabinet listandcabinet digest, andhandoff add --towritesownerandfounderin lower case. IDs past 99 a day are put in order by number (-100after-99) inhandoff list, the scheduled run andcabinet spec run.cabinet handoff archivekeeps a##section after the entries inHANDOFFS.md, where it was, and commits onlyHANDOFFS.mdand the archive files it wrote, never someone's draft inhandoffs/. cabinet handoff add,attachandrecordnever write without the handoff lock. When another writer held it for the whole 10-second wait, they went ahead anyway, exited 0 and then removed the other writer's lock; now they stop with exit 1, naming the lock, and change nothing. A lock is taken over only when its writer is gone (its process has ended, or a lock from an older kit is over a minute old), never from a writer still running (another user's or one outside the agent tool's sandbox included), and the lock now holds its writer's process ID, so the lock of a writer that was stopped is taken over at once instead of after a minute.cabinet handoff recordand the doctor now see what a merge changes: a--no-ffmerge counted as changing no file, so its critical areas, its "Hard to undo" paths and a small task that grew went unnoticed. A commit also stays the repo's that made it (the one with a local branch that contains it) when it has been fetched into the workspace, which used to claim it first.cabinet secret check, the doctor'ssecrets.noneand the workspace's pre-commit secrets check now read a file whose name has letters outside ASCII (such asnotes/café.md) or a double quote: before, a key in such a file was not found, and a commit adding it was not refused. A file the check cannot read is now reported (<file>:0: a file the check could not read) instead of skipped.cabinet moverefuses, before it changes anything, a workspace whoserepos.tsvnames a repo by a relative path that leaves it (such as../app), naming each such row: after a move that path pointed nowhere, so the push gate no longer asked before that repo's pushes. Give the repo its absolute path, then move. A move now also runsgit worktree repairfor every session, socabinet session listandsession endfind them at the new folder; with a git older than 2.30 it prints the command to run.- On macOS, the credit hook (now v8) no longer takes a new commit in a Cabinet run for an amend when its
-mmessage or a path holds--amountor--amend: only--amend,--am,--ameor--amengiven as an argument of its own counts, and a real amend is still refused whatever its message holds, also with-For-v. Linux is unchanged.cabinet bootstrapreplaces the v7 hook with v8. - The scripts no longer fail with a stack trace when a reader stops early, such as
head -1orgrep -q: the kit's JavaScript ignores the closed pipe and exits cleanly. cabinet handoff recordnever writes a critical area check's output over a file already in the entry's evidence folder: whencheck-<area>.txtis taken, the output goes tocheck-<area>-2.txt(and on). Before, it replaced evidence the sender had attached under that name.cabinet handoff add --evidenceandattachnow refuse a file namedcheck-<area>.txtfor an area inAGENTS.md.cabinet doctorreportsguardrails.opencodeas a FIX, saying opencode's rules could not be read, when the rules opencode 1.x prints cannot be checked. Before, such a failure read as ok: "opencode denies push and publish".- A negative or junk dollar amount can no longer open the weekly budget or a scheduled run's cost limit. A run whose tool reports such an amount records no dollars, and such a row already in the spend ledger (written by hand or by an older kit) is left out of the week's total in
cabinet job list,cabinet digest, the doctor and the budget check, so the total never falls below what was really spent. - In a workspace that pins an older Cabinet than the copy you ran,
cabinet updateandcabinet confignow say why nothing changed and how to move the pin:npm install @tarekraafat/cabinet@<the copy you ran> && npx cabinet update. Before, they sent you tonpx cabinet update, which runs the older pinned copy again and never reaches the new version.configalso offersnpx cabinet configwith the same options, to change settings with the pinned copy. A pin newer than the copy you ran still gets the command that runs it. - Architect now reviews the plan of a spec with a critical area in its
areas, as well as one built in more than one repo:cabinet spec runasks architect before any build, andcabinet spec check(and the doctor'sspecs.ready) now reports a spec alreadybuildingwith areas and no architect PASS on its plan. Set it back toreadyand ask architect for the review.spec check --jsongives each specplan_review_needed, a new field; none is renamed or removed. The plan a builder writes inspec runnow names its design choices in one sentence. - Backups keep and verify the newest archives by the time in their names, not by when each file was last modified. Before, an older archive touched by a synced drive or a copy counted as newest, so cleanup could delete a newer one, even the archive just written, and
cabinet backup verifychecked an older one. A backup now never deletes the archive it has just written. cabinet handoff addtakes--changed-file <file>and--needed-file <file>, andaddandattachtake--way-back-file <file>: each reads its value from a file, byte for byte with one trailing newline dropped, so text that holds$, a backtick or the name of a command never passes through a shell. The way back is still one line. A missing or unreadable file, or a file option given with its plain twin (such as--changedwith--changed-file), is refused with exit 2, naming it, and nothing is written.
0.4.0 6 Nov 2026
cabinet push-checkno longer stops at the workspace's own bookkeeping: a workspace commit that is not a merge and changes onlyHANDOFFS.md,BRIEF.md, or files underhandoffs/,notes/,specs/evidence/,specs/qa/,specs/security/,specs/reviews/,specs/design/orspecs/adr/needs no handoff, and prints(coordination). Any other workspace commit still needs one, and one a Verdict line names still waits for that handoff.push-check --jsongives each commitcoordination,truefor such a commit; a new field, none is renamed or removed.cabinet handoff runsays ready to push only when every open review of the work is ready, and runs the reviewers of each one that is not. Before, it looked only at the first open entry that depended on the work, so a task that happened to pass let it say ready to push with another review still open, and a review filed--specnever counted. A later builder handoff in a spec's chain is still not a review.cabinet spec runruns only the spec's handoffs to one builder: a routing request or a review filed--specis no longer taken as its work, which stopped the run at once. When a handoff run stops, the stop says why (itsStopped:line, its last line when it refused before a step, or its exit code when it printed nothing) in place of "see above", and the spec's log holds the handoff run's output, its errors too.cabinet handoff list --jsongives each entrybuilder: the one addressee that builds (a repo, or a role that builds one), ornull. A new field; none is renamed or removed.cabinet handoff runruns a handoff addressed to a builder and a reviewer with the reviewer named last, asbuildercounts it. Before, it ended with exit 1 and no message.cabinet doctornames, as a note, each verdict line inHANDOFFS.mdor under a spec's "## Reviews" that was not added by a commit ofcabinet handoff recordorcabinet spec record(handoffs.verdict-origin). It readsgit blame, so it finds lines written by hand or committed with other lines, not forgeries; the doctor's result is unchanged.cabinet doctornames, as a note, an opencode project config (opencode.json,opencode.jsonc,.opencode/) or Qwen Code workspace settings (.qwen/settings.json) in the workspace or a repo it lists on this machine, since a cloned project can bring one that loosens the kit's rules there (guardrails.clone-settings).cabinet handoff add,attachandrecordnow commit their own change even whenHANDOFFS.mdholds someone else's uncommitted lines: only their own lines go into the commit, with the usual summary, and the other lines stay on disk as they were (what was staged stays staged). A commit someone starts in the same folder while they commit is refused by git, as any commit is while another runs, and can be run again. Before, they left the change uncommitted and asked you to stage it withgit add -p. When the entry they change is itself not committed yet, they still leave it uncommitted and say so.
0.3.3 3 Nov 2026
- Agents now treat what they read from outside (a cloned repo, a web page, an issue, a tool's output) as data, not instructions: when it asks them to run something, send data out, reveal a secret or skip a check, they stop and tell the owner where. Instructions come only from the owner,
CABINET.md,AGENTS.md, the role and what they name, and handoffs, which assign work but never loosen a rule. It is a rule for the model, not an enforced boundary, as the guardrails page says. - The
cabinetcommand never runs a copy of Cabinet in a workspace'snode_modules, which a cloned project can commit:cabinet statuswould run it. Where a workspace pins another version,cabinet updateandcabinet configchange nothing and printnpx cabinet updateornpx cabinet config, which runs the pinned copy, andcabinet statusadds apinned:line naming its version. The commandstatus,outdated,nextand the doctor give for a pinned project now ends innpx cabinet update, and starts withnpm install @tarekraafat/cabinet@latestin the pin's folder whenever the pinned copy is behind the newest. The pin is looked for only beside thepackage.jsonthat pins the kit (the workspace's, or the project's above acabinet/workspace), never in the folder above a stand-alone workspace. By hand: a script that callscabinet updateorcabinet configin a pinned project must callnpx cabinet updateornpx cabinet config. - The README and
llms.txtnow say near the top that Cabinet is for any kind of work agents can do (code, apps and websites, design, writing, marketing, music, finance), with examples of roles drafted for it, and still say that its defaults are made for code today.llms.txtlinks to "Work that is not code" in the agent setup guideGuide A standing document the agents follow, such as a brand guide, style guide, policy or business document. It lives inguides/, with a row inAGENTS.md..
0.3.2 2 Nov 2026
cabinet updateno longer saysNothing changedwithout a word about a newer published version: it asks the registry, and when a newer Cabinet is out it says so and prints the command that takes it for this install (global or pinned), ascabinet outdateddoes, then goes on with the installed kit. It installs nothing and asks nothing. The request stops after 10 seconds; when the registry cannot be reached, it goes on as before.cabinet config --update-check offalso stops this request.cabinet outdatedstops its registry request after 30 seconds, and says the newest is unknown.
0.3.1 1 Nov 2026
Run cabinet bootstrap after updating, for the new credit hook.
- The amend guard compares the role in a commit's credit line exactly as it is written, so a line whose role holds a hidden character counts as another role's. Its refusals also say to give the message with
-F <file>when the commit is a new one whose message mentions--amend, which on macOS is taken as an amend. The guardrails page now says that deleting the role's line in the editor during an amend drops it, and that-cand-Ccount as amends. - Bootstrap keeps your edits to an earlier kit hook: when it replaces an earlier version of the credit hook, the push gate or the pre-rebase hook that you changed, it first keeps your copy beside it as
<hook>.cabinet-v<N>, and says so. Before, it replaced an edited earlier copy whose version line was unchanged. cabinet handoff runno longer tells a reviewer asked again that no commits are new when a product repo has a history git cannot read (no commits yet, or a broken repo), the builder's or another's: it says it cannot tell, and the reviewer reads the whole change.- Bootstrap and
cabinet doctorno longer print a shell error for a hook whose version line has a leading zero (such asv08); such a hook counts as yours and is left as it is. - Credit roles now credit the
cabinet-teamGitHub user account, with a profile page, in place of thecabinet-team[bot]app: the default email is350503452+cabinet-team@users.noreply.github.com. Until you runcabinet bootstrap, the earlier credit hook credits nothing, andcabinet doctorsays it is out of date. Commits already made keep their line, and an agent can still amend its own commit credited with the old email. --credit-emailalso takes a user account's noreply email,<user ID>+<login>@users.noreply.github.com, with any capitals GitHub shows in the login; an app's bot email keeps working, in lower case. Thecredit.emaildoctor messages and the option's error say so; the check ID is unchanged.cabinet handoff addrefuses--smallon a review entry (a--depends-onholding a handoff ID, addressed to qa, security, design-lead, code-reviewer or dba), sincecabinet handoff rundoes not count such an entry as the review. When a run stops at work that is done with no review, it names an open--smallentry that depends on the work and says why it does not count.cabinet doctor, andcabinet next, which asks it, take less time: the doctor hashes the kit's files in one step and reads the open handoffs once. Its results are unchanged, except that withbin/lib.jsitself missing it names only that file; put it back and run it again to see any others.npm testprints a line with each section's time in whole seconds, as-- <seconds>s <section name>, and takes less time; every check stays.
0.3.0 30 Oct 2026
Run cabinet bootstrap after updating, for the new push gate, the completed agent tool rules and the new credit hook.
- A light model for some roles:
cabinet config --model-light <name>setsCABINET_MODEL_LIGHT, a second, lighter model for the roles inCABINET_LIGHT_ROLES(cabinet config --light-roles "<roles>"). The first light model set writes the default list, chief-of-staff, product-manager, design-lead and finance, those of them on the team then; a list already there is kept. Every other role runs on--modelas before, whatever kind it is and whenever it was added, and a job'sMODELline still wins. With Claude Code as the runner,role buildalso writes each role's model into its file in.claude/agents/as amodel:line; a project role's ownmodel:line is kept. Setup asks for it right after the model; Enter keeps none. - When a light model is set,
cabinet role addends with one line saying which model the role runs on, and the command that moves it.role removeleaves the list as it is. New doctor checksmodel-light.name,model-light.existsandmodel-light.roles(a listed role not on the team: a note). - With no light model set, the default for every workspace, nothing changes: every run and every role file is exactly as before.
- The push gate asks only in Cabinet's repos: each workspace on this machine and everything inside it, every repo a workspace lists in
repos.tsv, and the project around acabinet/folder. In any other repo it asks nothing and runs that repo's ownpre-push. It reads the workspaces Cabinet records on this machine at each push, and asks whenever it cannot tell (nodenot on thePATH, a workspace it cannot read, a recorded workspace that is gone, no recorded workspace still there, a bare repo). The deny rules in each agent tool stay machine-wide. Bootstrap replaces the gate only where it is the kit's own earlier copy (with its new helper,cabinet-push-gate.js, beside it); apre-pushof yours is left as it is and still asks everywhere, which the doctor notes (guardrails.push-gate). New doctor noteguardrails.stale-claim: a recorded workspace that no longer exists, which makes the gate ask in every repo, with the commands that free it. Bootstrap records the workspace on every machine, with or without a scheduler; a workspace whose slug another one holds is recorded beside it (asharedfile in that log folder), so the gate still asks in its repos. New doctor checkguardrails.claim: a FIX when no record names this workspace, or when its slug is another's. guardrails.repo-hookspathreads the hooks folder git really uses (set in the repo, a worktree, an included file or the system config) in the workspace, each repo it lists and each session worktree, and names the file that sets it and both ways back. Its message is reworded.- Older Codex rules and Gemini CLI policies are completed: bootstrap adds the kit rules an older copy lacks at its end, after a comment line and a backup, keeping every line already there, and writes the result only when it checks out. The doctor counts every kit rule in the Codex rules, the Gemini policy and the Antigravity settings (
guardrails.codex,guardrails.gemini,guardrails.agy), whenever the file exists, and names how many are missing; it no longer says "All good" over an older copy. The Codex, Gemini and agy messages are reworded. To get the new gate and the missing rules, runcabinet bootstrapafter updating. - Bootstrap says when it could not write a config file it was changing (a read-only file, a full disk), and names the backup copy to restore, instead of reporting the change as made. It also says when it could not make the workspace's log folder.
- On Linux, where
shis dash, the push gate now says "push blocked" when it refuses a push with no terminal; before, it refused without a word. - The guardrails page has a new section, "A hard boundary": a key that needs your confirmation or a touch on every use, so no push leaves without you; bootstrap points to it once.
- A re-review reads only what changed: a reviewer asked again after a fix reads its last note, the commits since its last verdict and the files they change, and checks the fix against each of its earlier findings; the builder still runs the full suite once per round, and any reviewer may read the whole change when the fix touches what it reviewed before (
.cabinet/rules/reviews.md).cabinet handoff runnames the reviewer's last verdict's commits and the new ones in its step and its prompt, worked out in each of the work's repos, also when a commit made on a machine whose clock is behind sits above the fix; when it cannot tell which are new, as with new commits in another product repo that no verdict names, it says so and the reviewer reads the whole change. What counts as ready to push, and who is sent back, are unchanged. - An agent amends its own newest commit as
CABINET_AMEND_AS=<role> git commit --amend, and the credit hook refuses the amend unless that commit ends with the role's one credit line: no agent rewrites another role's commit, or yours, by mistake. An allowed amend keeps the line. Your own amends, with the variable unset, are not checked, and runs refuse every amend as before.CABINET.mdand the guardrails page say so. Runcabinet bootstrapafter updating to get the new hook. - The week the spend and the budget count starts at midnight on the day
Week starts onnames, also in a week the clock changes for summer or winter time; before, it started an hour off until the next week.
0.2.1 29 Oct 2026
Fixes and polish. Nothing to do by hand after updating.
CABINET.mdand the docs forhandoff addsay that text holding$, a backtick or a backslash goes in single quotes or a quoted here-document, never double quotes, since the shell would run it before Cabinet sees it.cabinet handoff list --readyprints thecabinet session end <name>command for work held on a session branch only when the branch name is a session name; a branch made with git whose name holds shell characters is named, with no command to paste.cabinet doctor's note that opencode cannot be checked from here (guardrails.opencode) reads whole whenopencode --versionprints nothing or fails: it starts "opencode cannot be checked", and names the version only when there is one.cabinet versionin a terminal shows the version and the tagline inside the opening of the mark: on the three rows between the right-hand seats, clear of the mark, with the open place left empty. Piped output and--jsonare unchanged.
0.2.0 29 Oct 2026
Credit roles, color, parallel sessions, and a notice when a newer Cabinet is out. After updating, run cabinet bootstrap and add a line for bin/session.sh to OPERATIONS.md.
Credit roles#
- A commit a role makes in a Cabinet run can credit that role beside you: its message ends with one
Co-authored-by: Cabinet <role> <347351783+cabinet-team[bot]@users.noreply.github.com>line, which GitHub shows with the Cabinet Team avatar. You stay the author and still push. New options forcabinet new,initandconfig:--credit-roles off|on(onfor a new workspace, and asked at setup) and--credit-email <email>|off(your own GitHub App's bot noreply email).cabinet config --this-machine --credit-roles off|onanswers for one machine; in a sharedcabinet/, each machine answers for itself. Only commits made in a Cabinet run are credited (scheduled jobs,handoff run,spec run,role draft), and only new ones: never an amend (a run is refused one), a merge or a squash, nor a commit a rebase or cherry-pick replays. The "Commits." house rule inAGENTS.mdfollows the setting; the concepts page explains it. - Bootstrap places the credit hook as
prepare-commit-msgin the global hooks folder, in place of the pass-through stub there (it still runs a repo's ownprepare-commit-msg, whose failure still stops the commit). A hook of your own there is never replaced. New doctor checkscredit.setting,credit.emailandcredit.hook; newcabinet nextstepcredit-roles. Every runner now gets the role inCABINET_AGENT, not onlycustom. - In a shared
cabinet/, off for everyone wins: while the committed setting is off or not set, no machine's runs credit, even one that answered on for itself; a machine's on counts only while the project's setting is on.cabinet nextasks a machine only then, andcabinet doctor(credit.setting) says when the project's setting turns this machine's on off. - After
npx cabinet update: nothing changes until you answer.cabinet nextand the brief ask once (cabinet config --credit-roles on, oroff); then runcabinet bootstrapto place the credit hook on this machine.
Color in a terminal#
- The
cabinetcommand's output is easier to scan in a terminal, in the terminal's own colors: headings, first lines and the command to run next in bold; folders, dates and handoff IDs dim; ok green, notes blue, problems and errors (cabinet:) red; and what waits on you in yellow, the terminal's stand-in for the owner's brass:next's step numbers, the digest's sign-off queueSign-off queue The top ofBRIEF.md: every decision waiting on you. and actions,list's WAITING ON YOU, andownerinhandoff list. On a Verdict line ofhandoff list <name>, PASS is green and BLOCK and CHANGES red.cabinet doctorkeeps its colors and shows its section headings in bold. cabinet updateandcabinet changelogshow the changelog for reading in a terminal: versions and headings in bold, no##, backticks or asterisks, list items and paragraphs wrapped at words to the terminal's width (COLUMNSwhen set, else 80 when the width is unknown), and a word longer than the line kept whole.- In a terminal, control characters from project text show as
?: handoff titles and entries inhandoff list, the brief's sign-off queue and actions indigest, and project names and folders indigest,listandnext, so an escape sequence written into a handoff or a brief can no longer hide or rewrite what you see. UTF-8 text is unchanged, and piped, in a file or with--jsonthe text is as written. - The same holds for the rest of the commands that print project text:
cabinet doctor(its messages quote settings such asCABINET_CREDIT_ROLES, and names),role list(titles and names fromroles/),repo list(folders and owners; a skippedrepos.tsvrow's name shows its control characters as?everywhere),spec check(statuses and problems) andstatus(folders). Piped and with--json, the text is as written. - Output is styled only when it goes to a terminal,
NO_COLORis unset or empty andTERMis notdumb. Piped, written to a file (digest --write), with--json, or withNO_COLOR=1, every command prints the same text as in 0.1.3, byte for byte, so agents and scripts read what they always did.cabinet doctornow also leaves color out withTERM=dumb.
Parallel sessions#
cabinet session start [name] [--repo <repo>]gives an agent session a folder of its own: a git worktree of a repo atsessions/<repo>/<name>/(cabinet/sessions/...inside a project), on a new branchsession/<name>from the repo's current branch, ignored by the workspace's git. Its commits, uncommitted changes and test runs are its own, so several sessions (yours, a teammate's, the team's roles) work in one repo at once without seeing or sweeping each other's changes. It prints the folder, says when the main folder has uncommitted changes the session does not get, and prints a## Session setupsection from the repo'sAGENTS.md. Names are 1 to 40 lower-case letters, digits and hyphens; with none, the date and a number. Sessions need git 2.17 or later.cabinet session list [--json]: each session's repo, branch, folder, commits ahead, uncommitted files, whether it is merged and when it started; a folder deleted by hand shows as gone, with the prune command, and the doctor notes it (sessions.gone).cabinet session end <name>: its commits, the handoffs that name them, and the command that brings them into the repo's current branch, which you run (no Cabinet command merges, rebases or pushes); then it removes the folder when nothing in it is uncommitted, and keeps the branch.cabinet handoff list --readyholds back passed work whose commits are only on a session branch, and names the branch;handoff list --jsongainssession_branch. The brief lists every session not merged under "Actions for the owner". Backups save each session's uncommitted changes and untracked files,backup verifychecks each one (<repo> session <name>), and restore brings a session back as its worktree, or intorecovered/where the repo already exists.- Git actions that can be undone (an amend, a rebase, a reset without
--hard, a local merge, a cherry-pick, a revert, a branch, a stash) now run when you ask for them in a session, with the way to undo them said after; never on an agent's own initiative, nor from a handoff, a job or anything it read. Before a command that sweeps or drops uncommitted changes, an agent checks every change is its own and saves a snapshot (git stash createandgit stash store). Push, a merge on GitHub, releases, publishing and any force stay with you as before, and no guardrail deny rule changed. The rule's name is now "Never push, merge on a shared host, publish or release", inCABINET.md, the builders' and seats' rules and the chief-of-staff role. - An agent may amend its own newest commit without asking, while it is not pushed and no handoff, verdict or note names it; once one does, a fix is a new commit. Unattended runs still refuse any amend.
- Unattended runs never rewrite: in a Cabinet run, the credit hook now refuses
git commit --amendin every form (and-cor-C), and a new kit hook,pre-rebase, refusesgit rebase. Both run a repo's own hook of the same name first. Your terminal and interactive sessions are not affected. On macOS a new commit whose-mmessage mentions--amendis refused too; give that message with-F <file>. A rebase that skips its hook is refused only by the tools whose deny rules match--no-v; the guardrails page names the tools that are not covered. New doctor checkguardrails.run-refusal. - After
npx cabinet update: runcabinet bootstrapto place the new hooks on this machine, and add a line forbin/session.shtoOPERATIONS.md(the doctor'smanual.completenames it until you do). Apre-rebaseof your own in the global hooks folder is left as it is, and the doctor says the run refusal is not installed.
Commands#
- The release notice:
cabinet next(a step,update),cabinet status(latest:andRun:, andlatestin--json) and the doctor (a note,kit.newer) say when a newer Cabinet is out, with the command that takes it, and the brief puts it under "Actions for the owner". It only tells; nothing updates. At most one request a day per machine, in the background (no command waits for it):npm view @tarekraafat/cabinet version --no-update-notifier, through your own npm and its settings, from Cabinet's log folder. Like any npm request, it carries npm's usual details and your npm login when you are logged in, and nothing about the project. Off withcabinet config --update-check off(--this-machinefor one machine), orCABINET_UPDATE_CHECK=off,NO_UPDATE_NOTIFIERorCIin the environment.cabinet outdatednow compares by version order, soupdate_availablein--jsonis false for a kit newer than the registry; its--jsongainscommand; and its advice for a pinned kit is nownpm install @tarekraafat/cabinet@latest && cabinet update, sincenpm updatekeeps to the pin's range and never reaches 0.2.0 from^0.1.x. - Choose the model:
cabinet new,initandconfigtake--model <name>|off(CABINET_MODEL, asked at setup right after the agent tool; Enter keeps the tool's default), and a job file can setMODEL="<name>"for its own runs. Every run passes it with the tool's own--modeloption (customgets$CABINET_MODEL); with none set, every tool gets exactly the command line it got before. A name is letters, digits and. _ : / @ -, up to 100, not starting with-: anything else is refused before it is written, and before any run starts. The doctor's new checksmodel.nameandmodel.existssay whether the tool lists the model, for codex, antigravity, grok, opencode and cursor, which can list their models without a run; Claude Code, Qwen Code and custom get a note. No check ever makes a paid run. The setup guide has a table of each tool's option and list. cabinet push-check: what is ready to push, per repo, before you push. For the workspace and each repo, the branch, its upstream, each unpushed commit with the handoffs whose verdicts name it (orno handoff), the size of the change, and each handoff's reviews: ready, or who is missing, blocking or stale. A repo endsready to pushonly when every unpushed commit is on a ready handoff, elsenot readywith the first reason. Local refs only: it fetches and changes nothing.--jsonfor scripts.
Handoffs#
- The loop breaker:
cabinet handoff runstops for you once the same reviewer has blocked the work more times than--retriesallows (with the default 2, at the third BLOCK or CHANGES), counted over every run from the history ofHANDOFFS.md, not only this run's rounds, and names the reviewer and the count. A scheduled run skips it until you run it by hand,PIPELINE.mdsays why, and the brief puts it in your sign-off queue with the options.handoff list --jsongives each entryblocks, the count per reviewer. - A way back before anything hard to undo: a handoff can say how to undo its change once pushed, released or published, or why there is none, on a
Way back:line, withcabinet handoff add --way-back "..."or latercabinet handoff attach <ID> --way-back "..." --from <you>(which replaces it).cabinet handoff recordrefuses a PASS on commits that change a path under "Hard to undo" inAGENTS.mdwhile the entry has none, naming the file. Builders add it when they hand such work on, and the brief quotes it beside whether the change can be undone.
Fixes#
cabinet handoff run --dry-runthat stops no longer leaves the stopped mark a real stop leaves, so a scheduled run no longer skips work only because a dry run looked at it.cabinet configchecks every setting it writes back tocabinet.envbefore writing anything, the ones it carries over unchanged included, so a value edited by hand that holds$, a backtick, a backslash, a double quote or a line break stops it, naming the setting, instead of becoming code the next time a script reads the file. A role's name is lowercase letters, digits and dashes, and a file underroles/with any other name is no longer taken as a role.
Docs#
- The concepts page says how to call a role from a session:
@agent-<role>in Claude Code (@agent-product-manager), and in every other tool plain words such as "As product-manager, read agents/product-manager.md and ...", which runs the role inside the current session. The website's tour says the same beside the team.
Rules#
- Every role restates the real problem first: before acting on an owner request, it says in one line the problem the request solves; when a simpler way solves it, or the request would not, it says so with its recommendation and lets you choose before building either; and it names every tool, access, account or file the work needs before it starts, not partway through (
CABINET.md). product-manager starts a spec's Problem from the real problem and names a simpler option you did not ask for under Decisions. - The changelog lists changes to what the package ships or what users see; the website gets at most one line per release, for a new page or section.
AGENTS.mdandCONTRIBUTING.mdsay so.
0.1.3 26 Oct 2026
Commands, a website, and pinned releases. Nothing to do by hand after npx cabinet update.
Commands#
cabinet configcommits only the files that run wrote, each for the settings that change it, instead ofAGENTS.md,OPERATIONS.md,package.jsonandjobs/on every run and the role files whenever setup was due: a brief time or a budget no longer commitsAGENTS.md, and the role files (ORG.md,agents/,.claude/agents/) go in only when the roles or the name change orbootstrapactually ran, and then only those the role build changed, added or removed. A change another session makes while it runs, in a file that run did not write (a new file underagents/included), now stays theirs; one in a file it wrote still goes into the commit, asHANDOFFS.mddoes after a rename. Underjobs/it commits only the job files that run wrote, so a change of the scheduled runner's mode alone (--pipeline all,smalloroffonce its job exists) commits none, and a slug change commits only the jobs that name the old slug.package.jsongoes in only when it is the workspace's own, the only one a rename writes. It still commits only in a workspace with its own git that had no uncommitted changes before,--backup-dirincluded. The commands page lists which setting commits which file.- The commit
cabinet updateprints whenpackage.jsonholds edits of yours namespackage-lock.jsononly when git tracks it. With a lockfile that was never committed, it named it anyway, and the printedgit commitfailed on it. - A rename (
cabinet config --name) rebuilds the roles, so the heading ofORG.md(# Team: <name>) names the project at once and goes into the same commit, with the files underagents/and.claude/agents/the build rewrites (after a role note committed without a build), and no others: another session's new file there stays theirs; it kept the old name until the next role build. - When
cabinet configrunsbootstrapand it links a missingCLAUDE.mdagain, the link goes into the config commit; it was left untracked, and the nextconfigcommitted nothing. ACLAUDE.mdthat was already there (a plain file included) is never part of that commit, so another session's edit to it stays theirs.
Releases#
- The release workflow runs only code pinned to an exact version:
actions/checkoutandactions/setup-nodeby full commit hash (v4.4.0 of each, named in a comment) instead of thev4tag, and npm 12.2.1 instead ofnpm@latest. Its checkout no longer leaves a token on disk while the tests run (persist-credentials: false). The trigger, permissions, steps and tests are unchanged. The tests fail when a workflow uses an action not pinned to a full commit hash, or installs npm at anything but an exact version. - The pin check also fails on npm installed with no version at all (
npm install -g npm,npm i -g npm), and reads workflows named*.yamlas well as*.yml; a folder with no workflows passes, and its test fails when the check prints an error there.
Website#
- A website for Cabinet, built from this repository by
node site/build.js <folder>and published to GitHub Pages at/cabinet/by a new workflow,.github/workflows/pages.yml, only when the maintainer publishes a GitHub release or starts a run by hand, and only after the maintainer approves each deploy in thegithub-pagesenvironment. It carries the docs (with search, a copy button on every code block, and a lookup forcabinet doctormessages), the changelog of released versions (with upgrade notes between two versions), a tour (the real output ofcabinet init, the team, one piece of work from handoff to push, the demo film), pages by kind of work, and questions and answers.llms.txt,llms-full.txtand the files they link are served as they are. It sets no cookie, has no analytics, and loads nothing from another site: its fonts are served with their SIL Open Font License texts. It is not part of the npm package. The tests build it and check its links, colors, escaping, data and workflow. - The website's links: navigation, menus, the footer's row, the docs sidebar and button-like links have no underline, with a tint on hover and the focus ring; links in running text keep a quieter 1 px underline; the current page is bold and marked for screen readers; each use-case card is one link, and the other kinds of work are chips. The header links to the repository with GitHub's own mark, unaltered (
site/github-mark/, with where it came from), and with the word GitHub in the menu on small screens. - The demo film's play button reads just "Play the demo", with no length or file size; the player shows the length once it plays.
- On the website, the Use cases label above a kind-of-work page is a navigation link, the docs sidebar's hover tint has room left of its text, the Use cases items in the small-screen menu are 44 px tall, and the changelog's version pickers show one chevron at the same place in each, centred, drawn by the site in place of the browser's own arrow.
- The website's six use-case cards share one layoutLayout Where the workspace sits: a new folder, around an existing folder of repos, inside a project as
cabinet/, or beside a project. See layouts.: the title, the description, and the "Cabinet for <kind>" link at the bottom of every card, lined up across each row; no Cabinet word is marked inside a card, which reads as one link. - The website's Use cases menu shows a chevron, down when closed and up when open, in place of + and -.
- The website's word cards (the meaning of a Cabinet word on hover or focus) open at the line of the word, even when it wraps, stay 16 px inside the window, open above the word when there is no room below, and are never wider than the window allows; one ran off the page.
- The website's footer spreads across the full width: the lockup and tagline on the left, the six links in two columns on the right, then one line: "Open source under the Apache 2.0 license." and the version; it stacks into one column on small screens, with 44 px links on phones. The footer no longer credits the fonts; each font is still served with its license text beside it.
- Without JavaScript, a word card on the website opens at the foot of the window, 16 px inside every edge, instead of running past the right edge on narrow screens.
- The website's search, before you type, shows its hint as small help text set apart from the four suggestions, which look and move like search results.
npm testfails when the website's own words (site/copy.js) name acabinetcommand with no section indocs/commands.md, an optiondocs/commands.mddoes not list, or a check IDdocs/troubleshooting.mddoes not list, naming the word and the text it is in. Cabinet in prose is never read as a command.- On the website, no version number is followed by a period: "Built from version X.Y.Z", and the upgrade notes say "Both are X.Y.Z, so nothing changed between them."
- In the website's docs, the section you are reading in "On this page", and the page in the sidebar, show in the text color and bold with a bar beside them, and nested sections are indented further.
- Every button, tab, chip, copy button, picker and disclosure on the website answers the pointer: a tint and a text-colored border on outline controls, a lighter fill on filled and selected ones, a pointer cursor, a short color fade (none with reduced motion), only on devices that can hover; disabled controls do not change.
- On small screens the website's team picture and the names under it are centred.
- In the website's small-screen menu, every row's separator is one straight line across the full width.
- On the website, the film's play button and a code block's copy button stay solid on hover, so nothing shows through them.
- The copy button in the website's install command fills the box to its rounded right edge, so its hover follows the box's shape.
- On the website's home page, the team picture starts level with the role panel beside it: the ring is tall enough for the names above and below the chairs, which ran 6 px past it at the top and bottom. The site check fails when the ring is shorter than its names need.
- On the website's home page, between 701 and 1099 px wide, where the team picture and the role panel stack in one column, the picture sits in the middle of the column; it sat at the left. The site check fails when the rule that centres it is missing.
- The tests' check that the changelog names the website reads the newest version section, so it passes on a release commit too; before, it read only a version not yet dated.
- The tests read
npm pack --jsonfrom npm 12 as well as earlier npm, whose output changed from a list to an object. - The demo's capture (
brand/demo/capture.sh) also runscabinet initin a small project repo, for the website's terminal. - The brand guide (
brand/BRAND.md, and its visual guide) marks as approved the rules the website relies on: the colors and their shares, type, the wordmark and side-by-side lockup, clear space, the hover, logo animation, chairs and loading timings, the demo film, the app icon and social preview, and the don'ts. It adds how a page looks in light and dark, from the same colors at an opacity.
Docs#
- The commands page says
cabinet versionshows the tagline beside the mark, and thatcabinet updateends with "Nothing changed" whenever the workspace was already on that version, with git or without. The recipes sayconfig,role add,role removeandupdatecommit their own change, so committing after each change is for edits by hand.llms.txtnames every command and every noun. The tests check each of these. - The docs check looks for each command and noun only in the list of commands on the
llms.txtline for the commands page, so one missing from the list is caught even when the same word appears later on that line.
0.1.2 24 Oct 2026
Fixes and docs. Nothing to do by hand after npx cabinet update.
Commands#
cabinet updatecommits the update itself (cabinet: update to <version>, with the pin fromnpm update; an edit of the owner's own elsewhere inpackage.jsonkeeps it and its lockfile out of the commit, and the commit it prints for them namespackage-lock.jsononly when there is one) in a workspace with its own git, unless the files it rewrites held uncommitted edits of the owner's; then it ends with the commit to run, as before. Its last line is now one short sentence instead of a long command. Where there is nothing to commit (a workspace with no git of its own, or a privatecabinet/the project ignores) it ends withUpdated to <version>., and says "Nothing changed" only when the workspace was already on that version.cabinet configcommits its change (cabinet config: <the settings changed>, with the files its settings live in (cabinet.env,AGENTS.md,OPERATIONS.md,package.json,jobs/, and the role filesORG.md,agents/and.claude/agents/when the roles change or setup is due;HANDOFFS.md,README.mdandspecs/ROADMAP.mdonly after a rename,README.mdafter a new slug too, andrepos.tsvonly after a repo is added), so another session's uncommitted edit to one of those files goes into that commit, and every other file, a new handoff of theirs included, stays theirs) in a workspace with its own git that had no uncommitted changes before; otherwise it says to review and commit, as before.cabinet repo add, which goes throughconfig, commits the same way (cabinet config: add repo). Withrole add,role remove,updateandbootstrap, these commands now commit their own change; the rest, such asrepo snapshot, still leave it to review and commit.cabinet version, in a terminal, shows the approved tagline beside the mark ("One person, a whole team. Build anything with AI agents, and stay in charge."), as does the brand guide's sample of it; it showed an older one.cabinet nextno longer asks to fill the TBDs of a finishedAGENTS.md: it counted the template's own instructions, which quoteTBDas code ("writenonein place ofTBD"). Only a TBD left to fill counts.cabinet helpshows each group of commands once, with all its commands under it; "Daily" and "Team" appeared twice.- A mistyped command gets a short answer instead of the whole help:
cabinet: unknown command 'docter',Did you mean: cabinet doctorwhen one is near, andEvery command: cabinet help. It still exits 2. - A critical area whose name has spaces (
| setup and untrusted values | ...inAGENTS.md) can now be named in a spec'sareas.cabinet spec checksplit the names into words and refused it as no critical area, andcabinet handoff listand the brief did the same with the spec's list, so work routed from that spec missed the area's reviewers. Area names are kept whole, split only on the commas ofareas: [...]; one-word names work as before. cabinet config --backup-dir <folder>works in a workspace whosecabinet.local.envhas no backup folder of its own (any new workspace). It ended with exit 2 and no output, writing nothing; now it listsbackups: off -> <folder>, writes it and commits it.
Releases#
- The release workflow checks out the full history with its tags, so the check on changes after a release runs on GitHub too; without the tags it passed unseen.
- The tests fail when the test file itself does not parse. Before, a syntax error in it ended the run with success, so a release could have published with no tests run.
Schedules#
- A scheduled run that finishes on its own is no longer reported as stopped by its time limit when the machine slept during it. The limit counts only time awake, but the report compared the clock on the wall, so a morning brief that ran across a sleep and finished was logged as stopped, with exit 124. Now only a run the time limit actually stopped is reported as stopped.
Docs#
- The docs no longer show 0.1.0 as the current version: the README's status line points to the changelog instead of naming a version, and the tutorial and the brand guide show the current one. The tests fail when a doc shows a Cabinet version other than the one in
package.json, so a release cannot leave the docs behind. - The README says Cabinet is built and maintained with Cabinet.
- The kit's
AGENTS.mdsays several sessions may work in the repo at once, and how each commits only its own changes, leaving the rest as they are (rule 12). - The README and the recipes no longer end the update steps with
git diffto review and commit:cabinet updatecommits itself, and prints the commit to run only when it cannot. The commands page says it ends with "Nothing changed" when the workspace was already on that version, and troubleshooting says an unknown command gets one short answer with the closest command, not the list of commands.
0.1.1 23 Oct 2026
Fixes and release mechanics. Nothing to do by hand after npx cabinet update.
The team#
cabinet role addandrole removecommit their change in a workspace with its own git when the files they touch held no uncommitted edits of the owner's; otherwise they say to review and commit it, ascabinet configdoes (before, they said nothing and left it uncommitted).- After a release, changes go under the next version: the kit's
AGENTS.mdsays a released version is closed and the first change after it opens the next one (patch, minor or major by what changed), and every workspace's builders follow the same rule (.cabinet/rules/builders.md), so the owner never tracks it. The tests fail when the kit has changes since a released version that no unreleased section covers.
Releases#
- Releases publish from GitHub with provenance: publishing a GitHub release runs
.github/workflows/release.yml, which checks the tag againstpackage.json, runs the tests and publishes to npm with--provenance, signing in as the package's trusted publisher, with no stored token. The README's release steps say so. - The release workflow installs zsh before the tests, as the Linux test image does: GitHub's runner has none, and the completion test needs it.
Docs#
- The README says how a Node.js version manager affects a global install: after switching Node versions, install Cabinet again.
- The test of
cabinet updateshowing a newer kit's changelog works from whatever version the kit is at, not only from 0.1.0.
0.1.0 23 Oct 2026
First version.
Setup and settings#
- Installed per workspace as the dev dependency
@tarekraafat/cabinet; the package names its repository, home page and issue tracker on GitHub, publishes as public, and installs on macOS and Linux. - Bootstrap commits what a new builder changes (the team table in
AGENTS.md,ORG.md, the built roles), when the workspace has its own git and those files held no uncommitted edits of the owner's; otherwise it says to review and commit them, namingORG.mdtoo. - Setup commits every file it writes, the org page
ORG.mdincluded, so a new workspace starts with nothing uncommitted. cabinet newasks its setup questions in a terminal (name, folder, owner, roles, agent tool, a weekly budget (and a price for a runner that reports only tokens), brief time, week start, writing to the owner, backups, repos); each is also an option, and--yesskips them for scripts.cabinet initadds Cabinet to an existing project: inside it ascabinet/, private or shared, or beside it; or makes an existing folder of repos the workspace. Nothing existing is replaced. It fills the project name, description, test commands, repository URL and owner from the project'spackage.jsonand git, each marked with its source.cabinet configchanges settings after setup: the same questions with the current answers as defaults. It keeps the team tables, roles and schedules in step, and moves schedules on a slug change.cabinet config --this-machine --backup-dir <folder>|off [--backup-time <time>]sets backups for one machine only, incabinet.local.env, so each teammate in a shared workspace picks their own folder or none;--clearfollowscabinet.envagain.cabinet updateapplies the installed kit and shows the changelog since the workspace's version;cabinet changelog,status,versionandoutdated.cabinet versionprints the Cabinet mark in a terminal (seven seats around a table and one open place for the owner), drawn with large dots (⬤), or in plain ASCII when the locale is not UTF-8. Piped or redirected, it prints onlycabinet <version>.cabinet doctorcolors each result's label in a terminal:okgreen,noteblue,FIXred. No colors when piped or redirected, or whenNO_COLORis set.--jsonis unchanged.- The tagline is "One person, a whole team. Build anything with AI agents, and stay in charge.": in the README,
llms.txt, the package description,cabinet help, the social preview and, shortened to "One person, a whole team. You stay in charge.",cabinet version. Cabinet is a productivity kit that amplifies people and never replaces them: agents bring the skills and the hours, and the person brings the vision, the judgment and the final say, so one person works like a whole team or company, alone or in a team. The README says so first, and so do the brand guide,llms.txt, the concepts page andCABINET.md, which tells every agent it works for the owner and never stands in for them. The README says Cabinet is for one person or a team of any size and for anything agents can build, with what is still made for code first, and opens with "Why Cabinet": where it comes from (its author's own setup for a year and a half across product, design and development, about tenfold his output, and the same for colleagues who tried it) and what it believes. - The name is written "Cabinet" in sentences and headings across the README, the docs, the roles and the workspace rules;
cabinetstays lowercase where it is the command, a file or the package. - Roadmap: one Cabinet per person following a team's shared rulebook, work that is not code made as complete as code, and an inventory of what exists, whose rows and states are proposed for each kind of project (capabilities for an app, tracks for an album, components for a design system).
- Needs git, Node.js 18 or newer and npm (openssl for backups). With an older Node.js, setup, the doctor (
deps.node) and every script stop with a message that says how to get a newer one, instead of failing on a syntax error. The workspace scripts are bash, and the logic they share is JavaScript inscripts/lib.js(a workspace'sbin/lib.js), run with Node: the owner's manual page, spec checks, handoff readiness and entries, file edits that keep each file's bytes and permissions, the secret scan, time limits, and reading and writing JSON (json). The kit's tests and tools need nothing more. - Set up by an AI agent:
docs/agent-setup.mdis the guide for an agent a person asks to set Cabinet up (the checks, the install, the questions to ask in plain words, the commands for a new or existing project or for work that is not code,--yeswith--dry-runfirst,bootstraponly after showing the person what it changes, checking the result, and what to tell the person). The rootAGENTS.md, which agent tools load first, sends such an agent there before anything else, and so do the README andllms.txt. The README says what setup changes on the machine and how to install from a clone that is kept, and the workspace template says what to write for work without code. The docs check fails when acabinet nextstep ID or an option the guide uses is missing. - Roadmap: toward a single download, one file compiled with Bun, once people without Node need it; until then the bash moves to JavaScript one command at a time, when a command is slow or being reworked. New kit logic is JavaScript run with Node, never TypeScript (
AGENTS.md, rule 3). - The README opens with the Cabinet mark (
docs/logo.svg), on its own light tile so it reads the same on light and dark themes. cabinet removeremoves a workspace (its schedules, logs and folder, and inside a project what setup added), refusing work that exists nowhere else unless--force.- Tools first:
cabinet new,initandbootstrapcheck for git, node and npm, name what is missing with the command that installs it here (brew,apt-get,dnforpacman), and in a terminal offer to run it; with--yesor--dry-runthey never install. The doctor reports a missing tool (deps.required) and a tool enabled backups need (deps.backups: openssl, andsecret-toolon Linux),cabinet doctor --fixinstalls them after asking (always in a terminal, even with--yes), andcabinet nextshows the stepdeps. Agents are told to pass the command to the owner, never to install system packages themselves. - Writing to the owner: asked at setup and by
configafter the week start, or--writing short|standardonnew,initandconfig, sets a house rule inAGENTS.mdthat every agent follows for the brief, sign-off items and answers (CABINET.md, "Writing to the owner").short, for an owner with little time to read or who reads best in small pieces: answer first, one point per line, three points at most, a decision in three lines, no background unless asked; the sign-off queue stays complete and no warning is cut.configadds the line to anAGENTS.mdwritten before it. --dry-runfornew,initandconfig.repos.tsvtakes an optional path column for a repo that lives outside the workspace.
The team#
- Core rules (
CABINET.md): workspace layout, handoffs, three decision tiers, the sign-off queue, silence, the builder never verifies, seats and onboarding, git and release rules. - Roles: chief-of-staff, product-manager, architect, qa, security, design-lead, finance. Project notes and project-only roles through
roles/. - Optional kit roles, off until turned on with
cabinet config --roles:brand-designer(brand files and graphics),dba(migration reviews, database health),code-reviewer(PASS or CHANGES on each change's code) andauditor(dependencies, access, personal data, configuration). A reviewer the project enabled must pass the changes in its subject before a push. cabinet role add <name>adds a role of the project's own from as little as its name, asking (or taking as options) what it does, owns, decides and escalates;cabinet role draft <name>(bin/role.sh), or asking an agent, drafts the whole role for the project asCABINET.md, "Drafting a role", says, with its assumptions listed for the owner to confirm. The doctor notes a role not drafted yet (roles.drafted).- A team that changes stays consistent: a whole role of the project's own is used as it is even when the kit has (or later adds) a role with its name, never mixed with it, and the doctor says so (
roles.shadows); the doctor flags a repo or area with two owners in the team table (team.single-owner) and notes open handoffs addressed to no role, repo or owner, such as a role turned off (handoffs.addressee). - Builders:
backend,web,mobileandinfrastructurewrite the product's code. Each is built when it owns a repo in the team table ofAGENTS.md;bin/bootstrap.shgives a repo whose owner isTBDthe builder it most looks like when the repo first arrives. A builder learns how its repo is already built and follows it, tests every change, commits locally and hands finished work to qa (CABINET.md, "Builders"). guides/for the project's standing documents (brand, style, policies, business documents), listed in a "Guides" table inAGENTS.mdthat every agent reads;CABINET.mdranks guides withAGENTS.md, andbin/doctor.shreports a guide with no row and a row with no file. A recipe and a concepts section say where each kind of rule goes and which wins.
Commands#
- One command for everything, named by one set of conventions (
AGENTS.md, "Command conventions"): one word for the workspace as a whole (cabinet doctor,bootstrap,brief,move, ...), and a noun then a verb for what it holds:cabinet role add|remove|list|draft|build,handoff add|attach|record|list|archive,repo add|remove|list|snapshot,job run|list,secret check,backup create|verify|restore. Every command works from any folder inside the workspace or its project, andcabinet -C <dir>runs one as if started there.--jsonon every command that reports,--dry-runon every command that changes the setup,--yeson every command that asks; usage errors exit 2. The workspace scripts use the same words (bin/<noun>.sh <verb>), and the tests fail when a command breaks a convention.cabinet nextsays what to do next. cabinet handoff add --from <name> --to <name> --changed "..." --needed "..." "<title>"(bin/handoff.sh add, whichCABINET.mdtells agents to use) files a handoff with the next free ID for today, today's date and the template's lines, and commits it on its own; with someone else's uncommitted lines inHANDOFFS.md, it writes the entry but does not commit, so their lines never go into its commit. Entries are filed only with it, never by hand, and a lock left for more than a minute by a writer that was stopped is taken over.--evidence <file or URL>, once for each, copies a screenshot, recording or output tospecs/evidence/<ID>/and links it on the entry'sEvidence:line, from the workspace root; the brief carries the links to the owner,archiverewrites them to open fromhandoffs/, andcabinet digest(and--json) to full paths. qa never records PASS without evidence that matches what it saw, and blocks the handoff back to its builder instead; the brief does not count a PASS on a handoff with no evidence. Verdicts are one line in one format,- Verdict: <role> <PASS|BLOCK|CHANGES> <YYYY-MM-DD> <commits> <note>, and the doctor checks every open entry's verdicts and their notes (handoffs.verdicts) and that each qa PASS has evidence (handoffs.evidence).cabinet handoff attach <ID> <file or URL>... --from <name>lets a handoff's sender add evidence later, andcabinet handoff record <ID> --role <role> <PASS|BLOCK|CHANGES> --commits <hash,...> --note <file>writes a verdict in the format and commits it, refusing a note that is not committed, a verdict by the entry's own sender, and a qa PASS on an entry with no evidence; reviewers use only it. New verbs:attachandrecord.- Ready to build (
CABINET.md): a small task (one repo, no contract change, no owner decision, easy to undo) goes straight to a handoff that says what done looks like; anything bigger is built only from a spec that is ready.cabinet spec check [spec] [--json]holds each spec to its status:readyneeds acceptance criteria, noTBDin "Rules", every decision answered, its repos, and a qa PASS on the criteria;buildingalso needs each builder's plan under "## Plan" and, for more than one repo, an architect PASS on it.cabinet spec record <spec> --role qa|architect PASS|BLOCK --note <file>records those reviews with a fingerprint of the part reviewed, so a later change needs a new review.cabinet handoff add --specroutes only a spec that is ready, and builders send back work that is not. The doctor checks every spec (specs.ready). New noun:spec. A small task is marked:cabinet handoff add --small(aSize: smallline), and work for a repo, a kit builder or a role that owns a repo needs--smallor--spec.recordrefuses a PASS on a small task whose commits span repos, are in no repo on this machine, or change a pathAGENTS.mdguards: a contract's files (`<repo>/<path>`under "Source of truth") or a new "Hard to undo" list; the doctor flags one already passed (handoffs.small).cabinet config --hard-to-undo "<repo>/<path> ..."|offsets that list inAGENTS.md(adding the section to an older one), refusing a repo not inrepos.tsvor a path not in the repo; in a terminal it suggests migration folders andopenapifiles found in the repos. The doctor notes a workspace with repos that has not set it (agents.hard-to-undo). - Roles the project adds follow the workflow: "Drafting a role" in
CABINET.mdsays a drafted role files handoffs only withbin/handoff.sh add, a reviewing role records verdicts withbin/handoff.sh recordand keeps its notes underspecs/, and a role that owns a repo is a builder (ready work only, a plan in the spec, evidence, sending back what is not ready,--smallor--spec). The doctor notes a drafted project role that misses one of these, such as one drafted before them (roles.workflow);cabinet role draft <role>redrafts it. - Roles that do not overlap: one owner for each area, and an area inside another belongs to its own row (the most specific row wins,
CABINET.md, "Ownership"). The doctor notes a part of a product repo given to another role than the repo's (team.nested) and a project role whose "What you may write" reaches another role's area (roles.writes).cabinet role add --ownsrefuses a repo or path that is already another role's row, and notes one inside another's area. "When roles disagree" inCABINET.md: within a function its lead settles it; across functions, or when whose call it is is unclear, one sign-off item with both views, and neither acts meanwhile. Drafting a role names its neighbours and how a disagreement with each is settled, androles.workflownotes a project role that does not. - A team that adapts to the project: the kit keeps a small core of roles and ships none for each specialty. Seat signals come from the project as well as the backlog (a surface, an audience or channel, or a goal with no seat looking after it), each with its evidence; a declined seat is recorded in
notes/seats.mdand proposed again only with new evidence. Checks follow the kind of work, not the kind of role: work that changes no repo is recorded withcabinet handoff record --commits none(refused for work addressed to a builder), skips the commit checks, and a spec for it names workspace areas inrepos. design-lead is the product designer: for a spec built in a repo the web or mobile builder owns,readyneeds its "Design" section (new in the spec template) and a design-lead PASS on it (cabinet spec record --role design-lead). - The manual as a page:
cabinet manual build [--check](new nounmanual,bin/manual.sh) writesOPERATIONS.htmlfromOPERATIONS.md: one self-contained page (nothing fetched, works offline) with a table of contents, a search that narrows it to matching sections, light and dark themes, and tick boxes for- [ ]lines, remembered per browser for the day. All Markdown is escaped and onlyhttp(s),mailto, relative and#links link. It is untracked; setup,cabinet updateand the brief job (a newAFTER="bin/manual.sh build"in new workspaces) rebuild it, and the doctor notes when it is behind (manual.page). - Titles and the org page:
cabinet role add --title "..." --name "..." [--function "..."](also when turning on a kit role, into its notes) gives a role the title and display name decisions name it by: the sign-off format names each expert by its title where it has one.role list(and--json:title,display_name,function) shows them.bin/role.sh buildwritesORG.md, the org page: each function with its lead and members, and each role's title, what it does, what it owns, who it reports to, what it covers and its trial;build --checkand the doctor'skit.rolesreport it when it falls behind. New workspaces trackORG.md(an existing workspace adds!/ORG.mdto its.gitignore).cabinet role draftpoints the drafting agent at.cabinet/rules/seats.md. - Critical areas: a project declares, under "Critical areas" in
AGENTS.md(a new section, empty by default), the parts where a mistake costs more: each area's paths (<repo>/<path>,workspace/...for the workspace's own files), the reviewers it needs as well as the usual ones, the evidence they must see, and an optional check, a command intools/. Work touches an area by its commits or by its spec's newareasfield; readiness adds the area's reviewers (handoff list --jsonincludesareas),handoff runruns them, andhandoff recordruns the area's check before such a reviewer's PASS counts, without a shell and within the run's time limit, keeping its output as evidence. The brief names the areas beside each push.spec checkrefuses an undeclared area; the doctor checks every row (areas.declared). Commits in the workspace's own files do not count as code for the reviewers code needs. tools/: the project's own scripts, placed bynewandinit, never touched by updates; the manual must name each one (manual.complete), and jobs and critical-area checks call them.- Sub-teams:
cabinet role add <role> --reports-to <lead> [--covers "<builders or repos>"]adds a role to a lead's sub-team, recorded in a "## Team" section of its role file (Reports to,Covers, andTrial until, 30 days on). On a handoff from work it covers, its verdict counts for its lead's, so readiness names it in the lead's place andhandoff runruns it; the lead's PASS always counts, and is needed too until the trial ends.role list(and--json:reports_to,covers,trial_until) shows who reports to whom. The doctor checks each lead is on the team, that no role leads itself round a loop, and that covered names are builders or repos (team.reports-to)..cabinet/rules/seats.mdhas "Sub-teams": when to grow one, onboarding and corrections by the lead, the trial, passing work down, and keeping it shallow. - The scheduled runner:
cabinet config --pipeline off|small|all --pipeline-limit <dollars> --pipeline-time <when>|off(off by default; asked inconfig) runsjobs/pipeline.job,bin/handoff.sh run --scheduled: the work the setting allows (small: handoffs filed--small; all: those and ready specs), oldest first, never past the limit for one run (checked before each agent; paused work goes on next run) or a spent weekly budget, and never with a runner whose cost cannot be counted. Work stopped for the owner is skipped until the owner runs it by hand. Each run writesPIPELINE.md(untracked), which the brief reports under "Pipeline". A job may setCOMMANDinstead ofAGENTandPROMPT. The doctor checks the runner (pipeline.ready).handoff runandspec runexit 3 when paused at a cost limit. - The pipeline runner from a spec:
cabinet spec run <spec> [--retries <n>] [--dry-run]takes a ready spec to all its work ready to push: chief-of-staff routes it, each builder writes its plan, architect reviews the plan when more than one repo builds it, then each of its handoffs runs in the order routing set, ashandoff runruns one. It stops at the first step that does not finish, and a run again redoes nothing done; it ends with what all its runs cost.spec check --jsonaddsrepos,missing_plansandplan_review. Readiness also reads the archives, so work closed and archived while its review is open is still found, and a review handoff is never taken for another builder's work that depends on it. - The pipeline runner:
cabinet handoff run <ID> [--retries <n>] [--dry-run]moves one piece of work (a handoff to one builder, filed--smallor--spec) through build, review and fixes, an agent run per step: the builder builds and hands on with--depends-on <ID>, each reviewer missing or stale verifies, a BLOCK goes back to the builder and its reviewer checks again, up to--retriesrounds (default 2). It stops when the work is ready to push (saying what it cost), when an agent fails, hits its time limit or leaves no trace, or when the work is sent back; it decides nothing. Runs are logged inrun-<ID>.logand recorded in the spend file under the work's ID;handoff list --jsonincludescost_usd,depends_on,smallandspec. Builders hand on for review with--depends-onthe work's ID. Jobs and the runner share one time limit for an agent run (run_limitedinbin/lib.sh), which prints no "Terminated" line. - Readiness is computed:
cabinet handoff list --jsongives each entry itsverdicts, the reviewers itneeds(each one it is addressed to; for code, qa, security and code-reviewer, and design-lead for a web or mobile builder, each when on the team), and which aremissing,blockingorstale(a PASS that does not cover every commit a verdict names, as after a fix), withready;cabinet handoff list --readylists the work ready to push, and the brief asks the owner to push only that. A verdict written outside a Verdict line is reported (unread_verdicts; the doctor'shandoffs.unread-verdicts), never counted. Reviewers name every commit of the work and leave the status alone; chief-of-staff closes an entry once its work is pushed. CABINET.mdholds only what every session needs (about 3,000 words): the detail only some roles or tasks need is in.cabinet/rules/(builders.md,ready-to-build.md,reviews.md,seats.md, from the kit'score/rules/), installed and updated like the other kit files.CABINET.mdkeeps a short form of each rule and a table of when to read each file, and every role names the files its job needs.- code-reviewer is on by default when setup starts with product repos (
--repo,initin a project, or a folder of repos): qa checks behaviour and security risk, and nothing else reviews the code itself, a gap an owner who does not read code would never see. A workspace with repos and no code-reviewer gets it proposed as a seat, once, unless the owner declined it. The spec template has "## Plan" and "## Reviews". cabinet digest: one morning read with the sign-off queue and the owner's actions from the latest brief of every workspace on this machine.--write <file>writes it to a file,--notifysends a desktop notification with the counts, and--schedule [<when>](default every day at 10:00 AM; or another time, or chosen days and a time;offto stop) runs it as one launchd job for the whole machine. The chief-of-staff role writes the brief's parts under fixed##headings so the digest can find them.cabinet list: every workspace on this machine in one table (kit version, what waits on the owner, the doctor's count, the latest brief).bin/doctor.shleads with a summary of what needs attention, and--fixruns the fixes it knows (asking first).- One command table in
bin/cabinetdrivescabinet help,cabinet <command> --help,cabinet help --json(every command and option, for agents) and tab completion (cabinet completion bash|zsh: commands, options, and job names forcabinet run). - JSON for agents and scripts:
--jsonforstatus,doctor,next,handoffs [name],digestandlist; every doctor result carries a stable check ID, listed in the troubleshooting docs. - Dates people read (backup age, brief time, restore) are written as
18 Oct 2026, 2:30 PM.
Schedules#
- macOS and Linux: schedules are launchd jobs on macOS and systemd user timers on Linux, or one block of the crontab where the machine did not boot with systemd (every other crontab line is kept); logs go to
~/.local/state/cabinet/<slug>/on Linux; the backup passphrase comes from the secret store (secret-tool) on Linux, and the doctor also acceptsCABINET_BACKUP_PASSPHRASE; where cron runs the schedules, a cron run reaches neither the secret store nor systemd's environment, so the passphrase lives in a file only the user can read (~/.config/cabinet/passphrases/cabinet.<slug>.backup, written by the command bootstrap prints), and a cron-scheduled backup runs unattended; the file, when it exists, comes first on any machine, one others can read is never used, and the doctor says so (backups.passphrase); messages, help and docs say "this machine", not "this Mac" (socabinet config --this-machine), anddigest --notifyshows a desktop notification on both; notifications usenotify-send; paths under the home folder show as~/with bash 5 too.bin/platform.shholds every difference, andCABINET_SCHEDULERoverrides the scheduler it finds. The doctor reports a Linux machine with no scheduler (schedules.scheduler). The test suite runs on both (npm run test:linuxruns it in a Debian container), and a workspace on a systemd Linux ran its brief and backup on schedule with the doctor all green. - Jobs as
jobs/<job>.job, scheduled daily or weekly. A run is stopped, with everything it started, after its time limit:TIMEOUTminutes in the job file, elseCABINET_JOB_TIMEOUTincabinet.env(default 60;0for none), with the reason in the job's log.bin/bootstrap.shadds, updates or removes each schedule to matchjobs/and the backup setting. - Quiet days: a scheduled run of a job with
QUIET_DAYSstarts no agent when nothing changed since its last full run (no commit, branch or fetch in the workspace or a repo, no new doctor problem, the result file as that run left it), never with uncommitted work or adefaultitem waiting in the sign-off queue, and for at most that many days in a row. New workspaces getQUIET_DAYS="6"injobs/brief.job(an existing workspace adds that line by hand: the file is the project's), so a quiet workspace costs one agent run a week instead of seven. A run by hand always runs. - What agent runs cost: with the
clauderunner, each scheduled job and role draft records the cost Claude Code reports (--output-format json,total_cost_usd) inspend.tsvin the log folder; the job's log ends each run with its cost and the week's (under $0.01for a run that rounds to nothing), andcabinet job list(and--json,cost_this_week_usd) shows each job's cost this week. Setup andcabinet configask for a weekly budget (--budget <dollars>|offonnew,initandconfig;CABINET_BUDGET); the doctor warns from 80% and when it is passed (spend.budget), and notes a budget the runner cannot track (spend.unreported). The week starts on the dayAGENTS.mdnames. Every built-in runner is counted: claude, grok and opencode report dollars; codex, cursor, qwen and antigravity report tokens, priced with--price "<input> <output> [<cached input>]"(CABINET_PRICE, dollars per million tokens), which setup asks for after the budget;spend.tsvalso keeps the tokens. Each runner prints JSON, read for the reply and the cost; output that is not that JSON reaches the log as it is. Nothing is stopped by the budget.cabinet digestshows each project's spend this week against its budget (--json:spend_this_week_usd,budget_usd), counts projects at 80% of their budget or more, and gives the total across projects. - One form for every schedule (the brief, any job, the backup time, the digest): 12-hour times (
7 AM,4:30 PM), every day or on days, one or several (fri 4 PM,sun,mon,tue,wed,thu 8 AM), with days by short or full name in any case. Times are stored and shown as4:00 PM; 24-hour times are still read. - Scheduled runners: claude, codex, antigravity (
agy, run with--dangerously-skip-permissions, since headless Antigravity denies what it cannot ask), qwen, grok, opencode, cursor, andcustomfor any other tool (CABINET_RUNNER_CMD). Gemini CLI is not a runner (Google moved its users to Antigravity): a workspace set togeminiis told to runcabinet config --runner antigravity. Gemini CLI keeps its guardrails. cabinet bootstrap --no-schedules(and--schedulesto undo it): a machine that should not run the workspace's jobs, such as a teammate's in a shared workspace, skips their schedules from then on; the choice is saved incabinet.local.env, which git never tracks.
Guardrails and safety#
- Agents are denied reading the backup passphrase from the Linux secret store (
secret-tool lookupandsearch), as from the macOS keychain, in every tool's rules, and any shell command naming the passphrase file's folder in Claude Code, Grok, Qwen Code, opencode and Gemini CLI. - Guardrails for Claude Code, Codex, Antigravity, Gemini CLI, Qwen Code, opencode and the Cursor CLI (Grok reads the Claude Code rules; the Cursor rule shapes were probed live on Cursor CLI 2026.10.16), checked by
bin/doctor.sh(opencode on 1.x only), which also names installed tools it cannot guard; and the owner's pre-push gate for every tool. - Values from a cloned project's
package.jsonnever reach a shell (only plain values are used, the description is quoted as data); clone URLs and repo names are checked; a slug another workspace uses is refused. - Backups must live outside the workspace and its repos, clean up only their own archives, and restore never loses a file.
cabinet backup verifyrestores the newest archive into a temporary folder, checks the workspace and each repo against it (a damaged or incomplete archive fails), and deletes the copy; the doctor notes when no restore has been verified in 92 days (backups.verified). - Config files keep their permissions and symlinks, and a file that is not plain JSON, or holds a value a rewrite would change (
1.0,1e3, a number too large to keep exactly, a key that is a whole number), is left alone; a byte-order mark before the JSON is accepted; every git hook passes through to the repo's own under the global hooks path. - A secrets check:
cabinet secret check(bin/secret.sh check) looks for keys, tokens and passwords in the workspace's files and names each file and line, never the value; the doctor runs it (secrets.none), bootstrap places a pre-commit hook in the workspace that refuses a commit adding one (secrets.hook), andnot-a-secreton a line marks a false alarm.
Docs#
- For people: a short README with a quick start, the daily loop and a glossary; a tutorial for the first day and a recipes page for common tasks;
docs/with the full command reference, layouts, concepts, guardrails, backups and every doctor message. - For agents:
llms.txt,llms-full.txtwith every page in one file, andAGENTS.mdfor working on the kit. brand/index.html, the brand guide: the idea behind the mark (and when the table may appear: in pictures that explain it, never in the logo), its forms, sizes and clear space, when the open seat is outlined in brass (and when it may appear on hover), the loading animation (the seats lit one at a time around the table, the open place a rest beat, ending on the mark), the logo in motion (the owner's outline in the middle, the team fanning out of it to the table, the owner moving to the open place, then the name) and ten variants for other uses, shown moving inbrand/motion.html, the chairs (an illustration of the mark for animation, onboarding and large pictures, never the logo; in motion, like the logo animation, they start with the owner in the middle), the name, color and the status colors for ok, note and fix, type, writing, where each form goes, and every logo file as SVG. Kept in the repository, not shipped in the package.- The brand as files:
brand/BRAND.md(every rule in plain text with its status, approved or draft, ready to copy into a workspace'sguides/),brand/tokens.json(colors, status colors, fonts, the mark's geometry), andbrand/assets/(the mark, the name and lockups as outlines, favicons, app icons, the chairs and the social preview, as SVG and PNG), built bytools/build-brand.py(npm run brand).npm testfails when a file is out of date. The promo film inbrand/promo/: 32 seconds cut to its music, ending on the repository's address or on what Cabinet is, with its source and its Suno prompt. The demo film inbrand/demo/: 94 seconds from an empty folder to the first morning, in seven chapters, with every command's real output captured in a sandbox and the agent's part shown as labeled examples.brand/render-film.jsrenders either film again. Not shipped in the package. - For contributors:
CONTRIBUTING.md(where questions, bugs and security problems go, the rules reviews check most, the checks to run, working with an agent, pull requests),SECURITY.md(private reports through GitHub, what counts),CODE_OF_CONDUCT.md(the Contributor Covenant 2.1 and where to report), issue forms for a bug, an idea and support for an agent tool, with blank issues off and questions sent to Discussions, and a pull request template. The README links them. Kept in the repository, not shipped in the package. - Installed from npm first: the README, the setup guide for agents and the tutorial no longer skip
npm install; the clone install stays for the newest code, with how to move from a clone to the package. - Credit and rights: a
NOTICEfile (shipped in the package) that anyone redistributing Cabinet or building on it must keep, under the Apache License;brand/LICENSE.md, which keeps the name, logo, brand guide and films out of the code's license; the README's License section says both, andpackage.jsonnames the author with a link. - The tests fail when the docs fall behind the code, a link or heading anchor is broken,
llms-full.txtis stale, the README's clone command does not match the repository inpackage.json, a local path is left in the kit (the brand demo's made-up/Users/mayais allowed), or, withCABINET_PRIVATE_WORDSset, one of those words appears as a whole word anywhere in the kit.