model_harness
AI Agent Model-family-aware agent harness, plus the test doubles for model calls. Selects, by model id/family, a base/harness system-prompt fragment and a preferred file-edit format (string-replaceedit_file vs apply_patch).
The default profile reproduces the current generic behaviour exactly, so
behaviour is unchanged when no family match applies. The registry is
data-driven and overridable; resolution is lazy with zero import-time cost.
Usage::
ScriptedModel returns scripted replies in order, can script a tool call
followed by a final answer, records every request the agent sent, and raises
:class:ScriptExhausted when the script runs out. :func:allow_model_requests
is the global “no real model calls” switch.

