Skip to content

v0.8.0

Choose a tag to compare

@edseabolt edseabolt released this 28 Oct 20:57
· 331 commits to dev since this release
461ab01

turnstile v0.8.0

This release is about turnstile getting out of the way — and owning the host it runs on. Enforcement can now be suspended at runtime with two typed prompt markers, without config surgery or a restart; a session-end summary replaces the silence when a session goes idle; and the plugin now detects an incompatible opencode host at startup instead of misbehaving on one.

New: gate suspend/resume (TURNSTILE OFF: / TURNSTILE ON:)

TURNSTILE OFF: working through a prototype stretch

A user-typed TURNSTILE OFF: suspends blocking for the session: gate decisions keep being computed and journaled but never throw BLOCKED — observe-like, not blind — and all earned state clears. TURNSTILE ON: resumes enforcement with a fresh task scope; no credit earned while suspended rehydrates. Suspension restores from the journal tail, so a restart mid-suspension does not silently re-enforce, and a refused:true entry is replay-inert so the kill switch cannot be bypassed by its own journal row. The literals are config keys (suspendMarker / resumeMarker), and allowSuspend: false refuses both markers with a journaled diagnostic — deliberately not an agent-dispatchable off switch: the markers are honored only from admitted user prompts. A thin skill (turnstile-suspend, installed by npm run init) documents the markers, and opencode-turnstile status gains a per-session suspension column (#212, issue #184).

New: host-compat detection

At setup, turnstile evaluates the running opencode version against a declared compatibility window (≥2.0.22, <3.0.0) and fails open — compatible, incompatible, or unknown — surfacing a verdict toast instead of silently misbehaving on an untested host. The tested list now includes 2.2.0 (#210, issue #178).

New: session-end summary

When a session goes idle, one recap line reports what the pipeline verified: test-claims credited, premature dispatches blocked, waivers spent — with the journal path named. sessionSummary ships quiet (silent for zero-activity sessions); on always prints, off restores the old silence (#208, issue #177).

Fixed

  • fix(install): refresh the ledger version stamp on content-identical upgrades (#206, issue #203)
  • fix(config): an explicit empty bareOutput resolves as unset instead of trapping the bare-output gate (#204, issue #191)

Notes

Zero runtime dependencies, as always. Full docs: README, usage, architecture, SECURITY.