Skip to content

Releases

v0.3.9

Choose a tag to compare

@github-actions github-actions released this 24 Sep 17:49
ed33e00
  • perch wizard organizes what Perch holds one question at a time: what you
    hold, more Accounts, each Account's Group, each Scope's Settings, and the
    Watcher as a Service. Enter keeps what is there, so a run that keeps every
    default changes nothing, and a step that changed something prints the
    command that does the same on its own. Steps land as they are answered, so
    Ctrl-C keeps what was done. Without a terminal it refuses and lists the five
    commands. The first perch status on a fresh machine now points at it
    (#441)

Changed

  • Perch says the verdict and the next command, and nothing else. Every
    refusal is at most two lines: what Perch declined, then the command that
    gets you past it. What a Switch did with the Credential it was leaving is no
    longer narrated unless you have to act on it, a success line names no file
    path, and --help describes each command in one line and leaves what
    happens when you run it to the Guide. Exit codes, --json documents and
    every command and flag are unchanged
    (#440)
  • The Guide says what to type. Every section of the nine task pages now opens
    with a transcript taken from this build, and the prose beneath it says what
    is on the screen, what to do next, and what Perch will not do. Why Perch
    behaves as it does has left the Guide for the decision records that already
    argued it. watching.md went from 220 lines before its first heading to
    four sections, and the Guide as a whole from roughly 19,000 words to under
    11,000. The pages, their URLs and the commands they describe are unchanged
    (#439)
  • Perch is licensed under the GNU General Public License, version 3 or any
    later version, where it was MIT OR Apache-2.0. Whoever receives a changed
    Perch receives its source too, and one additional term reserves the Perch
    name for the version this project published. Every archive now carries
    LICENSE and ADDITIONAL-TERMS in place of LICENSE-MIT and
    LICENSE-APACHE; the binary, the commands and the JSON are unchanged
    (#438)

v0.3.8

Choose a tag to compare

@github-actions github-actions released this 03 Sep 06:39
45c9ae4

Fixed

  • [breaking] The Watcher no longer judges a candidate on a cached figure.
    A round over the threshold reads every candidate before it chooses, and one
    Anthropic refused to let it read was set aside on whatever Perch had cached
    — a two-day-old 95% for an Account a read fifteen minutes later put at 23%
    — and the round was typed nowhere. Now a candidate that could not be read
    is set aside without a figure, whatever the cache holds, and a round that
    could read no candidate at all is held, names each one and what refused
    it, and is paced by the Back-off like any other read that failed. A
    perch watcher check in that state exits 20 where it exited 17
    (#423)

  • A round that found nowhere to go paced the whole loop at the Cooldown's
    fifteen minutes rather than the 2m30s interval the guide documents, so every
    perch status in that window served a figure up to fifteen minutes old
    while the Account it reported climbed from 26% to 87%. The loop now reads
    the Account it is on at the interval whatever the round decided. What rests
    is the reading of the candidates: for the fifteen minutes after a round that
    found nowhere to go or whose Switch was turned away, and on a Back-off of
    its own after one no candidate answered. A round inside that rest says what
    the last reading found and when the candidates are asked again, and a login,
    a Group move or a Switch you make yourself ends it
    (#423)

Changed

  • nowhere and refused lines in the Watcher's log no longer end in
    Looking again in 15m00s: a wait at the interval is not news, and only a
    held line names a wait
    (#423)

v0.3.7

Choose a tag to compare

@github-actions github-actions released this 02 Sep 13:45
495768d

Other

  • a signing certificate Sigstore refuses no longer costs a release (#420)

v0.3.6

Choose a tag to compare

@github-actions github-actions released this 02 Sep 07:54
785bdfb

Changed

  • perch --version and perch -V are still refused — which Perch is installed
    is perch version's question, and there is still no second spelling — but the
    refusal now says so and names perch version, where clap's unexpected argument pointed at other flags and never at the command. And several
    --help texts now gloss Quarantine, Trail and Captured where each first
    appears, so a reader who has not met the word is told what it names

  • the Registry is a defined term now, with an entry in CONTEXT.md's
    dictionary, and everything Perch says writes it capitalized like the rest of
    its vocabulary. The file keeps its name — registry.json — and no --json
    key and nothing in an Export moves

v0.3.5

Choose a tag to compare

@github-actions github-actions released this 01 Sep 06:42
8f5c7b8

Fixed

  • The Service restart perch upgrade performs — and every install over a
    running Service — now waits for the booted-out job to leave its domain
    before bootstrapping the new one. launchctl bootout returns while the
    stopping job spends its grace, so the bootstrap straight after it collided
    with the label still in gui/<uid> and launchd refused it with
    Bootstrap failed: 5: Input/output error on every machine where the Service
    was already up. A job that has not left after 35 seconds is now refused in
    Perch's own words, naming the old Service, rather than relaying launchctl's
    suggestion to re-run as root — which perch watcher install refuses
    (#411)
    (#415)

  • The Claude Code perch watcher install writes into the unit is now the first
    claude on PATH that actually runs under the environment the unit provides —
    each hit is rehearsed with --version under the service manager's own PATH
    before it is carried. A first hit that re-resolves through the shell's PATH,
    such as a terminal app's wrapper, exits 127 the moment the Service runs it;
    it is now passed over and the install says so. When nothing on PATH runs
    there, the unit carries none and the install names the exit and the
    PERCH_CLAUDE_BIN repair. An explicit PERCH_CLAUDE_BIN still passes
    through verbatim
    (#410)
    (#413)

Changed

  • perch config set --help now names every Setting a Scope carries and the
    values each one takes, built from the same vocabulary the refusals read. It
    had named four where the binary carried six — prefer-fable and
    watcher-margin-percent appeared in no help text at all — and no value
    domain appeared anywhere, so the documented way to find out what a Setting
    accepts was to type an invalid one on purpose
    (#412)
    (#416)

  • perch config get now lays each Scope's Settings out as a page — the keys in
    one column and the values in another, each page under its Scope's name where
    the words named no Scope — rather than repeating <scope> <key> in front of
    every value. perch config get <scope> <key> prints the value alone, so
    $(perch config get work strategy) needs no field cut out of it
    (#412)
    (#416)

  • perch watcher install — and the re-install perch upgrade performs — now
    say when a claude was passed over or when none could be carried, naming the
    path, the exit, and the repair
    (#413)

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 31 Aug 11:01
c35440c

Added

  • prefer-fable is a Setting a Scope carries, off by default, and the registry moves to version 6 for it. On, the Scope's one ranking — the Cycle's, the Watcher's and the Listing's — becomes two tiers: the Accounts that can serve Fable now come first, ordered by the Fable weekly window so Fable drains evenly across the Scope before anything else is spent, and the rest follow, ordered by their fullest window that is not Fable's — so when Fable is spent everywhere, the Watcher still moves once onto the best of what remains and then holds and says so. A Strategy orders within a tier and never across one, and the landing line names the most Fable left where that is what won. The Setting keys on the 7-day-fable window by name; a Scope where it is on and no observed Account reports that window is told so by the listing and ranks on Headroom alone rather than silently behaving as if the Setting were off (ADR fable-is-spent-first) (#409)

Fixed

  • The unit perch watcher install writes now carries the Claude Code the
    install resolved, as PERCH_CLAUDE_BIN. A service manager starts the Watcher
    with almost no PATH of its own — launchd's is /usr/bin:/bin:/usr/sbin:/sbin
    — so on a machine whose claude lives anywhere else the Service held on
    "no claude was found on PATH" from its first round, while perch watcher status and perch probe reported health
    (#406)
    (#407)

Changed

  • perch watcher install now says which Claude Code the unit carries — or that
    it carries none and the Service will hold until Claude Code is installed and
    the install is run again
    (#407)

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 31 Aug 06:15
2612730

Other

  • what a wait re-asks is what was asked, because it is one value (#404)
  • a command states its orders once, at the arm that names it (#403)
  • a labeled row has one spelling, and the column does the measuring (#402)
  • where an Export lands is a value, and the value knows which refusal goes stale (#401)
  • a login is placed through one door, and the door keeps the ledger (#400)
  • how much an Account has left is one vocabulary, not a public mirror of a private one (#399)
  • what Scope a word names is derived once, and each command keeps its sentence (#397)
  • a name is claimed in one sentence, and the registry knows which checks apply (#396)
  • what is true of every secret an Export carries is written once (#395)
  • a Refresh turn builds its context once, and nine steps stop carrying it (#394)
  • the wait a round promises is the wait the loop takes, said once (#393)
  • whether a figure still stands is answered once, where the interval lives (#392)
  • the harness runs a command in one place, and a back door says why the front one cannot (#389)
  • what the Watcher says is one voice, not two files trading lines (#388)
  • a question that waits re-establishes what the wait let go stale (#387)
  • a command asks for Claude Code by what it will do, not how it may fail (#386)
  • a Viewing holds the lock a listing never sees (#385)
  • a Store is entered through one door, and the locks stay home (#384)

Changed

  • The note left when a Profile is taken back out of a directory the command did
    not make now has one wording, shared by perch add, perch holdings import
    and adoption; it no longer ends by saying the Export still holds what came
    back out, because the failure's own note already says the file can be
    imported again

  • A Watcher round whose Switch was turned away after reading every candidate
    has always rested fifteen minutes rather than an interval; its decision line
    now says so, ending Looking again in 15m00s. like a nowhere round's. The
    wait a line promises and the wait the loop takes come off one value, so the
    two can no longer differ

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 29 Aug 20:33
fe6b485

Other

  • the platform branches stay outside the port, and the rejection is recorded (#383)
  • the Setting vocabulary lives where a Setting is defined (#382)
  • an absent Claude Code is a state of Installed, not every caller's Result (#381)
  • an Import that does not finish takes its Credentials back itself (#380)
  • a Switch has one door out, and the Capture answers for itself (#379)
  • a Refresh is told who is asking, and the ask rides with the role (#377)
  • the act of a Round is one module's, and its ordering is owned (#376)

Changed

  • Perch states the verdict and the next command, and no longer shows its
    working. perch switch from the Account that is already best answered in
    forty-four words — the ranking clause the landing line had already been
    forbidden, a figure with its age, and a refresh command nobody asked for — and
    now answers in one line: you@example.com is already the best Account in Group \work`.The rule behind that reaches everything Perch says. Refusals split on whether the reader is left with anything to do: one that needs something done keeps its prose and its next command, one that needs nothing done gets the acting command's budget. *Nothing was changed* had reached nineteen sentences and now appears only where something moved, or where somebody agreed to a deletion and cannot see whether it began. A case analysis survives only where its branches end differently for the reader, which is what tells the two kinds of *it may be this one's, or that one's* apart. The Watcher's round lines lose the preambles that restated their own status column, so a hold readsheld unread — rather than repeating *nothing current to decide on, so nothing was decided* every two and a half minutes for the life of the loop. Em dashes are gone from what Perch says, except between a value and its qualifier in a labeled row, andtests/dash.rsholds that. One defect turned up in the reading: a Watcher hold whose reason carried no full stop ran it into the wait, printingnamed no Quota Window Asking again in 2m30s. No exit code moves, no --jsonshape moves, and--help` is untouched
    (ADR perch-says-what-it-did) (#373)
  • perch switch reads Utilization before it Cycles, instead of ranking on
    whatever was cached. It ranked a rival nobody had read for twenty-one hours
    against one read a minute ago and said it had compared them. An age printed
    beside a figure makes staleness obvious; a comparison hides it
  • it reads only what arithmetic cannot settle. Usage climbs within a Quota Window
    and falls when the window comes back, so a window whose reset is still ahead
    caps an Account at the Headroom it was last seen with. A candidate that loses
    at its very best is not read, which in the case above is every one of them
  • an Account that could not be read is named and its cached figure still ranked,
    so a throttled endpoint does not cost you the Switch you asked for
  • perch switch --no-refresh Cycles on the cache, for somebody offline or
    somebody who put the command where latency matters. Nothing is read for a named
    Account either way, because naming one decides nothing
  • so perch switch is slower and can hang on a dead endpoint. No exit code moves
    and no output shape changes (ADR a-choice-reads-what-it-ranks)
    (#375)

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 29 Aug 11:11
a1aaea4

Added

  • every Quota Window in --json carries the group it meters over, session or
    weekly. A per-model window is named from a display name Anthropic writes for
    a person and gives no id for, so window is a label a script should not key on
    and group is the handle beside it

Fixed

  • the profile endpoint is read where it names an Account's email address under
    email as well as under email_address. It sends the first and Perch looked
    only for the second, so the check that keeps one Account's figures out of
    another's fell back to what the machine holds on every read, on every machine.
    Both spellings are read, because a reply carrying either answers the question
    (#372)

  • a per-model Quota Window is named after its model rather than after a codename.
    Anthropic's usage reply describes the same quota twice, and Perch was reading
    the older half, where the weekly Fable window arrives under the key
    nimbus_quill and perch status printed a row nobody on the machine could
    identify. It now reads the limits array, which names the model, so that row
    reads 7-day-fable. Where a reply carries no limits array Perch reads the
    older half as before
    (#371)

  • a Marker written before the machine last started stops holding a Profile. On
    macOS and Windows the operating system will not say when a process owned by
    another user began, so a Marker left behind before a reboot — beside a low pid
    the boot handed to a system daemon — could be neither corroborated nor
    dismissed, and refused relogin, remove, purge, holdings import and a
    Switch's Capture until somebody deleted the file by hand. A session does not
    outlive a reboot, and the boot is one question no permission stands in front
    of. A Trail start from before a reboot is read the same way
    (#368)

  • no figure is filed against an Account nothing says the Credential belongs to.
    Where Anthropic's profile endpoint stops naming an email address, the check
    that keeps one Account's figures out of another's used to remark on the drift
    and pass everything through — for every Account, on every machine, until Perch
    was taught the new shape. It now falls back to what this machine holds: an
    Account's own Profile is one only Perch writes into, and the live Credential is
    vouched for by the Identity beside it or not at all
    (#369)

  • (triage) a report arrives labeled whoever filed it (#367)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 15:04
ea15fd1

Added

  • perch triage is 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, and perch probe had 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.txt with the real email addresses and paths, which is what the agent investigates from, and probe.txt with 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.md beside 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 running perch holdings purge or perch holdings import as a fix, and it puts an offer of perch holdings export in front of anything that touches the Holdings at all. It also tells the agent to fetch its own newer self from main and 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 from PATH rather 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. --model passes a model through untouched and nothing is passed by default; --raw writes 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 the Agent-filed report template and carry the filed-by-agent label (ADR a-triage-hands-over-evidence) (#357)

  • perch probe is 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.log on macOS and Windows, the journalctl line 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; --raw prints 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 exits 0 whatever it finds — --json carries the same answers as keys, with null where 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: a perch switch that hangs on a keychain dialog or takes a Ctrl-C leaves nothing at all, where an unpaired start line is perch probe saying 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 run is 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 to trail.log.1 once 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 refuse perch switch is 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 --json now carries any_scope_may_act beside installed and running. 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 read installed: true, running: true on a machine where it would never Switch anything. true where some Scope has said the Watcher may act on it and has Accounts it may Cycle between, false where none has, and null where 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-percent is a Setting a Scope carries, beside watcher-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. 0 is 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 get gains a watcher-margin-percent line per Scope, which a script reading that output as the set that restores it will see (ADR a-watcher-knob-is-arithmetic) (#331)

  • perch list --refresh --json and perch status --refresh --json now carry refresh.not_kept beside refresh.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. null where they were kept

  • perch list <group> and perch list ungrouped now 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 wh...

Read more