Repository navigation
v0.3.0
Added
-
perch triageis a new command: it hands what Perch can see of this machine to the Claude Code you already have, and the agent asks what went wrong, investigates, searches the existing issues and drafts the report. Writing all of that out by hand is the last thing anybody wants to do at the moment they need to, andperch probehad already gathered everything such a report needs while still requiring somebody to paste it into a form by hand. Perch gathers and hands over, and does nothing else: it neither investigates nor files, so what it owns is the evidence and the redaction on it. The Probe is written twice into~/.config/perch/triage/run-<millis>/—probe.raw.txtwith the real email addresses and paths, which is what the agent investigates from, andprobe.txtwith placeholders, which the playbook says goes into the issue whole and unedited. That redaction is Perch's own rather than an instruction the agent is asked to remember, because an address in a public issue cannot be taken back and a promise from a language model is checked by nobody; both readings come from one gathering, since two passes a second apart could describe different machines.prompt.mdbeside them carries the whole playbook, so with no Claude Code installed the same session is a paste into any other agent. The playbook forbids reading a Credential in any of its three homes, hand-editing the registry, patching Perch's source, preparing a fix PR and runningperch holdings purgeorperch holdings importas a fix, and it puts an offer ofperch holdings exportin front of anything that touches the Holdings at all. It also tells the agent to fetch its own newer self frommainand follow that instead, which is the one document off the network it may take instructions from — everything else it reads is data written by strangers. Perch's source is deliberately not cloned: every expected failure here already carries a sentence naming the belief that stopped holding and the exit code it refuses with, and an agent reading source writes issues that assert a cause, which is worse than one reporting the right evidence. Claude Code is launched bare fromPATHrather than through a Run, because Reconcile, Carry, a Marker and Target resolution are all machinery a Triage may have been run to investigate; its exit code is Perch's, as a Run's is. Where Claude Code is not installed, or the live Credential will not read, or the active Account is Quarantined, nothing is launched — the session would open at a login prompt instead of a triage — and Perch says which of those it found and names the three files.--modelpasses a model through untouched and nothing is passed by default;--rawwrites the real names to both copies. Like a Probe it changes nothing: no Adoption, no registry brought forward or saved, and no line in the Trail. What it writes is evidence rather than one of the Holdings, so it carries no version, is never migrated, travels in no Export, and a Purge takes it with the rest of Perch's home; the newest three runs are kept. Reports filed this way arrive on theAgent-filed reporttemplate and carry thefiled-by-agentlabel (ADR a-triage-hands-over-evidence) (#357) -
perch probeis a new command: everything Perch can see of this machine, gathered for pasting into a bug report. Which Perch and which Claude Code, the Channel that installed it, where Perch's files are, what the Holdings hold, which Account is active, whether a Watcher is arranged and whether any Scope has told it it may act, and which of the six assumptions Perch makes about Claude Code still hold. Above those, a Findings section: everything Perch already computes to decide a refusal, said as a sentence with the exit code that refusal carries — a Quarantined Account, a keychain that will not answer, a registry that no command has brought forward, a Service naming a binary that is gone. Nothing is invented for the command, because a rule stated only here is one that goes stale the first time the real one moves. The findings come first and the facts sit under them, so the facts still stand where the judgment is wrong. The Watcher's own log is named and never read —watch.logon macOS and Windows, thejournalctlline on Linux — because its decisions are in the Trail on every platform already. Email addresses, Alias and Group names and your home directory come out as placeholders numbered by the Account's place in the registry, so<account 3>is the same Account in every run and two reports a week apart are comparable;--rawprints them as they are. It reaches no network, brings no registry forward and adds no line to the Trail, so running it changes nothing about the machine it is describing, and it exits0whatever it finds —--jsoncarries the same answers as keys, withnullwhere the machine gave none (ADR a-trail-is-evidence) (#356) -
Perch keeps a Trail: two lines per invocation under
~/.config/perch/trail.log, one when a command starts and one when it ends, holding what was typed and what it exited with. Perch had never written a log line, and the cost was every bug report — a failure arrived as prose from somebody who had already closed the terminal. Two lines rather than one because a single line written at the end is silent about the invocation most worth reporting: aperch switchthat hangs on a keychain dialog or takes a Ctrl-C leaves nothing at all, where an unpaired start line isperch probesaying that a command was started forty minutes ago and never finished. Words after--go to Claude Code and are counted rather than written down. A start line carries its pid, so a start with no end can be asked whether the command is still running rather than assumed dead —perch watcher runis a loop that leaves one unpaired at all times on every machine with a Service. The Watcher adds a line of its own for the one round that moved something, a Switch — a round turned away recurs every interval for as long as the condition lasts, so those stay in its own log rather than flooding this one. A start left unpaired by a machine going down is read only within the window, since a reboot explains one of those and would otherwise report it for as long as the file held it. The file is moved aside totrail.log.1once it passes a megabyte, and the two are read back as one. It is not one of the Holdings: it carries no version, is never migrated, travels in no Export, and a Purge takes it with everything else. Every write of it fails in silence — the one write in Perch that does, because a diary that can refuseperch switchis a new way for every command in the product to fail — and it is never written where Perch has no home, so a machine Perch holds nothing on stays one (ADR a-trail-is-evidence) (#356) -
perch watcher status --jsonnow carriesany_scope_may_actbesideinstalledandrunning. A Service that has been granted nothing holds rather than deciding anything, and that sentence only ever reached a person — so a script asking whether the Watcher was arranged readinstalled: true, running: trueon a machine where it would never Switch anything.truewhere some Scope has said the Watcher may act on it and has Accounts it may Cycle between,falsewhere none has, andnullwhere the registry would not load, that being bigger news than this key and said by the command that needs it. Nothing a terminal is shown moves, and no other key or exit code moves (#337) -
watcher-margin-percentis a Setting a Scope carries, besidewatcher-threshold-percent, and the registry moves to version 5 for it. The margin is how far under the threshold a candidate has to sit before moving to it is worth doing — what stops two Accounts walking upward together and refuses a destination barely emptier than the Account being left. It was a constant of 10 points on the reasoning that the high end was already reachable by moving the threshold, and that was wrong: the ceiling is the threshold less the margin, so the two moved together, and raising the threshold to 90 to reach a ceiling of 80 also delayed when you were moved off. "Leave at 80, and only arrive under 50" was not reachable by any setting of the one knob, and it is a coherent thing to want. The default is 10, so a Scope that says nothing behaves exactly as before, and a version 4 registry comes forward with the margin unsaid.0is refused naming the range: an Account is left at or over the threshold and a candidate set aside above the ceiling, so at a margin of nothing one Account is both full enough to leave and clear enough to arrive at. A margin wider than the threshold is in range and is a Scope that will only move onto an Account with nothing used at all.perch config getgains awatcher-margin-percentline per Scope, which a script reading that output as thesetthat restores it will see (ADR a-watcher-knob-is-arithmetic) (#331) -
perch list --refresh --jsonandperch status --refresh --jsonnow carryrefresh.not_keptbesiderefresh.kept: the sentence saying why figures that were read could not be written to Perch's own record. The human path always printed it, so a log built from the JSON recorded that the figures were lost with no way to learn why.nullwhere they were kept -
perch list <group>andperch list ungroupednow say what that Scope has left to draw on — its Reserve: how many of the Accounts a Cycle may choose still have Headroom, the best one's own figure, and the age of the reading it came from. Never one pooled figure, since Accounts sit on different plans and Perch only ever sees percentages. A Scope with nothing left says what is in the way rather than only "none", and one whose Accounts a Cycle may not choose says so under the count rather than inside it. A bareperch listsays no Reserve — it is one table across every Scope with no heading for the sentence to sit under — while every section ofperch list --jsoncarries areserveat every breadth, as fields, andnullwhere nothing has declared the Scope's Accounts interchangeable or where the Scope holds nobody (#197) (#215) -
a citation names a slug, and the number was never the identity (#245) (#263)
-
a comment says one of four things, and the tree's best comments were the ones in breach (#244) (#261)
-
name Adoption in CONTEXT.md, and have
perch addsay what its Scope still cannot do (#231) -
[breaking] the thing acted on comes first, and
perch aliaswas the one command that had it backwards (#180) (#196) -
[breaking]
statusis about one Account, and every set was already the listing (#177) (#194) -
[breaking] the positive state has no name, and three places were giving it one (#175) (#193)
-
[breaking] a Setting is said about the Scope it governs, and the case for Overrides never defended the fallback (#173) (#191)
-
[breaking] Perch does not draw, and the ranking belongs to the listing (#169) (#189)
-
a Switch is written down before it moves anything, and the Landing is what it writes (#167) (#188)
-
the Watcher may be run for you by the machine's service manager (#137)
Changed
-
seventeen of the sentences Perch says are shorter, and none of them says less. Each had grown a second half that made the case for the design rather than stating what happened: why two refusals that both end in
perch relogincannot be told apart, whyinterchangeableandwatcher-may-actare two Settings and not one, where Homebrew and npm put a binary, why a Group name may not open with-. Every one of those arguments is already made at length in the guide, and a reader who has just been refused wants the rule and the repair rather than the reasoning. What was cut is the reasoning: every fact, every named command and every "nothing was changed" is still there. The four longest fall furthest — the two Switch refusals for a live Credential nothing accounts for from 606 and 581 characters to 441 and 452, the watcher's hold on the ungrouped pool from 585 to 421, andperch upgradeon a binary whose Channel is unknown from 501 to 403 — and the three name refusals fall hardest, from 283, 282 and 201 characters to 116, 66 and 130, which brings them into line with the whitespace rule beside them that had always been one sentence. Three sentences the Purge said in two or three wordings each are now said in one place, so a declined Purge, a failed one and a finished one name the Export the same way and all three now say that the next Purge will not write over it. Adoption's two remarks on a machine's first command become one. No exit code moves, no--jsonshape moves, and no refusal changes which failure it is (#348) -
a
perch status --refreshorperch list --refreshno longer spends the allowance a running Watcher needs. Anthropic allows roughly 28-30 reads an hour of one Account's usage and a Watcher takes twenty-four of them off the Account you are on, so four to six were left for the person typing — and the failure ran the wrong way round: over-asking throttled the Watcher, which then held its round on a figure it could not read and backed off toward twenty minutes, degrading the unattended Switch it was installed for at exactly the moment somebody was watching their quota closely enough to keep asking. While a Watcher holds the watch, a refresh of the Account it is pacing now declines to ask where what the Watcher last read is younger than its 2m30s interval: the cached figure is what a request would have returned, it is shown as always with its age, and the line says which Watcher is keeping it. The command exits0— a decline, not a refusal. Only that one Account and only under a Watcher: every other Account is read as before, and with nothing pacing the machine the whole allowance is the reader's.--jsongains ajust_readvalue forrefresh.accounts[].outcome, besideobserved,throttled,failed,quarantinedandstopped. The Watcher's own rounds are untouched, including the burst that reads candidates at a decision (ADR a-watcher-knob-is-arithmetic) (#331) -
perch listis quicker again, and this time the shape of it changed rather than the constant. Four quadratic terms sat between reading the registry and drawing the table, and each was a fact about the registry being re-derived per row: which Profiles two Accounts share, asked of every Account byis_a_candidateand asked of every one; the Alias an Account answers to, which is a scan because the map is keyed by Alias; and two ofvalidate's three collision checks, which run on everyloadand everysave. All four are now settled in one pass and read by key. Over 400 Accounts a listing falls from 27.9ms to 9.4ms, over 800 from 96.3ms to 17.8ms, and over 1,600 from 360.9ms to 47.8ms;perch list --jsonover 1,600 falls from 846ms to 80ms. Below about a hundred Accounts none of this was ever visible and still is not — at twenty, a listing is process start-up and nothing else. The table, its ordering and every--jsonshape are byte-for-byte what they were -
a
perch watcher runno longer forks a Node program every round to quote a version it usually never quotes.Installedis what a refusal names beside the assumption that failed, and its rule is once per command — the answer cannot change under a process that is already running. A Watcher is not a command: it starts at login and runs until the session ends, so that was about 575 runs ofclaude --versiona day. The rule was also wrong for it the other way round, because a Claude Code that auto-updated underneath left every later refusal quoting the version the loop started with. That Claude Code is installed at all is still settled at the top of every round, aPATHwalk and a stat with no fork; which version it is now waits until something renders it. So a round that refuses nothing asks nothing, and a round that does refuse quotes what is installed at that moment. Every other command keeps the eager read and still refuses up front on aclaudethat will not run. Nothing a Watcher prints moves and no exit code moves (ADR an-assumption-is-probed) -
perch holdings purgeno longer asks the installed Claude Code its version twice. It probed once at the top, kept the answer, and then the Export it offers probed again for itself — a secondPATHwalk and a second fork of a Node program, a few hundred milliseconds in front of somebody waiting at a prompt.perch holdings export, which had none of its own, now does the one probe at its top -
less memory moves through every fallible call in Perch.
PerchError::ProbeRefusedheld four fields inline, so it was 96 bytes where no other variant reached 48 — and an enum is as wide as its widest variant, so all 395Resultreturns in the tree moved 96 bytes and every?copied them. Its payload is boxed and the error is 48 bytes. The refusal path pays one allocation on its way to a sentence on standard error, which is the one place in Perch where an allocation cannot be felt. Nothing a refusal says moves -
an HTTP reply no longer exists twice at once. What curl wrote was taken whole and then the body half copied out of it, so peak memory was double the reply on every request — with a ceiling of 8 MiB, that is 16 MiB resident where 8 would do. The status is what curl appends at the end, so the body is that buffer with its tail cut off in place
-
a
perch switch, aperch runand an Import each do less work for the same answer. A Switch derived the incoming Credential Store twice, and a derivation is two environment lookups, a slug, a component walk and a SHA-256. Resolving a path rebuilt the path it was handed —flattenedreconstructed component by component a path carrying no.or.., which is nearly all of them, and the link walk copied the tail once per level. An Import checked three things about a file a stranger wrote by walking everything already walked. Aperch versionat a terminal built a tree of GitHub's whole release reply to read one string. None of it changes an answer -
a
perch watcher statusreads the installed unit file once rather than once for the binary it names and once for the log -
a
sessionsdirectory that is there and will not be read no longer makesperch holdings importandperch holdings purgesay a client is running. It is the root-owned one asudo claudeleaves, most often, and both commands reached the liveness question through an answer that had already collapsed to yes-or-no — so doubt arrived as "A client is running against the Profile of someone@example.com. Nothing was purged. Quit it and run this again." Nothing had said a client was running; the directory had not been readable, and quitting a client that may not exist fixes nothing. Both now say which directory would not be read and what to do about it — make it readable, or delete it if no client is running — and exit 10 rather than 16, which is the code every other broken assumption about Claude Code already uses. What did not happen is still said either way. Both refusals also name the pid now, asperch switchand a Renewal's already do, since a refusal that names a Profile without naming what is holding it leaves the reader to guess which terminal to close. The rule itself is untouched: doubt still resolves towards Live everywhere, and nothing writes into a Profile it cannot answer for. One more thing moves with it, invisible unless a Watcher is running: a Renewal refused because asessionsdirectory would not be read reported the round as having spent nothing, even where it had been reached by Anthropic rejecting the token — so the Back-off, which paces questions nobody is answering, did not pace one that had gone out and come back. It does now. No--jsonshape moves (ADR a-profile-is-live-by-evidence) -
a
perch watcher runno longer wakes ten times a second for the whole of its life. The wait between rounds napped in 100ms slices and read the interrupt flag between them, because no platform can be relied on to cut a sleeping thread short —nanosleepreports how much was left and the standard library goes back round for the rest. That is true; the slice was the wrong answer to it. A round's ordinary wait is 150 seconds, so it was 1,500 wakeups, and the longest is 20 minutes, so 12,000 — on a Service that starts at login and runs until the session ends. Little CPU, and a real cost all the same: it defeats timer coalescing and keeps the core out of its deep idle states, which is what puts a process inpowertop. The signal handler now wakes the wait rather than the wait polling after it — a self-pipe and onepollon Unix, an event andWaitForSingleObjecton Windows, and a plain sleep where neither is open. Over six seconds of a real run, 59clock_nanosleepcalls become onepoll. Ctrl-C andsystemctl --user stopstop costing up to a slice with it: a stop signal now ends the wait in 0.1ms rather than up to 100. Nothing the Watcher prints moves and no exit code moves (ADR the-machine-runs-the-watcher) -
a contended Claude Code lock is asked for again in 25ms rather than after a second.
mkdiris the whole of the lock protocol, so a contender learns the lock is free only by asking again — and Claude Code holds one for a single token refresh, which is tens of milliseconds. A flat second between attempts spent the whole of the first one learning what a 25ms re-try would have. The wait now doubles from 25ms over eight attempts rather than staying at a second over five: 3.175s in all against 4s before Perch gives up, so the samePerchError::Busyat about the same wall clock, reached after the contention has had eight chances to clear instead of five. What a Switch does when it cannot have the lock is untouched, and no exit code moves -
a
perch runno longer rewrites.claude.jsonto write back what it already holds. What crosses into a Profile crosses key by key, and each key was a splice of the whole document: four forPERSON_KEYS, then theprojectsentry, thenprojectsitself, so up to six full-width buffers allocated, copied and — being wiped on drop — zeroed on the way out, with the result compared against what went in and dropped where they matched. They match on every Run after the first,PERSON_KEYSandPROJECT_KEYSbeing settled preferences rather than counters. The splice is now declined where the document already holds what it would write, compared against the value rather than against the document, so nothing is copied at all in that case. On a 13 MB.claude.json— the file grows with the person's per-directory history, and it is the largest one Perch touches — the steady-state pass falls from 299ms to 22ms and its peak memory from six copies of the document to none. Two smaller things go with it: a block is re-indented a line at a time rather than a character at a time, and a Carry asks whether a client is already running against the Profile before reading that file rather than after. Nothing a Run does moves -
perch listis quicker to say which Accounts share a Profile. The question was asked of every Account and asked it of every Account, and each comparison built threeStrings, so a listing over n Accounts paid 3n² allocations for a question with n answers: 218ms over 800 Accounts, 883ms over 1600. The candidate's slug now goes into one buffer the scan keeps, and slugging an address is one allocation rather than three — 84ms and 324ms. It is still quadratic in comparisons, and below about 25 Accounts none of it was ever visible. The table, its ordering andperch list --jsonare untouched -
[breaking] what is installed is asked of a command rather than of a flag:
perch --versionandperch -Vbecomeperch version, and the flag is gone rather than kept beside it. Every other capability Perch has is a command placed by the noun it is about, and which Perch is installed is a fact about Perch and about no Account, which is the rowupgradealready sits in. It stayed a flag for an implementation reason rather than a design one: clap generates--versionand answers it by printing and exiting, so the line underneath it had to be written ahead of the parser, andmaincarried a second parser for the bare form alone. Both are gone.perch --versionnow gets clap'sunexpected argumentand exit 2 with nothing pointing at the command, clap's suggestions running from an unknown flag to other flags rather than to a subcommand — there is no second spelling and no deprecation window, the CLI surface being the side that moves. Nothing the command says moves with it: the first line isperch <version>exactly, which is what the Homebrew formula's test block asserts on, and the line about a newer Release still appears only at a terminal, is still given two seconds, is still dropped in silence on any failure, and is still switched off byPERCH_NO_UPGRADE_CHECK.perch versiontakes no--json,perch upgrade --check --jsonalready carryinginstalled,newest,channelandupgrade_available; the two stay separate because one is bounded like a question nobody asked and the other like one somebody did. It is also the one command that comes beforemigration::bring_forwardrather than after it, so asking what is installed reads and writes nothing on the machine — a migration is a write, and this is the command somebody runs when the machine is already misbehaving.perch --helpnow lists seventeen names rather than sixteen. No exit code moves and no--jsonshape moves (ADR a-command-names-its-noun) (#313) (#314) -
[breaking] a Group name or an Alias is now held to an allow-list rather than to a list of what it may not contain, and the registry moves to version 4 for it.
validate_namewas a deny-list that grew a clause per harm found:@for the address, a leading-forperch run's program, whitespace forperch config get's round trip, and the unshowable set twice. Everything else was a name, soperch group add 🚀,perch group add dev★,perch alias someone dev.opsandperch group add dev/qaall succeeded. A Target is typed at a shell prompt, often on the second machine months later, so a name of symbols is one somebody has to produce from a keyboard before any command can reach it. The first character is now Unicode'sXID_Start,_, or an ASCII digit, and every later one isXID_Continueor-. Not an ASCII rule:café,日本,дом,한국,العربيةand日本-devare names, and2fais one because a digit opens a name whereXID_Startalone would refuse it. The refusal names the character as it draws and as it is spelled,`★` (U+2605), a space quoted alone saying nothing.unshowable_character_instays ahead of the allow-list, because XID answers neitherdev\uFE00nordev\u3164and both draw asdev. Left open deliberately:dеvwith a Cyrillicеis still accepted, closing it needing mixed-script detection that costs 38 KB and three crates and that also refuses日本-dev. Because the rule refuses names this build itself wrote down, the registry moves andmigration::forwardholds its rename pass to the rules of whichever version the document claims: a version 3 registry comes forward withdev★renamed todev,🚀togroupand-devtodev, the existing-Nsuffix settling a collision, and the note saying which. One narrowing comes with that: a version 1 registry hand-edited to name a Groupa@borone twois now named atloadrather than silently renamed, no version 1 Perch having accepted either, which is already what a hand edit gets under every later version.perch addnow makes no Group offer at all where an organization's name carries a.or a,, rather than offering one spelled with it. No exit code moves and no--jsonshape moves (ADR a-target-has-to-be-typeable) (#309) (#312) -
[breaking] a Group name or an Alias carrying a character that draws as nothing is now refused, and the registry moves to version 3 for it. The set behind that rule was picked by hand and had grown holes:
U+FE00after a letter with no variant form,U+3164,U+FFA0,U+034F, andU+2065sitting in the gap between two halves of one range written as two. Soperch group add devandperch group add $'dev\uFE00'were both accepted,perch group listdrew two rows both readingdev, and Perch's own confirmation line said Declared the Groupdevtwice — which oneperch switch devfinds being decided by nothing, the harm two names differing only in case are already refused for. The set is now Unicode'sDefault_Ignorable_Code_Pointtaken whole, that property being this question already answered and a subset chosen for it being a second definition that drifts. The cost is that a name carrying a variation selector —perch group add $'\u2764\uFE0F'— is refused, naming the character;$'\u2764'is not. Because the rule refuses names this build itself accepted and wrote down,migration::forwardnow chains from whichever version a document claims and every step lands on a rename pass, so a registry holding one comes forward with the name repaired and the note saying which. What that pass carries is bounded by history — a name version 2 accepted — so a name no Perch of that version ever wrote is still a hand edit, named atloadand left. No exit code moves and no--jsonshape moves (ADR nothing-drawn-is-obeyed) (#299) -
[breaking]
noneandungroupedare one word for one Scope, and now work as one wherever it is named. Both have always been refused as an Alias and as a Group name, and yet each was accepted by only half the commands:perch listandperch configtookungroupedand notnone,perch group movetooknoneand notungrouped. The refusal then came from the name validator, which explains the word's meaning on the other command and never names the spelling this one takes — soperch list noneexited 12 with "nonemeans no Group at all onperch group move" and never mentionedungrouped.perch list none,perch config get noneandperch group move <target> ungroupednow succeed where they exited 12, and the two refusals say what the words address rather than which command addresses it. No other exit code moves -
the Watcher's decision log spells a round it lost to another Watcher
replacedrather thanhanded over. Every other status word is one lowercase token in the eight-cell column the log is skimmed by; two of them pushed the figure three columns right of every other round's, and nothing rendered that line in the suite. Aperch watcher checkthat finds nowhere to go no longer ends its line withLooking again in 15m00s.— a check exits after printing, so its scheduler's interval decides, which is the rule the held line already followed -
[breaking]
--jsonnow answers a script in every field it has.perch watcher status --jsoncarried English where a value belonged:platformwasa LaunchAgent,a systemd user unitora Scheduled Task that runs at logon, andlogwas a path on some machines, the commandjournalctl --user -u perch-watch -fon others, and the sentencenowhere — nothing names a log filewhere there was none — so nothing could be branched on without matching prose.platformis now the arrangement as a word —launchagent,systemdorscheduled-task— and names the arrangement rather than the operating system, because that is what the answer turns on.logis now the path ornull, and the sentence a person reads moves beside it aslog_said, which is thereason/saidpair a Quarantine already emits. The two camelCase keys Perch had —binaryExistshere andupgradeAvailableinperch upgrade --check --json— becomebinary_existsandupgrade_available, which is how every other key in every other command is spelled. No exit code moves, and nothing either command prints to a terminal changes -
[breaking] every command is now placed by the noun it is about, and the Account is the one left unsaid. The four that broke that rule move onto two nouns:
perch export,perch importandperch purgebecomeperch holdings export|import|purge, andperch watchbecomesperch watcher run— takingperch service install|uninstall|statuswith it asperch watcher install|uninstall|status, because a Service is an arrangement of the Watcher rather than a noun of its own.perch --helpnow lists sixteen names rather than nineteen.perch watch --oncebecomesperch watcher check, a verb rather than a flag because it changes both the meaning of the exit code and the lifetime of the command; the exit codes themselves are untouched, and no other flag is affected.Holdings— everything Perch holds on this machine — is a glossary term (#164) -
perch switchnow says what it did rather than why it did it. A Cycle prints where it landed, what that Account was chosen on and the Group it stayed inside, and then the Utilization the Switch bought — three lines where there were seven. Gone are the ranking's defense (60% headroom, which is true of every one of its Quota Windows — 7-day is its fullest), the staleness paragraph under the figures, theCycling within Groupwork.opening now folded into the landing line, and the Capture line: a Capture happens before every Switch without exception (ADR 0006), and what happens every time is the guide's to establish once. The five Captures that are not the ordinary one still speak, every figure still carries its age (ADR 0015), and the three refusals — everything exhausted, already on the best, nothing declared interchangeable — keep their explanations and their exit codes, because a refusal is the one moment somebody cannot predict what happened (#223) (#234) -
the Watcher's decision log now says what a round did and explains itself only where a round refused.
waitingandswitchedbecome data —2026-08-04T12:02:30Z switched 86% used, fullest 5-hour → overflow@example.com, down from about forty words — because the threshold is declared once in the opening line and does not change within a run, andunder it/over itis what the status word already means.cooling,nowhere,heldandrefusedkeep their sentences whole (ADR 0036): nothing happened, and the reader cannot see why. The Account leaves the round line, since the opening names the one being watched and everyswitchedline names the one it moved to; the timestamp stays a full RFC 3339 instant, because aperch watcher checkunder cron is read cold days later.Stopped.loses the three reassurances that were true of every stop without exception (#224) (#235) -
perch listnow says each invariant fact once beneath the table. A Quarantined Account keeps the reason that is its own — overflow@example.com (asoverflow): Anthropic would not renew its Credential. — and theperch reloginthat repairs it closes the block once for the whole Listing rather than ending every line in it, so three broken Accounts no longer mean three copies of the same instruction under a table that already saidquarantinedthree times. Where exactly one is broken the repair still names it. The table itself is untouched — columns, alignment, the*marker, the Reserve line, every figure's age — as isperch list --json.perch statusanswers about one Account (ADR 0053), so it still says the reason and the repair together on itsQuarantineline (#225) (#236) -
the remaining acting commands now say what they did and explain themselves only where they refused.
perch removeno longer narrates the Credential it deleted,perch holdings purgeno longer restates what a Purge takes or that Claude Code is still logged in,perch holdings exportandperch holdings importname a count and a path and stop,perch disableandperch enablesay what changed and drop the promise about what a disabled Account still is,perch relogindrops the Alias/Group/Cycling column of things a repair left alone,perch addno longer repeats after the login what it said before it,perch group addandperch group renamedrop the Settings rows neither of them set,perch watcher installandperch watcher uninstalldrop what starting at login means, andperch config setstops defending two of its own designs. Every refusal keeps its explanation and its remedy — a Quarantined Account still says so on both halves of the enable pair, a Remove that destroyed nothing still says why, and a repaired Account that is still disabled is told. Every confirmation prompt is untouched, every figure still carries its age, no exit code moves, andperch alias,perch upgrade,perch watcher status,perch group listandperch config getwere read and needed nothing (#226) (#239)
Removed
- [breaking] the Watcher's three departing Settings —
watcher-cooldown-minutes,watcher-margin-percentandwatcher-no-return. The cooldown and the margin are arithmetic rather than anyone's taste, so they are now constants of 15 minutes and 10 points under the threshold; the no-return could never fire, because the cooldown always reached the decision first.perch configcarries three Settings, and how full is too full is the only preference left in the loop. A scheduled Check now records only when it Switched, the no-return having been the only thing that read which Account it Switched off (#161)
Fixed
-
a
perch watcher runrestarted by its own Service no longer comes back free to Switch again. The Cooldown that bars two Switches inside fifteen minutes lived in the loop's memory and nowhere else, on the reasoning that stopping a loop and starting it is a person saying "go on then" — but a Service is what runs the loop for most people, andRestart=alwayswithRestartSec=30on systemd and launchd'sKeepAliveboth bring it straight back, launchd with no give-up at all. So a Watcher that exited just after moving you — which is what a Switch that made the incoming Credential live and then failed does — could move you again thirty seconds later, and on macOS keep doing it. Every unasked Switch is now written against its Scope in the same save as the Switch itself, exactly asperch watcher checkalready wrote one, and both arrangements read it back under the registry lock at the top of a round. What this costs is that somebody who deliberately stops and restarts a loop now waits out what is left of a Cooldown: a process cannot tell a person from a supervisor, and of the two mistakes that is the cheaper one.perch switchwrites nothing and paces nothing, as before. No exit code moves, no--jsonshape moves, and the registry shape is untouched — thecheckskey already held exactly this fact (ADR a-watcher-knob-is-arithmetic) (#331) -
the site's front page told you to install
perch-cli@dev, a tag npm has never had. Perch publishes tolatestduring 0.x, npm having no way for a package to withhold that tag, and the guide's install page has said so since the day that was settled. The splash page was the copy nobody moved, so the one install command a reader is most likely to paste is the one that resolved to nothing. Theperch versioncommand is also in the README's table now, the row it never gained whenperch --versionbecame a command -
[breaking] declining
perch upgrade's downgrade question exits0rather than15, and says what did not happen. Perch's other two questions —perch remove's andperch holdings purge's — both print "Nothing was removed." or "Nothing was purged." and exit0, andEXIT_NOTHING_TO_DOis documented as a request that was already true, which an install somebody turned down is not. Marked breaking because an exit code is read by a script, though no script can reach this one: the prompt is only offered where there is a terminal, and a machine without one takes theEXIT_INVALIDpath instead. That refusal and--yesare untouched -
an Alias typed where a Group name was expected was answered with how to free the Alias, on four commands that were not making a Group. One refusal answers
perch list,perch config get,perch config set,perch group rename,perch group removeandperch group move— andperch group add, which is the only one that declares a Group, never reaches it: it is refused earlier, with its own sentence and exit 13. Soperch list devwithdevan Alias exited 12 saying "there is noperch group add devto make one. Name the Group something else, or free the Alias withperch alias other@example.com --unset", which is advice about a declaration nobody was making, in answer to a read-only question. It now says why no Group can be called that and names the Groups there are, which is what the reader of any of the six can act on. The Account-typed-instead branch and the near-miss suggestion are untouched, and no exit code moves -
ungroupedtyped at the Groupperch addoffers was refused, with a sentence saying the word means what the answer meant.noneandungroupedare one word for one Scope and every command refuses both as a name — the reasonnamecarries one predicate for the pair rather than two. This prompt read the half of it that answers only fornone, soungroupedfell through to the name rules and came back as "ungroupedaddresses the Accounts in no Group, so it cannot also be a Group name", and the prompt asked again. It is taken now, asperch list,perch configandperch group movealready take both. The half-predicate is no longer reachable from outsidename, so the next command cannot take one spelling and refuse the other. No exit code moves -
two
perch runs against one Profile starting together could refuse each other. A Reconcile reads an entry, finds nothing there and makes the link; started at the same moment against the same Profile — a script, or two terminals — both passes read the entry as absent, both link, and the second metEEXIST. It came back as "CLAUDE.mdcould not be made reachable ... symbolic link could not be made (File exists)", and Perch refuses a Run it cannot share into rather than serving a copy, so the second Run did not happen. What the loser met is by then exactly the share it was making, so it now asks once more after the refusal and answers as though it had made it. Only that: a link at the name pointing anywhere else is the refusal it always was, and nothing this pass could have made is passed over. No exit code moves -
a Carry that could not read the source it picked gave up rather than falling to the next one, so onboarding and trust dialogs came back on every Run for ever. The candidates are sorted most recently used first and the best of them was taken alone: a root-owned
.claude.jsonasudo claudeleft is newest by mtime and will not open, and the Account's own file was sitting right behind it. Carry is deliberately quiet, so nothing said why. The sorted list is now walked to the first that reads, which is the preference order the sort already encoded. Nothing else moves: what crosses is the same named keys from the same bounded set of sources, and a Run where none of them reads still carries nothing -
a link at one of the four names a Reconcile holds back survived the sweep where its target named the Default Profile by another spelling, and
perch runthen read another Account's Credential as this one's. The sweep asked two questions in one order: does the link point into the Default Profile, and only then, is it at a held-back name or dangling. The first is a text comparison against the target as recorded, which is what a dangling target needs — but a$HOMEreached through a link gives the Default Profile two spellings sharing no components, and that is the containment shapeclippy.tomlalready refusesPath::starts_withover. So a.credentials.jsoninside a Profile recording/export/home/someone/.claude/.credentials.jsonwhile the Default Profile resolved as/home/someone/.claudewas passed over, and a Credential Store is derived from its Profile's directory — so the Account read its Credential through the link and got the live one. The held-back clause is now asked first and on its own, wherever the link points, and the text comparison is left to the dangling clause where it is the only thing that can answer. Only the link goes; what it pointed at is untouched. No exit code moves and no--jsonshape moves (ADR everything-but-the-account) (#328) -
a
perch holdings importthat rolled back could leave a Credential out of the Export behind, in a Profile nothing names, having said nothing was imported. A Credential is written to whichever store this machine's Claude Code keeps one in and to the other one where the first refuses — and that second write is refused afterwards where the first store will not give up the copy it replaces, which on a Mac is a locked keychain. The Import read "did this write a Credential" off that refusal, so the undo skipped a store the write had already landed in; where the Profile's directory was one the Import had not made — aperch addthat died at the browser step leaves one — nothing else took it out either. What landed is now asked of the store rather than inferred from the error, so the undo takes back everything this Import put there and still nothing it did not: a store that will not answer is left alone, since what it might hold is a Credential this Import never wrote. No exit code moves and no--jsonshape moves (#328) -
a Switch away from an Account a
perch runhad been made against could take that Account's only working Credential with it. A Run points its client at the Account's own Profile rather than at the Default Profile, so an Account that is active has two Credential Stores a client may Rotate independently — the divergenceobserve::holdingalready widens its liveness ask for. A Rotation in the Profile retires the refresh token the live copy still carries, which leaves the Profile holding the newer of the two; the Capture then wrote the live one over it unconditionally, so both copies became the retired token and the Account needed aperch reloginto come back. The Capture now reads the outgoing Profile before it writes and declines where the copy there expires later than the live one, saying so on the line a declined Capture already had. Only that direction: a live copy at least as new as the stored one is Captured as before, and a Credential silent about its expiry is no evidence either way. One extra read of a store Perch itself wrote reaches the sequence, which is no dialog it was not already going to open. No exit code moves and no--jsonshape moves (ADR a-switch-is-written-down-first) (#328) -
a registry a version 2 Perch wrote could come back refused, with no command left to repair it. The rule refusing a control character in a name joined
validate_namepart way through version 2's life and the registry version did not move with it, so version 2 is two shapes: for six of its eight days no character was refused at all, and for the last two only Unicode'sCcwas.migration::forwardmodeled neither, holding version 2 to version 3's rule — the whole unshowable set, less a hand-picked list of what version 3 added. So a Group or an Alias named$'red\u202e', which every version 2 build accepted, or$'\u001b[31mred', which the earlier ones did, was read as a hand edit, left as it was and refused atload— which is every command,perch group renameincluded. What the step forward carries is bounded by history, and the history was wrong: version 2's rules are now stated at the loosest of the builds that stamped it, so such a name is renamed with the note saying which rather than taking the machine with it. A name no version 2 Perch accepted — one carrying whitespace, an@or a leading-— is still a hand edit, named atloadand left. No registry version moves: the shape is untouched and the step was already owed (ADR a-registry-comes-forward) (#317) -
a registry v0.2.0 wrote could come back refused, with no command left to repair it. v0.2.0 told two names apart with
to_lowercase, which applies Greek's final-sigma rule —Σlowercases toςending a word and toσinside one — while this build folds both spellings together, deliberately, a Group being a name somebody typed rather than a word. Soperch group add ΧΡΟΝΟΣandperch group add χρονοσboth succeeded then and are one name now:validaterefused the pair atload, andloadis reached from every command,perch group renameincluded. Onlyperch holdings purgesurvived it, which means logging in to every Account again. The rename pass never saw it, because it moves a name this build refuses for itself and each of these is a name in its own right — what they are not is two. It now also moves a name colliding with one already standing, but only whereto_lowercasetold the two apart, soworkandWorkin a registry stay what they are: a hand edit no published Perch could have written, named atloadrather than quietly given a second name. The name that keeps its spelling is recorded as a rename to itself, because the fold alone would have carried the Group that stayed to the new name of the one that moved, filing both Groups' Accounts under one and losing the other's Settings. No registry version moves — the shape is untouched and the step was already owed (#315) -
[breaking] a Watcher round a contended lock turned away exited
15rather than20.PerchError::BusycarriesEXIT_HELDdeliberately, and says why: "a scheduler and the watcher's own loop both need to tell 'come back in a minute' from 'this will fail the same way for ever'". Aperch watcher checkmeeting the lock at the top of its round did exit20; one that read its figure and was then turned away by the same lock inside the Switch exited15, the code for a request that was already true. So a Claude Code holding~/.claude.json.lockfor the seconds a check ran had cron record "nothing to do" for a round that decided to move and could not, and nothing retried it. The decision line is untouched — the round still readsrefusedrather thanheld, because it decided on a figure it had read, which is what tells the two apart in a day of them — and only the exit code moves. No other exit code and no--jsonshape moves -
perch add,perch removeandperch reloginreturned as though nothing had happened when the change had landed and only the report could not be printed. A closed pipe or a full disk made each return a bare write failure, so the exit code said the command did not happen. A re-run then contradicts the machine:perch remove workexits 12Nothing Perch holds is called \work`,perch addlogs in again as an Account Perch already holds, andperch reloginrepeats a repair that already stands. Every other write-then-report path already attached the note — shape 1's door,perch holdings purge,perch holdings export,perch holdings import` — and these three were the gap. No exit code moves -
a login whose Marker could not be written was one the reaper could delete underneath it.
loginclaimed the Marker with.ok(), andreap_abandonedguards a login in progress on exactly that Marker: with none, it reads an idle directory. So a pending login whosesessionsdirectory could not be written was deleted by any concurrentperch listorperch statusonce it passed thirty minutes — Profile, Credential and all — while the browser half was still going, and the login then reported "The login did not complete. Nothing changed." Refused now, asperch runalready refuses the same claim (#315) -
a
PERCH_HOMEnaming a relative path split the Holdings across working directories. The set-but-empty case was already refused, for the consequence a relative one has too:perch addin one directory wrote its Holdings there, and the same command one directory over saw an empty machine, adopted again, and made a second Profile and a second Credential Store for the same person. A Service is the worse half,PERCH_HOMEbeing carried into the unit file to resolve against a working directory nobody chose. It is refused now, naming the value. Judged against the Host's platform rather thanPath::is_absolute, which is compiled for the machine running the code:C:\workwould otherwise answer "relative" in a suite running on Linux and "absolute" on the machine (#315) -
perch upgradepromised it touched no registry and then migrated one.--helpsays "Nothing Perch holds is touched: no registry, no Credential, no Profile", andmainran the registry migration for every command butversion— so an upgrade read the registry and, where the file was behind, took the registry lock and rewrote it. The run that hits it is the ordinary one: install a newer Perch through a Channel that moved the registry format, then runperch upgrade --checkfirst. It now skips the migration alongsideversion, for the reason already written down there — each is what somebody runs when the machine is already misbehaving — and neither reads the registry, so only the write-back waits for the next command that does -
a LaunchAgent launchd was only holding was reported as running.
perch watcher statusasked macOS by runninglaunchctl printand reading its exit status, which is 0 for any bootstrapped label — throttled and waiting-to-restart included. The case it gets wrong is the onestatusitself reports: a unit naming a binary that has moved, where launchd keeps the label and throttles the restarts, soperch watcher statusprinted "is running" directly above "It names …, which is not there any more" and--jsoncarried"running": truewhile nothing was watching. macOS now readsstate = runningout of the answer;systemctl is-activeis the question, so systemd is untouched. A Purge and Windows'sis_installedwant the other reading — whether anything can still come back and write a Credential — and now ask for it by name -
an Import refused an address no Profile could be named after by naming this machine's registry, a file an Import requires to be empty or absent, so following the instruction changed nothing.
gathertolerates such an address deliberately, so an Export carrying one is exactly what this meets; the refusal now names the Export and says the Account has to be removed on a machine that still holds it -
perch alias <target> <name>answered about the name when it was the Target that was wrong. It validated the name's shape before resolving the Target — the reverse of every other command taking one, including the--unsetarm below it — soperch alias nosuchaccount 'my alias'reported the space and exited 14 rather than saying nothing Perch holds is callednosuchaccount. The check was redundant as well as early,name_accountrefusing the same shapes with the same words -
perch statusdrew an organization name Anthropic holds as something its owner does not spell. Text on its way to a terminal goes throughShown, which takes out whatever a terminal acts on rather than draws, and that set was widened to Unicode'sDefault_Ignorable_Code_Pointfor a question about names somebody types rather than about what a terminal draws. It carries characters whose whole effect is on the character beside them, so an organization ofAcme ☀️drew asAcme ☀with the emoji presentation selector gone, a ZWJ family sequence drew as three separate people, and the column measurement that follows the strip reported six cells where a terminal draws two, putting the rest of the block out of line. A Quota Window's name and a plan reach the same writers, and all three are values nobody can correct from Perch. The strip now keeps what composes with its neighbor into one glyph: the variation selectors and their supplement, the zero width joiner,U+034F, the Mongolian free variation selectors, the Khmer inherent vowels and the two conjoining Hangul jamo fillers. It still takes what rearranges, hides or mirrors text,U+202Eincluded: the bidi controls, the zero-width characters, the tags block, the standalone Hangul fillersU+3164andU+FFA0, and every control character. What a Group name or an Alias may be is untouched, a name being typed and two that draw alike having no single answer, soperch group addrefuses exactly what it refused before. No registry version moves and no migration step is owed (#306) (#311) -
a Watcher asked to stop while it was settling an interrupted Switch kept asking the keychain, one Account after another, before it stopped. Settling a Landing reads the Credential Store of every Account Perch holds until one of them matches the live Credential, and on macOS each of those reads is a keychain dialog — so a
perch watcher runtold to stop, or one whose watch a second Watcher had taken over, could put a prompt per Account in front of somebody after the point where it was going to act on none of the answers. The walk now asks whether this Watcher is still the one to act in front of every read, and a stop ends the round where it stands: nothing is written, and the Landing is left in flight for whatever settles it next.perch watcher runleaves saying which of the two happened, andperch watcher checkprints onestoppedorreplacedline and exits 20, as it does for every other round that decided nothing. Neither of them reports the Landing as one nothing on the machine can account for, which is what a stop would otherwise have been read as — a different failure, with a different remedy, about a machine nothing is wrong with (#300) (#303) -
a Credential written while the keychain was locked could leave Claude Code on the one it was replacing, and Perch reported the write as done. On macOS the keychain is the store read first, and a Profile's Credential goes to the file beside it when the keychain will not take the write — after which the copy the keychain still holds has to go, or it wins every read. A locked keychain refuses the removal and then refuses to say whether anything is there, which Perch read as "nothing is there" on the reasoning that a store nobody can read is one nobody can read from. A lock is for a spell: it opens at the next login, and what is behind it wins from then on, so a Rotation that reported success left Claude Code on a refresh token Anthropic had already retired. A store that will not say whether it still holds the superseded copy is refused now, and the refusal says the keychain would not say rather than that a copy is there, with opening it as the remedy rather than emptying it. A Profile this machine is making for the first time is not caught by that, and not on the grounds that its directory is new: a keychain item is keyed on that directory's path and outlives it, so
rm -rf ~/.perchleaves every one behind for the nextperch holdings importto write the same paths over. It issecuritythat answers instead — an item's attributes are matched before the keychain has to be open, so a name holding nothing exits 44 through a lock exactly as it does without one, and only an item that is found meets the lock at all. That is asked of a machine rather than assumed, and it held: theyour_machinesuite makes a keychain of its own, locks it, asks it for a name it holds nothing under, and gets the same 44 back through the lock -
perch holdings importsaid nothing about a Group the step forward had to rename. An Export's registry comes forward as this machine's does, so restoring a backup written by an older Perch could quietly land a Group under a different name — visible in the nextperch listand nowhere before it, whilebring_forwardhas said the same thing about this machine's own registry all along. The Import now says it before it writes anything, naming the character rather than the spelling:unsealhands back what the step renamed beside the document it opened, since the deserializer that runs the step has nowhere to put it and what a step renamed is a fact about reading that Export on this build rather than a field of it -
an organization name Anthropic holds could stop Perch adopting a login at all. Widening the unshowable set to Unicode's
Default_Ignorable_Code_Pointpulled inU+FE00..U+FE0F, the variation selectors — so"organizationName": "Acme \u2600\ufe0f"was refused atprobe::read_identity, and a first-runperch statusexited 15 whileperch addcould not complete, over a value nobody can change from Perch. The refusal at that boundary was decided when the set wasCcplus a handful of formatting characters, every one of which a line ofcurlconfiguration or asecuritycommand also cannot hold; the wider set broke that coincidence. The two questions are now two predicates —Ccfor what a line cannot hold, and the whole set for what a terminal will not draw. Which one a boundary asks turns on whether the value is ever typed: an organization name is drawn and never typed and is Anthropic's to spell, so it asksCc; an address is a Target, so two that draw alike have no single answer and it asks the whole set, as a Group name and an Alias do. A value that only fails to draw is drawn stripped, which is whatShownwas always for. Secondarily, the callers that swallow that refusal get their "is the live Credential somebody else's?" cross-check back (ADR nothing-drawn-is-obeyed) -
the note a registry migration prints named a Group by a spelling that draws as another Group in the same file. A name refused for a character that draws as nothing reaches a terminal as one the registry may also hold — so a version 2 registry holding
devbesidedev\uFE00came forward saying a Groupdevis nowdev-1, with an untouched Group of exactly that name still in the file. It names the character now, as the refusal for the same name already did -
a
perch runcopied the person's state out of the Profile it was launching, so nothing ever crossed into it again.carrypicks the most recently used identity file among the Accounts a Run may take state from and excludes the one it is about to write, which it did by comparing the two paths as text.~/.claude.jsonis the Default Profile's identity file wherever that Profile's config directory is, so a dotfile manager linking it at a Profile's own hands one file two names — and the active Account's candidate is then the destination under the other spelling, which every Run rewrites and which therefore outranks every real source from the first Run onwards. A third Account in the same Group, holding the onboarding state and tool approvals that should have crossed, was never reached: the Run copied the destination onto itself,carrysaw nothing had changed and wrote nothing, and the client asked its trust dialog again on every Run. The exclusion askshost::is_inside's neighbor now — both paths resolved, every link followed on both sides — with the spelling comparison kept beside it, because a path that will not settle is nowhere rather than everywhere. Nothing a person types or reads changes, and no exit code moves (ADR an-invariant-gets-a-door) -
a Watcher told to stop, or one whose watch another took over, went on sending requests to the end of the turn it was in. The watch is asked by hand, and one Account's turn is up to six requests bounded at thirty seconds each — so an ask made at the top of a turn is answered again only at the top of the next, and every request between them went out for a decision this Watcher is no longer the one to make. Two against the Account being watched, and two more per candidate in the burst that follows a threshold crossing, each off an hourly allowance that does not refill early; past the first of them sits a Renewal, which Rotates the only refresh token that Account has. The ask is now a required argument of the one function every request to Anthropic goes through, so a request nobody wrote an ask for does not compile, and the port's own method is a
disallowed-methodsentry naming the way through. A stop travels back as its own refusal rather than as a network that could not be reached, which is what keeps it from pacing the Back-off. Nothing a person types or reads changes, and no exit code moves (#296) (#298) -
a ninth review, in what each finding cost rather than where it was found. A
..walked past the containment guard in both directions:Path::file_nameanswersNoneon one, sodeepest_link_onended its walk there, leaving every link above the..unfollowed and the components either side compared as spelling.perch holdings purgereaches both answers, because it writes its Export at a path somebody types at a prompt —../.config/perch/backup.agetyped from a sibling directory put the only copy of the Holdings inside the home the Purge deleted moments later, with the report naming a file that was already gone, whileprofiles/../../../x.agewas refused as inside a directory it is plainly outside.settledflattens before it walks and after each hop now, andFakeHost::resolveddoes too, a real filesystem walking..rather than storing it. A Watcher told to stop still spent the refresh token it was holding: the watch is asked once per Account at the top of a turn, and a turn is up to six requests bounded at thirty seconds — the same thirty seconds a service manager allows in whole — soSIGTERMwent unanswered until the grace ran out andSIGKILLlanded, and landing betweenanthropic::renewreturning andstore_itwriting leaves Anthropic having retired the refresh token Perch holds with the replacement in freed heap. The ask reaches the step that cannot be undone now, and answers with an outcome the round reports as having stopped rather than as a reading that failed. A Renewal the token endpoint refused was charged to nobody,Becauserecording why a Renewal was wanted rather than whether one went out: an Account whose Default Profile names somebody else and whose token has expired refused the same way every round, each asking Anthropic to renew and none pacing the Back-off — 24 requests an hour, for ever. It is read off the Quarantine now, which is what happened. An Import onto a machine holding no Account replaced its Groups:Registry::forgetleaves a Group declared, so the last Remove leaves Groups and their Settings — which exist nowhere else and no Export on that machine has ever held — behind the guard that counted Accounts alone. One address no Profile could be named after made the whole machine un-exportable, including the Export a Purge offers before it destroys anything, though the identity read beside it andpurge::forget_the_credentialboth already passed over such an Account by name. A confirmation prompt drew what a listing would have stripped,askandask_secretbeing the two sentence-writers not going throughShown— a\rin an address repaints the line, so the question naming the Account being given up is not the one theyanswers. A Linux Service that would not restart was reported as running,systemctl --user restartbeing the onemay_failstep and the only one that reaches the binary just written whenenable --nowfinds the unit already up. npm on Windows refused after the question it made pointless, taking ayfor a downgrade it was going to refuse either way and diagnosing a missingnpmthat has no bearing on it. The tags block drew as nothing and counted as showable,is_unshowablestopping atU+206FwhileU+E0020upward mirror ASCII invisibly.FakeHost::linkmade a link inside a directory that was not there, wheresymlink(2)answersENOENT. And two smaller ones: one of two depth counters twenty lines apart in the JSON reader could go below zero, andperch configspelled its own plural agreement beside the helper whose comment argues for having exactly one (#295) -
an eighth review, closed at the door rather than at the site (ADR an-invariant-gets-a-door). An Account's address carrying a control character — which every published Perch accepted,
probe::read_identity's whole rule being one alphanumeric and an@— was refused byregistry::validate, which isload, which is every command: a registry v0.2.0 wrote answeredperch list,perch removeandperch holdings purgealike with a sentence naming the file to edit, andmigration::forwardhas no rename to offer, an address being what the Profile directory, the keychain namespace and every Alias are keyed on. Adopting a Claude Code login whoseemailAddresscarries one said "This is a bug in Perch" on every command, on a build whoseread_identityguards the organization one key away in the sameoauthAccountblock. The address is refused there now, where the block enters and a refusal costs one command rather than all of them, and one already recorded is drawn stripped (ADR nothing-drawn-is-obeyed). A Watcher told to stop read the Account it is watching anyway:observe::refreshasks the watch once per address and threw the answer away on the first, and the round's own Refresh is one address — so the only ask that reading ever made was the one nobody read.perch watcher checkon a machine already asked to stop sent four requests against two Accounts' hourly allowances before noticing, up to twelve where either needed a Renewal, which Rotates. The answer is carried out of the reading now, so a round that stopped says it stopped rather than reporting a reading that failed — which is also what stops it pacing the Back-off..claude.jsonis a fileimportalready treats as a secret — it routinely carries an API key in an MCP server'senvblock, andExport::dropwipes every copy of one — andcarry, which is the pass that copiesmcpServersbetween Profiles, held it in plainStrings:json::set_value_atbuilds each result withformat!, and a Run chains eleven of them over one file, so ten whole copies of it went back to the allocator un-wiped on everyperch run. The splice writes into a buffer reserved at the finished width and wiped on drop, asjson::sealedalready did for a whole document, and the four places that hold one of these files — the Carry, a login's, the Switch's Identity patch and Adoption's — hold a buffer that wipes. The fake Host launched a program that is not there and answered0:execrefuses one it holds no arrangement for andexec_interactive, beside it, reported a success — so every case ofperch run, of a login and of an Upgrade handing itself to an installer passed on a machine with no such binary. It was one of the nine methods the conformance table excuses, on the ground that it hands this process's terminal to a child and waits for a person; a program that is not there does neither, the real adapter failing atspawnbefore a child exists, so the table asks it now and the exemption is gone (ADR a-class-not-its-instances).perch holdings exportwrote the Export inside Perch's own home when asked to: the refusal that stops it lived inperch holdings purge, which is one of the two doors onto the same write, and the Purge then deletes that directory whole — so a backup taken deliberately today went with the Holdings it is the only copy of, and the command that offered to write one first was never offered again because the file was already there. The refusal is beside the write now, so both doors carry it.perch upgradeon an Installer Installation reached through a link answered that the binary was placed by hand and refused to write over it, naming Perch's own path and the installer's directory as if they were two places:current_execanonicalizes,home_dirreads$HOMEverbatim, and the two were compared as text — so a$HOMEor a~/.localthat is a symlink, which is what a dotfile manager makes, took the Channel away and reported"channel": nullto--check --json. The comparison askshost::is_the_same_placebeside the spelling now, which is the door that already follows every link on both sides. The Watcher's Back-off was told a round had spent by a constant true at the last two of its sites that turn on the question: a live Credential that has expired and carries no refresh token is a fact about a file, and a.claude.jsonnaming somebody else is another, so a Watcher on a machine in that state doubled its wait to twenty minutes over four rounds that sent nothing — and sat out the rest of it after theperch reloginthat fixes it. Both readBecausenow, which is the type that already names the difference. And the door that strips a value nobody chose was at the writers that lay out a column, which is a table and a labeled block and nothing else Perch writes: the planperch statusdraws stripped was written raw into the remark adoption prints on the first command anybody runs, and so were theclaude --versionevery probe refusal quotes, a key out of Anthropic's usage reply and the pathperch watcher statusreads back out of the installed unit. The three writers that write a sentence —commands::say, the Host port'snoteand the refusalmainprints — ask for themselves now, through the same strip keeping the newline that is Perch's own;--jsonis untouched,say_jsonwriting its own line (ADR nothing-drawn-is-obeyed) (#294) -
three shapes a seventh review found, closed at the door rather than at the site (ADR an-invariant-gets-a-door). The two a user meets:
perch listandperch statusdrew three values nobody chose exactly as they held them — a Quota Window's name, which is whatever key Anthropic's usage reply carries autilizationunder; an Account's plan, offsubscriptionTypein a Credential file; and an organization name, whichprobeguards where Claude Code's.claude.jsonis read and nowhere on the registry path, so an Import or a hand edit walks past it. A window named$'5-hour\u001b[2K\u001b[31mALL QUOTA GONE'was accepted bysaveand byloadand drawn raw, which is the harmvalidate_namerefuses a control character to prevent — on the three values with nobody to refuse for them. Text on its way to a terminal is now aShown, which takes out whatever a terminal acts on rather than draws, and the three writers that lay out a column take one instead of a&str, so a new column does not compile until its value has been asked. It strips rather than refusing, because refusing a value Perch itself wrote down refuses atloadand takes every command with it;--jsonis untouched, serde having already escaped the character as something a parser wants and a terminal draws (ADR nothing-drawn-is-obeyed). And a Run whose Profile is the Default Profile under a second spelling — a Profile directory linked at it — reconciled that directory into itself entry by entry: the early return meant to catch it compared paths, and a directory reached through a link has a spelling sharing none of its components, which is the one comparison in that function not made on a resolved pair. Everywhere but Windows the Run was refused naming the person's own file as the obstruction; on Windows a share is routinely a hard link, sosettings.jsonwas deleted and the Run reported success. Underneath: the Watcher's Back-off was told a round had spent nothing by a constant true at two of its three call sites, the third being reached after a reading has gone out and Anthropic has turned a live access token away — so aclaudesession left open beside an Account Anthropic refuses held the loop at its first step for ever, one refused request every 2m30s against the 28-30 an hour that endpoint allows, where four rounds should have taken it to twenty minutes. The line that round printed said the access token had expired, on a Credential with months left. Both are now read offBecause, which had already named the difference and was reaching only one of the two refusals that turn on it (#293) -
the shapes six deep reviews kept returning, closed at the door rather than at the site (ADR an-invariant-gets-a-door). Two of them a user meets. A Watcher whose watch is taken over part way through a candidate burst now stops reading there: the burst is one read per candidate bounded only at thirty seconds, and the takeover was noticed only once it had finished, so a displaced Watcher went on spending an hourly allowance that does not refill early on a decision the Watcher that displaced it was already making. And a stop arriving between two rounds now ends the loop at the top of the next one rather than after it. The mechanisms behind them:
renew,still_heldandasked_to_stopwere asked apart at nine points and five consecutive reviews found a long step running between two of them, so one call asks all three andobserve::refreshtakes it instead of a bare renewal; a buffer holding a secret is aSecret, which wipes what it grew out of, so the width a caller counts is an optimization rather than the thing standing between a refresh token and freed heap, which is what five reviews found it could not be; a containment guard goes throughhost::is_inside, which follows every link on both sides and decides once what a path that will not resolve counts as, andPath::starts_withis refused byclippy.tomleverywhere else; and the step forward from a version 1 registry is asserted over the name space every published Perch accepted rather than over the spellings somebody wrote a case for, which is the shape that appeared in all six reviews (ADR a-class-not-its-instances). The Host port's conformance table asked twenty-three of its forty-three methods and now asks thirty-four, with the nine it cannot excused by name and a test that refuses a tenth — a fake that answers what no machine answers is the finding that hides the others, and it appeared in five reviews of six (#292) -
a deep review — an Import that stopped and deleted a Credential it had never written, a Run that filed what one Account spent in a directory under another Account's name, and a Watcher killed mid-takeover that wedged the watch for twenty-five minutes with nothing watching, and twenty-six more. The ones a user meets: an Import records what each Profile is going to get before it tries to write it, so the Account it stops on was undone as though both writes had landed — and
store_credentialleaves whatever the store held when it fails, so on a directory that was already on the machine the undo forgot both stores and removed the.claude.jsonbeside them, which is somebody's live refresh token and a file routinely carrying an API key in an MCP server'senvblock. Carry is a named set because.claude.jsonholds figures read for one Account beside state belonging to the person, and theprojectsentry for the current directory was the one thing that crossed whole — soperch runin a directory the previous Account had worked in wrote that Account'slastCost, token counts and session id under the address of the one being launched. The claim that says which process may clear an abandoned lock is held across two syscalls and went stale on the lock's window, which for the watch lock is twenty-five minutes, so a Watcher killed between them left every later takeover refused as held. Three things a registry v1 could hold: a Group only an Account claimed was carried through unrenamed, andloadthen declared the very namevalidaterefuses — every command gone,perch group renameandperch holdings purgeamong them; two names this build folds together but v0.2.0 did not got two new names and then both took the first one, losing a Group's Settings and moving its Accounts; and twocheckskeys landing on one let byte order pick which Cooldown survived, so a record from January could beat one from August and free the next Check to Switch at once. A Switch the machine turned away — a client against the outgoing Profile, or Claude Code holding its own lock — rested 150 seconds and read every candidate again, twenty-four bursts an hour against the 28-30 Anthropic allows, which is the cost nowhere-to-go already rests fifteen minutes to avoid.perch holdings purgecounted a.DS_Storeunderprofiles/as a Profile it cannot name, and told anybody whose registry merely names no Account that the file is unreadable, in the one command nothing undoes; aC:\…path typed at its Export prompt was judged relative and joined onto the current directory, because rootedness was asked of the platform the build runs on rather than the one the machine is; and a report that failed part way left the Holdings gone and the Export that holds them named nowhere.perch holdings exporthad the same gap: the bytes land before the command says where, so a terminal that went away in between reported a write failure about a file that is there, and running it again is refused for the path being taken.perch --versiondiscarded both its write and its flush, soperch --version > fileon a full disk exited 0 with an empty file; every other failed output now says whose write it was. A Profile a Run brought back — deleted by hand, orPERCH_HOMEmoved — was created at 0755 and Captured into, because the claim that records the Run comes before Reconcile and made the whole chain; and a Profile whose Credential would not go down at all was left on the machine,profile::createbeing outside every caller's undo.perch list a@example.com,perch config getand the threeperch groupverbs answered an Account Perch holds with the rule about why Group names cannot look like addresses. The all-exhausted answer said "N of them cache no reset time" of Accounts that cache one — and "1 of them cache". A note about what a failure left behind landed insideProbeRefused's parenthetical, mid-sentence, which is the variant a Switch raises after the Credential has already moved and the note is the recovery instruction. Andlanding, the top-level key both--jsondocuments have always carried and the only thing that explains a nullactive, is in the guide. Underneath: three buffers holding a live refresh token — the renewal body, theBearerheader and the renewed Credential — reserved off their literals alone and abandoned prefixes of the token on every doubling, whichZeroizingdoes nothing about; the fake answered a rename over a directory and an unlink of one as done, read a name under a linked directory as absent, and answered a request after any delay however longcurlwould have waited, so nothing could show that a bound bounded anything; two conformance cases made a symbolic link without asking whether the machine makes them, which reddens the suite on Windows without Developer Mode; and one place now resolves a link's target, walks the tree for the two text suites, spells the sentence a held round says, takes a Service's unit back and opens the registry for the two reading commands, while three exported functions that reach nothing and one disjunct that can never decide are gone (#291) -
a deep review — a Reconcile that linked a Profile into a directory holding it on every Run, a Watcher that read candidates for five minutes after being told to stop, an Export a Purge offered carrying a token Anthropic had already retired, and twenty-six more. The ones a user meets: the guard against linking an entry that contains the Profile resolved one hop of one side, so a
PERCH_HOMEreached through a symlink spelled the Profile a second way, neitherstarts_withheld, and the Run linked Perch's own home into the Profile under it — kept bysweep, re-established every Run, and recursive to anything walking it.perch holdings purgeoffers an Export and then destroys the Holdings, and that offer skipped the Landing settlementperch holdings exportmakes: under a Switch that died after the Credential moved, every Credential was gathered out of its own Profile, and the Account being left holds the copy a Rotation retired — so the one artifact that makes a Purge survivable carried a token that does not work. ASIGTERMwas answered in one place, after the whole candidate burst, sosystemctl --user stop perch-watchran up to three hundred seconds against a thirty-second grace and ended inSIGKILL, which runs noDropand leaves.registry.lockand.watch.lockon disk — every otherperchwaiting out the registry's window and the next login's Service waiting out the watch's twenty-two and a half minutes. Every failed reading paced the Back-off, including the three that never reach Anthropic: leaveclaudeopen overnight and four rounds take the Watcher's wait from 2m30s to twenty minutes, bought by rounds that sent nothing.validate_namerefuses a control character because "a name a terminal reads as an instruction is one every later listing obeys", and askedchar::is_control, which isCcalone — soperch group add $'\u202egpj.exe'was accepted and reversed everyperch listrow it was drawn on, and a zero-widthworkwas accepted beside theworkit is drawn identically to.perch addoffered the login's organization as a Group default without asking the shared namespace, so an organization matching an Alias you hold was offered, refused, and offered again on every Enter for ever. A reset one minute past a day readin 2d, and14:29 UTCread(in 3h): a wait rounds up, which is right, but it rounded a whole unit and was printed beside the clock time it counts to — waits now carry the remainder,in 2h29mandin 1d1h.perch removeon the last active Account saysperch switch <target>makes one of the others active, and the bareperch switchthat followed answered "Runclaudeand log in", the answer for a machine holding nothing.perch upgradeon Homebrew resolved the newest Release from GitHub — which that Channel refuses to be told and works out itself — so 60 unauthenticated requests an hour, a shared address or no network stopped an Upgradebrew upgrade perchwould have made.perch watcher status --jsonreported"log"as a path beside"installed": false, so a script tailed a file nothing writes. A Group whose only non-candidates share a Profile said "No Account in Groupworkis a Cycle candidate ()" and "Reserve: none — no Account here may be Cycled to ()", while--jsoncounted them. Aperch holdings purgethat finished never said where the Export it had just written went, though every other way out of the command does. A stray0.jsonin asessionsdirectory made a Profile Live for ever — pid 0 is the kernel to macOS, so its start time is older than every session, and every Switch, Capture and Renewal against that Profile was refused with no client to quit. Twocheckskeys folding to one Group letBTreeMaporder pick which Cooldown survived, so a record from January could win and the next scheduled Check Switch at once. A Watcher asked to stop printedreplaced, the word for one that was not. Tightening a Credential's mode opened withO_NOFOLLOWand notO_NONBLOCK, so a FIFO under a sharedCLAUDE_CONFIG_DIRhungperch statusfor ever. A registry Perch would not step forward named a field and no file to put it right in. A Switch that could not patch the Identity claimed the Credential "was recorded as such" a step before the recording, contradicting the note the failed recording adds. And a renewed access token's expiry was measured from when the reply arrived rather than from when the server issued it, quietly spending the sixty-second margin on the round trip. Underneath: the rotated refresh token was copied out of theZeroizingbuffercurl's output is taken into and freed un-wiped, the one buffer on that path nothing covered; the fake removed a path it had written somewhere else and wrote a file over a directory, both states no machine produces; the conformance table gained the half of the port a&dyn Filesystemcannot be asked; the shared-Profile scan cost 2n² string allocations for aperch list; four copies of one refusal and three unreachable branches became one each; and the ADR pinning the Export's scrypt ceiling said 22 where the code says 20 (#290) -
a deep review — a Group name every published Perch accepted that left the machine with no working command, a Renewal that logged out the session holding the live Credential, and thirteen more. The ones a user meets: the control-character rule added to
validate_namehad no matching step forward, so a Group or Alias carrying an escape — which every v0.2.0 accepted,char::is_whitespacebeing false forU+001B— came forward to a build that refuses it, and the refusal took every command with it,perch group renameandperch group removeamong them. During a Landing neither Account is settled, so the Default Profile was on no Account's list of places a client could be holding its Credential from: withclauderunning against~/.claudeand the stored copy expired,perch status --refreshRenewed, Anthropic Rotated, and the session's refresh token was retired mid-task.perch group add spare > /dev/full— or into a closed pipe, Rust ignoringSIGPIPE— exited 1 with a bare OS error while the Group was declared, so a script branching on the code retried and got a conflict against its own change; every shape-1 command was affected. A Cycle could choose an Account whose Profile another shares, and theConflictevery Switch guards that door with is not among the failures a Watcher's loop survives — under systemd'sRestart=always, five restarts and the unit isfailed. Aperch holdings purgeanswered with a bare filename wrote the Export beside the working directory and, where that was inside Perch's home, deleted it moments later without mentioning it — the relative half of a hole whose symlinked half was closed last review.perch holdings importrefused a file over a Check it discards on the way in, because it validated what arrived whereloadnormalizes first.perch run "it's" -p hioffered a line that hangs a shell on an open quote, andperch run "my alias" --resumeone that re-refuses — the target was the only word on the suggestion not quoted for a shell. AnorganizationNamecarrying a\roverwrote theperch statusline it was drawn on, the address beside it being guarded against exactly that. A listing narrowed to an empty Scope withheld the Switch-in-flight warning thatperch list,perch statusand its own--jsonall carried. A~/.claude.jsonor a lock artifact whose modification time no clock wrote — a restored archive, a sharedCLAUDE_CONFIG_DIR— aborted the process rather than being reported,chrono'sFrom<SystemTime>panicking where the Host port promises aResult. A rotated refresh token was freed un-wiped on the one reply shape Perch cannot use. Andperch --helplistedrunabovelistandswitchabovestatus, solistwas to be found betweenremoveandswitch. Underneath: the fake put the macOS keychain dialog in front of writes only, where a read raises it too;utilization::lines_with_resetswas reachable from its own tests and nothing else; a citation was broken across two lines, so no grep for the slug found it; and two declaration comments stopped mid-clause (#289) -
a deep review — a Remove that could land you on an Account whose Credential is not its own, a Windows Watcher that never ran at all, a Purge that deleted every login while reporting it held none, and twenty-one more. The ones a user meets:
perch removeon the active Account picked its successor oncycle::is_a_candidatealone, so it could land on one of two addresses that slug to the same Profile directory — they share one Credential Store, so whichever Credential is in it is what a client runs as while Perch and Claude Code both display the other, and nothing afterwards can tell them apart.perch switchonto that Account is refused;perch removeonto it was not, becauseswitch::make_liveis a second door into the same sequence and carried none ofperform's guards. On Windows the Scheduled Task's command line began at a quote and carried four of them, which iscmd /c's documented "strip the first quote and the last" case: the>>ended up inside a quoted run, so it was text rather than a redirection and the whole line parsed as one command name — every logon the task failed to find a file whileperch watcher statusreported it installed.perch holdings purgethen deleted the Holdings without ever asking whether that task was gone, because the one platform whereschtasks /Queryis the only available answer was the one the guard skipped; at the next logon the still-registered task adopted the machine's Claude Code login into brand-new Holdings the user had just given up. A registry that would not parse was purged as an empty machine: the consent prompt said "Perch holds no Accounts here" and the closing report said the same in the past tense, while three working keychain logins were deleted between them. A machine whose v0.1.x registry held a Group calledUngroupedcame forward with a Cooldown under a key no Check writes, so the first scheduled Check to Switch built a registrysaverefuses — after the Credential had moved — and then Switched again, and again.perch group add $'\x1b[31mred'was accepted and written raw into every laterperch list, moving the columns and bleeding color into the terminal; so was an Account address carrying a newline, which splits one row in two.perch list --jsonandperch status --jsonaborted with a bug report on aHOMEholding a byte that is not UTF-8. A killed Watcher left the machine unwatched for 37 minutes against a staleness window of 22 and a half, because waiting out its own lock was paced by a doubling Back-off; a Quarantined Account paced the loop down the same way, so aperch reloginthat repaired it waited up to 20 minutes to take effect; and a candidate burst on a flaky endpoint could outlast the watch, at which point aperch watcher checktook it over and the healthy Watcher exited. An Import rolled back destroyed a Credential it never wrote, in a Profile it found already there. An Export whose scrypt header claimed 22 made an Import ask for four gigabytes before the passphrase could be doubted. The Export's version floor was the registry's, so the day a v1 registry stops being readable every Export ever written is refused as a version nothing wrote. An Export written to a path that reaches Perch's home through a symlink passed the guard and was deleted moments later by the Purge that offered it. Acurlthat failed partway dropped a rotated refresh token to the allocator un-wiped, and the access token quoted for every request went back in five copies noZeroizingcovered — as did prefixes of every Credential written to the macOS keychain.perch watcher checkpromised "Looking again in 15m00s" on a line printed by a process about to exit. And the fake Host invented a directory over a regular file, so every private write in the tree passed a test the real machine fails withENOTDIR(#288) -
a deep review — an Export that wrote a stranger's refresh token under your address, a Watcher that Switched minutes after being told to stop, a
checkskey that bricked every command, and seventeen more. The ones a user meets: on a machine whose Claude Code has been uninstalled,perch holdings exportguarded the live Credential behind an Identity it never read — the guard ran the version probe and the read in oneand_then, so a missingclaudefailed at the probe and the.claude.jsonnaming somebody else went unconsulted, and the stranger's refresh token traveled under the active Account's address while its own good copy sat unread. ASIGTERMwas read in exactly one place, the wait at the bottom of the loop, so a Watcher told to stop as a round began ran the whole round — up to six requests per Account at thirty seconds each, plus one such Refresh per candidate — and then Switched, with the service manager'sSIGKILLlanding wherever it had got to, including between the Credential write and the Identity patch. A registry holdinggroups: {"work"}andchecks: {"Work"}loaded perfectly well and then madeperch group removeandperch group renamepermanently impossible, becausevalidatefolds that key and the two mutators removed it byte-exactly — under a message saying the fault was Perch's.perch group add ΟΔΟΣthenperch config set οδος …said no such Group: the character-at-a-time fold does not write a final sigma the waystr::to_lowercasedoes, and the test beside it asserted the two agreed. A registry Perch could not read refusedperch holdings purge, which does not read one — andperch holdings importrefuses the same machine, so on macOS the only way off it was anrm -rfthat orphans every keychain item. A rolled-back Import took the Credential back out of a Profile it found already there and left the Export's.claude.json— which carries an API key in an MCP server'senvblock — at a path nothing afterwards names. An Export's.claude.jsonfor an Account holding no Credential was validated on the way in and then dropped, so exporting a Quarantined Account and importing it made the next Export smaller.perch status --jsonwrote nothing at all on a registry settled on nobody, whereperch list --jsonon the same machine renders a whole document. A secondperchtaking the registry lock while a passphrase was being typed exited 1, the code for "this will fail the same way for ever", where the sentence said "run this again". A Check recorded under a clock years fast cooled its Group until that clock came round, with no command that clears the record.perch list <alias>offered aperch group add <alias>the next command refuses, andperch group rename work workreported a rename.PERCH_HOME=""had Perch read and write the Holdings from the working directory. A Check displaced by another Watcher exited 15 rather than 20. And the step forward from version 1 lost three things — an Account claiming its Group in another case, the Ungrouped Scope's Cooldown where a Group was calledungrouped, and a non-booleanenabledthat put a disabled Account back into Cycling (#286) -
a deep review, in the parts a user does not meet — every buffer on the network path, three answers the fake gave that no machine would, and the cost of asking a current registry whether it needs migrating. Perch wipes a Credential everywhere else and did none of it where the tokens actually arrive: the
curlconfiguration holdingAuthorization: Bearer …and, for a renewal, the refresh token outright; the reply buffer holding the rotated refresh token; the serde tree parsed out of it; andformat!("Bearer …"), built twice per Account per Refresh. All four areZeroizingor wiped now, andhex_decodereserves at full width the wayhex_encodealready explains. The fake resolved no relative symbolic link, so a~/.claude.jsonmanaged byln -s, stow or chezmoi was a state no behavior test could express;set_filegave a file no modification time, socarry's ranking of Profiles by age saw every candidate as never used; andkeychain_setaccepted service and account namessecurityrefuses, though the account name is$USERverbatim. Two are now conformance cases, asked of both adapters.migration::forwardbuilt aserde_json::Valueof every Account's cached Utilization before looking atversion, twice per invocation, to answer "nothing to do" — 165ms to 57ms over 2000 calls on a 40-account registry. Andsystemctl --user daemon-reloadwas driven before the unit file was deleted, so systemd went on listing a unitperch watcher statuscalled gone -
a deep review — a Group name a shipped Perch accepted that refused every command including the two that repair it, a Watcher that switched after losing the watch, a rolled-back Import that left a Credential nothing names, and eighteen more. The ones a user meets:
perch group add global,perch group add -devandperch alias someone -wwere all accepted by v0.1.0, v0.1.1 and v0.2.0, and this build's rules refuse them invalidate— whichloadruns and every command goes through, soperch list,perch group renameandperch holdings purgeall exited 14 saying the name was one "Perch would have accepted", of a name Perch accepted. The step forward renames them now, moving the declared Group, the Group an Account claims, the Check keyed on it and the Alias together, and saying which. A Watcher whose burst of candidate reads outlasted the 22.5-minute staleness window went on to Switch under a watch another Watcher had taken over. Asessionsmarker holding ani64::MAXstartedAtwrapped a Live Profile into "nothing running", so a Capture could land under a running client. A rolled-back Import left the Export's Credential in a Profile it had found already on the machine and did not name afterwards. An Export holding a.claude.jsonfor an Account it does not list was restored as nothing, under a report saying the file came back whole. Twocheckskeys differing only in case let the Watcher read its Cooldown off the record nothing keeps, and Switch inside the fifteen minutes. A registry claiming a version aboveu32was reported as a corrupt file to hand-edit rather than as the newer Perch it is. A Purge that lost its hold after deleting every Credential said "Nothing was given back". A Scope whose every cached reset had already passed was told no reset was cached. A reset 2h29m out read asin 2h, the one direction a wait may not round.perch group rename nosuchgroup workexited 13 naming the Group that exists rather than 12 naming the one that does not. Asking whether the watch was held took the watch to find out, and could leave it taken for 22.5 minutes. A.claude.jsonPerch could not parse was refused by quoting the value it tripped on, into--jsonas well as to a terminal. APATHelement meaning the working directory could name thenpm,breworclaudea command runs. A header name could carry the newline its value was checked for. A Homebrew whosebin/brewhad gone failed to run it rather than namingbrew upgrade perch. A Renewal freed the token it retired without wiping it. And a Watcher with nowhere to go re-read every candidate every 150 seconds for as long as that lasted — twenty-four reads an hour each against the 28-30 Anthropic allows — where it now rests for the Cooldown and says on the line that it is doing so (#285) -
a deep review — a registry brought forward that dropped what it could not read, a Check that refused every command, an access token handed to whatever
curlwas in the working directory, and sixteen more. The ones a user meets: a version 1 registry holding a field of the wrong shape was carried as an empty one — a Group's Settings reverted to this build's defaults, a Cooldown gone — under a note saying nothing was lost, and is now refused naming the field, with the file left as it was. A registry recording a Check against a Group only an Account claimed was refused by every command includingperch holdings purge, becauseloadjudged it before the line that repairs it. A Credential of a shape Perch does not understand was refused by quoting the token in it, to the terminal and into--json. A Switch guarded the Profile it read from and not the one the Capture writes into, so switching off one of two Accounts sharing a Profile destroyed the other's Credential. An Export that stopped partway freed every Credential it had already read without wiping it. APERCH_HOMEorHOMEholding//or a.had Perch hand Claude Code one spelling of a Profile's path and derive the keychain namespace from another, so a login that worked reported "The login did not complete". A live Credential nothing accounts for named two repairs and neither one clears it. An emptyPATHelement let theAuthorization: Bearerheader go to acurlin the working directory. An empty%LOCALAPPDATA%madeperch upgrademisreport why it could not name a Channel. And the Windows installer pointed at a guide that is not in the tree (#284) -
a terminal too narrow for the
Statustab cut a figure's age off, half an email address off a row, and a key hint in two — the tab now breaks between words and between columns instead (#153) -
a registry written by v0.1.0, v0.1.1 or v0.2.0 came back as a serde error about an unknown field. Those three stamped
"version": 1and the shape moved to 2 without a step between, so every registry any published Perch wrote met this one as unreadable — on a file Perch itself had written. It is now brought forward on the first run that finds it: the active Account, whether Cycling may choose an Account, what each Group declared and what it Inherited from Global, and the Ungrouped Scope that Global became. What a Group inherited is read out of that registry's own Global rather than out of this build's defaults, so a threshold somebody set is the one that arrives, and an Account that was disabled stays disabled. Said once on stderr on the run that rewrites the file, and nothing on stdout moves. The same step runs on the registry inside an Export, so a backup taken before this build imports; an Export or a registry from a newer Perch is refused as it always was, and a registry claiming a version no Perch has written —0, or none — is now refused rather than read as though it were current, on disk and inside an Export alike. A document stamping one version over another's shape is refused too, rather than read past (#266) (#283) -
a repair whose landing could not be recorded said that it had (#301)
-
the tab shows the icon, and the front page is titled once (#237)
-
a deep review — a Renewal that never asked about a shared Profile, a Purge that read an unreadable directory as empty, a passphrase nothing wiped, and thirty-two more (#228)
-
a deep review — a Purge that renewed no hold, a relogin whose terminal went away, an Export that dropped a Credential to capitalization, and nine more (#222)
-
a deep review — a Switch that renewed no hold over its slowest step, an upgrade that ran whichever powershell the directory held, a clock step that dismissed a live client, and twenty-four more (#221)
-
a deep review — a Landing resolved with no locks held, a chmod that followed a link, a Purge that deleted under a live Watcher, and nineteen more (#220)
-
a Refresh mid-Landing spent the wrong Account's token, and seventeen more the sweep turned up (#219)
-
a Watcher never renewed the watch, and an Export mid-Landing filed one Account's Credential under another's (#218)
-
a deep review — a rejected token nothing could renew out of, a Repair that opened a browser nobody asked for, a Switch that broke ADR 0006's one invariant, and fifteen more (#136)
-
a deep review — a usage reply that hid an exhausted window, a stale Identity that cost a Rotation, a Purge's backup written beside the cwd, and ten more (#134)
Other
- a release refuses to start on a token that no longer reaches its repository (#362)
- signing is not planned, and the attestation is why (#361)
- the gate holds more than the workflow that runs fork code (#360)
- a stranger can open a pull request, and the gates are written down (#358)
- the door to the registry stops sharing a namespace with a plural (#355)
- a path that will not is one axis, not nine methods in three idioms (#354)
- a question put to somebody is one module, not five names in a namespace (#353)
- what a round decides stops depending on the order it was written in (#352)
- the ruler a column is measured with stops being a Quota Window's (#350)
- where the Holdings sit stops living inside what they hold (#349)
- a command nobody can stop has no stop to answer for (#346)
- the step stops driving what it is a step on (#345)
- the store stops reading the Watcher's pace (#344)
- the module that knows only an address stops knowing the Watcher (#342)
- the witness reaches the readings it was made for (#341)
- a registry from outside comes in through one door (#340)
- the grant is asked where the declaration already was (#339)
- a round walks its candidates once, and the reading order is a type (#336)
- a round is given the module its decisions were already asking for (#335)
- what a command that can do without Claude Code says, said once (#333)
- an Upgrade asks its Channel rather than deciding for it four times (#332)
- a deep pass for speed and memory — four quadratic terms in a listing, a Node fork every watcher round, and an error type twice the width it needed (#330)
- a front page offering an npm tag that has never existed, and six shapes the guide never grew (#329)
- a Live Profile answers for itself, and a doubt stops being a client (#320) (#321)
- a command states its flags once, where the code that reads them is (#324) (#325)
- a name rule is data the version owns, and the four spellings of it are one (#318) (#319)
- two fixture idioms stop being spelled out thirty times (#326) (#327)
- a Service manager is a thing the eleven answers hang off (#322) (#323)
- a watcher that wakes once rather than 864,000 times a day, a Run that stops rewriting a file it already holds, and four more (#316)
- the "44 through a lock" belief was asked of a machine and held (#305) (#310)
- the "44 through a lock" belief is asked of a keychain rather than assumed (#305) (#307)
- the pinned install.sh moves to the one Anthropic serves now (#302)
- the ordering ADR reopens the design it refused, against the shape that outlived its door (#297)
- (deps) bump the site-minor-patch group in /pages with 4 updates (#282)
- two clauses become a test, and a citation wants the tree in front of it (#260) (#281)
- thirteen bands from one run, and a measurement is evidence or a datum (#259) (#280)
- one document from three, and the guide loses the word (#258) (#279)
- three documents from six, and a correspondence was wearing a gerund (#257) (#278)
- four documents from six, and no Channel is asked to withhold Perch (#256) (#277)
- five documents from seven, and no consumer of the port narrows (#255) (#276)
- one document from one, and how hard a file is sealed is a decision (#254) (#275)
- six documents from fourteen, and the surface count is twenty-six (#253) (#274)
- three documents from six, and no citation reaches a person (#252) (#273)
- three documents from four, and what makes a reading usable is written down (#251) (#272)
- two documents from three, and the Watcher's numbers are in one place (#250) (#271)
- four documents from seven, and the Landing's argument leaves the code (#249) (#270)
- four documents from six, and the Account model's comments earn their place (#248) (#269)
- every citation names a slug, and 616 of them name a different document (#247) (#268)
- 36 ADRs take the slug a citation can carry (#262) (#267)
- the Holdings outlive a Perch, and the premise every agent read was false (#242) (#265)
- all 63 ADRs are read, and the supersession banners were lying in both directions (#264)
- the npm Channel's machinery moves under packaging, with the test that makes moving it safe (#238) (#240)
- the site becomes one Starlight, landing page and guide together (#233)
- the site is rendered by one thing, and a stylesheet was never the answer to a theme (#232)
- Perch says what it did, and explains itself only when it refused (#227)
- what a thing is lives below the command that does it, and four commands were holding both (#217)
- the fake's world is held by concern, and the clock was never one (#205) (#216)
- the changelog is written from commits nobody can respell, and the gate was checking it anyway (#214)
- a command that changes only the registry goes through one door, and the ceremony was never one (#213)
- Perch writes one English, and the register it was forced into is American (#204) (#212)
- the Host port is nine named concerns and still one port (#210)
- the ordering is a type the round cannot skip, and the Back-off is charged in one place (#201) (#203)
- a Switch has one door, and the Landing is what it goes through (#200) (#202)
- the Reserve outlived the tab that drew it (#198) (#199)
- the last site of the Reserve collision is
perch disable --help(#192) (#195) - a gate asks for consent, and drift was never what it caught (#171) (#190)
- four commands move onto their nouns, and
holdingsgets a name (#164) (#187) - the watcher's numbers are arithmetic, and only the threshold is a preference (#186)
- the binary is driven to prove its surface, and never the behaviour behind it (#155) (#185)
- a suite is named for what it asserts, and where a test lives is written down (#184)
- a hostile terminal width loses nothing load-bearing, and it was losing plenty (#183)
- a real machine proves Perch by being used, not by a suite (#182)
- a command is named for what it does in every case, and the thing acted on comes first (#181)
statusis about one Account, and every set was already the listing (#179)- a reversal is its own command, and the state it restores has no name (#176)
- a Setting is said about the Scope it governs, and the case for Overrides never defended the fallback
- a gate asks for consent, and drift was never what it caught (#172)
- Perch does not draw, and the ranking belongs to the listing (#170)
- a Switch is written down before it moves anything, and the Landing is what it writes (#168)
- a command names the noun it is about, and the Account is the one left unsaid (#163)
- the Watcher's numbers are arithmetic, and only the Threshold is a preference (#162)
- a suite is named for what it asserts, and the ratio was never the question (#159)
- the binary is driven to prove its surface, and never the behaviour behind it (#157)
- a sentence is asserted by the claim it makes, not by whether it changed (#154)
- the TUI does not write, and reversibility was the wrong line (#152)
- the Dogfood suite does not earn its keep, and a real machine proves Perch by being used (#149)