Model card: Tripwire Guard
Intended use
Score a proposed AI-agent tool call with recent context before a trusted application decides whether to allow it, require its own approval, or block it. In v0.6 the local gateway uses it only as an advisory signal alongside an authoritative capability policy; the browser workbench evaluates scenarios without executing actions.
Model and policy
The shipped Guard is a TF-IDF plus logistic-regression classifier with three labels: allow, needs_approval, and block. Training uses the train split; the block threshold is selected on development data for a target false-block rate. The historical Guard policy used that threshold to block and otherwise chose allow or approval by expected cost, with an additional deterministic floor; see ADR-0011. In v0.6 fusion, the threshold instead raises an otherwise allowed action to review. The capability policy remains authoritative and a block cannot be relaxed. The Python and browser ports use the same frozen weights; parity verifies the portability implementation.
Data and evaluation
Training and current evaluation use AgentDojo v1.2.2 trajectories, split by task template, with deterministic construction labels from the importer rubric. The reported measurements describe this benchmark and split protocol. See DATA.md and EVIDENCE.md for provenance, protocol and measured results.
The prior DeBERTa experiments show that a 1% false-block threshold selected on development data did not transfer reliably to the test templates. The frozen student experiment failed to improve held-out recall (0.05085 versus 0.07119 for TF-IDF) and is not shipped. The portable artifact is included in the distribution and records the original model checksum and featurizer version. Warmed guard p95 was 2.89 ms on the documented Linux dev sample, under the recorded sample and machine conditions. See EVIDENCE.md for template confidence intervals and measurement conditions.
Approval friction is substantial: 86.21% of benign test calls were routed to approval. The model misses many unseen attack goals as outright blocks. These constraints are central to assessing whether the guard is useful for an application.
Operational integration
The capability policy and scoped runner enforce file access; the classifier contributes a contextual review signal. The trusted caller validates task/context provenance, and the gateway preserves the policy floor when combining signals. Load historical joblib artifacts from a trusted source. Refer to SECURITY.md for file handling, owner authentication and provider data flow.