Repository navigation
Releases
v3.3.2 — headless runs skipped by the unclosed-session warning
RULES.md is unchanged. One hook and its self-test are replaced; see MIGRATION.md.
Fixed
r9-unclosed-warn.shno longer treats a headless run (claude -p, a scheduled task) as the previous
session. It used to warn after every scheduled run that the session "ended WITHOUT a close", and a real
unclosed interactive session that came before a scheduled run went unreported. The hook now skips runs
whose transcript records them as headless and judges the latest interactive run.
Changed
d2d3-selftest.sh: five new cases for headless runs (52 in all).- README, the daily drill: a row for
/capture, after a task worth repeating.
v3.3.1 — safe install and upgrade
Instructions only: nothing to install, and RULES.md is unchanged.
Changed
- Installing the commands and the hooks uses
cp -i, which asks before it replaces a file, so a
command or hook you already have is never overwritten without your answer. MIGRATION.mdstarts with what an upgrade changes on your computer, in plain words, and what it
never touches. Every release section says what it changes. New sections: before any upgrade
(update the download, commit, copy your commands), updating the commands and the hooks with a
comparison first, refreshing a setup that got mixed up while keeping your work, and going back.
A section for v3.2 to v3.3.- README and the setup guide: for a business, the Team plan, the one made for companies.
- README, what it could cost: details about a Claude Team plan.
v3.3.0 — /capture
RULES.md is unchanged; nothing is ratified again and no migration is needed. To get the new
command, copy commands/capture.md into ~/.claude/commands/.
Added
/capture: turns a task the department just did by hand into a procedure it can run by
name. The conversation is the specification: it lists what was done, sorts each step into
fixed, varying or judgment, places approval gates only before what cannot be undone, tests the
procedure on the case just done, and saves it only on your yes.
Run after a session where you corrected a procedure, it updates that procedure instead,
shown as before → after. It also renames a procedure, keeps descriptions distinct so one
phrase fits one procedure, and keeps the department's list of procedures inCLAUDE.md.CHANGELOG.md: this file.
Changed
- README and the setup guide list five commands; the README describes
scripts/department.py. - Repository history: commit messages cleaned for clarity and simplicity. File contents are
unchanged; tags point to new commit ids.
v3.2.3
RULES.md is unchanged; nothing is ratified again and no migration is needed. To get the new /bootstrap, copy commands/bootstrap.md into ~/.claude/commands/ again.
/bootstrapchecks that git can commit: ifuser.nameoruser.emailis empty, it says so, asks for them, and sets them only on your yes. It uses the branch name the folder really has, never an assumedmain./bootstrapsays where one department leads: more departments, each with its own/bootstrap, then the setup guide's Stage 2 for a team. A department may also stay on its own./bootstrapoffers a reminder: in two weeks, a month, or on a date you choose, it adds one entry todocs/ISSUES.mdthat/housekeepingshows when the date passes. At that date, or whenever you ask, Claude offers to walk Stage 2 with you one step at a time, each on your yes. Ratifying the charter stays yours.- README and the setup guide: the table of what
/bootstrapasks gains the reminder; Stage 2 says Claude can walk it with you; backup pushes usegit push -u origin HEADandgit push usb HEAD, which work on any branch name.
v3.2.2 — what /bootstrap asks, and what to answer
RULES.md is unchanged; nothing is ratified again and no migration is needed.
/bootstrap: its question about running several sessions as a team now carries its recommendation: starting out, answer no, run one session for a week first; the setup guide's Stage 2 adds the team later. To get the new wording, copycommands/bootstrap.mdinto~/.claude/commands/again. Nothing else in the command changed.- README and the setup guide, Stage 1: a short table of the three things
/bootstrapasks — permission to write a file, whether to write the proposedCLAUDE.md, and the team question — with the answer for someone starting out.
v3.2.1 — clearer first steps
Documentation only. RULES.md, the commands, hooks, scripts and templates are unchanged, so nothing is ratified again and no migration is needed.
- One command per block in the README quick start and in the setup guide's Stage 0 and Stage 1, each with a sentence saying what it does and where it is typed. The guide explains pasting into a terminal (Ctrl+Shift+V).
- Stage 1 and the README spell out the first session: make the department's folder, go into it,
git init, startclaude; commands that start with/are typed inside Claude Code, not in the terminal. - Fixed: the hook install in
hooks/README.mdcopied fromhooks/…relative to the department's folder, which works only when this repository is cloned inside it. It now copies from~/digital-team/hooks/…, the clone made in the quick start. Each self-test sits with its expected count.
Every documented command of the quick start and the hook install was run as written on a fresh home folder; all five self-tests report the documented counts.
v3.2 — tools and templates
The charter text is unchanged: RULES.md is byte-identical to v3.1, so no pin moves and nothing is ratified again. This release updates the tools and templates that run it.
New
hooks/duplicate-session-guard.sh: at session start, warns when another interactive Claude Code session is already live in the same project and tells the new one to stay read-only until the operator says which session works there. Wired first on SessionStart. Self-test: 13 passed, 0 failed.hooks/housekeeping-reask.sh: the/housekeepingstep-2 surfacer for passed re-ask dates, trigger-gated re-checks and stray dates. Self-test: 55 passed / 0 failed / 55 expected.scripts/backburner-delta.sh: the Open and Parked entries a commit cited, or whose named files changed, since the last housekeeping pass. Self-test: 26 passed / 0 failed.
Changed
/housekeepingstarts by itself once due, after the request in hand and never inside a task; starting unasked changes nothing inside the run.- Team block: lane records live outside every
.claude/folder; a hold stops lane work, never the daily sweep or housekeeping; everything awaiting the operator is one numbered list. - Tracker template: verify an entry is still open before working it; close what else a fix resolved; notify a lane whose entry a shared fix may resolve.
SETUP.md2.9: each lane carries its own work to the backup and reads it back. 2.10: how a lane installs an update to a shared team script.
Upgrading from v3.1: see MIGRATION.md.
v3.1 — one number
The compaction self-test has run 24 assertions since compact-nudge v1.1; three documents still told you to expect 20. A correct install read as a failure. Fixed in hooks/README.md, MIGRATION.md and templates/team-log.md. Nothing else changed since v3.
v3 — the recipe
v1 and v2 published the charter: the rules a team of Claude Code sessions works under. v3 publishes the recipe around it — how to go from one session on one department to a team, and how to keep it running.
SETUP.md— setting up a digital team in stages. Stage 0 starts from a blank computer (Ubuntu, the terminal, git, Claude Code); then one department with one session; then a team (lanes, a pilot, a shared log, the charter, the hooks); then a guard underneath.MIGRATION.md— moving a team that runs the v2 charter to v3, lane by lane.commands/— four slash commands:/bootstrapprepares a department (it never overwrites anything),/handoverand/resumecarry a session across days,/housekeepingkeeps the issue tracker honest across weeks.hooks/— Claude Code hooks that wire the session rules into mechanism: the wrap-up trigger, a warning when the previous session ended without a close, due-checks for the recurring jobs, and a nudge when a conversation has been condensed often enough that a fresh start is worth it. Each ships with a self-test.templates/— the issue tracker, the team block forCLAUDE.md, the shared log.diagrams/— the team, how authority and information travel, a session's life, a finding's life; light and dark.RULES.md— the charter, settled and frozen at this revision.README.md— now with a FAQ.
The companion page, written for business owners rather than engineers: https://susala.eu/digital-team/
v2.1 — one word
The escalation clause of R17 read "What cannot be made undoable … escalates to the operator." Hours after v2 shipped, the operator noticed — via a pun in a draft article — that undoable parses two ways in English: undo-able, able to be undone, and un-doable, impossible to do. Under the second parse the clause is vacuous: anything can be made impossible by refraining, so nothing would ever escalate — a safety valve that a single misreading closes. It now reads "What cannot be made reversible."
Small fix; the story around it is why this release has notes.
- Every session on the team had byte-verified that clause three times and read it correctly every time — because they all shared the frame that produced the word. The charter's newest maintenance principle ("a reader outside the frame is a different instrument, not a slower one") was demonstrated against the charter itself within hours of being published.
- The sessions adopted the fix immediately, without waiting for ceremony, on a one-directional argument: the correction can only ever cause more escalation, never less, so carrying it early risks nothing — while each session still routed the formal update of its own pinned records through the operator, because he had pinned the exact bytes he ratified and a relay cannot move what he pinned.
- R17 shipped in v2 explicitly marked not yet field-tested — a hypothesis, not a survivor. Its first amendment arrived before its first field day, and it was a wording defect, not a logic one. The marker did its job: you are reading the amendment history of a rule that told you to expect one.
One word changed in RULES.md; nothing else.