Coverage for src/governed_harness/orchestration/agent_contract_types.py: 100%
12 statements
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-12 16:06 +0000
« prev ^ index » next coverage.py v7.17.2, created at 2026-11-12 16:06 +0000
1"""Value types the agent contract shares with the agent results (wave 11, #97), apart from both
2so that neither imports the other."""
4from __future__ import annotations
6from dataclasses import dataclass
9@dataclass(frozen=True)
10class CallLimits:
11 """The token budget and the time limit of one call, from the size of its task."""
13 size: str
14 tokens: int
15 seconds: int
18@dataclass(frozen=True)
19class SentInfo:
20 """What the harness did to the request of a call: the task fields it kept and left out."""
22 kept: tuple[str, ...]
23 omitted: tuple[str, ...]
24 iteration: int