playrote.play.v1

jjaylabs/audit-playv0.5.3Public

Audit play

After months of clicking yes, your Claude Code or Codex allow list is one nobody has read.

Read the full description

On the machine this was built on, 168 allow rules had mostly fired nothing in three days. Run it with no parameters first; it reads only this machine and needs no key. It joins what you granted against what ran across your projects, compares that with your last run, re-reads one rule and one transcript to check itself, and writes a digest you can post to a webhook. Every count says where it is capped. write-provenance reads the same transcripts to ask which instruction caused each write. Your settings files are only ever read from; it writes reports into a directory you choose.

  • Published 6 Sep 2026
  • Downloads 5
  • Needs rote 0.91.0+
  • Digest sha256:73ef6e2836f8…
  • Reference jaylabs/audit-play@0.5.3

Before you run it1 local tool

Everything here is checked on your machine when rote inspects the play. This page never learns what you have installed or which credentials you hold.

  • ○
    python3local tool

    Requires >=3.9. Run rote play inspect to check your host; unverified versions remain unknown.

Inputs15, all optional

rote asks for these before running and shows the defaults it will use.

  • Project pathproject_path

    Which project to audit. The word all audits every project this machine records, which is what a bare run with no parameters does. A path narrows to one project, selecting its policy files and its transcript directory. A path inside the rote run workspace is the play's own scratch directory rather than a project, so it falls back to all with a warning.

    optionalstringdefault allexample /Users/you/code/my-projectcustom value allowed
  • Window hourswindow_hours

    How far back to look, in hours, filtered per event on the record timestamp. 0 means the whole recorded history. Shorter than a weekend produces mostly false idleness.

    optionalstringdefault 72example 168custom value allowed
  • Harnessharness

    Which agent harness wrote the transcripts and config. claude reads ~/.claude/projects, ~/.claude.json and the settings files. codex reads ~/.codex/sessions rollouts and ~/.codex/config.toml, where policy is an approval mode rather than a rule list, so the three rule-shaped finding classes read not applicable. Any other value is a hard fault rather than a silent empty report.

    optionalstringdefault claudeexample codex
    2 choices
    • claude
    • codex
  • Denial patternsdenial_patterns

    Case insensitive regex that marks an errored tool result as a denial rather than an execution failure. Exposed because the harness wording is not a stable contract, and misreading it turns a control that worked into a control that was bypassed. The default carries the Claude Code phrasings and Codex's Sandbox(Denied marker.

    optionalstringdefault has been denied|Permission denied|permission was denied|was denied by|tool use was rejected|Sandbox\(Deniedexample not allowed|refusedcustom value allowed
  • Include subagentsinclude_subagents

    Whether to read subagent transcripts under each session's subagents directory alongside the session transcripts. They hold real tool calls, so excluding them makes every unused finding a floor.

    optionalstringdefault trueexample false
    2 choices
    • true
    • false
  • Policy scopespolicy_scopes

    Comma separated settings scopes to union. Each scope reads its settings.json and settings.local.json.

    optionalstringdefault user,projectexample projectcustom value allowed
  • Reportreport

    findings prints the top items per class and omits the per-file array from traces.json; all prints every row in the least privilege profile and writes the per-file array. Neither setting changes a count.

    optionalstringdefault findingsexample all
    2 choices
    • findings
    • all
  • Sincesince

    An earlier run's shadow-diff.json to DIFF against, so the report says what moved since then. What became dead, what became used, which rules were added or removed, which servers went idle or came back, which blocks started or stopped. Two runs taken over different windows, scopes, harnesses or project counts are reported as not comparable rather than subtracted. With state_dir set this is found for you. Empty means no comparison.

    optionalstringdefault example /tmp/last-audit/shadow-diff.jsoncustom value allowed
  • Sessionsession

    Audit one run instead of the machine. Takes a transcript file path or a session id; executed evidence then comes from that transcript and the subagents it spawned, and nothing else. The window still applies inside it. A machine-wide audit answers what a policy has authorised over months; this answers what one piece of work actually needed. A session that cannot be found is a hard fault rather than a silent fallback to everything.

    optionalstringdefault example a1cafe13-0abf-4a91-b65f-00ff1db6f676custom value allowed
  • Compare tocompare_to

    An earlier run's shadow-diff.json to REPRODUCE against, so the report says whether every count comes out the same and, where one did not, which condition moved underneath it. Window bounds, transcript files enumerated, rules read, servers advertised, harness, scope, scan time. A count that moved while a condition moved was measuring something else, not failing to reproduce. Use since for what changed; use this for whether the audit itself is stable. Empty means no check.

    optionalstringdefault example /tmp/last-run/shadow-diff.jsoncustom value allowed
  • Out dirout_dir

    Where the nine report files are written, seven JSON files and two markdown pages, alongside a traces directory holding one shard per project. Empty means the run workspace working directory. traces.json records the command, file path or URL each call was made with, truncated, with credential-shaped spans masked; treat it as you would your shell history. When state_dir is also set, one dated copy of shadow-diff.json is left there as the next run's baseline.

    optionalstringdefault example /tmp/shadow-diffcustom value allowed
  • State dirstate_dir

    A directory this run leaves its shadow diff in, so the next run has a baseline without anyone pasting a path. Given one, drift picks the newest earlier diff that used the same harness, scope and window, and the directory is pruned to the most recent thirty. Empty means the run compares against nothing and leaves nothing behind.

    optionalstringdefault example /tmp/audit-statecustom value allowed
  • Max projectsmax_projects

    How many projects the transcript fan-out reads, at most. Projects that carry their own settings file are always read first, because dropping one of those puts every rule it grants into the unused list by construction. Anything past the cap is named in the report and its usage counts as zero, which is a gap in the evidence rather than a finding. Values above 24 are capped.

    optionalstringdefault 12example 24custom value allowed
  • Detaildetail

    How much matchable input each project shard keeps. summary keeps the command, path and URL strings for the window horizon only, which is the horizon every finding class is decided at; the all-time count of a rule with an argument then reads unknown rather than a guess. full keeps them for the whole history as well. On the machine this was built on the default cut a bare run from 31 MB of traces to under 5 MB. Neither setting changes a finding class. A proposal that needs an all-time zero, WRITE_NEVER_EXERCISED above all, is only made under full or for a tool that never ran at all; the default made 35 of the 116 proposals full made on that machine.

    optionalstringdefault summaryexample full
    2 choices
    • summary
    • full
  • Webhook urlwebhook_url

    An http or https endpoint the digest is posted to, once, when a run finishes. Empty means no socket is opened at all and the digest is only written to disk, which is what a bare run does. The body carries the counts and the coverage line, and it names your project paths, so send it somewhere you would send your own report.

    optionalstringdefault example https://hooks.example.com/services/T000/B000/XXXXcustom value allowed

What it changes

No write operations are declared in this version's manifest.

Credentials remain in the recipient's local rote vault; this page and the publisher never receive them.

Runtime details
  • rote CLIversion 0.91.0 or newer
  • Servicesnone declared
  • Digestsha256:73ef6e2836f8bff8dd6a6f9ca2901d84d7582975990a8a81f07c7387496a46b6
  • Archive size124208 bytes
  • Published2026-09-06T17:57:11.299466+00:00
  • Published withrote 0.80.0

Credential values and current readiness remain local. Opening this page never prompts for a credential, opens an authorization browser, or calls a service this play uses.

A play is a published, versioned automation package that runs on your own machine through rote, a free command-line tool. Opening this page installs nothing and runs nothing.