Skip to main content

Module instrument_trace

Module instrument_trace 

Source
Expand description

Instrument trace ledger — a local, customer-readable audit trail (R12).

This module distinguishes forbidden provider bylines (CLAUDE.md §16) from customer-readable audit traces required for observability, accounting, and delegation compliance. The ledger is local-only (no unsolicited graph publication).

Structs§

InstrumentTraceLedger
The instrument trace ledger — a local, append-only record of instrument acts. This is NOT a provider byline (those are forbidden per CLAUDE.md §16). This is a customer-readable audit trail that the principal can inspect.
TraceEntry
A single instrument trace entry (Kind B — customer-readable).

Functions§

check_no_bylines
Check that a text or commit message does not contain forbidden provider bylines (T58). Enforces CLAUDE.md §16 mechanically.