Skip to content

FLT-369 probe evidence

Origin of tests/fixtures/probe/*.json: verbatim captures supplied by Clahadore from a Claude Code 2.1.317 scratch claude -p --settings run on AndyGreatRoomPC, 2026-11-04. Each envelope includes raw hook stdin and the transcript tail observed at that hook. Tests preserve the producer shape and relocate paths into temporary directories. These are scratch captures, not private desktop fixtures.

The additional scratch probe attempted on 2026-11-04 invoked the installed governor shim, with -p --model haiku --settings <scratch>/settings.json --setting-sources project --permission-mode bypassPermissions --max-turns 5. It requested only scratch Write then Edit operations, with capture hooks in the scratch settings file. No real settings file was read or modified by the probe code. The governor rejected the attempt before model execution:

USAGE-GOVERNOR RED (36% used, projected 125.8%): native Claude budget spent - an external harness must NOT call `claude -p`. Route this work to Codex-native / Gemini (agy) / Grok / local per the downgrade ladder. Override: UG_CLAUDE_ADMIT_BYPASS=1 (human only).
usage-governor: DENIED external claude call. Route to Codex-native/Gemini/Grok/local, or set UG_CLAUDE_ADMIT_BYPASS=1 (human).

Observed exit: 2. No bypass was used; no additional live fixtures were captured.

Section 2 unknown State Adapter behavior
Live desktop human hook payload Still open; needs live desktop Only transcript origin.kind: human classifies human; absent or unfamiliar origin is unknown
Interactive entrypoint: cli Still open; four existing October transcripts inspected, one observed enum was sdk-cli, no cli prompt found; scratch print denied and is not interactive evidence Entrypoint is stored as a claim and never classifies human
October transcript schema Answered for one captured October SDK prompt shape: promptId exists, origin absent, promptSource: sdk, turnOrigin: sdk, entrypoint: sdk-cli; other historical shapes remain unverified Captured shape remains unknown: SDK transport alone does not establish the actor. Missing promptId is unknown/incomplete, and no historical entrypoint implies human
additionalContext on PostToolUse and SessionStart Live producer behavior still open; scratch probe denied Implemented from official hook reference, restricted to the fixed status sentence and validated decision ids; no permission fields or rule text
Non-zero hook exit behavior in harness Still open; scratch probe denied Hook executable itself always returns zero, including startup/storage failure
PowerShell tool environment Still open; scratch probe denied Tool name accepted, shell HEAD tracking available; inherited env never proves origin
Edit response shape (3.8) Still open; scratch probe denied Edit/MultiEdit/NotebookEdit are logged with payloadComplete: false, so cannot prove an exact writer

Existing captures answer Write's operation response shape, immutable prompt ids, deferred transcript classification, subagent linkage, task notification origin, SessionStart-only CLAUDE_ENV_FILE, and Bash env propagation as stated in plan v5. Unknown event shapes append an unknown fact. Missing transcript lines and unmatched tool uses remain coverage gaps. No live hook was installed.

An additional read-only historical check selected four transcript files using file metadata nearest 2026-10-24. It inspected user-line schema only and emitted no prompt text. One verbatim October user line is retained locally as tests/fixtures/desktop-private/October-shape.json; its source path, line number and SHA-256 are in the private October-origin.json. That entire directory is gitignored. The committed tests/fixtures/schema/october-user.synthetic.json preserves the observed keys and value types while replacing prompt text, identifiers, cwd and other private strings. It is a synthetic boundary fixture, not a producer contract capture. The checked line has a string message.content and keys parentUuid, isSidechain, promptId, type, message, uuid, timestamp, permissionMode, promptSource, turnOrigin, userType, entrypoint, cwd, sessionId, version, gitBranch. origin is absent. This answers that shape's join key and avoids inferring a human from sdk-cli; it does not establish a live desktop hook contract or all October schemas.

The official Claude Code hook reference was read on 2026-11-04. It documents hookSpecificOutput.hookEventName plus additionalContext for SessionStart and PostToolUse. Schema tests are synthetic and explicitly separate from captured producer fixtures. The live acceptance test still belongs to Clahadore at installation. SessionStart reports pending decisions; the first classified human turn's PostToolUse per local day and repo reports them again. Unreadable stores, no pending decisions and unsupported hook events produce empty stdout.