Wire evidence
wire-witness
Capture provider traffic as evidence, with limits separate from acceptance.
Observed 2026-11-07 ยท Producer spec-spine 0.31.0
2a638d4657a88863c7c07bef2701937d16971638 โ18 specifications. Verification and deployment qualification are unknown in this export.
Bootstrap spec system
Foundational contract: authored truth lives only in markdown (+ YAML frontmatter); machine-consumable truth is compiler-emitted JSON only; every artifact is a deterministic function of (config, file contents); a typed authority graph governs who-owns-what.
Boundaries, authority, and dependency layout
Defines wire-witness as a library plus isolated hosts that capture provider wire exchanges and produce testimony without granting authority. Assigns ecosystem responsibilities, fixes the three-crate dependency layout, and reserves captured-output training, hosting, and publication to the owner.
Exchange record and provider normalization
Defines wire-witness.exchange/1, the canonical testimony produced from one observed provider exchange, and lossless normalization rules for Anthropic and OpenAI request, response, streaming, identity, usage, and cost fields.
Redaction, custody, and retention
Defines metadata-only default retention, explicit content capture, mandatory credential removal before durable writes, per-attempt custody, 0600 outputs, and a fresh memory-only CA private key for every capture attempt.
Allowlisted capture proxy and transparent streams
Defines the per-attempt proxy that intercepts only explicitly allowlisted provider hosts, tunnels authentication endpoints and every other host without inspection, and transparently handles CONNECT, TLS, HTTP/1.1, HTTP/2, SSE, and WebSocket traffic with bounded parsing and backpressure.
Attempt binding and stdio sidecar protocol
Defines the immutable AttemptBinding supplied by Statecraft, the versioned stdio protocol for one sidecar per attempt, capture-digest closure of the bracketed effect, and statecraft/wire-exchange/v1 testimony for admission by the host rather than by the witness.
Standalone host and per-process environment
Defines the standalone CLI, unsupervised session identity, child-only proxy and trust environment, additive JSON output, and the prohibition on global proxy, certificate, shell, browser, or operating-system trust mutation.
Repository constitution principles
Establishes six wire-witness-specific constitution principles covering testimony, secret custody, ambient-system mutation, exact supervised binding, lifecycle claims, and explicit incomplete or residual-risk states. The owner-approved principles are activated in the standing constitution.
Instruction delivery observation
Defines a content-gated, offline comparison that reports whether exact operator-supplied instruction bytes were observed in a complete outbound provider request, without turning one observation into adapter qualification, policy, or authority.
Usage and cost summaries
Defines a deterministic binding-level summary of observed request counts, provider-attributed usage, reported cost, labeled estimates, identity variation, completeness, and gaps without converting testimony into a charge, quota decision, budget, or provider qualification.
Policy-bounded corpus export
Defines an immutable, bounded export manifest for policy-permitted wire testimony, preserving binding, retention, completeness, redaction, and artifact identity without granting permission to retain, disclose, replay, train on, admit, or evaluate the captured material.
Agent attribution is refused and ratification is owner-gated
Refuses agent attribution and known agent commit identities, suppresses provider attribution at its source, and adopts the two-flow Statecraft profile in which implementation and owner ratification remain separate.
Profile 13 uses the repository-local engine in .bin
Adopts Statecraft profile revision 13 with the existing exact engine pin, and replaces revision 12 acceptance with the recorded revision 13 identity.
Live loopback capture runtime and the wire-witness executable
Supplies the I/O shell that specs 003, 004, and 006 describe but the workspace did not contain: the wire-witness executable, a per-attempt loopback listener, a fresh in-memory CA, exact-allowlist TLS interception, an HTTP/1.1 relay that forwards verbatim and observes within bounds, redacted exchange records, and a capture manifest. It names every protocol and retention path it does not yet implement and refuses or reports them.
The wire-witness.sidecar/1 stdio host
Implements `wire-witness sidecar` over the spec 005 protocol and the spec 013 live runtime: one supervised attempt per process, exact AttemptBinding and terminal schema versions, a statecraft/wire-exchange/v1 manifest with a fixed member set, a producer identity Statecraft can pin, and the compatibility, rollback, and qualification records a release must carry.
Binding protocol verification uses the repository-local engine
Replaces spec 005 acceptance commands with their profile 13 engine paths, preserving its approved source and pinned interface section digests.
Profile 15 preserves required workspace and dependency checks
Adopts the current Statecraft setup profile with the supported exact engine pin, makes dependency-boundary verification a required CI job, and replaces historical setup prose with current operator instructions.
Adopt spec-spine 0.29 through the updated Statecraft producer
Migrates the exact governance engine through a Statecraft build that links the same released producer, adopting current profile 16 and all required checks.