Repository navigation
v0.98.0
The incident this release exists for
On 2026-08-17, a brew upgrade on a real Mac left jit's background service dead for 71 minutes, and jit service restart — the documented fix — reported success without fixing anything.
The cause was not jit crashing. The agent noticed its binary had been replaced, exited cleanly as designed, and waited for launchd to restart it. launchd never did. Controlled experiments on the same machine showed both mechanisms jit relied on can be deferred indefinitely (pended nondemand spawn, runs = 0), while launchctl kickstart started the job instantly, 3 times out of 3.
jit had used kickstart once. It was removed on 2026-07-20 inside an unrelated batch of fixes, and nothing noticed for a month.
Every spawn is now a demand
jit service restartdemands the start from launchd instead of registering the job and hoping. Same for the TTL and consent paths, and for first-time setup.- The service's own upgrade hand-off demands its replacement rather than exiting and trusting KeepAlive.
- "Restarted" now means a service actually answered on the expected build. A restart that cannot confirm that fails, with what launchd says happened, instead of printing reassurance and exiting 0.
- A foreground
jit service runrefuses to start while the real service is answering, instead of silently splitting the world and stranding the live one behind an unlinked socket.
Health messages that mean something
jit status, jit service status, jit doctor, jit lock and every dial-failure hint now distinguish the states launchd actually reports — accepted-but-never-started, stopped with an exit code, dropped entirely — instead of one "may have crashed or be mid-restart" that was wrong on both halves during the incident. jit lock against a stopped service says it plainly: no service, no session, already locked.
A service log with signal in it
A mount that cannot serve logs when its reason changes, not on every unlock. During the incident the same line repeated for hours, in the green glyph reserved for routine narration. Those lines now render amber, fold, and shorten their paths; a recovery says how many attempts it absorbed. jit service log --follow no longer reprints the day header per poll or tears lines that race the writer.
Version skew across the socket fails closed
The wire protocol degrades by silently dropping fields a peer does not know, which is fail-open for any field whose presence is what enforces something. A new CLI asking an older service for a machine-wide credential could perform that reveal with no Touch ID prompt at all. Requests now carry a minimum protocol the service refuses when it is too old, and the client checks what the service can enforce before asking. jit service status --format json reports the protocol.
Prompt storms, and an audit trail that tells the truth
- The widest approvals in the product —
jit run --trust, grant create and extend, global-credential grants — now get the same escalating pause a refused consent prompt gets. Before, a process in a loop could stack Touch ID dialogs until you approved one to make it stop. - A session that expires while jit is busy now records its lock. History could previously show unlock → unlock with nothing between, leaving a re-prompt unexplained.
grant extendverifies the process is still alive before asking for a Touch ID, instead of spending your gesture on a grant that was already over.- Socket-boundary failures are rate-limited into the durable trail, so a misbehaving peer cannot evict your real history by flooding it.
Also
jit upgrade confirms the service came back before saying so. An install path containing & no longer makes jit bounce a healthy service. The two largest files in the service subsystem were split into named parts (pure movement, verified declaration-by-declaration).
Upgrading
brew upgrade jitpass # Homebrew
jit upgrade # tarball installsYour vault is untouched by this release.