//! `workflow.yaml`'s `tool_output:` block — the **bounded projection**
//! policy (ARCH §3.3 *Bounded transcript projection*).
//!
//! A tool's full stdout/stderr always lands in the diagnostic
//! `steps/<agent-id>/<NNN>/tools/<tool-id>/output.json` (§3.3 Disk
//! record); this block bounds only the *transcript projection* — the
//! bytes committed as the `tool_result` entry the model reads on every
//! later step. Each stream is bounded independently to its first
//! `head_bytes` and last `tail_bytes`, the omitted middle replaced by a
//! marker stating what was cut and where the full record lives.
//!
//! Like every other file in this module, this is policy severable from
//! mechanism: the shipped default lives in `template/workflow.yaml`,
//! and omitting the block leaves tool output unbounded — the general
//! path with the policy absent, not a distinct code path.
use JsonSchema;
use ;
/// The `tool_output:` block. Both fields are byte counts — lernie has
/// no tokenizer, so bytes are the only honest unit (§3.3). `Copy`
/// because it is two words of policy handed down the executor path by
/// value.