Repository navigation
bay 0.1.4
Pre-release.
Builds for Linux (x86_64 and aarch64, musl) and macOS. Apple silicon is tested; Intel (x86_64) is built but not yet run on an Intel Mac.
Before you upgrade an executor: checks now run in an allow-list sandbox with no network. A check that reads outside its candidate and adapter now fails as infra_failure. List extra files in [[check]] paths. Set network = true in the base policy for a check that needs the network.
Release keys
- Added a second trusted release key, held in hardware, beside the current one. This release is signed by the current key.
- Changed
bay updateto trust a list of release keys, so a key can roll over. A later release drops the old key. - Added a doctor
key-custodyrow andKEY_EXPOSED. It flags a signing key that agent sessions on this account can read. - Added a
reviewerkey class. Areviewrecord verifies only against the reviewer file, and a reviewer key never signs a check. - Changed the registry read to refuse a reviewer name that is also a producer or an agent.
Checks
- Changed the check sandbox to an allow-list. A check sees its candidate, its adapter and system files, never
HOMEor.git. - Changed checks and input providers to run with no network unless
[[check]] network = truesays so at the base. - Added
stage = "post"to[[check]]. A post-publication check never blocks a landing, and status shows itpendinguntil its record arrives. - Added
when_pathsto[[check]]. The check runs only when the candidate's own diff touches a matching path. - Changed a policy or adapter change to require every check, whatever its
when_paths. A skipped check is listed undernot_required. - Added
producersto[[check]]. A record from a producer the list leaves out does not count. - Added
bay.checkEnvironment, the environments a box serves. An operation no box can serve waits withCHECK_UNAVAILABLE. - Added the adapter's
unavailableanswer. It writes no evidence and never counts toward a queue deadline. - Changed materialization in a blob-less clone to fetch all absent blobs in one batch, not one fetch per file.
- Added
refs/bay/inflight/<op id>, a local ref that keeps a candidate safe from maintenance until its operation ends. It is never pushed.
Landing and history
- Added
bay start <intent> --fixes <change>. The landing carries aFixes:trailer, and an unlanded target isCHANGE_NOT_LANDED. - Added
CHANGE_HELD. A same-namebay startwaits while another live session holds the change, instead of adopting it. - Added
EVIDENCE_WITHDRAWN. A bay-hosted trunk refuses a notes push that drops or changes an earlier record. - Added
trust(unsignedorsigned) to the land result, check refusals andbay status. - Added
require_signed = trueto a completion profile. Then a dimension that rests only on unsigned records isunknown.
Hooks and sessions
- Added
HOOK_INPUT_INVALID. The pre-tool hook denies a payload it cannot read. - Changed the shell deny list to catch denied Git commands inside
bash -c,sh -c,env,xargs,sudoandexec. - Added
SHELL_DENIEDand Agent Hooks verdicts to session rows. A denied command is recorded by its shape, never its text. - Added
PATH_HELD. Two sessions in one tree cannot overwrite each other's claimed paths; other views are never refused. - Changed
bay installto write a 30-second timeout on the pre-tool hook, so a hung hook denies quickly. - Changed the installed hook command to exit 0 on a box without bay. Where bay is installed, its deny still blocks.
- Changed views to hold
.claude/settings.json, so a session started in a view runs bay's hooks. - Added draft checkpoints at
SessionEndand after an idle interval ([hooks] checkpoint_idle_s). A killed session loses at most one interval. - Added a
SessionStartnotice when the tree is behind trunk on its instruction files (AGENTS.md,CLAUDE.mdby default). - Added a notice, given once, when a talk to the session's actor arrives.
- Added
permission_modeto session rows and the fleet map. bay's deny still holds underbypassPermissions. - Added
actor_sourceto results and session rows, and[agent] require_actor = true, which refusesACTOR_UNNAMED.
Status, watch, talk and evidence
- Added
bay status --stranded: local branches and worktrees whose commits no remote holds. It reads only. - Added
bay status --lineage [<range>]: theReverts:,Supersedes:andFixes:pairs on a trunk range. - Added
behind_commitsandsession_age_sto each session inbay status --fleet. - Added
bay watch --landed: landings after a cursor, each with its base, actor and time. Commits outside bay are marked. - Added
bay evidence missing --kind <k> --producer <p>: trunk commits no record of that kind and producer covers. - Added
bay talk --to-change <change>. It reaches the change's lander from bay's record, and refuses anUNATTRIBUTED_LANDING. - Added the
answeredtalk close. A delivery talk closes when a fix, revert or supersede of its change lands.
Doctor
- Added
bay doctor --role executor. It judges the box as an executor and exits 10 when a row is red. - Added doctor rows
agent-hooks,hook-overrides,repository,environmentsandconfig. - Changed
bay executor runto refuse withGIT_BELOW_FLOORbelow Git 2.50.
Configuration
- Changed
.bay/policy.tomlto refuse an unknown key withPOLICY_INVALID, naming the key, its table and its line. - Retired
[check] commandin.bay/config.toml. The policy names each check's command, and doctor lists the old key as ignored.
Built from c15396c. Verify SHA256SUMS with SHA256SUMS.sig (ssh-keygen -Y verify, namespace bay-release).