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

1"""Value types the agent contract shares with the agent results (wave 11, #97), apart from both 

2so that neither imports the other.""" 

3 

4from __future__ import annotations 

5 

6from dataclasses import dataclass 

7 

8 

9@dataclass(frozen=True) 

10class CallLimits: 

11 """The token budget and the time limit of one call, from the size of its task.""" 

12 

13 size: str 

14 tokens: int 

15 seconds: int 

16 

17 

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.""" 

21 

22 kept: tuple[str, ...] 

23 omitted: tuple[str, ...] 

24 iteration: int