- Add a bundled skill and guide for governed Orca delegation through Brigade, including replay-safe starts and recovery for Orca 1.4.269.
- Add
brigade fleet campaign complete KEY [--repo R] [--evidence REF]...andPOST /work/items/<id>/completionsso an operator can complete a campaign member or, once every member is terminal, the campaign item. The completion walks the existing lifecycle edges in one transaction and records the path and evidence. - Refuse a campaign completion with
campaign-incomplete(409) from inside that same write transaction, so a member added concurrently cannot be missed, and refuse a re-create of a terminal campaign withcampaign-closed(409) so a finished campaign cannot gain members. - Refuse a non-array
evidence_refswithfield-boundinstead of reading it as no evidence, and stamp every step of one completion with the same timestamp. - Raise the Worklore import body limit (
POST /work/imports) from 1 MiB to 5 MiB so a contract-shaped 500-observation batch (about 4.27 MB) is accepted. Other Worklore routes keep 256 KiB, and bodies above 5 MiB still return HTTP 413 with the same error shape (#1738). - Filter
list_cloud_leasesactive rows and the Grok Bot deck projection in SQLite instead of fetching whole tables, with identical rows and order (#1738). - Stop the Hub boards from linking to a
nextpage beyond the maximum offset: a page at offset 1,000,000 no longer emitsoffset=1000200(#1738). - Windows cancellation now terminates registered children through their owned job objects instead of a recycled pid, and an exited leader is never passed to taskkill. An adopted dispatch child on Windows has no verifiable identity, so cancellation now refuses it with a retained claim instead of taskkilling a possibly recycled pid.
- Stop
brigade init,brigade reconfigureand--forcefrom overwriting an installedSKILL.md. Init writes only a missing one. A copy that differs from the bundled template is kept and the new text is filed once per destination as a skills inbox proposal, labellededitedorpristine-stale, with a stablebrigade://bundled-skills/<id>@<version>source. A symlinked, junctioned or FIFOSKILL.mdor parent directory is left alone with no proposal. The destination is walked and created through a held directory descriptor, so a parent swapped mid-run cannot redirect the write. A CRLF copy compares equal to the LF template. - Add an optional
dedupe_keyandprovenancetoinbox_addso a repeated filing returns the existing proposal id with its original exit code instead of a duplicate. Record eachSKILL.mdinit writes in.brigade/skills/wired.jsonunder the skills mutation lock, keeping a copy of an unreadable file instead of dropping its records. brigade reconfigure --prunenow warns about eachSKILL.mdunder a pruned harness directory that differs from the bundled text.- Publish a new
SKILL.mdatomically (fsynced temp sibling, then a no-replace move under the held descriptor), so a failed or interrupted write leaves no file rather than a truncated one that later runs keep asedited. A permission, read-only-disk or I/O error on one skill is now a kept outcome with a warning naming the path and errno; the other skills, thewired.jsonrecords and the rest of init still run.brigade doctorpoints a keptstale skillatbrigade skills inbox listwhen init filed a proposal for it. - Bound spool poison isolation when the hub rejects every event: single rejections are held until an accepted event proves the hub works, and four consecutive rejections with no acceptance leave the batch queued and report a hub fault. A single poison event at the head or tail of a batch is still isolated, and a transport failure never drops an undelivered event (#1846).
- Ingest no longer skips an untracked handoff on a case-sensitive filesystem just because a tracked handoff in the same inbox differs from it only by letter case.
- Keep the fail-closed comparison when an indexed name or file identity cannot be confirmed, including a case alias deleted and recreated during the check, and on filesystems that alias case spellings.
- Retry a failed metadata redaction when identical generic JSONL input is re-ingested, refreshing the quarantined row in place when the scan now succeeds and keeping the quarantine when it still fails.
- Bind the retry to an HMAC digest of the exact pre-redaction content and metadata, never the truncated source fingerprint, require a clean stored injection verdict, and refuse rows written before the binding existed.
- Reissue the persisted import proof for a refreshed row, mark that row as retried, and require the proof only for the marked row at promotion so an interrupted rewrite cannot promote a stale body.
- Publish the retry salt through a temporary file, replace a corrupt salt only when no stored binding depends on it, and leave dry runs free of new state files.
- Fix Windows handoff tracking when a relative
.gitfile points to metadata for a configured worktree rooted elsewhere. brigade work dispatchplanning reads a persisted exclusion index next to the intent receipts instead of re-reading the whole local intent history twice on every tick, so a long-running watch only reads receipts that were added or rewritten since the previous tick (#1946).- Breaker counts and exclusions are unchanged. The index rebuilds from the receipts when the journal gets shorter, its prefix fingerprint does not match, the reset receipts change, or the index file is missing or corrupt (#1946).
brigade work dispatchno longer trusts a receipt’s size,mtime_ns, and inode alone to decide it is unchanged. A receipt written inside a two-second safety window is re-verified by content digest, so an atomic replace that recycles the inode with the same byte length in the same filesystem timestamp tick cannot leave a stale active or completed state in the exclusion index (#1946).- The exclusion index stores a content digest per receipt and rebuilds when the digest no longer matches, which keeps breaker counts and exclusions identical to a full scan of the receipts (#1946).
- Keep a Fleet Hub subscription’s failure streak across same-secret
events/subscriberefreshes, so a callback that keeps failing is still dropped afterMAX_FAILED_STREAKpermanent failures even when the client refreshes between failures (#1963). - Reset the streak only after a successful delivery or a fresh callback verification challenge, including a new secret or a newly created subscription (#1963).
- A
claim.expiredevent no longer reaches a Fleet Hub subscription created after the lease expired, even when the expiry is recorded later by a prune, release, or sweep. The check uses the expiry carried in the event data, while insertion time still governs rate limits, retention, and the delivery envelope (#1967). - Content guard recognizes Python hostname expressions in nested and multiline f-strings and continues to report literal private hosts.
- Stop an
events/subscriberefresh from recreating or re-keying a subscription when the row it read is dropped by the dispatcher, rotated, or lapsed before the write transaction opens. A stale refresh now issues a fresh verification challenge and retries, so a replacement subscription is never stored without one. - Stop a cancelled
fleet_inboxMCP call from opening new hub waits, so an abandoned call releases its hub waiter slot within one wait chunk and the next wait from the same principal is admitted instead of failing withmessage_wait_capped. - Honour MCP
notifications/cancelledfor running tool calls over both the stdio and loopback HTTP transports, answer the cancelled request with error-32800, and keep the session serving. - Keep the fleet board machine and agent unread-count reads query-only: both helpers exclude expired messages through their read predicates instead of relying on retention cleanup, so the counts work on a read-only SQLite connection and leave expired stored rows untouched (#2044).
brigade runs exportnow writes only a closed file set and closed receipt shapes. Only enums, ISO timestamps, hex digests, run ids, numeric versions, numbers, booleans, and fixed path tokens stay readable. Every other string becomes a keyed HMAC-SHA256 digest.brigade runs importrefuses archives with raw free text, malformed prompt digests, unknown receipt keys, or files outside the export set, and projects legacy v1 and v2 archives before installing them.- A per-host recall key with unsafe ownership or mode now prints one bounded warning naming the file and the
chmod 600fix before failing closed. - Raw run artifacts such as
final.txt,summary.md, andchanges.patchare no longer exported. Scrubbed worker streams use keyed digest names instead of seat names. - Exported archives omit
events/lifecycle.jsonlbecause its exception text cannot be scrubbed without breaking the hash chain. The manifest records the chain head and event count, and imported runs reportjournal-withheldinstead of a lifecycle audit match. - The
brigade.work-runarchive manifest moves to schema version 3 with a matchingschemas/work-run.v3.schema.json. Manifest paths, nested schema names, and schema artifact paths are closed and typed. brigade runs list --jsonandbrigade runs show --jsonare now thebrigade.runs-list.v2andbrigade.run-detail.v2contracts.taskis a keyed digest object rather than a bounded string, so a v1 reader must check the schema name.brigade.run-watch.v2covers the watch records.- Served run views now keep only closed values readable. Enums, ISO timestamps, hex ids, run ids and fixed tokens stay, and every other string becomes a per-host keyed digest, including roster agent names and mapping keys, agent model and reasoning, worker names, requested models, failure kind and class, and non-home paths such as
/etc/ssl/private/key.pem. - A refused or unusable digest key now fails closed: CLI JSON exits 3 with
error: run digest key unavailable, the Run View JSON endpoints return 503 with a fixed body, and the watch stream sends one closed error record. Unreadable runs return a fixed 502 body and a closedrun-unreadableheader instead of a path. - The Center Runs dashboard renders a task digest object as
digest <hex> (N chars)instead of a mapping repr. - A user-chosen
--output-dirname is never echoed. Only Brigade-generated run ids stay readable, and a custom name becomes a keyed digest in list/show JSON, the served list, detail, SSE, event ids and the handoff note. The Run View resolves the digest back to the run server-side, and a raw custom id in a route is refused. - The Run View now formats every projected object and digested mapping key with the short digest label, keeps worker status and synthesis mode readable, and no longer renders an empty roster assignment or result column.
- The Brigade run memory handoff note records the run id, status, mode, counts, timestamps and keyed task digest only. Task text, assignment text, worker detail, generated text, cwd and absolute paths no longer enter the memory inbox.
- Execute explicit task batches without planner or synthesis calls, preserving task IDs, bounded dispatch waves, and durable request retry refusal.
- Pin every explicit batch seat through model policy and health checks, retain normal drift and receipt finalization, and allow retries after refusal before any possible task launch.
- Share batch retry fences across git subdirectories, permit recovery before marker publication, invoke each task at most once, and retain worker outcomes when result observation fails. Batch summaries report task statuses and failure.
- Make governed native T3 targets default
runtime_modeandinteraction_modetoinherit, accept only T3’s mode literals in new declarations, refuse new claims on legacyapp-servertargets withtarget-mode-invalid, keep retained legacy assets readable so already-claimed attempts finish their verbs, and require local targets withtarget-remote-unsupported. - Emit
projectId,driverKindand explicit modes in printeddelegate_taskarguments while never emittingenvironmentId. brigade t3 claimreserves one dispatch unit, binds the finalized intent, consumes the launch claim and prints the exactdelegate_taskarguments once after the durable commit.brigade t3 acceptedrecords a returned native projection as parent-reported correlation, never as authenticated acceptance, and refuses a mismatched provider, model, options, parent thread or child handle.brigade t3 hold-resolverecords an operator assertion or abandons an attempt as terminal-unknown, and a lost reply always holds the task instead of authorizing resubmission.- A claim that died before or after its dispatch request holds every new claim in the run until an operator abandons it, and hold resolution never re-grants launch.
brigade t3 acceptedrecords a terminal result only when no child run, question, approval or wait remains, so a later clean projection can still complete a task reported pending.brigade t3 openenrolls a validatedbrigade.run_batch.v1batch for a T3 parent session by retaining each task’s delegation input and native target, without launching work.- Roster seats declare an eligible native T3 target under
[t3_targets.<seat>], and a seat without a declaration refuses the whole batch. - An enrolled task refuses the generic
prepare_attemptandclaim_task_launchpath, andbrigade t3 openrefuses on Windows until owner-only asset custody exists there. - Add
brigade t3 observe,cancel,ack,finalizeandstatusto finish the governed native T3 task loop, with evidence-bound terminal result ids, a durable cancel request, explicit closeout and a read-only status view (#2048). t3 finalizereportscompletedonly when every task has terminal statuscompleted, a result id and an acknowledgement. It refuses any unresolved hold.- New native T3 correlation events carry no child thread or run ids. Those fields remain optional legacy input, and an explicit null is invalid.
hold-resolve --native-jsonclears a resolvable accept-conflict hold through a closed resolution fact and still never re-grants launch.- Register the
native_finalizereceipt field with the run projector so finalization has no shadow-comparison error. - Bundle the
t3-governed-delegationskill with the exact parent-session call order and the lost-reply hold rule. - Fix
brigade t3 acceptedandbrigade t3 observerefusing every real T3 reply by correlating on the T3delegate_tasktask node id built from the claim’sclientRequestIdinstead of Brigade’s batch task id. - Store T3’s task node id as the correlation provider handle while keeping digest-only legacy journals readable.
- Pin the reviewed T3 Code task node encoding in code and document that a future format change refuses and holds the task.
brigade t3 openclassifies every task against a closed structural-gap table before writing anything, and refuses the whole batch witht3-unsupportedwhen a target driver, locality or mode is one T3 cannot run. Only the affected caller-chosen task ids and their tokens reach stderr, and no run directory, asset or journal fact is created.brigade t3 claimreports the same structural token instead ofadmission-deniedwhen a retained target or an edited declaration is structurally unrunnable, while every policy, capacity, authority, seat and adapter refusal keeps its own code.- Document that tasks refused as
t3-unsupportedgo to a separatebrigade run batchrequest with its own admission, budget and receipts, that no reroute verb or budget transfer exists inside a governed run, and thatasset-digestis a readback refusal rather than an open refusal. brigade t3 opennow runs on Windows, creating the run directory and each retained delegation input with a protected DACL that grants the current user only.- On Windows an existing run directory or asset with an inherited or widened DACL refuses instead of being repaired, and readback opens each asset once relative to the held run directory.
- Explicit batches now claim launch permission per task inside the run budget reservation: each assignment carries its
task_idandattempt_id, the claim precedes the requested fact, and a refused claim stops the worker before routing, the model lease and the provider (#2049, #2631). - Refuse a batch request with
request-unknownwhen its lifecycle journal was deleted or is unreadable after acceptance, so removing the journal can no longer re-enroll tasks. A request that never reached acceptance still retries after a preflight refusal (#2631). - Register batch turns under their exact task so
brigade runs interrupt --task-idreaches one of two same-seat tasks, and record the codex-cloud task ID as the provider task correlation on the task journal (#2049). - Refuse a batch whose journal is lost even when the request marker or sentinel is also gone, treat batch result files as acceptance evidence, and refuse
brigade runs resumeon explicit batch runs, recognized from the journal as well as the marker files, because resuming would bypass the per-task launch claim (#2049). brigade runs tasks list <run> [--json]andbrigade runs tasks show <run> <task_id> [--json]now expose durable per-task status, attempt, terminality, acknowledgement, containment, result id, artifact classification and digest, plus the batch result receipt path and digest. An unknown task exits 2 withunknown-task; a missing journal exits 2 withno-task-journal.brigade runs tasks wait <run> [<task_id>...] [--timeout SECONDS] [--json]waits for named tasks (default all) at a bounded poll interval. It exits 0 when every task is terminal and 3 on timeout with the non-terminal ids listed. A timeout records nothing and never cancels or changes execution. JSON output usesbrigade.runs_tasks.v1.brigade runs tasks cancel <run> <task_id>... [--reason operator|parent|budget] [--json]records per-task cancellation intent in a durable run inbox and the owner journals it as atask.cancel-requestedfact. A task cancelled before launch is never launched and is observed once ascancelledwith containmentnot-launched; a sibling task keeps its own result. Unknown and terminal tasks reportunknown-taskandalready-terminaland write nothing, and a request queued behind a live batch reportslive-termination-unavailablebecause this release does not stop a running worker.brigade runs tasks listandbrigade runs tasks shownow report acancelobject (requested,queued,reason) per task.- Add
brigade runs tasks integrate <run> <task_id>..., which merges the named batch tasks’ retained candidate commits, in the given order, into one newbrigade/integrate/<id>branch. It never checks out, merges into another branch, pushes or publishes, and every merge runs in a temporary quarantine repository with no merge-driver or hook config, so a configured driver and a tracked.gitattributescannot run.--checkvalidates the selection and the merges and writes nothing; refusal codes are closed and the record and journal facts make a rerun a repair (#2050). - Add optional per-task
isolation(sharedorworktree) andread_onlyfields to explicit batches, refusing two shared writable tasks in the same dependency layer withshared-writable-concurrency. - Pin a clean 40-character
base_shawhen any batch task requestsworktreeisolation, record it with each task’s isolation inbatch-request.jsonand the dry-run plan, and include it in the request fingerprint so a retry against a different HEAD is a conflict (#2050). - Honor per-task
read_onlythrough the existing worker read-only path (#2050). - Refuse a read-only batch task whose seat cannot hard-enforce read-only under the roster sandbox, refuse writable batch tasks under a read-only sandbox, keep batches on the wave scheduler, and ignore
.brigade/state when pinning the base (#2050). - Retain each
isolation: worktreebatch task’s result as an exact candidate commit plus a bounded patch: collection commits an uncommitted worker’s leftovers with a fixedBrigade <brigade@localhost>identity and no hooks, records the worker’s own commit when it made one, and reportsretained,no-changes,base-diverged, orcollection-failedseparately from whether the worker succeeded. - Write
batch-artifact-<sha256 of task id>.jsonbeside the run receipts with the base, branch, candidate, patch reference, digest and size, changed-path count, and ignored-file count. Journaltask.observedusesartifact_kind="commit"and the sidecar digest when a candidate exists,brigade.run_batch_result.v1task entries gain anartifactmember, andbrigade runs tasks showreports the artifact sidecar reference and digest. - Keep candidate patches local: they can carry untracked file contents, so
batch-artifact-*files are excluded from everybrigade runs exportand archive surface. Ignored files are counted and never committed or patched, and collection never deletes, resets, cleans, or checks out anything. brigade.run_batch_workspacereserves, creates and validates one per-task checkout for a batch task that declaresisolation: "worktree". Paths are recomputed from the repository, run ID and task ID under the worktree cache, a reservation is exclusive, and validation re-checks the path, device/inode, Git toplevel and common directory, branch,HEAD, and a pristine status that includes ignored files. Refusals use the closed codesworkspace-overlap,workspace-exists,workspace-invalid, andworkspace-unavailableand never delete anything.- Batch journals gain the digest-only
task.workspace-boundfact at run event schema version 3. Only that event uses version 3, so older binaries refuse only journals from a batch that isolated a task and keep reading every other journal. - A workspace binding never grants launch authority. The bound task stays queued and attempt-free, an identical replay writes nothing, and a different binding for the same task is refused.
- Run each explicit batch task that declares
isolation: "worktree"in its own reserved checkout. Before any worker is submitted, execution checks the pinned base, then either replays a recorded binding or reserves, creates, validates and records onetask.workspace-boundfact per task; a task whose journal already shows an attempt gets no checkout. The checkout is validated again immediately before launch, and the worker process runs there while cassettes, receipts, the task journal, the run budget and caller run-lock resolution stay on the caller workspace (#2050). - Refuse the whole batch with
source-changedwhen the caller workspace no longer matches the pinned base at execution, and withisolation-remote-unsupportedwhen worktree tasks would route through Fleet Hub to another machine. Both refuse before any launch. - A per-task workspace refusal reports its closed code and refuses only that task, never deleting anything. Each task checkout holds its own run lock from creation through worker exit so
brigade runs prune-worktreesskips it, and task checkouts and branches are kept after every outcome. A replay takes over a dead owner’s lock only when it was left by this same batch run; a live or foreign owner still refuses. - Batch result JSON task entries gain
workspace,worktreefor a task that ran in its own checkout andsharedfor one that ran in the caller workspace, andrefusalwith the closed code and reason for a task refused at its launch point. - Add
brigade runs tasks dispose <run> <task_id>... [--confirm] [--discard <task_id>]... [--delete-branch], which removes a batch task worktree only after proving a retained copy survives: a live integration ref, a digest-matched retained artifact with the candidate still on the task branch, or an unchangedno-changescheckout. - Hold the workspace run lock for the whole command and each task’s run lock from the first check through removal and recording, refuse ignored files because they are never collected, and go through
git worktree removewithout--forceso a refusal leaves the checkout untouched.--discardis the only explicit disposal decision. - Record each removal as a closed
task.disposedfact, release the reservation lease afterwards, and repair a crash between removal and the fact instead of failing forever.--delete-branchremoves only an integrated task’s branch, by compare-and-swap, after proving the integration ref still holds the recorded commit. - Add
brigade runs tasks collect <run> <task_id>, which recovers artifact collection interrupted between worker exit and collection without launching anything: it appends the missing observation when there is none, or a closedtask.artifact-collectedfact when a receipt-only observation already exists, and both integration and disposal accept a commit artifact from either source. - Produce authoritative, read-only
admissionandcapacityreadiness observations forbrigaderoute operations inbrigade roster ready, consulting local roster admission, the local run lock, Hub model admission (without writing LKG caches), Hub repo claims, and enrolled fleet policy without reserving leases or mutating state. brigade roster readyruns prompt-free model inventory when model smoke is disabled, so direct Cursor, Grok, Ollama, and Antigravity seats can pass model reachability without an inference request. Ollama resolves its model from theollama:cli suffix, each listing is bounded by the per-check health budget, and a seatcommandoverride is honored.- Passive health checks map to passed with reason
not-applicableonly on explicit evidence:version-gatesneeds the dedicatedno-reviewed-gatecause and is never mapped for ACPX or Antigravity, andisolation-compatibilityneedsread_only=Falseon the request. A genericprobe-incompletecause and the roster sandbox value no longer decide either mapping. - Worktree isolation reports a fresh operation-scoped
isolationobservation with agit-eligibledetail only when the Brigade route runs in a Git checkout with a committed HEAD; an unborn HEAD and a non-Git directory stay blocked. Eligibility does not prove disk space or worktree permissions. - Plain-text
brigade roster readyoutput now includes the operation scope and observation time. - Let
brigade roster ready --route t3check a parent-reported T3 capabilities envelope supplied with--t3-capabilities, and report parent-reported route support alongside Brigade isolation, admission and capacity evidence. - Keep route t3 readiness explicitly non-reserving with
assurance,launch_guaranteed,capacity_reservedandparent_activequalifiers. - Refuse
brigade t3 claimwhen seat admission no longer holds: the seat must be a non-orchestrator worker, the current[t3_targets.<seat>]declaration must equal the retained target, the target driver must map to an allowed adapter whose provider matches the seat, the normalized launch model and the seat model must not be retired, and an enrolled or Hub-configured node must pass live Hub policy. Refusals are fixed stderr tokens with empty stdout. - Bound concurrent governed T3 tasks across every run in a workspace with a crash-safe native capacity lock. Capacity is
limits.max_workersminus all live governed tasks, further capped per seat by an optionalmax_liveon[t3_targets.<seat>], and a run whose kind, journal or event directory cannot be verified refuses the claim instead of counting as zero. - Record digests-only admission evidence on the
task.native-claimedfact, and document that post-launch abandonment retains capacity indefinitely because no containment-reconciliation operation exists yet. - Mark every Fleet Hub form field Required or Optional beside its label. The marker, the HTML
requiredattribute and the server-side check for a blank required field now read one per-form declaration, so they cannot drift. brigade fleet place --repo <key> [--threshold 0.70] [--json]asks the Hub which machine should run a new child agent for a repository. It is advisory and strictly read-only: one read snapshot with writes refused, no decision stored, no reservation, no quota row created (#2166).- Placement reuses the routing candidate evaluator, keeps only machines where the repository is a bound, fresh T3 project, and sheds any machine whose effective load (node-reported CPU or Hub-counted live sessions over concurrency, whichever is higher) is at or over the threshold. A missing, stale or null load excludes the machine (#2166).
- The answer names only the selected machine’s T3 environment id and project id, stays local when the caller’s own machine is under the threshold, honors a repository’s
eligible_machinespolicy, and expires after two minutes or sooner when the telemetry or inventory behind it does (#2166). - A fleet policy save is now refused when two
repositorieskeys differ only by case or a trailing.git, because a caller could otherwise pick the weaker record by spelling the repository differently (#2166). - The T3 observer now reports each node’s T3 projects that carry a canonical repository key (project id and
host.tld/segment/segmentkey only, no paths, titles or URLs) to the Fleet Hub, which stores the latest set per node for read-only placement queries. Invalid rows are dropped and counted asinventory_dropped, and a stalled T3 descriptor cannot cost session publishing (#2166). - Machines in the fleet policy can bind a
t3_environment_id, unique across machines. The Hub rejects an inventory report whose environment id differs from the binding and clears that node’s stored rows, and placement reads treat unbound or mismatched rows as unbound (#2166). - Report a node’s T3 sessions as unknown, never zero, when its native T3 observer stopped reporting: the Hub keeps an optional per-node health row stamped with its own clock,
fleet placetreats a stale node, or one with no health row, assessions-unknownand ineligible, and/sessionsplusbrigade fleet sessionsname the unknown nodes (#2166). - Add the
t3-observenode action and havebrigade.fleet_t3_observer --publishreport each run’s verdict after publishing sessions, so a failed health post never changes session publishing or the exit code (#2166). - Give the first native T3 snapshot the rest of the 15 s observation budget minus a publish reserve (the session and policy call timeouts) instead of a fixed 8 s, so a snapshot read under heavy load no longer fails with
observation_timeoutwhile the whole observer still finishes inside the budget (#2166). - Roll out the Hub before the node observers: until a node posts its first T3 health report,
fleet placereportst3-health-missingfor it and recommends nothing from that machine (#2166). - A Windows home path that opens with one quote and closes with another is now found and redacted by the content guard in both the Python and native backends, matching the
root-pathfallback (#2200). - The memory scan ruleset ID changes with this rule, so update the client and the memory hub together, then run
brigade memory rescan --until-done. Until the rescan, receipt-gated hub reads (push and connector recall,card push:true) return nothing for previously scanned cards (#2200). tests/test_aboyeur.pynow passes on Windows: fake grok and codex seat launchers resolve as native executables there, the SIGTERM terminalization subprocess tests skip with a stated reason because Windows cannot deliver SIGTERM to a Python handler, and the sidecar fsync and event-writer byte-bound assertions follow each platform instead of POSIX assumptions (#2262).- Scanner runs wait for every descendant that has released the capture pipes, including one that moved to its own process group, before reading
.brigade/scanner-imports.jsonl, so a descendant still writing that file can no longer make a completed run ingest a partial file or report a misleadingimport file not found. A descendant that outlives the bounded drain is killed and fails the run withscanner descendants still running after child exit, with its import left unread, and the scanner’s pid and process group id stay reserved for the whole drain so a recycled id is never probed or signalled. - Keep a live
tasks.json.lockorrun.lockholder active on Windows by querying its process handle withOpenProcessandGetExitCodeProcessinstead ofos.kill(pid, 0), which Windows reads as Ctrl+C and reported as a missing process for holders running in another console. - The S31
backupscheck now reports PENDING instead of FAIL until a memory backup run has covered the current memory file, and FAILs on a recent failed call even when SQLite WAL checkpoints keep moving the file’s mtime;hub/backup.pyrecords each run’s time, result and a durable first-seen identity inmemory/last-run.json(#2296). - The status file is written only into an existing compose-owned 0700 memory directory, as the compose owner with mode 0600 via a temp file and rename; a root-owned or unwritable directory only warns and never changes the backup outcome (#2296).
- A wedged
docker execnow fails one row with a reason instead of aborting the check with a traceback, and the memory probe stays PENDING with a clear reason when the hub is stopped rather than starting the one-shot backup service (#2296). - Document
KillMode=mixedfor systemd units that runbrigade-hubdirectly, thePR_SET_PDEATHSIGthread semantics, and why redirecting stderr is the smaller fix for thestty tostopcase (#2296). - Route the hub’s native random bytes through one
platform::random_bytes: registration tokens, memory ids and message ids now share a source that reads/dev/urandomon Unix and callsBCryptGenRandomwithBCRYPT_USE_SYSTEM_PREFERRED_RNGon Windows, with the same entropy and no weaker fallback. - Draw message and question ids where they are used, so
ackandquestion_statusanswer without a random source; a source that fails still refuses the writes that must mint an id with the existing 503. memory searchkeeps searching the readable hub scopes when one configured read scope has no grant, names the skipped scopes, and remembers a refusal for ten minutes so later searches make one request.- A pull’s replica saves wait up to 60 seconds for a push that holds the state lock, so a long push no longer fails a concurrent pull with a busy-lock error.
- Fleet Hub setup now refuses bare image ids and image values with whitespace or control characters. Memory search JSON documents the lineage and ranking fields retained from hub hits, and omits
hub_rankswhen the hub sent no ranks instead of emitting an empty object. - Make live retrieval labels veto-only. A rank regression for any judged card on any query vetoes the candidate.
- Require an unchanged hub retrieval projection for real-scope Tier 0 retrieval authorization. Only lexical append_evidence proposals qualify, and fixture-scope reports never authorize real scopes.
- Store private retrieval history in a hub-owned table at memory schema 15.
- Keep verifier applies and exact automatic compensations on their own gates.
- Hold automatic anchor_blocks proposals on real scopes because the operation is outside the retrieval allowlist and anchor suffixes change the projection.
- Hold a worktree’s Git admin directory and its
worktreesparent open from the moment rescue verifies them, take identities from those descriptors rather than path lookups, prove the admingitdirentry names the worktree’s own.gitfile by identity, and run the tracked-handoff query pinned to the held work tree and admin directory, so a rename that swaps a replacement anywhere in that window cannot redirect rescue or removal. Removal renames the rescued tree to a private name through its held parent, opens that entry no-follow, compares its identity with the held one, deletes contents only through that descriptor, re-checks the enumerated identity of every child and every emptied directory before it is dropped, refuses a child on another device or Linux mount, and re-checks the private name before the finalrmdir, so a swapped child, a device crossing or an exchanged tree is refused and kept. The worktree’s registration is removed through the held admin descriptor and itsworktreesparent instead of a repository-widegit worktree pruneor any path-basedgit worktree remove, a locked worktree is kept unless removal is forced, an unverifiable lock state, including a capped or incompletegit worktree listrecord, keeps it regardless, and a restore that cannot use a no-replace rename reports the private location. Windows keeps the pre-PR removal path unchanged, and platforms without/proc/self/fdkeep the worktree withworktree-unverifiedfor manual cleanup. - Bound verifier evidence metadata growth to 32,768 lifetime records per principal, including purged records.
- Index lifetime evidence counts in existing hub databases and report permanent lifetime quota refusals without replaying their staged attachments.
- Files evidence crawls now commit progress per file, skip unchanged content, and return success with a persisted resume cursor after a bounded run. Symlinks and private directories are excluded and files have an 8 MiB cap.
- Successful files crawls update scan manifests alongside the profile-specific cache. Exporter start errors fail the run without advancing its checkpoint. Unreadable ancestors cannot move a resume cursor backward.
- A failed export outside a budget stop checkpoints past the file and leaves it uncached. It is retried on the next sweep, rather than the next run. Unknown flags are rejected, and
--limitnow caps exporter invocations. - The Windows nightly baseline no longer allowlists 19 test files that now pass every night, so a regression in them fails the nightly again.
- Scope-less push card reads now hide the number of stored copies from the SQLite probe instruction count.
- Expose
brigade_hub_memory_hub_lock_wait_secondsandbrigade_hub_memory_hub_lock_residence_secondson the Rust hub/metricsas fixed-bucket histograms, 1 ms to 5 s with an open tail, so a scrape bounds the authority-lock wait and residence distribution per memory batch instead of only its last and max. Each family is one contiguous block (# TYPE, buckets,_sum,_count), a bucket carries onlyle, and the existing unlabelled_sumseries keep their names and values, so_bucket / ignoring(le) _countjoins (#2499). - Make the 2,000-card hub push corpus test tolerate a transient
authority-lock-timeoutduring seeding by retrying only that setup refusal with a short bounded backoff; the ranking and response-bound assertions are unchanged (#2516). - Resume
brigade run cloud landwhen the private runtime workspace underXDG_RUNTIME_DIRis gone, as happens after a logout or reboot: a published landing allocates a fresh workspace, confirms the remote landing branch still points at the recorded commit, and creates the PR through the existing recovery path. - Refuse the resumed landing with
landing-ref-missingwhen the remote branch is gone andlanding-ref-mismatchwhen it moved, so a cleared workspace never republishes different content. An existing workspace that fails the safety check is still refused withunsafe-git-config. - Never rebuild or re-push a landing that reached
branch-pushedorpr-created. A missing remote branch refuseslanding-ref-missingwith the exactgit pushcommand that restores the recorded commit and thebrigade run cloud landcommand that resumes, a fetched commit is verified inFETCH_HEADbefore the local branch ref is created, and a failed resume removes its fresh workspace instead of recording it. - Adopt only an open or merged PR whose head branch and head commit match the landing, record a merged one as the landing, create a new PR when only a closed one exists, and refuse an open PR at another commit with
pr-recovery-conflict. - Mark removed queue commands in help and include client-scoped service patterns in stop instructions. Connector setup hints now name the
connectorextra and explain the temporarygrokbotalias. - Memory care now checks whether a replaced pending hub write was accepted before retiring its card.
- Accept the 43-line release checksum inventory in the Windows published-artifact acceptance script, matching the Python acceptance script, so releases that ship the Linux
brigade-hubassets pass on Windows (#2547). brigade work briefescapes every value it prints that came from the filesystem, from Git, from configuration or from ingested content, but only where it has to: letters, digits, spaces and printable punctuation stay readable, and a line break, a NEL, a line or paragraph separator, another C0 or C1 control, an ANSI escape, a bidi control, a zero-width or invisible format character and a backslash become an escape such as\x0aor\u2028. A long value ends in[truncated]. A plain path or sentence renders as written.- Every printed line of the text brief also passes one sanitizer on its way into a buffer, and the buffer is written once, so
sys.stdoutis never swapped. No value can start a new line or hide text even at a site nobody escaped, and two briefs can render at once. - Covered surfaces: dirty and untracked
git statusentries (the status code is git’s own and prints as is), the branch, session paths, titles, notes and handoff paths, dogfood run fields and next-task text, task and import text with their ids, sources and kinds, hub overlap rows, cloud stale rows, health row details, section exception details, scanner, sweep, review, care, backup, daily, phase, tool, roadmap, repo-fleet, context, project, learning, research, operator, handoff and recent-session rows, the pantry role, peer and last sync, the notifications status, thefleet_routingblock and the outcome-ratchet line. - Every runnable command the brief prints is rendered as argv: Brigade’s own words print as they are and each untrusted value is quoted for the platform’s own shell, so
brigade work run 'review the auth module'on a POSIX host andbrigade work run "review the auth module"on Windows both print a runnable command, and a Windows path with no space prints unchanged. No value is edited into a string, so two ids that overlap cannot corrupt each other. On Windows only plain path characters and spaces can be quoted safely, so any other character withholds the command rather than printing one that cmd.exe or PowerShell would interpret; an argument a shell would read as a switch, a splat or an expansion withholds it too. A command read from a record is split into argv and withheld unless it runsbrigadeand a top-level command Brigade registers, so a record that saysrm -rf .prints nothing. The JSON payload still carries the real command. - The
work_mode_pinline keeps its fixed prefix readable and escapes only the exception after it. The suppression cache detail no longer embeds a command; the only printed command is the routedsecurity_suppressions_next_commandline, which quotes the paths it embeds so a repository path with a space still gives a runnable command. - The changelog guard checks GitHub’s post-merge result against the current base and exempts an integration branch’s own fragments only when the release-bearing parent is reachable from an independently fetched main ref and the post-merge changelog is exactly the upstream changelog, including its rewritten
[Unreleased]compare link. - The instruction move planner enforces a 50-card cap per source file and reports
moved_card_cap_reachedinstead of failing, and the count fails closed when the card folder cannot be trusted. The cap takes effect when the slice 2 PR A3 move stage passesinstruction_moved_cards.count(). - Recover interrupted instruction moves with malformed decision records under the document lock, preserving unreadable records in quarantine.
- Validate recovery records before writing, retain damaged history, report quarantine reasons and unrestored destinations, and fail closed with remediation for journal symlinks.
- Retain quarantined before-images with a dedicated sweep reason.
- Origin filing ignores receipt key environment overrides and requires a private, current-user-owned, single-link key at the fixed workspace location. Platforms without ownership proof require review.
- Ingest refuses linked handoffs, cleans the exact verified sidecar, and consumes origin and review retry stamps before canonical writes to prevent replay after archive or a crash.
- Drain revokes review stamps for drafts observed missing, so restoring the same bytes after manual removal requires review.
- Ingest archives handoffs after review stamp storage fails, retaining one unsigned draft for a person with a fixed failure reason.
- Recovery abandons prepared review decisions without usable origin claims and refuses pending review appends from committed decisions unless they already own a claim. Drafts are kept or restored for human review.
- Windows handoffs require human review until #2588 adds Win32 ACL confinement checks. Portable file safety checks still run.
- Origin claims publish complete markers atomically and recover their own linked temporary files after a crash. Failed claims abandon retry authority and retain drafts for review. Oversized handoffs get a metadata-only review draft and move their original source to a private hold. Linked handoffs report a specific refusal.
- Oversized holds read at most 128 KiB for a labeled size and endpoint digest, publish metadata through confined directory handles, remove empty failed holds, and report rename failures as
handoff-hold-failedwith the OS cause. Orphan claim cleanup visits at most 64 directory entries per call. - Keep oversized handoff staging races from aborting ingest batches. Verify held file identity after rename and record inode metadata. Bound claim recovery and advance orphan cleanup through a separate temporary directory. Keep Windows filing closed pending ACL confinement.
- Memory care reconciliation preserves a newer published revision when replacing an accepted handover, so making the holder private retires the current hub card without a stale-base conflict.
- Restore refused review drafts even when unrelated journal records are unreadable or resolved copies are protected by read-only paths. Keep protected copies unchanged and exclude their removal from undo.
--capture autono longer crashes when a hook session state file is nested deeper than the JSON parser’s recursion limit. That file is now skipped as malformed, like any other unreadable state (#2589).- The work-loop guidance in the shipped templates, the
brigade-workskill, install next-steps and doctor hints now showsbrigade work verify run ... --capture autoas the default. A typed id never moves a skill (#2589). brigade care installon systemd now links each timer it writes intotimers.target.wants, runssystemctl --user daemon-reload, and starts every newly linked timer so the schedule fires on a running host. A reinstall that rewrites an already-linked timer reloads and restarts it so a changed schedule takes effect. A missing or failing systemctl keeps the link and prints the exactdaemon-reloadandstartcommands.--no-enablewrites unit files only and--dry-runreports the planned per-timer action without calling systemctl.brigade care installreports an already-linked timer as enabled even under--no-enable, treats a foreign or symlinkedtimers.target.wantsas a conflict and writes nothing, and never replaces a foreign entry.brigade care uninstallstops each timer whose link it removes (a not-loaded unit counts as stopped) and removes thetimers.target.wantslink it created, but only a symlink to the unit being removed. Foreign entries are left alone and a symlinkedtimers.target.wantsis never followed.brigade care status,brigade work brief, andbrigade doctorwarn when an installed timer is disabled, when an enabled timer has never recorded a receipt one schedule period after it was enabled, and when runbook entries run withbrigade extrasoff. They read systemd units, LaunchAgents plists, and a readable crontab spool file without a subprocess, and say a backend was not inspected instead of reporting it healthy. Thecare statusaggregateenabledis false while an installed timer is disabled.--capture autonow resolves the session of a verify typed directly in a hook-enabled Claude Code session. It falls back to Claude Code’s ownCLAUDE_CODE_SESSION_IDwhen no validBRIGADE_CLAUDE_SESSIONorBRIGADE_AGENT_SESSIONis set. Two ambient identities that disagree name no session, and abrigade runworker still ignores both. Inside a Claude Code session, the fallback note now says to rerun the hook-printed verify command when no identity is found.- Track an
outcome-attributionverify manifest so edits tooutcome_attribution.pyhave a scoreablebrigade-worktrial. - The bundled
brigade-workskill example now uses--capture autoand says to run the manifest verify when the hook names one. - A hook-enabled Claude session can now be the producer of a manifest verify trial when no
brigade work startsession is active. The hook records the target’s start snapshot (start.git: NUL-separated porcelain status listed per file with--untracked-files=all, astatus_formatand the target’sprefix, with an id and a time) when it creates a session’s state and again on each task-epoch reset such as/clear, bounded and failing open. Earlier starts stay in a boundedstart_history, and the receipt’s producer binding records thehook_start_idit was made under, so it keeps resolving after a later reset.brigade work verify run --manifestnames the single resolved Claude sessionclaude-hook:<fingerprint>and runs every existing ownership check against that snapshot. An active work session still wins, and an ambiguous or worker-inherited identity picks no session (#2589). - A hook session is eligible only for a subject it wrote itself. Each session keeps a bounded list of timestamped write events: a completed Edit, Write or NotebookEdit records its completion time, tool and target-relative path, and a Bash write the hooks detected records no path. The session needs a file-tool event for the subject since its start (
no_owned_workotherwise). Another session’s event since then that names the subject or names no path makes the trial ineligible (concurrent_session_ownership), including a write that began before this session and finished after it. When that session’s event list lost events in the window, when it reports a write with no event, or when any session state in the target changed within the last hour cannot be listed, read or parsed, the trial also fails closed. Another session’s Bash command that has not reached PostToolUse makes the trial ineligible for up to an hour after it started, so a command that failed or was killed stops counting after that. The verdict is stored in the producer binding ashook_ownershipand rerun against live hook state when the receipt is projected. A subject changed only through Bash has no event of the session’s own, so it stays ineligible (#2589). - A verify typed in a Claude session now resolves its session once, through the hook value or
CLAUDE_CODE_SESSION_ID, and stamps it on the receipt’sharness_sessionand the verifier id alike. The Stop gate counts that receipt as the session’s own, and a session is never independent of its own hook producer id, whether the verifier id comes from the environment or fromBRIGADE_VERIFY_SESSION_IDin either spelling (#2589). brigade work startand the hook start snapshot now readgit status --porcelain=v1 -z, so the dirty-subject check no longer loses the first status column, splits a quoted rename at an arrow inside a filename, or reads a wholly untracked target under a repository subdirectory (?? ./) as clean. Both paths of a rename count, and a collapsed untracked directory is dirty for every subject under it. A work session started with the older--shortsnapshot fails closed instead of reading clean (#2589).brigade initandbrigade operator quickstartnow turn on extras and install the default care schedule, the same as runningbrigade extras onandbrigade care install --target <target>after setup, so the weekly outcome ratchet runs with no further step. Pass--no-careto skip both, and the skip message names both commands to run later. The care step never changes the exit code and reports one status:installed,installedwith anot_startedlist when no systemd user manager is reachable (the warning names thesystemctl --usercommands),unsupportedon Windows where care install does not write the scheduler yet,skipped, orfailedwith the reason. A repeat init leaves an installed schedule alone and--dry-runlists both steps without running them. Newbrigade init --jsonprints one result object with the extras and care statuses (#2589).- When the Claude work-loop hook denies a raw verifier and the working tree changed the exact
subject_pathof a tracked verify manifest, the deny message now also namesbrigade work verify run --target <repo> --manifest <manifest file> --capture auto, in both the supported and the unsupported-structure deny. The manifest is named by its file path so an ambiguous id cannot break the command. A deleted subject is not named, since it cannot be scored. The agent’s own replacement command is kept, and the manifest decides what gets scored (#2589). - The Stop hook now blocks closeout when a tracked manifest’s subject file was written by this session’s own Edit, Write or NotebookEdit and no completed receipt carrying that manifest id started after the write. A manifest run that failed does not satisfy the gate. A subject that was only dirty, another session’s write, or a shared tree the generic gate treats as foreign is not gated. Any git or manifest error leaves the Stop behavior unchanged (#2589).
brigade outcome ranktext output now showstrials=<n>from the scorecard’s effectiveness dimension, so scoreable trials are visible without--json(#2589).- Add an outcome ledger and a required
ledger-recomputejob insideci-gate. Each in-scope first-parent commit on main needs its own trustedoutcome-attestpush run and a successful job on every attempt to count as helped. Missing runs count as hurt after a per-commit grace window. Missing jobs and unsuccessful conclusions also hurt. The merge queue can batch up to five entries, so an in-scope commit inside a batch without its own run counts as unverified. Manifest pin changes keep every earlier hurt verdict and record unresolved ones as hurt. Recompute rejects a ledger that lags any in-scope commit or whose current fingerprint differs from trusted main. The bundlednoteskill is the first manifest. The first ledger and scheduled writer follow separately. - Let
ci.ymlrun onworkflow_dispatch. A dispatched run takes full CI, and the lint allowlist base and the changelog guard use the merge base with main. - Add
brigade work verify run --capture auto, which captures a run against every skill the current session read or invoked, so the work loop no longer needs a hand-typed artifact id. Skills come from the Claude Code hook session state (read_fileslimited to installed harness and registrySKILL.mdpaths, plus the newinvoked_skillsthe PostToolUseSkillhook records; file-only, newest state first, symlinks and oversized state refused) and are limited to ids the registry or an installed harness has, compared case-insensitively. The session isBRIGADE_CLAUDE_SESSION, or the ambientBRIGADE_AGENT_SESSIONoutside abrigade runworker. Each row carries a newattribution_source(session_observed; explicit ids arecaller_typed, and older rows read ascaller_typed). The literalautois never written. When no skill resolves (a Codex repo, a plain shell) the run falls back tobrigade-workas acaller_typedcapture and prints one note, so the loop never records nothing. - Session-observed attribution is forgeable, so it only vetoes. It counts toward
hurtand neverhelpedin rank and score, and one receipt scores once per artifact with the caller-typed row winning.outcome reconcilecan turn an install or bump into a hold (observed_regression_hold), surfaced for any prior status and counted in the ratchet report. It never produces an install, bump or rollback, for skills or cards, and scorecards stay receipt-only. - Point the bundled
brigade-workskill, the work brief and every Claude hook verify hint (the replacement, the unsupported-shell hint and the failed-verify follow-up) at--capture auto. Existing installs keep theirSKILL.mdbecause init no longer overwrites it. The managed hook package moves to 1.5.0 so the PostToolUse matcher includesSkill; rerunbrigade work hooks installto pick it up. - Bound the observed veto so it cannot pin a skill forever. Only session-observed hurt that is current content, inside
observed_hurt_window_days(default 30), not fixed by a later passing receipt for the same verify command or manifest in the same session, and seen in at leastobserved_hurt_min_sessionsdistinct sessions (default 2) holds an install or bump. It releases on its own, andoutcome forkand the fleet skills report apply the same rule as reconcile. The decision core and rollback ignore observed hurt entirely. - Stop treating hook-observed ids as explicit. A
Readof a skill file no longer sets the hook’s exercised artifact, so the verify replacement and both hints say--capture autounless an id was typed in--capture <id>; the replacement names the hook checkout when the verifier runs elsewhere. A--capture autoreceipt stampsattribution_source, every observed id and the session, the capture-before-retry hint suggestsbrigade outcome capture autofor it, and aplugin:skillSkill-tool name credits a local skill only under this install’s own plugin prefix. Route and capability breakdowns leave out observed helped rows. brigade outcome reconcileand the ratchet report now list pending rollback commands only for skills demoted withinpending_physical_window_days(default 14, compared by exact time) or in the current run. A core skill demoted months ago no longer shows as an action to take. Install commands for a promoted skill come from current drift and are always listed. Older rollbacks are counted asstale_physical_actions, listed understale_physicalin the report and under astale:heading inbrigade outcome ratchet, and the brief line showsstale=<n>when nonzero. Every listed command carries the age of its status (demoted 3 days ago, plusstatus_changed_atin JSON), and a bump of a promoted skill now shows its pending install commands like an install does.- JSON nested past the parser recursion limit now reads as malformed on the hook session-state, verify receipt, scorecard, run.json, parent-manifest and outcome ledger reads instead of raising RecursionError. A hook trial that meets such a session state from another session now fails closed as
concurrent_session_ownership(#2589). - Add a live paired-skill adapter over the Claude Code CLI (#2590):
brigade model trial paired-livelaunches a freshclaude -pper arm with one exclusive MCP server (brigade model trial paired-mcp) exposing only the five paired tools, gates on the stream’ssystem/initevent before grading, and treats the server-side trace as authoritative. Live evidence has its own adapter id and schema (model_executed: true,promotion_eligible: false);brigade.offline-replay.v1is unchanged and resume refuses any identity change. Authentication is the subscription OAuth token only. The init gate also pinscwd,agents, additional directories andpermissionMode, passes--settingswith every builtin plugin disabled and requires no plugins, inspectstool_use,server_tool_useandmcp_tool_useblocks with strict id checks, refuses a temp location withCLAUDE.mdorAGENTS.mdin an ancestor, and redacts the OAuth token from saved artifacts. Docs include an operator runbook for the first livepassing-verifypair. The adapter resolves, hashes and holds the Claude executable and runs the version probe and every arm from that held file (Linuxfexecve; other platforms refuse a live run), recording the hash in the cell identity. Child stdout and stderr are redacted in memory before any byte is written, the MCP server config blanks the token, resume needs the reviewed digest via--resume-digest(without it earlier evidence is moved aside and every cell runs fresh), and package,SKILL.md, stream line, stderr, trace and receipt sizes are capped before they are buffered. - A paired grade now appends the last stderr line of a failed
brieforcaptureBrigade subprocess to its reason (one line, 200 characters at most), and the live adapter tests pass the realPATHon Windows sogitis reachable. - Live paired trials now refuse to start when a passed-through proxy variable carries
user:password(the message names the variable, never the value), blank every proxy variable in the MCP server config, cap the evidence peek inpaired_validateatMAX_EVIDENCE_BYTES, and bound the Claude version probe to 4096 bytes with a kill on overflow or timeout. - Live paired runs now refuse any proxy value containing
@(raw or percent-decoded), which closes thehttp:/user:pw@hostandhttp:////user:pw@hostforms Node reads as authenticated URLs. Process cleanup never signals a pid it may have reaped (an unreaped child only, serialized with the reaping wait in the arm and the version probe), and on POSIX the arm waits for the CLI to exit without reaping it (waitidwithWNOWAIT), kills the whole process group, then reaps, so an MCP server that outlived the CLI is gone before the arm directory is removed, Windows no longer shells out totaskkilland relies on the MCP server exiting with its CLI plus a bounded retry (up to about 7 s) when removing the arm directory, and on Windows that removal never chmods a symlink, a reparse point or a path outside the arm directory. On POSIX the arm directory is removed with a plainshutil.rmtree: no chmod repair at all, a read-only file goes without one, and a failure is raised. - Accept
statusline-setupas a Claude Code built-in agent in the paired-live and memory verify seat init gates. Claude Code 2.1.327 lists it in every init event, so the first livepassing-verifypair failed both arms at the gate before any model call. Custom agents are still refused. - Add
brigade skills fleet drift [--report], a read-only drift check for installed skill copies that needs no manualskills fleet statusrun. It classifies each copy ascurrent,refreshableorflagged. A copy byte-identical to a text a past release shipped, and a receipt-known stale bundled copy whose receipt proves it was never edited and whoseSKILL.mdis a recorded release text, is listed asrefreshablewith the exactskills installcommand to run. Every other drifted, edited, unknown, receiptless or linked copy (a symlink, or aSKILL.mdwith more than one hard link) is flagged. The step never writes a skill copy. Links, a missing copy and every copy outside the workspace, Hermes included, are reported or skipped, and report paths are normalized workspace-relative POSIX paths. It reusesskills fleet statusand the shipped-release history from the pristine refresh, so there is no second comparator. - Run it weekly as a new
skill-driftstep at the end of theweekly-outcome-ratchetrunbook. The weekly job flags and lists refreshable copies but never writes them. Unattended refresh is deferred because a workspace receipt cannot authorize a write, and refresh stays withbrigade initandbrigade skills install.brigade care installrefreshes an untouched copy of the earlier runbook, and a customized one is kept and reported as drifted. - Write the result into
ratchet-report.jsonunderskill_driftwith the current, refreshable, flagged and skipped counts and the bounded flagged and refreshable rows.brigade work briefprints it as askill_drift:line next tooutcome_ratchet:, the dashboard outcomes panel shows it, andbrigade outcome ratchetprints it. A row whose path is not a normalized workspace-relative POSIX path is dropped on read and never rendered. A laterreconcile --reportkeeps the last drift block, the block counts against the report size cap, and a report that cannot be read is never replaced. Refs #2590. - Stop the hub from building two full-scope search indexes for the retrieval-history veto when a scope has no judged search history, which cut an automatic exact-duplicate merge on a 1,500-card scope from about 510 ms of diagnostics and 540 ms of apply to about 140 ms and 170 ms on a release build (#2591).
- Raise the memory
proposal_limitsdefaultsdiagnostic_msandlock_msfrom 100 and 50 to 1000 each, so that merge applies with default limits instead of failing withmemory_auto_apply_budget_exceeded(#2591). - Cool a principal down for
auto_proposal_msafter itsauto_apply,verify_auto_apply,propose,compensation_watchorrollbackcommand is refused withmemory_auto_apply_budget_exceeded, so the raisedlock_mscannot be spent back to back under both writers. The hub answers that principal’s commands of those kinds with 429memory_auto_apply_cooldownbefore taking a writer, and arollbackthat hits the deadline now reportsmemory_auto_apply_budget_exceededinstead of a storage error (#2591). - Bound
brigade work briefwith a per-section deadline and a total budget, so a slow provider reports the section that timed out instead of hanging silently, and print the header before collecting so an outer timeout still leaves output. - Make the section deadline survive providers that catch
except Exception, and bound the remaining blocking providers (runs patrol, work-mode pinning) so no section runs unbounded. - Report a timed-out or failed section as missing instead of a healthy empty value in both the JSON payload and the status dashboard, and keep a corrupt task ledger failing closed with exit 2.
- Share one GitHub observation budget across the brief’s cloud tracker reads, and allow
BRIGADE_WORK_BRIEF_SECTION_TIMEOUTandBRIGADE_WORK_BRIEF_BUDGETto tighten the brief deadlines. - Files crawls warn when archive contention stops a run, report actual lock retry attempts, retry cache deletion without repeating exports or warnings, and retain the startup lock timeout while creating crawl tables.
- File crawls retry concurrent SQLite writer conflicts within the remaining budget and return a successful bounded stop with a safe resume cursor when the lock persists. Scan metadata reuses the crawl’s content digest.
- Rotate cached automatic reflection retries by last attempt so held proposals cannot starve later retries under
--limit. - Pace automatic hub application requests by one second and retry rate-limited refusals once, with at most
4 * limit - 1seconds of added sleep per run. - Fixed care reinstall opting existing workspaces into Tier 0 automatic reflection. New-workspace initialization records a versioned opt-in marker. Existing workspaces require an explicit switch or install flag. Cached retries no longer consume new-proposal slots.
- Windows native acceptance validates all six default care tasks, including the exact isolated memory-reflect command scheduled daily at 10:00. Reflection behavior is unchanged.
- Keep run and review scheduling signals in a separate append-only log so they cannot block local reflection proposals. Preserve scope matching, deduplication, and retractions. Route nested run receipts to the recall workspace and bound dispatch citations.
- Prioritize cited cards across scopes when failures are recorded in a configured verification workspace, while preserving scope isolation for legacy file evidence and the receipt shape for runs without memory citations.
- Require confined workspace signatures and matching producer work sessions for automatic lesson evidence. Recheck in-flight user corrections before publication, retain failed verification observations, and validate failing patch evidence historically while keeping lessons in review.
- Bind lesson evidence to independent registered verification, preserve failure context, and bound review retries. Route each admitted lesson alone to review until trusted origin admission is available. Keep prompt hooks free of workspace writes and refuse linked lesson state paths.
- Add automatic work-session lesson reviews through read-only worker seats, with idle triggers, persisted retries, capture admission, normal handoff ingest and a selectable care schedule with an off switch.
- Scheduled memory care marks unused agent cards stale under a configurable policy. References, pins and human cards protect against archiving. Search retained archives with
memory search --include-archivedand restore them withmemory care undo. - Automatic archiving of unused cards, including expiry retirement, is switched off in code until #2620 lands and will require a configured hub. Stale marking stays live with policy floors of 30 days before stale and 90 days before archive.
- Refuse rate-limited automatic apply requests and conflicting event replays before writer locks, including verifier automatic apply.
- Rate-check requests for terminal proposals and preserve exact committed replay behavior.
- Verify evaluation accepts a full corpus plus all retained feedback in one run, so review feedback no longer turns a full corpus into a no-go.
memory verify evalreports an unanchored or unreadable corpus card as a coded failure instead of a traceback.- The verify gate deadline scales with card runs (20 minute floor, 15 seconds per run), so a full corpus plus feedback can finish with real seats.
- The gate refuses duplicate case ids across the corpus and feedback as a no-go.
memory verify evalreports corpus and harness errors with theirverify_eval_*code (for exampleverify_eval_case_invalidfor a malformed case) instead of a generic code or a traceback.- Scheduled verify paces
verify_auto_applyrequests, tries the least recently attempted proposals first and reports a throttled attempt asrate-limited. - Verify state accepts the automatic apply attempt time, so a run that attempts an application saves its state and keeps the rotation order.
- Automatic apply requests refused for authorization or an unknown proposal no longer use a rate slot.
- Verifier automatic applies keep the 24 hour card cooldown that Tier 0 applies use. A card applied or rolled back in the last day is refused with
memory_card_cooldown_active. - Verifier automatic applies respect the scope and operation holds that an automatic compensation installs.
- Fix automatic verifier corrections being refused because their manifest attachment was counted as a correction class. Authenticate the exact proposal binding separately, retain admission checks for ordinary evidence appends, and document local binding trust and forced reinitialization behavior.
- Enforce shared automatic attempt rate limits for verifier applies while preserving committed request replays.
- Add offline labeled verification evaluation and hub admin-authenticated, append-only admission records. Scheduled corrections use a distinct transactional automatic action that rechecks owner, kill switch, policy, class and snapshot. Existing verify configurations stay disabled until explicitly enabled. Replay preserves production evidence independence and excludes hub-recorded automatic decisions from feedback.
- Compensation watches accept reviewed verifier evidence across evidence-only card revisions while rejecting intervening human edits. Review referrals retain their trip and cannot auto-apply. Failed trips remain retryable. Scheduled reflection discovers verifier-attested failures on the hub and stops forwarding local receipt paths. Scoped holds can be released while automatic apply stays disabled, and expired watch metadata is pruned.
- Stop retrying permanently stale compensation watches and duplicate pending review referrals. Allow scanner-refused automatic inverses to retry and report compensation failures to the CLI.
- Preserve the global auto-apply switch when releasing a scoped hold and skip descriptor-dependent watch fixtures on unsupported platforms.
- Keep post-apply watches active for distinct failure trips after a stale inverse and deduplicate each completed trip by its exact fingerprint.
- Reuse a failed automatic watch inverse for the same trip after fresh verifier and safety checks, without reusing review referrals.
- Treat the automatic compensation watch budget as a successful bounded poll so healthy history cannot pause scheduled reflection.
- Store scan progress per principal and scope in existing hub metadata and ignore client cursor authority. Reset on cycle completion to revisit healthy proposals for new regressions without a schema change.
- Scan a stable eligible set of N applies in ceil(N / 1024) scheduled runs from reset, with at most one extra run from an arbitrary position, provided the applies remain in the watch window.
- An occupied or refused archive destination now skips only that card. The lifecycle pass and later tending stages keep running.
- Automatic recovery holds a prepared decision that overlaps another unfinished operation for named recovery instead of stopping the tend run.
- Once automatic recovery hands a decision to an operator after a conflict or a blocking projection, later automatic runs keep it held even if the conflict clears. Only named recovery can finish it.
- Authenticate unused-card coverage and accepted opens with the fixed workspace receipt key. Unsigned or broken history blocks automatic retirement, and automated hook contexts cannot count as use.
- Preserve dependencies referenced by relative Markdown links or IDs followed by sentence punctuation. Skip symlinked reference files during lifecycle and expiry scans.
- Preserve failed card-read recording across processes, recover malformed intents with body-free quarantine reasons, and keep keyless reads free of intent files.
- Protect unused cards referenced by supported bootstrap files, managed Brigade plans and runbooks, and multiline or workspace-absolute Markdown reference definitions.
- Report that lifecycle and expiry are disabled when the workspace signing key is unavailable.
- Require healthy local read coverage and validated use evidence before unused-card transitions. Exclude search results and saved run output, protect instruction and workflow references, retain identity aliases, and make stale undo durable.
- Preserve configured path filters when searching archived cards and report the local-only search scope.
- Preserve authenticated card observation windows across up to four offline days, recover expired recorder intents with a fresh window, and keep explicit reads available when recording fails.
- Prune ignored, vendor, environment and build directories from lifecycle reference scans.
- Block automatic archival after unusable signing keys and concurrent reads, recognize escaped Markdown references, and exclude configured indexes from protection sources.
- Preserve archived search filters for custom card roots and report incomplete reference scans without stopping later care stages.
- Protect newly written and restored cards when filesystem dates are ahead of the lifecycle policy date. Keep references from fresh non-index cards protective.
- Disable automatic card archiving in code until #2620 supplies hub-anchored read coverage, while retaining stale marking.
- Serialize content reads and expiry moves with the read ledger, recheck expiry candidates before moving them, and fail closed when hub coverage is unavailable.
- Protect cards referenced by absolute runbook paths and enforce minimum lifecycle windows of 30 days before stale and 90 days before archive.
- Protect card references from scoped memory instruction files.
- Keep committed archive decisions pending when hub updates fail.
- Record lifecycle signal failures and continue later care stages.
- Handle Windows schedule query failures and preserve CRLF test fixtures.
- Document recovery when an archive destination is occupied.
- Restore expiry retirement planning for Windows CRLF cards while keeping content rechecks bound to the original bytes.
- Scan references outside the read-ledger lock and cache card identities and resolved links. Recheck coverage and use under a per-card lock.
- Keep automated prepared archive recovery closed until #2620, report unverified committed archive recovery by decision id, and recognize native Windows absolute references.
- Restrict automatic prepared recovery to captured file creations and byte replacements. Hold removals, moves and other effects for named operator recovery without trusting workspace classification.
- Keep manifest archive and undo recovery scoped to their explicit requests. Add
memory care recover <decision-id>for operator recovery. - Match Windows path case, fragments and quoted paths with spaces. Treat unreadable installed schedules as a lifecycle veto, validate saved lifecycle state and preserve earlier transitions when a card lock times out.
- Skip overlapping lifecycle and retirement cards with the blocking operation id, preserve other transitions after invalid state, and save later tend stages with named recovery commands.
- Leave conflicting automatic recovery prepared for named rollback. Require named recovery for origin stamps, append guards and document undo, regardless of the archive gate.
- Require a workspace receipt key for lesson review and discard keyless prompt spools.
- Order observations by authenticated history and acknowledge prompts only after the final persisted event check.
- Authenticate prepared lesson publications before recovery and preserve portable receipt paths and patch bytes.
- Gate automatic lesson admission until the non-rollbackable hub anchor in #2620 exists.
- Admit the first verification observation’s own authenticated receipt within five seconds of completion while retaining session and stale evidence checks.
- Persist queued correction observations before acknowledging their spool and deduplicate retries after interrupted acknowledgement.
- Validate historical lesson patch subject hashes against the reconstructed post-image.
- Read verification run IDs from failure-hook errors.
- Capture existing harness observations before recording lessons.
- Recover interrupted lesson handoff writes without quarantining partially written drafts.
- Record Codex user prompts so corrections submitted during lesson review interrupt publication.
- Recover lesson drafts after an exit between hard-link publication and temporary cleanup without accepting unrelated hard links.
- Use regular-file moves for lesson archival and malformed prompt quarantine on Windows.
- Lesson review accepts its own stored paths on Windows. The canonical path check no longer compares against a backslashed platform path.
- Authenticate lesson observations before using their timing or session metadata to admit a verified fix.
- Retain pending corrections until a matching authenticated prompt event is saved, and keep session activity time from moving backwards during delayed prompt drains.
- Lesson hooks record no observations and keep no prompt text while automatic lesson admission is off, so hook cost and stored prompt text no longer grow with nothing to consume them.
- Keep automatic lesson drafts in a private outbox through crash recovery so promoting handoff sweeps cannot bypass review.
- Evict reviewed lesson observations first, retain scanner-blocked prompt interruptions, and quarantine malformed prompt spools without blocking later reviews.
- Bind lesson receipts to observed verifier run ids and available harness fingerprints. Document key setup, active work sessions, supported command forms, and caller-controlled verifier identities.
brigade roster readyreads live Hub seat occupancy from the new read-onlyGET /models/usageroute, so positive seat limits and enrolled fleet policy seats report admitted capacity instead of staying unverified, and a full seat blocks.brigade roster readybounds its spool-lock waits with the existing 2.5-second client timeout and reports a lock timeout as unverified rather than reading it as no prior enrollment.- Check every selected Hub seat with a positive limit and report the smallest free capacity, so one full seat cannot hide behind an idle one (#2617).
- Report the root read-recorder sentinel and its recorded cause in
memory care status,memory care doctorandbrigade doctor, and addbrigade memory care clear-read-recorder --confirmto refuse anything but a plain single-link sentinel, start a fresh coverage window at the clear day, clear it, and record the clear. A cleared record that cannot be read fails closed (#2619). - Coalesce repeated read-recorder failures into one marker per day with a running count, keep the interval unhealthy, and never delete a marker changed after the pass that listed it (#2619).
- Hub memory keeps rollback quota checks flat as a scope accumulates automatic applies: the memory schema adds covering indexes for the principal and scope usage probes, so a rollback no longer reads every proposal body to decide a quota. A hub picks the indexes up when it opens the memory file on the new version, so restart the hub after upgrading.
- Record the specific
verify_eval_*code from the evaluation allowlist in thememory verify gatedecision record, so a malformed corpus, a duplicate case id and a timeout are distinguishable instead of all readingverify_eval_unavailable. An unclassified failure still recordsverify_eval_unavailable, and every failure stays a no-go with the same exit code. - Lesson review keeps a hook event when the prompt spool acknowledgement cannot be written, leaves the prompt queued for a later retry, and no longer forces review ticks to retry before counting an attempt.
- A prompt left queued by a failed acknowledgement stays deduplicated after its signed observation is evicted, so a later review window cannot take an older timestamp.
- Add bounded Tier 0 hub reflection proposals that anchor clean live claim blocks without rewriting other text, with replica coverage in reflection status and exact rollback through the existing journal.
- Require an exact hub-recorded automatic apply head for automatic anchoring. Treat direct writes, imports and human-reviewed heads as review-only, and identify all-no-delta anchor refusals with a stable hub code.
- Match reflection anchoring to hub-supported blocks, preserve anchor suffixes and line endings, count deferred work accurately, and read progress without the write lock. Automatic anchoring requires a hub-derived structural proof and automated writer provenance.
- Keep human anchoring holds out of automatic retry budgets until the head changes. Preserve real refusal reporting beside no-delta skips, accept whitespace-preserved pins in reflection, and skip storage-dependent tests on Windows.
- Derive anchoring eligibility from the exact automatic hub apply event, skip other heads, reserve four pending slots for repairs, and withdraw unapplied anchors with an audit reason.
- Strip claim anchors from history text ending in a newline.
- Read automatic hold diagnostics from preflight checks so stale anchoring revisions are suppressed while fresh eligible heads advance.
- Hold a withdrawn anchoring proposal for seven days, then let reflection propose the same anchor again, so a withdrawal only delays an anchor.
- Treat a compensation watch page that repeats the cursor it was given as the end of that poll, while a cursor that jumps back to an earlier page still fails, so a quiet scope finishes without a client error.
- Skip the retrieval and manifest scan for a permanently stale compensation watch only while every input the scan reads is unchanged, including grants and the scanner ruleset, and only when every bounded scan finished, so a later distinct trip is still reported.
- The memory lifecycle stage skips only a card it cannot read or commit, keeps the transitions its siblings already committed, and reports the stage as failed so
tendstill exits nonzero. A card file that cannot be decoded is reported instead of dropped. - Lifecycle reports policy floors it raised as
policy_adjusted, so a configured 7-day stale window shows as 30 days instead of changing silently. - A lifecycle pass that stops archiving for missing hub read coverage reports
archive_blockedand still commits stale transitions, whileblockedmeans the stage stopped.memory care statusshows both states. - The absolute-path reference match indexes each line once, so long single-line task ledgers no longer make a care pass scale quadratically.
- Reserve hub-created claim anchor ids in the card’s
claim_anchor_idsmetadata, matching the local proposal path, so a laterremove_blockcannot free an id for reuse. - Extend the hub’s automatic anchoring proof to admit only that reservation change beside the added suffixes, refusing any other metadata edit or an id the transform did not add.
- Keep
claim_anchor_idsand blank front-matter lines out of the ranking text both the local and hub search paths read, so anchoring cannot move a ranking digest. Aclaim_anchor_idsline is only left out while it holds nothing but anchor ids, so a comment or any other value on it stays searchable and digest-relevant. Index format is now3and the scorerlineage-source-v7, so stored retrieval evaluation records hold withretrieval_eval_index_format_mismatchorretrieval_eval_scorer_mismatchuntil a new run is recorded. - Apply an automatic anchor only when the stored
claim_anchor_idsline is already in the writer’s canonical form, or absent, so Tier 0 never sorts, re-spaces or dedupes existing reservation bytes. A card with any other form stays a review proposal. - Harden the explicit batch preflight retry fence: an existing
batch-result-*.jsonnow counts as evidence of a possible launch, so a deleted lifecycle journal can no longer re-enroll tasks that may already have run. A preflight refusal writes no result file and keeps its retry. - Make the batch finish summary reflect observation write failures: a result file or journal observation that cannot be written now returns
ok=falsewith the failure named in the receipt, instead of escaping as an unexpected run failure outside the batch summary path. - A pending review referral no longer counts against the pending principal or scope quota while a quorum-authorized automatic compensation replaces it in the same transaction, so the inverse applies instead of retrying a
memory_proposal_principal_quotaormemory_proposal_scope_quotarefusal every poll. Only the referral’s pending slot is discounted, and an inverse that holds instead of applying is rolled back if the principal or scope would end over its limit. - A human rejection of the watch review referral now vetoes every automatic inverse for the same
rollback_ofthrough acompensation_vetohub marker written in the same decision. The refused inverse recordscompensation_vetoedwithcompensation_result: failed, the card bytes stay unchanged, and a later, distinct trip still compensates. A rejected manual rollback proposal does not veto.docs/memory-care.mdrecords the decision. - Memory care drops the decision directory a refused prepare created, so a card blocked by an unfinished projection no longer leaves one empty journal directory behind on every pass.
brigade memory care recoveraccepts the id of an interrupted undo operation, so a card that undo blocks can be unblocked by naming that id.- The retirement stage reports cards blocked by an unfinished projection in one top-level
projection_blockedlist, never repeats them inrefused, and keepsskippedas integer counters only. - Scope
memory search --include-archivedto configuredcard_rootseven wheninclude_pathsandexclude_pathsare empty. Archived cards whose original path falls outside the corpus no longer appear in results. - Hold only the content classes of a compensated verifier proposal, so one compensated verifier correction no longer refuses every later verifier proposal or an ordinary Tier 0 evidence append in that scope.
- Name the matched
<scope>/<op_type>pair in thecompensation_class_heldrefusal. - Keep the real conflict or projection reason when the automatic recovery hold marker cannot be written, and report
automatic hold not recordedwith the write error instead of a generic unreadable-operations message (#2637). - Record the blocking operation id and status in the
automatic-holdmarker, and echo them in the held reason on later runs (#2637). - Treat a symlink at the hold marker path as held, so a dangling link cannot look like a cleared hold (#2637).
- Clear the hold marker only when named recovery commits or abandons the decision, and report holds made by
plan-fixes --applyin its result and summary line (#2637). - Hub proposal admission now refuses an all-
anchor_blocksproposal with HTTP 429memory_anchor_quota_reserveonce the principal’s pending and held proposals would leave fewer than four slots free, keeping those slots for anchoring repairs instead of spending them on automatic anchors. The count is read in the same writer transaction as the insert, so two reflectors sharing a principal cannot both spend the reserve, and non-anchor proposals still admit under the normal limits so repairs can use the last four slots. Reflection counts the refusal asanchor_quota_reservewhile later repair proposals in the same run still submit. - Classify anchoring eligibility and coverage with the hub’s own claim-block rules. A paragraph with inline code is no longer read as an addressable claim, an ordered list is one block as the hub reads it, and
engines/hub/tests/anchor-classification-golden.jsonpins the Rust and Python classifiers to the same blocks (#2639). - Refresh replica metadata when
auto_authoredis missing as well as whenscan_stateis missing, so a replica pulled before automatic anchoring existed can anchor unchanged heads without a rebuild. An explicitfalseis a hub-backed answer and is not refetched, and a hub that omits the field is asked once for that revision. - Persist the withdrawal
client_event_idand replay it, and read the proposal when the hub reports it already decided: a rejected proposal counts as withdrawn, an applied one is recorded without holding the anchor back, and any other state stays a failed retry. - Record a failed anchoring withdrawal per proposal and retry it on a later apply run instead of failing the run, keeping the proposal id and leaving the suppression flag unset until three consecutive failures stop the retries.
- Record a single hub use row per Read when the wired target and the memory root resolve to the same hub URL and credential, instead of calling
retrieval_usetwice with a 0.8 second timeout each time (#2640). - The Fleet Hub PR rule action row now reads “Required for the first action” instead of “Optional”, matching what the server enforces.
- A blank rollback revision is refused with the message the rollback form declares.
brigade skills doctor,brigade skills fleet status,brigade skills sync, andbrigade skills diffno longer raise when an installed skill directory is a symlink (including one that points outside the workspace), a dangling link, or a regular file; the copy is reported with asymlink(orunusable) state, the link target is shown (on Windows without the\\?\extended-length prefix), and the rest of the report completes. A missing.brigade/state root still reads asmissing, notunusable. The fleet report sent to the Hub keeps its existing statuses:symlinkis sent asexternalandunusableasunknown.brigade skills sync --write,install,uninstall, androllbackleave a non-plain installed skill copy untouched and say it was skipped and why, re-checking the path right before every write so a link planted after the first check is never followed.installreportsinstalled: falsewhen every target was skipped, and exits non-zero when one explicit--harnessis skipped without--force;--harness allskips that harness and continues. Registry and source-side symlink refusal is unchanged.- Stop
brigade skills sync --writeandbrigade skills install --forcefrom overwriting an installed skill copy with local edits: sync reports the copy aseditedand keeps it with no mutation, receipt or snapshot, andinstall --forceexits 2 until--discard-local-editsis passed (#2697, #2590). - Report an edited copy as
editedinbrigade skills fleet status(newedited_count), without anupdate_command, and printdiff:anddiscard:lines instead. - Extend the guard to
brigade skills rollback(new--discard-local-edits, which snapshots the edit first) (#2697). - Detect edits to a nested
skill.json(newinstalled.edit_fingerprint), report a receipted copy withSKILL.mdgone but other files present asunknowneverywhere, bind unchanged files as write-time preconditions insync --write, keep kept items out of a sibling’srestoredresult, and give every fleet status rowdiff_commandanddiscard_commandkeys (#2697). - Close the review gaps in the edit guard (#2697):
install --forceandrollbackre-verify the copy’s directory identity and bytes immediately before each removal and abort without mutating if it changed after the check, and the projection kernel re-checks each destination digest right before it applies a mutation, sosync --writenever overwrites a file edited after prepare. - Make
brigade outcome reconcile --applyrouting only (#2589, #2697): it sets status and the route policy marker from scorecard evidence and never installs, rolls back, uninstalls or otherwise writes a skill file, because every local input to a physical change (receipts, snapshot pointers, the registry) is writable by the agent being gated. The decision’sexecutionisrouting-only,--applytext and JSON list thebrigade skills installorbrigade skills rollbackcommands an operator would run (pending_commands), and the ratchet report,outcome ratchetand the session brief showpending_physical_actions. - Close the remaining race in the edit guard (#2697):
install --force,skills rollbackand the projection kernel (sync --write) now move the destination aside to a fresh quarantine name through the held parent, verify the moved copy against the checked bytes, and only then publish or delete, restoring it without replacing a new entry on a mismatch. The projection kernel now holds its parent through Windows handle operations as well, so the same move-aside check runs on Windows, and a rename the OS refuses aborts the mutation instead of committing unverified.skills rollbackand the demotion commands inoutcome reconcilewarn that the receipt and snapshot they trust are unauthenticated workspace files, andskills rollbackprints the snapshot path and fingerprint before restoring. - Each node’s T3 observer now reports its memory-used fraction on Linux and Windows, and the Hub stores it with the node’s health row (#2710).
brigade fleet placetakes the highest of CPU load, session ratio and node memory as a machine’s effective load, so a memory-bound machine sheds work; a machine with no fresh reading gets the informational reasonmemory-unknownand stays placeable (#2710).- Upgrade the Hub before the node observers: an older Hub rejects the new
memory_usedfield. The Hub adds the column to an existing health table on the first report (#2710). - Keep the full
brigade doctordiagnostic when a malformed.claude/settings.jsonand a refused Claude hook session directory occur together, so the session integrity refusal and the other ordered issues stay visible instead of being replaced by the hook settings error. - Make the hub pipeline’s Python memory client test wait for the hub to publish the index entry for the revision it just pushed, so a search issued straight after a push no longer answers from the older snapshot and reports the card as missing (#2723).
- Release a Windows
tasks.json.lockorrun.lockwhile a waiter holds itspidorowner.jsonopen: the release now unlinks those names with POSIX-semantics delete, under the stale-recovery gate, and only then renames the directory, so a contended release no longer raisesPermissionErrorand strands a live owner’s lock. A volume without that support keeps the previous rename-only behaviour, and a release that still gives up puts its metadata back. - Read lock metadata with delete sharing on Windows in every reader, including
owner.jsonand the patrol lane reader, wait out a name whose delete is still pending instead of failing, retry a denied release with a backoff that starts near 1 ms, and read the owner metadata once per stale check instead of twice. - Keep releasing by the published directory’s identity when
owner.jsonis lost or corrupt, and keep a reserved worktree’s lease directory empty so its owner can still remove it. - Fetch the release tags and the base branch in the Native guard workflow, so its shipped-file history check can run instead of failing every guard pull request since #2716 (#2748).
- A new
outcome-attestworkflow records oneoutcome-attest/<manifest>check run per verify manifest a push tomaintouches. The host reads those check runs throughgh apiand shows a separateseen passing in CItrial count inoutcome rank, the ratchet report and the work brief, for information only. The result is forgeable by a same-user agent on the host, so nothing promotes from it. A scheduled CI job will make promotion decisions in a follow-up. - Scoreable verify trials now carry a local attestation field, and
outcome rankand the weekly outcome ratchet report label how many trials are local versus attested. Independently attested trials remain a future capability tracked in #2591. - Governed native delegation is now split into a host-neutral
native_child_*core and a T3 adapter in thenative_t3_*modules, so a second host can reuse admission, capacity, journal and custody code.brigade t3behaves exactly as before, and every persisted schema, digest domain, journal event name and thet3-run prefix is unchanged (#2801). - Read-only Antigravity seats now start as
agy --sandbox --mode plan --print, so a researcher or reviewer seat can no longer write files through agy’s edit tools (--sandboxrestricts the terminal only).brigade runreads the resolved seat’sagy --helpand adds--mode planonly when the build lists it, so older agy builds keep the previous argv. On such a buildbrigade runprints one stderr warning that the seat is read-only by prompt only and that upgrading agy fixes it. A failed or timed-outagy --helpprobe is never cached as “unsupported”, so a transient failure no longer pins a capable agy to the older argv. Write seats are unchanged. - Antigravity skills, commands and superpowers are now projected under
.agents/(.agents/skills/<id>,.agents/commands/,.agents/superpowers/), the workspace root agy discovers, instead of.antigravity/.brigade initandbrigade reconfigureremove the Brigade-owned copies at the old paths only after the replacement exists. A legacySKILL.mdgoes when this run placed.agents/skills/<id>/SKILL.mdand the file still matches a text Brigade wrote or shipped. A legacy command or superpowers projection goes when the same-named managed projection exists under.agents/and its body still matches the recorded fingerprint. Edited or user-authored files, symlinks, Windows junctions and anything below them, and.antigravity/memory-handoffsare left alone, and--no-wireremoves nothing. Only directories a removal emptied are deleted, so an empty directory you created stays. - A persisted
.brigade/tools.tomlthat still mapsantigravityto the old.antigravity/commands/or.antigravity/superpowers/default now moves to the.agents/path onbrigade initandbrigade reconfigure. A path you customized is left as it is. - The managed gitignore block now ignores
.agents/commands/and.agents/superpowers/, and keeps ignoring.antigravity/commands/and.antigravity/superpowers/for one more release while old checkouts still hold copies. It leaves.agents/skills/tracked, because other harnesses read that directory and teams commit skills to it. - A bare
gemini-<version>-<family>model pin on an Antigravity seat, such asgemini-4-hydrogenorgemini-4-neon, now gets the default-loweffort suffix, because agy lists Gemini models only as effort-suffixed slugs. Ids that already end in-low,-medium,-high,-xhighor-max, hyphenated families such asgemini-3.8-flash-lite, and non-Gemini ids, are unchanged. - A headless
agyrun that exits 0 afterjetski: no output produced(agy auto-denied a tool permission) is now a failedpermission-deniedrun that carries agy’s reason, in place of a bare “empty output” failure. Read-only Antigravity runs on agy builds with plan mode also pass--add-dir <cwd>so the seat can read its checkout (#2814). - Publish
brigade-clithrough 0.33 as a full build of the same source under the old name, not a package that depends onbrigadestack. It has the same version, dependencies, extras andbrigadepackage files asbrigadestack, and declares thebrigade,brigade-cliandbrigade-hookcommands.pipx upgrade brigade-clistays an ordinary in-place upgrade; the thin package broke it, because pip wrote the newbrigadestackfiles and then the oldbrigade-cliuninstall deleted them, which left every command failing withImportError: cannot import name 'process_main'(#2816). publish.ymlbuilds thebrigade-clisdist and wheel from a temporary copy of the tree thatscripts/stamp_brigade_cli.pyrenames, and never edits the checkout.distribution/brigade-cli/pypi/pyproject.tomlis removed, andscripts/version_sync.pyno longer tracks it.- The PyPI publish job runs
scripts/check_cli_upgrade.pyfirst: in a fresh venv it installs the newest older stablebrigade-clifrom PyPI, upgrades it to the built wheel, and requiresbrigade --versionto report the new version andbrigade-hook --helpto run, so a broken in-place upgrade cannot be uploaded. - Publish the npm package as
brigadestack.npm install -g brigadestackandnpx brigadestackinstall the same CLI as before and provide both thebrigadeandbrigadestackcommands.@escoffier-labs/brigadestays on npm as a compatibility package that depends on exactlybrigadestack@<same version>and declares its ownbrigadecommand, sonpm update -g @escoffier-labs/brigadekeeps a workingbrigade.npm-publish.ymlpublishes the compatibility package last, after native registry acceptance ofbrigadestack, with the same integrity and provenance reconciliation as the other packages so a failed run can be rerun, and the one-timebrigadestack-npm-publish.ymlbridge workflow is retired. The compatibility package version followsnpm/feasibility/runtime.json, and a test fails a PR when they drift. It runs on Node 22.0 to 22.14, whereprocess.execveis missing, by spawning the real launcher (#2816). - The npm launcher names its private uv tool directory after the bundled wheel (
tools/brigadestack) and accepts onlybrigadestackand, for payloads up to 0.31.0, the legacybrigade-cli. Payload roots are keyed by the wheel’s SHA-256, so an upgrade from an older npm install provisions a fresh root and never reads, follows links in, rewrites or deletes the oldtools/brigade-clitree (#2816). - The plugin MCP configs launch
npx -y brigadestack@<version>, and the downloads badge countsbrigadestackand@escoffier-labs/brigadenpm downloads together, with a per-package breakdown (#2816). - The
@escoffier-labs/brigadelauncher finds itsbrigadestackdependency by walking up from its own directory, ignoringNODE_PATH, and runs it only when its version equals its own pinned version and itslauncher.cjsis a regular file inside that package. In the spawn fallback, a dependency that ignores the forwarded signal is killed after a bounded delay, or at once on a second signal (#2816). - The npm publishers bind registry provenance to the immutable repository ID (
1238165856):npm-publish.ymljobs that build or publish run only whengithub.repository_idmatches,publish.cjsandpublish-compat.cjstake the repository name fromGITHUB_REPOSITORY(either Brigade name) and requireGITHUB_REPOSITORY_ID, and the registry verifier rejects provenance whose signing certificate lacks the source repository identifier or carries another one (#2816). - Publish the Python package as
brigadestack.pipx install brigadestackanduvx brigadestackinstall the samebrigadeCLI, Python imports, and storage formats as before.brigade-clistays on PyPI under the old name (#2816). brigade updateinstallsbrigadestackon both channels and resolves daily beta wheels from thebrigadestackproject, which is the only name that publishes them. On abrigade-clipipx app it installsbrigadestack, removes the old app, installsbrigadestackagain to restore launchers older pipx removes by name, runs setup from thebrigadestackenvironment, and only then records the update. That environment is located by asking pipx (pipx environment --value PIPX_LOCAL_VENVS, absolute paths only, thenPIPX_HOME/venvs), never from thePIPX_LOCAL_VENVSvariable that pipx ignores, and it is used only when itspipx_metadata.jsonnamesbrigadestack. If the removal fails, or on Windows where retiring the old app waits until after exit, the update exits non-zero without recording and prints the commands to finish. If the second install fails, the launchers are relinked to the existingbrigadestackenvironment without the network and nothing is recorded. Outside pipx, an install with both abrigadestackand a leftoverbrigade-clidistribution counts asbrigadestack(#2816).- Count
brigadestackandbrigade-cliPyPI downloads together in the downloads badge, with a per-package breakdown in the metric JSON (#2816). - The MCP Registry manifests launch
brigadestack, the version check sends abrigadestack/<version>User-Agent, and install hints, the Dockerfile and the install docs namebrigadestack(#2816). - Stamp npm launcher, platform companion, and compatibility archives with the publishing repository and issue tracker URLs. Require the archived repository URL to match the workflow before publishing, and verify registry provenance under the repository recorded in the original archive.
- Accept both
escoffier-labs/brigadeandescoffier-labs/brigadestackin the release workflow guards, the component manifest generator and verifier, the published-artifact and Windows acceptance scripts, the npm revalidation workflow and the npm candidate preparation, so releases keep publishing and verifying across the repository rename. A new manifest records the repository its workflow ran in, and attestations are verified under the repository the release’s manifest records, which must be one of the two names and the same for every component. Any other repository is rejected. - Bind both names to the immutable repository ID (
1238165856), so a new repository that reuses the old name after the rename cannot pass as Brigade. Workflow guards comparegithub.repository_id. The manifest verifier and both acceptance scripts resolve the recorded name and require that ID before any release, tag or asset lookup.gh attestation verifyruns with--format jsonand the signing certificate’ssourceRepositoryIdentifiermust equal the ID.brigade updatealso checks the ID when the old name answers directly. brigade bug --submitasks REST for the repository’s ID and name before searching issues or creating one, and refuses to submit when the old name resolves to any other repository, instead of falling back to it.- Add the Orca 1.4.268 adapter for governed native child dispatch and share the workspace’s native worker limit across hosts.
- Keep a live paired-trial cell from leaking processes: the arm drains its process group with pidfd-pinned signals before removing its work dir, a /proc read that is not a disappearance or any cleanup that cannot confirm a quiet arm fails only that cell and keeps its work dir, and the arm environment disables the update refresh so no detached child writes into its home (#2830).
- Agents use focused local checks before opening a pull request and rely on required CI on the exact head commit for suite and coverage evidence.
- Work closeout uses the newest local verification for the session and current tree after skipping busy and canceled runs. It reports incomplete runs and unattributed receipts and includes the command count when a receipt is selected.
- Work closeout accepts a matching work session ID across harness sessions. Verification and closeout treat changes confined to
.brigade/as the same tree. - Verification runs the commands again if the tree changes between accepting a reusable pass and capturing the new receipt, even if cleanup of the unused receipt directory fails.
- Load tracked workspace verify manifests from the default branch merge base and stamp receipts when the working copy differs.
- Allow a new workspace manifest only after it reaches the default branch. Refuse checkouts that have a remote but no resolved default-branch ref. Receipts created before this change may no longer match because the payload hash now covers the base blob bytes.
- Codex Cloud launch accepts a base branch and uses the repository’s default when none is supplied. It checks GitHub through
ghfirst, falls back to Git, and distinguishes a missing branch from a failed lookup before requesting a fleet lease. - Add
brigade fleet policy reservation acceptso the selected target can accept its routing reservation before renewing or releasing it. - Fix verify trial command matching on Windows when a manifest command uses backslash paths.
brigade roster ready --route orcachecks the local Orca executable, version, retry flag, and roster target agents without starting a worker or reserving capacity.- The memory hub no longer links or collapses a new card under a keeper because the keeper’s
aliasesnames an id the card reused. Analiaseslineage edge forms only when the named card’s current incarnation began before the keeper revision that wrote the alias. - A merge no longer copies an alias from the retired card to the keeper when a card now holds that id and began after the alias was first written. A keeper whose id was retired and reused dates its aliases from the new card. An alias with no known date never forms an edge.
- Every lineage key now uses the same reuse dating as
aliases:supersedes,merged_fromandsuperseded_byform an edge only when the named card began before the owner first wrote the name, judged per key. An id in bothaliasesandsupersedesno longer keeps an undated edge, and asuperseded_bynaming a reused id no longer collapses the owner under the new card. A reviewed accept of a chained merge is refused asstalewithinherited_alias_reusedwhen an inherited alias id was taken after submit. Dating reads at most 256 histories per publication through a reverse index from named id to owners, and a builder that has been dated stays dated. Scorer version is nowlineage-source-v6. - Memory care archive and undo now follow the cards still in use when several share an id: the hub copy is retired when the last holder is archived (including records written without a path), archiving a card while exactly one other card holds the id writes that holder’s text to the hub at once when the record’s owner is the archived card or is already gone or archived, undo revives a card only when it is the only holder left and this hub and scope retired the id, and the tend hub stage repairs earlier archives that were skipped for a collision. A retire or handover goes out only for a record this workspace wrote or whose hub text is text this workspace archived; otherwise it is skipped as
card-id-not-owned. A later archive of a different file closes an earlier decision only when its own hub write is done, and the earlier one waits unchanged while that write is queued, a queued handover sends the holder’s text as it is when the hub returns, a record whose named file is still on disk keeps that file as owner, andtendreads the cards and the journal once per run. - Refuse non-card archive paths and pinned or malformed frontmatter, preserve file modes and index bytes on undo, serialize care recovery, and keep withheld cards off the hub during revival and retries.
- Handle integer hub read days, supersede stale revivals, accept valid block frontmatter, honor all archive pins, count successful archives toward the cap, and release abandoned kernel operations without replaying recovery over recreated cards.
- Preserve index identity through archive recovery, show partial recovery destinations, and retain undo access after completed removals.
- Refuse replay into changed hub destinations or revival of missing or reidentified cards. List destination mismatches for review on every tend run.
- Refuse unsafe reflection card roots before writing any state under those roots.
- Skip hub retirement when the archive does not own the published source path or another local card holds its id. Report the skip reason while completing the local archive.
- Preserve saved before-images through prepare recovery and release unchanged abandoned archive copies only when identical saved bytes remain, so a changed live card can be archived again.
- Read the memory-care journal once per metadata plan so health and session briefs avoid repeated decision-file scans while preserving undone-fix refusals.
- Bound brief harness wiring discovery to known roots, label its scope in brief output, share care receipt reads, and resolve watched inboxes once per call, and reuse handoff inspection within each fleet repository summary to reduce session brief work on large workspaces.
- The
brigadestackbridge packages now pin Brigade 0.31.0, and the install docs use 0.31.0 for npm and the bridge. brigade care installno longer deletes the memory-care runbook directory when a shipped template is missing, andbrigade memory care init --with-runbooksadds only missing runbooks and keeps existing ones unless--forceis given, which replaces shipped files that differ from the templates after copying each to a.bak-<UTC timestamp>file. Operator-written runbooks are never overwritten or deleted, and--dry-runwrites no runbooks at all.brigade care installno longer deletes or overwrites runbooks. A workspace missing one newly shipped memory-care runbook used to have the whole.brigade/memory-care/runbooksdirectory replaced with the templates, deleting operator runbooks and customized shipped ones. Every care runbook writer (shipped memory-care, daily-observability, memory-closeout, run-patrol) now keeps any existing regular file, refuses a symlink, directory or other non-regular entry at a runbook name (exit 2, path named), refuses a symlinked or outside-the-target.brigade,memory-careorrunbookspath, stages in a private temp directory, and validates and pins every runbook before publishing any.care installpublishes all of them as one batch, so a bad destination for any runbook leaves every runbook unwritten, and--dry-runwrites nothing and prints the runbooks it would write. An OS failure while publishing exits 2 naming the file and the ones already published instead of raising.brigade memory care init --with-runbooksadds only missing shipped runbooks; with--forceit also refreshes shipped files that differ from the templates, printing each one it replaced and copying it to<name>.bak-<UTC timestamp>first. A shipped file that differs only in itspinsblock (after abrigadeupgrade) is re-pinned in place with no backup and reported asre-pinned.- Documentation-only pull requests now skip the heavy CI jobs even though they carry the required changelog fragment.
.brigade/config.jsonsaved with a leading UTF-8 byte-order mark (as some Windows editors write it) no longer breaks every command. The config loader, work mode, the instruction inventory and the Grok work hook now read it the same way.- The Hub overview deck no longer shows a node whose native T3 observer stopped reporting as idle. The routing snapshot now classifies each machine with the same T3 health check placement uses, so a stale, failed, missing or unreadable observer reports unknown free slots (
sessions-unknownort3-health-missing) instead of the slots left by expired session rows. The deck renders that machine as unknown, adds nothing to the Idle or Offline cards (the Idle card says how many it could not count), keeps the verdict at COVERAGE UNKNOWN instead of ALL CLEAR, and names the reason in the control-plane table. Fresh nodes render as before. A Hub whose nodes do not run the T3 observer yet reports every machine as sessions unknown until they do. - Remove unfinished client-side message encryption and the mesh extra. The fleet keys commands report removal in 0.32.0. Plain messaging is unchanged. Hub sealed storage, key routes and schema remain until the next hub contract version.
brigade fleet campaign consume KEY --worker SEAT [--watch]takes the next eligible campaign member through generation-fenced ownership, runs it throughwork dispatch, and records the attempt and run checkpoint. Each run is stopped before its lease expires, a lease too short to use is refused, and a member whose run may have outlived its grant is held on that node. A successful run leaves the member open.- Require a verified clean interactive origin for automatic handoff filing and keep missing or untrusted origins in human review. Drafts record unknown trust until harness session observation is connected.
- Authenticate review drafts and retry flags before automatic inbox draining. Keep legacy or altered drafts and writer malformed folders in human review, and remove stamps after handoffs are archived or resolved.
- Automatic card fixes accept only plain frontmatter with independent single-line fields, preserve LF, CRLF and byte order marks, and refuse mixed line endings.
- Memory care tolerates pending-cache write failures, rebuilds invalid cache rows, retries legacy abandoned undos, shares planning scans and Git probes, uses UTC dates, and reports lock contention without a traceback.
- Keep fleet hub credential lookups on their own pool, sized like the handler pool (
hub_threads()readers, 2 to 8, and the same 1,024-job queue), so a slow status or claims read no longer holds the 2 s credential deadline and answers503 {"error":"hub busy","reason":"credential-lookup"}without making authentication a smaller choke point than it was on main. - Route every native route’s own token check to that pool too: the
claims,heartbeat,messagesandregistrationhandlers and the memory route’sStore::authenticate. Only real data reads stay on the handler pool, so the second read no longer answerscredential-lookupwhile a handler read is slow. - Give the hub at least two handler readers on a single-CPU machine, and count a handler or credential read job’s 2 s deadline from when it was queued rather than when a reader starts it, so no caller waits out a queue wait and then a run window it will not read. The memory pool keeps its own policy: its run budget counts from when a reader starts, so a search that queued for most of its limit still gets a full run window.
- Name the request log’s
credential_kindfrom the same lookup that authenticates the request.anonymousmeans the request presented no bearer token, or its lookup completed without a live row, so an unknown or revoked token reads asanonymousas it did on main;uncheckedcovers a presented token no lookup completed for, such as one refused before the lookup or one whose lookup timed out. - Add a
poollabel ofhandler,lookupormemorytobrigade_hub_reader_jobs_total,brigade_hub_reader_queue_wait_seconds_total,brigade_hub_reader_run_seconds_totalandbrigade_hub_reader_timeouts_total, count a full queue’s refusal asreason="queue-full", and keepbrigade_hub_reader_queue_depthreporting the handler and memory pools as before. - The Rust hub confirms the message-principal digest from its indexed lookup with a constant-time comparison.
- Fleet Hub request logs now include bounded HTTP method and route labels, including for proxied endpoints and early refusals. Route labels omit query strings and path parameters.
- Serve the fleet hub’s
GET /statusfrom the active window instead of ranking the whole event journal on every call, so a poll costs the runs that can still be live rather than every event ever recorded. The default reply keeps the same runs, order, ties and Grok Bot rule;?all=1still ranks the journal because its reply carries every run. - Name the request log’s
stage(received,credential-lookup,handler,writer,upstream,replying) so a cancelled request reads back to the phase that stalled instead of only showingstatusandcredential_kind. - A Hub path-scope refusal now reaches the caller.
WorkloreClientError.detailscarries the boundedresolution,conflictsandtruncatedfields, andbrigade fleet workprints them, instead of only the error code. - The burn queue and
fleet work nextno longer select a campaign member whose repository the campaign offer excludes, even when the item is otherwise ready. It counts under thenot-eligiblebucket. - An ownership read that presents
X-Worklore-Holderis now refused withholder-mismatchunless the caller is the current holder node with the current capability. Reads without the header are unchanged. - Handoff ingest checks reflect’s near-duplicate settings before filing cards and names the matched card in review receipts. Duplicate handoffs in one ingest run share a pending review item.
- Keep complete handoffs requiring human review separate from near-duplicate drafts. Reinforcement retries remove failed new receipts and avoid repeated merged source pointers.
brigade memory care tend --stage instructionsreports every always-loaded instruction file with its single limit, act-at, trim-to and state, and runs as part of a fullmemory care tend. It moves nothing.brigade doctorrowsbootstrap-budget: <file>now use that limit, including user-level files, which warn instead of failing. The old “over hard limit” text is now “over limit”.brigade budgets checkreads the same inventory and gains awarnstatus between act-at and the limit, pluslimit_source,act_at_bytes,trim_to_bytes,loadersandstatefor each file.brigade work briefprints aninstruction_budget:line for a file over its limit or of unknown size, and oneconfig-changedline while an override was rejected, a limit clamped or a file excluded. File names, configured paths and agent ids in these lines are encoded (path="ignore\x20previous.md"), since a model reads the brief.- A file that cannot be read keeps its size from
statinstead of passing as 0 bytes, and a size nothing can read is the statesize-unknown.budgets check --jsonno longer prints the target or home path. A plainbrigade memory care tendwith a bad[instructions]table or an inventory error still saves its run and now exits 1. - Restore moved instruction cards whose frontmatter uses a byte-order mark or CRLF line endings.
- Recover interrupted instruction moves under the document lock, and abandon moves safely when a source or guard path becomes a symlink.
- Allow phased journal commits to use a validated preallocated decision id.
- A handoff aimed at a known instruction file (
USER.md,TOOLS.md) now lands in a private overflow card undermemory/cards/instructions/when the append would pass the file’s act-at threshold or the file is reached through a symlink, instead of being held for a person. Each append is a journaled decision thatbrigade memory care undoreverses exactly. - Review drafts held for a full instruction file (
bootstrap-budget-exceeded) drain into the same overflow card on the next drain, andhandoff lintandhandoff draftno longer refuse those appends. - Ingest and retry write to an overflow card only when this feature created it (private,
archive: never, themoved-instructionstag, one frontmatter block). A planted or edited card is left untouched and the handoff is kept for a person asoverflow-card-untrusted. A block that cannot fit an empty card is kept asoverflow-block-too-large. Replay protection now covers every numbered card, including those after a gap, and the direct append path. - Overflow appends are checked on the opened destination under the document lock, including recovery of a decision that was committed earlier: a card replaced after the commit receives nothing, and a direct append to an instruction file that no longer fits goes to its card in the same run. A file that was already hard linked still takes direct appends.
overflow-card-untrustedis now a retry code that the drain re-evaluates every run, and ingest and the drain record each blocked card and the drafts waiting on it in.brigade/memory-care/inbox/blocked-cards.json. brigade mcp syncno longer blocks a Claude Code server withnative_auth_source_collisionwhen its only catalog auth reached the catalog from Codex (bearer_token_env_var,http_headers,env_http_headers). When the liveclaudeorclaude-userentry carries aheadersHelper, that helper is the auth for the harness: the sync leaves the Codex-native fields out of the Claude entry, keeps the helper, writes the entry and reports itcurrent, so a second sync is a no-op. Each dropped field is reported asnative_auth_helper_precedence(field name only, not blocking) in the plan, sync and fidelity output. Catalogheadersnext to a live helper, including next to a Codex-native field, are still blocked withnative_auth_source_collision, and--forceand--adoptstill do not override it. Origin, transport and removal blocks are unchanged, entries without a helper project exactly as before, and Codex entries keep their own auth.brigade mcp syncand the harness profile sync and uninstall now read each native config file once: the live entries, the projection, the rendered file and the drift check all come from the same bytes. AheadersHelperadded by hand while a sync is running is now reported as drift, with nothing written for that file, instead of being overwritten by a projection built before the edit. If the live entry changes between planning and writing, a current server is reported as a conflict (live_entry_changed) and the rest of the run proceeds, and a server that is written has its status and fidelity rows recomputed, so the output describes what was written.native_auth_helper_precedenceis only reported for a server that is written or current, never for an unowned or blocked one.brigade mcp importfollowed bybrigade mcp sync --writeno longer strips auth from remote MCP servers. A Claude CodeheadersHelperis kept on the same live entry (it is never copied into the catalog or the ownership sidecar), andimport --mergenow copies Codexbearer_token_env_varand header settings into an existing catalog entry for the same server name and exact URL when that entry has no header or auth setting of its own, reporting it asnative_auth_merged. The kept helper is bound to its URL origin and the check fails closed: a URL with userinfo, a backslash, whitespace, a percent-encoded or non-ASCII host, or a bad port has no origin and never matches. If the catalog moves a server to a different origin or to stdio, sync blocks that server (native_auth_origin_changedornative_auth_transport_changed), and it also blocks a server whose catalog entry supplies headers next to a live helper (native_auth_source_collision); nothing is written for a blocked server and--forceand--adoptdo not override it. A kept helper also stops a removal:brigade mcp sync --prune, a harness profile catalog removal and a harness profile uninstall leave an entry that carries aheadersHelperin place and report that server asnative_auth_blocks_removal(value-free, naming the server and harness); the rest of the run completes, a blocked profile run exits 1 with statusincompleteand keeps its ownership record, and the operator removes the helper line or the entry by hand. An install that an earlier sync already stripped has to restore theheadersHelperorbearer_token_env_varline from a backup of its Claude or Codex config; Brigade cannot recover a value it never stored.- Reconcile queued retirement and revival with current local bytes before replay, and protect cards read through recall, connectors, file-read hooks, replicas, dispatch context, and identifiable vault projections.
- Block automatic retirement when hub read history is too young, malformed, or incompletely paginated, and retry local read recording once after lock contention.
- Automatically reverse a policy actor’s own applied memory edit when its exact applied revision is unchanged. Scheduled reflection watches retrieval regressions, failed card outcomes and contradicted blocks, records compensation decisions and holds the affected operation class until an explicit go record.
- Keep pending human review referrals open until the matching automatic compensation applies, including retries after automatic apply is re-enabled.
- Memory care now removes an unchanged resolved copy when retry publication is refused. It restores the draft without overwriting an occupied inbox path.
- Bound compensation watch cycles with a hub-owned high-water mark so sustained arrivals cannot starve older proposals that become eligible behind the cursor.
- Refresh refused compensation inverses after evidence-only head changes while preserving the proposal ID and all apply safety checks.
- Prefer a later card with an automatic compensation quorum over an earlier card that only qualifies for review.
- Resolve compensation signals from active, credential-bound hub attestations and require independent verifiers for automatic reversal. Attribute retrieval regressions to the watched proposal with a 0.01 tolerance, scope successful compensation holds, honor operator stop controls, paginate retained signals, and report failed compensation accurately.
- Prefer an authenticated two-principal verifier quorum over a review-only retrieval regression during the same compensation watch, so automatic reversal does not wait for another polling cycle.
- Supersede a matching pending compensation review referral when a later verifier quorum authorizes automatic reversal. Record the reason, preserve different inverses, and refresh the digest when retrying a rebased inverse.
- Describe the shipped memory reflection, proposal tier, compensation and verification autonomy behavior in the execution model, outcome scoring and roadmap.
- Failed runs and review findings with card references now add deduplicated negative evidence. Memory verification prioritizes pending negative evidence within a bounded batch share and keeps the existing verification cooldown.
- Accept the hub’s
sha256:policy digest inmemory proposals decide, including the bare-hex form, so an operator can copy the value printed byproposals showand get an accept decision past the hub’s digest check. - Note on a non-JSON
memory proposals listthat an empty result can also mean the credential lackslist_proposalson*, while leaving JSON output unchanged. - Memory search follow-up hints now open fused scoped matches by card id. Search JSON documentation now covers local publication ids.
- Add
memory verify showto check the proposal’s manifest and packet hashes before showing evidence quotes and current file status. - Record review decisions by verdict and suppress rejected corrections until the card revision or evidence changes.
- Advance scheduling after checking an unchanged rejection so other stale cards can be verified, and skip the same rejections in dry runs without model calls.
- Refuse review manifests outside their applicable hub states and discard staged packets when a stored manifest conflicts.
- A single exact-duplicate merge of two
agent-unreviewedcards now passes the hub’scard_trustgate when one credential wrote both cards and is the one applying, so it applies automatically on a real memory scope with no reviewer. Trust is unchanged and a rollback restores both cards. A flagged card, mixed trust, a pair written by different credentials or applied by another one, several pairs, a keeper retiring more than one card, a pair beside other ops, andappend_evidenceoranchor_blocksonagent-unreviewedcards stay held. Proposals over eight cards are refused at submit. Lineage review now reads every card of a merge at any trust, so an unreviewed pair with existing lineage, an escaped lineage value, or a live card naming the keeper waits for a reviewer. - Near-duplicate reflection no longer skips a cluster because the keeper’s only anchored paragraph has inline code. The supersede op pins only the newer card, so the keeper needs a claim anchor, not a block the hub can pin.
- Point the stable npm package at Brigade 0.31.0 by pinning its PyPI wheel, release component manifest and checksums, and cover the Linux-only
brigade-hubcomponent in the payload audit tests. - Orca coordinators can use
brigade orcato enroll local work, claim replay-safe starts, report worker outcomes, and track workspace capacity through worker release and acknowledgement. brigade outcome reconcile --reportnow writes.brigade/memory-care/outcome/ratchet-report.json, a versioned advisory summary of the run’s decisions, regression holds, rollbacks and ineligibility rate, and the weekly memory-care ratchet runbook passes it. A report path that cannot be written warns on stderr and leaves the reconcile exit code alone.brigade outcome ratchetprints that report without ranking or reconciling, andbrigade work briefadds oneoutcome_ratchet:line. The brief names holds even when the size cap drops their rows, and both surfaces showmode=dry-runormode=applied.- The Center dashboard outcomes view shows the report’s regression holds and rollbacks with its age and mode, and marks a report older than a week as stale.
- Add
brigade outcome reconcile --proposals, which files one skills inbox proposal for eachregression_holdorregression_rollbackon a Brigade-bundled skill. The proposal stages the current skill text unchanged, is markedrequires_revision, and carries a behavioral contract built only from the observed artifact, reason code, receipt run ids and the failing check ids and commands read back from those receipts. A gone receipt readscommand unavailable. Only a copy whose own install receipt is a reviewed Brigade bundle, and whose files still match that receipt, is staged. Registry skills are reported asflagged, a skill installed from different sources in different harnesses asflagged: mixed-source, a hand-edited bundled copy asflagged: local-edit, and path skills or a copy the receipt cannot vouch for asskipped. Observed regression holds file nothing yet. - Make that filing idempotent through an
outcome:<artifact_id>:<fingerprint>dedupe key, so a repeat run reportsexisting, and a rejected proposal stays muted, for a later rollback of the same text as well, until the skill text changes. A failure warns and never changes reconcile’s exit code, and a dry run files only when--proposalsis passed and says so. - Refuse
brigade skills inbox acceptfor arequires_revisionproposal whose files still match the unrevised text it was filed with, or that lacks that record (exit 2,--forceincluded), because accepting it would change nothing and still mute the dedupe key. Re-filing the same unrevised files under a different behavioral contract is refused atinbox addand again at accept. - Store the filed, existing, flagged and skipped counts in the ratchet report and show them in
brigade outcome ratchet, as a newoutcome_proposals:line inbrigade work briefand in the dashboard ratchet panel. The weekly outcome ratchet runbook now passes--proposals. - Keep overflow-card keys and source paths as literal strings in YAML frontmatter, including keys such as
yes,nullandon. - Test real ingest and recovery processes together to guard overflow cards and review drafts during lock contention.
- Memory care now reuses overflow card checks for held drafts with the same target file and type.
- Fleet Hub policy sessions idle for more than 14 days are now swept from the session, pending, and acknowledged tables on the next policy save or rollback, so dead sessions stop accumulating policy copies. A session record does not sweep, so a session that only passes launch checks is never removed while its revision is current. The acknowledged history and revision audit trail are never touched, and a swept session is refused like an unknown one until it prepares again. Part of #2710.
brigade fleet policy status --json(GET /policy/status) now returns slim session records, about 0.8 KB each instead of about 18 KB, so the status body fits the bounded client again on a Hub with many stale sessions. The status sessions no longer carryloaded_snapshot,pending_snapshot,sources,effectiveorselected; read those from the policy page or the session endpoints, which still return full rows.- Move main and the beta update base to 0.32.0 after the 0.31.0 release, so
brigade update --channel betaselects0.32.0.devYYYYMMDDwheels once the first one publishes and fails closed until then. - Session presence skips dirty paths containing control characters or invalid UTF-8 and marks the snapshot truncated so other dirty paths can still be reported.
- The README and overview now say that memory reflection can apply two low-risk operations without human review when a hub policy enables it and every gate passes, and that this is off by default.
- The memory retrieval gate now has a bounded-drift rule for exact-duplicate merges on a real scope. The retired card must be newer than the keeper, dated by when its current claim body first appeared so a revived or edited-into-copy card cannot pass as older, and a keeper may retire at most eight cards (
retrieval_eval_merge_group_too_large), trust andautomatedmust match, the keeper must keep every search token and every literal line of the retired card, no live card may link to the retired id in any spelling, including other case, spaces or hyphens, and the keeper may change only by the aliases and evidence the merge writes. The retired card’s matches move to the keeper, while other cards’ scores shift with the scope-wide statistics and near-ties can reorder. Each failed check holds with its ownretrieval_eval_merge_*code. Merges still wait for review because the one-card blast cap, evidence floors and trust gate hold them first. - Memory automatic apply can now pass on a real scope for evidence appends and block anchoring, because the gate compares a ranking-only projection instead of raw card bytes. Evidence refs and anchor ids are no longer searchable (they are still stored and shown), so the hub rebuilds its search index on the next start and older retrieval evaluation records stop binding until the next evaluation. A trusted card that links to or is named by another card in its scope now goes to review instead of auto-applying.
- The real-scope gate now also holds a target that is an end of a trusted lineage edge in the published index, a neighbour that names the target through escaped or concatenated ids, and an unreviewed target whose applier is not its writer. A blank metadata line no longer makes every evidence append on a card look like a ranking change, and a proposal held for lineage review is proposed again by reflection after seven days.
- An exact-duplicate merge of two trusted cards now applies automatically on a real scope once every merge gate rule holds: the retired card is newer by content history, no live card links to it in any case or spacing, a keeper retires at most eight cards, the keeper’s text is the exact merge and search keeps every token and literal the retired card held. Preflight counts one merge pair as one changed path, treats identical claims as the proof in place of attested evidence, and ignores the alias the merge itself adds when it checks lineage. The retrieval gate is rechecked under the writer lock, so a link added after preflight still holds the apply. Several pairs, a pair beside other ops,
agent-unreviewedcards and any earlier lineage still wait for a reviewer, and every other op class keeps the same gates. - An automatic merge needs one writer. Both cards must carry the same writer and writer class, and that writer must be the principal and credential class applying the merge. This is read from the live heads at preflight and again under the writer lock, for every trust class. Without it any reflect principal could plant a trusted card with common claim text and later retire another principal’s newer copy. A cross-writer duplicate is still proposed, holds from automatic apply with
retrieval_eval_merge_cross_writer, stays pending in the reflect client and can be accepted by a reviewer. - Lineage review of an exact-duplicate merge judges the keeper’s whole after text, less only the one alias per retired card that the merge adds, so an alias that existed before the merge counts however it is spelled. A merge card with any lineage key (
superseded_by,supersedes,merged_fromoraliases) that the merge and lineage review decode differently, such as a JSON\/escape, goes to a reviewer, and an alias the keeper already lists is never discounted as one the merge adds. The reserved fixture scope never gets the relaxed blast cap or evidence floors, and the merge gate now also requires the keeper’s before text to be its live text. - In the preflight report,
structural_anchor_proofnow means anchoring only. A merge that clears the evidence floors on identical claims reportsstructural_merge_proofinstead. - Pin only claim blocks the hub can structurally address, so reflection skips paragraphs with inline code or other opaque Markdown instead of opening proposals the hub rejects.
- Hub reflection reads a new
[reflect] scopeslist in.brigade/memory-care.toml. A workspace that reads more scopes than its credential may reflect can list only the reflectable ones: scheduled runs then watch and propose only there, so a missing reflect grant in a read-only scope no longer fails every run. The default is every read scope, and a missing grant in a listed scope still fails the run. memory reflect runno longer proposes an exact-duplicate merge or other reserved automatic class on a scope where a principal listed inmemory.reflect_principalsalso reflects and holds a live credential, when its own principal is not listed and automatic apply is on. A proposal-only hub job used to win the digest race and leave the merge pending with no principal able to apply it. Skipped ops show asreserved_automaticinskipped_reasons. A submission the run already opened keeps its retry path. The hubstatusreply gains amemory_policysummary (auto_apply,tier0_op_classes,reserved_scopes) for callers holding thereflectright.- After an upgrade, an installed
SKILL.md(brigade-work,ultra-work-scout,note) or care runbook that is identical to a text a past Brigade release shipped for that file is replaced with the current bundled text, because it has no local edits. Init printsrefreshed (pristine): <path>, records it inwired.json, leaves no backup, and marks the skills inbox proposal it had filed for that file as superseded. Any other differing copy is still never overwritten: aSKILL.mdkeeps today’skept (edited)and proposal, and a runbook is reported once askept (drifted). A refreshed runbook keeps an operator’s pinversion_cmd(only the hashes and the observed version change), and a runbook whose pins the refresh would lose is kept as drifted. The past releases are recorded inshipped-file-history.json, generated byscripts/shipped_file_history.pyand checked byscripts/verify. - Add
brigade memory reviewto order unreviewed cards by interactive open sessions, open days, recent reads and locally cached hub counts. Text and JSON output show the score inputs without changing cards. - Validate explicit task batches with
brigade run batch <file> --dry-run, including dependency layers, stable request fingerprints, and optional JSON output. Batch execution remains unavailable.batchis now a reserved first word afterbrigade run, likecloudandapprove: quote a task that starts with the word batch. - Doctor detail now names every claude hook issue when session directory integrity is refused, not only the refusal itself.
- Add
brigade work checkswith text and versioned JSON reports of observed first attempts by harness and model, unknown counts, a five-result minimum for rates, time filtering, and visible reader skips. - Recover the newest bounded tail of oversized observed-check generations and validate each read record once.
- Claude Code records raw checks in observe mode with bounded model and agent identity, without enforcing verification. Strict and off modes record no observed checks.
- Claude session identity is cached at session start and model switches, exported for verify runs, and carried on receipts and outcome audit records without changing capability cohorts or strict session matching.
- Doctor reports a fixed, path-free cause when observed-check storage is unavailable.
- Optional hook recording skips Git snapshots and checks one cooperative deadline after existing event handling. Off mode skips new identity writes, and environment exports use no-follow descriptor opens.
- Preserve the latest cached model across concurrent tool-state writes and append session exports only to existing harness environment files.
- Record Codex finished-tool checks in observe mode with unknown status and duration, bounded capture, and no tree snapshot.
- Install pinned asynchronous Codex hooks while preserving user entries, formatting and file mode. Remove Brigade entries when leaving observe or uninstalling hooks.
- Defer Cursor capture to a separate compatibility redesign.
- Add shared agent identity and unsigned observed checks, separate from verification receipts. Hook capture and reports remain for later changes.
- Store records and atomic HMAC keys in private per-user workspace directories outside every Git work tree. Map identity fields to closed values and key session fingerprints with a separate HMAC domain.
- Rotate without parsing generations, recover after torn lines, and return the newest bounded records. Classify supported Python modules and package-runner checks by their underlying tools.
- Add canonical work modes
strict,observeandoff.engineerandenforcedaliasstrict.yoloaliasesoff. Observe disables enforcement. Recording checks requiresbrigade work verify run. Safety rails stay independent. - Always write
work.modeexplicitly. The default remains strict for new installs, absent keys, unreadable configs and invalid values. The brief pins readable untracked keyless canonical configs without changing other settings and reports write failures. Doctor reports unpinned configs and unreadable configs separately. - Older binaries treat all canonical names as unknown, fall back to engineer enforcement and warn in doctor. A shared config set to
offtherefore enforces verification when read by an older binary. - Add an isolated
cloud-agentMCP profile with shared memory, optional messaging, protected bearer token authentication and optional Access authentication. - Add
brigade hub connectorlifecycle commands while preserving Dot, Duet and existing Grok Bot profiles. - Require loopback connectors in both auth modes, isolate listener credentials from hub and fleet authority through rotation, generate private random listener tokens at applied setup, and limit failed authentication attempts.
- Preserve legacy Dot and Duet lifecycle output and removal behavior, and match canonical service removal to the installed unit name.
- Preserve Dot and Duet service loading and fail-closed neighbor isolation. Add an offline connector verification drive and platform-specific test boundaries.
- Preview token setup before writing credentials, preserve valid clients during failed-auth cooldowns, recheck credential isolation on each authentication, and retain legacy update validation.
- Removed client job submission, feeds, workers, reconciliation, operations relay and their CLI paths. Historical commands return the 0.32.0 removal message for one release and leave user files untouched.
- Added the
connectorinstall extra.grokbotresolves to the same dependencies for one release and expires with the other retired names. - Kept the hub job wire contract, stored rows, expiry sweeper and ownership/cloud projections unchanged pending the contract change.
- Remove fleet-steward, obsidian-operator and t3-dispatch packs and their dedicated helpers and plugin. Historical command selections report removal in 0.32.0 and retain user files. Dot, Duet and cloud-agent keep their connector behavior.
- Remove retired pack flags from listener help while preserving migration guidance for abbreviated historical selections. Retained instance files reserve their configured ports until manually deleted from
.brigade/grokbot/packs/. Retired default ports remain reserved regardless. - Retire the product-specific memory and inbox profiles in favor of cloud-agent. Historical commands return a migration message without reading credentials or changing data.
- Classify library connector identities before enforcing loopback and roll back generated listener tokens after unexpected setup errors.
- Remove the retired-profile compatibility messages in the next ordinary release after the removal release.
- Retired connector cleanup removes only historical service and watch units. Retained instances still enforce identity isolation.
- Memory care archives unread cards with expired subjects into
memory/archive/, with byte-for-byte restore throughbrigade memory care undo <id>and retire or revive in hub sync mode. brigade memory care tendruns bounded automatic retirement after successful CLI scans unless disabled. A fresh read ledger protects existing cards for 120 days.brigade memory care archive --from-file decisions.jsonl [--limit N]applies external judgments through the same protections, journal and undo, reporting refused and duplicate cards.- Archive and undo publish their safety copies before removing cards. Interrupted decisions resume on the next care command and preserve cards edited during preparation.
- Drain the handoff review inbox after CLI ingest and during memory care tend. Resolve already-applied drafts after reading their destinations, retry transient failures with journal-first recovery, and hold unapplied knowledge for review without expiry. Retain trust and security holds, preserve evidence paths, report unsafe input, and sweep redundant abandoned before-images while retaining unique bytes.
- Ingest takes the care lock and finishes or abandons pending care decisions. Opt out once with
--no-tendor disable automatic care with[tend] enabled = false. Scan runs no automatic care or pending-decision recovery. Its--no-tendoption remains accepted as a deprecated no-op. Explicit review and unknown outcomes stay held. Retries preserve the original routing flags and append-only destinations. - Apply derived freshness and review dates through the reversible memory-care journal, with a fixes tend stage and
plan-fixes --apply. Keep index changes for review. - Retry abandoned document undo after protection is lifted, and recover pending appends through a rebuildable decision index.
- Stop a running batch task by task and attempt, preserve its partial worktree artifact, and keep unrelated workers running.
- Report live cancellation requests and show when recorded intent arrived too late to change a task’s result.
- New workspaces enable Tier 0 reflect application intent. Care installation includes scheduled reflection with gated hub application and proposal-only fallback. Existing policies are preserved. Use
brigade memory reflect auto-apply offto stop application before the next candidate. brigade updatekeeps working if the GitHub repository is renamed toescoffier-labs/brigadestack. It accepts either slug in release URLs, release manifests and stored update state and requestsescoffier-labs/brigadefirst. It tries the other name only when GitHub reports the repository was renamed and that name resolves to the same repository by immutable ID, and it still refuses any other redirect.- Preference handoffs can propose replacing one exact USER.md line through digest-bound review. Applying an approved proposal keeps the old line in dated history outside bootstrap context and refuses a missing or changed target.
- Preserve indentation and trailing spaces when drafting and reviewing exact preference replacements.
- Signed-attestation claims classify canceled and busy verify receipts as incomplete, and EC-01 busy fixtures include a valid receipt digest.
- JSON and JSONL reads use UTF-8 consistently, and undecodable JSONL files return no records.
brigade work verify cino longer reports a commit as failed when its newestci-gaterun was cancelled. It reads the newest run that was not cancelled, and reportsunknownwhen every run was cancelled.- Add
brigade work verify cito record the required CI check on the exact head commit and show its result alongside local checks in work closeout. - Require a focused command, a verifier manifest, or a ranked test suggestion when planning local verification.
brigade work verify planwith no--commandand no--manifestno longer proposes a whole-suite default. It now exits 1 with a blocker unless a ranked test suggestion exists.- Make verify receipts fail closed, record busy slot outcomes neutrally, and capture post-run tree, pytest outcome, and inherited test environment details.
- Claude verify seats now switch off all 13 built-in plugins that Claude CLI 2.1.325 ships.
Before, a rollout that loaded the easel plugin on some calls made a seat fail its
isolation check partway through a run, so
memory verify gateaborted withverify_seat_not_isolatedat random. - Let a claude verify seat pin its effort level with roster
reasoning. Verify passes it as--effort, and the seat fingerprint covers it.brigade roster doctorreports such a pin as a verify-only warning. - Distinguish a live owner, an idle owner with unfinished work, an expired observation, and a confirmed terminal execution in Worklore ownership reads, with the derived liveness state computed on read and never stored.
- Add
liveness_basisandliveness_freshnessto the ownership read, using only fixed state, basis, and freshness words and never a claim target, session id, process id, path, or another node’s capability. - Derive prepared handoff report freshness as
recent,stale,future, orunknown. An older reader that accepts onlyunknownandunassessedrefuses the new values and fails closed. A newer reader still accepts an older Hub’sunassessed, but an older CLI cannot read a newer Hub’s prepared handoff, so upgrade the Hub and the CLI together. - Scope every liveness fact to the item: sessions and claims count only for the snapshot’s repository identity, and a linked run counts only for the current owner in the current ownership generation. A lapsed lease now wins over a live session or claim.
- Let
brigade run --worktreeuse a separate run lock and fleet claim for each detached checkout so sibling runs can proceed concurrently. - Recover and prune clean, branch-backed worktrees with dead leases. Prune empty directories left by interrupted setup after the stale-lease grace period.
- The
observeandoffwork modes now keep the strict-mode Memory Handoff rule. The Claude Stop hook gives a session in those modes that wrote code the same handoff note, never a block: write a handoff when the session learned something durable, otherwise end withNothing durable: <reason>. The note repeats on each Stop until a handoff lands or the turn ends withNothing durable:. When a session wrote into both a strict and an unenforced target, the strict target’s note, with “Verification is recorded”, is the one shown. The brief checklist,brigade initguidance, doctor and docs no longer call handoffs optional or on request. The receipt gate stays strict-only. - Add
brigade work verify requiredto plan focused tests using the configuration and planner files from the Git base resolved from the default branch. Git operations and the planner ignore inherited Git environment overrides. Plans based on localHEADin repositories without remotes reportbase_trusted: false. Full plans and planning errors require CI. - The workflow records approval for protected CI changes for one pull request targeting the default branch, using the head commit named when a maintainer applies the approval label. A delayed approval event records failure if the label is absent. A push to a new commit needs a fresh label event. If a push lands just before labeling, the new commit can receive the approval.
- The guard fails when GitHub returns an incomplete changed-file list. Pull requests with more than 3,000 changed files must be split even if the head commit has approval.
- Document that an accepted fleet reservation holds its node slot until release, and list
reservation-acceptamong the Hub’s node policy actions.
Brigade 0.32.0
v0.32.0Published November 22, 2026 · Escoffier Labs
Try BrigadeStack
BrigadeStack gives Claude Code, Codex, Cursor and your cloud agents a shared memory they can search, and records the tests and builds they run. Start with the install guide or install the CLI directly.