Repository navigation
v0.7.0
turnstile v0.7.0
The journal leaves the machine. This release ships the evidence surface end to end: summarize a task's verified pipeline record, publish it as a sticky PR comment, and — as of this release — the repo that builds turnstile runs all of it on its own pull requests.
New: opencode-turnstile evidence
npx opencode-turnstile evidence --task latest --out .turnstile/evidence.jsonFolds the journal's replay window into a shareable turnstile-evidence/v1 document: derived counts, canonical marker lines, and shas only — session IDs, prompts, and command text are absent by construction. --validate re-checks a committed artifact in CI; --format markdown renders the sticky-comment body. The review section reports against the ensemble bar the runtime credits at (two unwaived reviewer dispatches under reviewEnsemble: "enforce", one under "advise") — a refusal stamp keeps it red, a human release satisfies it.
New: sticky PR-comment Action
examples/turnstile-evidence.yml — copy into your repo's .github/workflows/. Two jobs, two trust levels: a pull_request validate job with read-only permissions, and a pull_request_target publish job that runs base-context code with pull-requests: write, no checkout, and no run step — it reads the committed artifact through the Contents API, asserts two byte invariants, and upserts exactly one comment keyed on <!-- turnstile:evidence -->. This release's pin (opencode-turnstile@0.7.0) is the first published version with the evidence subcommand; earlier pins exit 2.
Field-tested on itself
Turnstile's own repo runs the evidence workflow on its PRs: the badge posted on #197 is the live demo, screenshot in the README. The demo caught two real Actions-runtime bugs before any consumer did — the github.paginate Promise misuse and a find-vs-null guard — both fixed here.
Fixed
fix(evidence): review bar derives fromreviewEnsemble(the credit rule), notmaxReviewerRounds(the dispatch cap); ensemble fold is last-wins over running counts, honoring refusal stamps and human releases — a fully-credited task can no longer renderreviewer 2/4redfix(evidence): sanitize folded marker fields, guard validate crash paths, forged-green bypass closed (#193)fix(markers): guard parser regexes against broadening drift in check-markers (#194)fix(install): copy-mode installs the fullsrc/tree and verifies plugin load (#195)
Notes
Zero runtime dependencies, as always. Full docs: README, usage, architecture, SECURITY.