Repository navigation
turnstile v0.16.0
This release makes journal durability a first-class concern and hardens the evidence pipeline end to end. Rotated journal generations are now archived to gzip cold storage by default, chained appends are serialized across hosts with a lockfile, and the append hot path amortizes its per-row filesystem work. The evidence workflow gains freshness enforcement in the PR flow — staleness walk-back, files-list truncation detection, and a refresh instruction before every PR-adding push. A deep documentation audit's 22 findings are fixed, and OpenCode 2.3.2 joins the tested host list.
New: journal archive-on-rotate (#384)
- Pruned journal generations are gzip-compressed into an
archive/directory instead of being deleted — bounded by the newjournalArchiveGenerationskey (default 5, ~2.5 MB per journal family). - The archive is cold storage only: replay never reads it;
verifyand the CLI surfaces do.
New: evidence freshness in the PR flow (#377, #372, #375, #367)
- The injected policy instructs an evidence refresh before every PR-adding push (#377).
- Staleness comparison walks back to the parent commit for evidence-only heads, and staleness emits a journal event at comparison time (#375).
- The evidence-only check detects files-list truncation instead of trusting a clipped manifest (#372).
New: marker diagnostics
config-validatewarns when a custom marker regex compiles but has no capture groups, so it can never attribute a verdict (#366).- Delta-truncated marker spans journal a diagnostic; the probe is suppressed for spans already seen complete (#364).
Fixed
- Chained appends are serialized across hosts with a file lock (bounded retry, mtime-based stale steal), fixing multi-host journal corruption (#383).
- The append hot path amortizes per-row
mkdirand torn-tail repair to once per append batch (#385). - Chained telemetry error and rekey rows route through the journaler, so they enter the hash chain instead of bypassing it (#386).
- Evidence: a child-keyed latest line resolves to the parent session (#382); the artifact's journal read is scoped to the task's session tree (#368).
- Delivery: parent-keyed string deliveries are classified as parent-authored by event origin, fixing misattributed verdicts (#381).
- Dispatch: tamper stamps are keyed by parent+agent, avoiding false positives under concurrent dispatches (#378); armed probes and pre-gate read paths peek instead of minting evidence (#369).
- Policy: the retry prompt restates the marker syntax; injected texts carry a hash stamp (#378).
- The prompt hook body is wrapped fail-open, so a body error can no longer block prompt admission (#365).
Performance
- The fingerprint hot path collapses to a single
git rev-parsewith a 250 ms timeout (#379).
Docs
- All 22 actionable findings from the 2026-11-18 deep documentation audit are fixed (#387): the swapped
passVerified/stampVerifiedparam docs, 8 stalesetup.tsreader attributions intypes.ts, 10 fabricated module-map edges plus 4 missing module nodes in the d01 diagram, and the retention math updated for archive-on-rotate.
Host compatibility
- OpenCode 2.3.2 added to the tested list (
HOST_COMPATand the README matrix).
Install
npx opencode-turnstile@0.16.0 init