Skip to main content

Changelog

0.4.0 (2026-11-23)

Breaking Changes

  • sidecar: the sidecar’s --time-limit, the config key time_limit, Handler(time_limit=), TimeLimitError, and the not_judged reason and JSON-RPC error time_limit are renamed to --judging-timeout, judging_timeout, Handler(judging_timeout=), JudgingTimeoutError and judging_timeout.

Features

  • a monitor can tell when a step holds content it can’t show the model, and fail closed (#267) (c6968ba)
  • a monitor’s prompt says when a tool’s output was truncated (#266) (88a71a2)
  • human() can ask a person about a request before the model is sent it (#240) (f808851)
  • monitors see a provider’s compaction as its summary or a marked placeholder, and can leave out an unreadable one (#268) (79e7142)
  • replay joins imported and bridged steps to their model calls by id (#193) (2ae329e)
  • scout: read mode names the replayed step each bridge check joins (#245) (6d2e8da)
  • sidecar: –run-header names an agent’s run from a request header, such as Claude Code’s session id (#256) (b5c9ac3)
  • sidecar: a sentinel in a sidecar can ask a person about a request before the model is sent it (#241) (a4a511e)
  • sidecar: ask a person about a model’s whole turn (#235) (916e886)
  • sidecar: ask a person through the eval, for an eval’s run (#203) (93eef92)
  • sidecar: free a sample’s registered facts once no run of it is in progress (#251) (4776271)
  • sidecar: rename the sidecar’s –time-limit to –judging-timeout (#244) (45810f6)
  • StepPreprocessor(hide_messages=…) hides flagged messages from a monitor and marks where they were (#269) (1490541)
  • StepPreprocessor(omit_assistant_text=True) shows a monitor the agent’s tool calls without its prose (#270) (8845e9e)

Bug Fixes

  • sidecar: a changed call’s original arguments don’t reach the eval when its turn is refused whole (#260) (dc2d26e)
  • sidecar: a rejected Responses computer call is no longer sent twice on the next request (#264) (1889785)
  • sidecar: a reply’s message keeps its id when a later request sends it back (#250) (d8d35b5)
  • sidecar: refuse to start with a sentinel that holds an eval-only monitor or protocol (#249) (6776871)

0.3.2 (2026-11-16)

Features

  • sidecar: tell an Inspect eval how long its sentinel judged each call and what its judge models cost (#207) (8d92901)
  • tool steps carry the assistant message that made the call (#216) (d6d9bc4)

0.3.1 (2026-11-10)

Features

  • fit the score prompt to the context window of the monitor model (#156) (9f3cebe)
  • replay a monitor over stored transcripts, with Inspect Scout (#135) (21a6e55)
  • scout: replay older Inspect logs and imported transcripts with turns inferred from their timeline (#151) (ec3fe40)
  • sidecar: prove which sample a model request belongs to (#191) (84e536f)
  • sidecar: work with Inspect’s sidecar client (#168) (6182e72)

Bug Fixes

  • examples: make the example images build again (#192) (ecc239c)
  • the replay host gives the input budget and the token count of a monitor model (#161) (ddbe966)

0.3.0 (2026-10-27)

⚠ BREAKING CHANGES

  • a proceed no longer contests a concurrent modify (#154)
  • threshold proceeds when no monitor reported (#153)

Bug Fixes

  • a proceed no longer contests a concurrent modify (#154) (c5fef76)
  • sidecar: regenerate the endpoint schema for inspect_ai’s new docs link (#147) (d78583a)
  • threshold proceeds when no monitor reported (#153) (d6e0404)

0.2.0 (2026-10-21)

⚠ BREAKING CHANGES

  • StepPreprocessor replaces excerpts for what a monitor shows a model (#109)

Features

  • sidecar: give each step the history its conversation has sent the model (#125) (6ad7998)
  • sidecar: judge model traffic behind Envoy, through an ext_proc shim (#128) (a0f4590)
  • sidecar: release a streamed reply as it arrives, behind Envoy and LiteLLM (#132) (bfc6235)
  • sidecar: serve the endpoint for evals, and reject or modify one call of a turn (#120) (08d50f0)
  • StepPreprocessor replaces excerpts for what a monitor shows a model (#109) (ffb264d)

Bug Fixes

  • depend on inspect_scout at runtime, so Host.score works from a PyPI install (#131) (b39bec4)

Miscellaneous

0.1.4 (2026-10-19)

Breaking Changes

  • Protocols take escalations as a third parameter, (step, context, escalations), instead of reading them from the step (#97)
  • step.history now holds the messages the agent sent; the agent loop’s own list is step.agent_messages (#98)

Features

  • Host.score marks every block and message header in its prompt with a nonce (#105) (8e8ff62)
  • protocols receive escalations as a third parameter, and monitors no longer see them (#97) (dacdef3)
  • sidecar: read, judge and serve model traffic beside a proxy (#102) (68394d3)
  • sidecar: tell an Inspect eval what its sentinel decided, through a LiteLLM guardrail (#116) (a414ebe)
  • step.history holds every message the agent sent; the agent loop’s list is step.agent_messages (#98) (a2012bd)
  • steps carry the decisions a person made through human() earlier in the conversation (#96) (b5a51e8)

Miscellaneous

0.1.3 (2026-10-15)

Features

  • Host.score, with excerpts for what a monitor shows a model (#87) (8cdb257)
  • require Python 3.11 and test on Python 3.14 (#95) (dd3f250)

0.1.2 (2026-10-14)

Features

  • human() can ask a person about a whole assistant turn, before its tool calls run (#89) (a3faeea)
  • step.history is None when the host can’t provide the caller’s message list (#86) (5948f57)
  • tool-stage monitors see the offered tools and whether the result was truncated (#88) (00130a9)

0.1.1 (2026-10-12)

Features

  • monitors watch every agent loop’s model calls (generate stages) (#42) (3d3ce8e)
  • add handle_escalation() and terminate an unhandled root escalate (#74) (85234ba)
  • step.input is None when no model call produced the call or its record is gone (#83) (f30b236)
  • threshold escalates or terminates on scores without reject (#79) (9d4ac61)

Bug Fixes

  • run the children a composition was configured with (#82) (559843b)
  • let a factory return another factory’s configured instance (#75) (e30a7c9)
  • name a protocol’s own escalation in the unhandled explanation (#78) (8afeeb9)
  • name the action that lets a step go ahead proceed, matching Decision.proceed() (#84) (09913cd)

0.1.0 (2026-10-10)

First release. Inspect Sentinel adds monitors and control protocols that watch an agent’s tool calls during an Inspect eval and decide whether each call goes ahead. It is under active development and its API may change between 0.x releases.

  • Install with pip install inspect-sentinel. Requires inspect-ai>=0.3.278.
  • Give a task a sentinel with Task(sentinel=...), override it with eval(sentinel=...) or eval_set(sentinel=...), or pass a YAML/JSON configuration with inspect eval --sentinel. The configuration is recorded in the log, so eval_retry() rebuilds the same sentinel.
  • Monitors (@monitor) observe a tool call before it runs, or its result afterwards, and report a suspicion score. They never act.
  • Protocols (@protocol) decide what happens: proceed, reject, modify, terminate or escalate. They can consult monitors first; a protocol with no monitors is a rule.
  • Shipped protocols: threshold(), observe_only(), concurrent(), sequential() and human().
  • Helpers for rules: call_text(), tool_matches(), find_words() and result_text().
  • Every observation and decision is recorded in the eval log and shown in the viewer, along with the version of the monitor or protocol that produced it.

Documentation: https://meridianlabs-ai.github.io/inspect_sentinel