agentic-runner-contracts 2.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,33 @@
1
+ """Contracts shared by the platform and the Runner (ADR-0013 §4).
2
+
3
+ The distribution version is the Runner compatibility floor (ADR-0013 §7): major must
4
+ match, one minor behind warns, two behind holds new Directives. It ticks with this
5
+ package's own surface, never with a control-plane deploy — so it is declared here, in
6
+ the package the floor is *about*, and read back through ``agentic-runner --version``.
7
+ """
8
+
9
+ # 2.1.0 (RR-09): new public names, no removals -- `github_port`, `redaction`, `incidents`
10
+ # and `runtime_context.WorkerRuntimeContextResolver`. A minor, so an installed Runner one
11
+ # behind only warns; a Runner built against 2.0 imported those names from its own package
12
+ # and keeps working until it is rebuilt.
13
+ # 2.2.0 (console-v2 issue 22): `SwarmSnapshot.participants` and the
14
+ # `swarm.participant_added` / `_removed` Evidence names. Additive with a default, so a
15
+ # Runner one minor behind only warns.
16
+ # 2.3.0 (console-v2 issue 23): the `report` Work Record kind -- `KIND_REPORT`,
17
+ # `WAKE_REPORT`, `EpicPlan.needs_human`, `EPIC_PLAN_REPORTED`, `report` in `OUTCOME_KINDS`
18
+ # and in the runtime context's `kind`. Additive; a Runner one behind refuses a report's
19
+ # runtime context, which fails that Directive closed rather than running it in a checkout.
20
+ # 2.4.0 (QTS-1253a): the Runner-side GitHub calls the platform App made -- the
21
+ # `RequestReview`/`ChangedFiles`/`PullRequestComment`/`PullRequestClose`/`RepositoryProbe`
22
+ # activity I/O, `GitHubCallError`, and `GitHubClient.read_repository`. Additive; but a
23
+ # Runner one minor behind has none of the five activities, so the platform must not
24
+ # schedule them on it -- roll the Runner image out before the platform change.
25
+ # 2.5.0 (ADR-0018 §3, §4): the Grant snapshot carries ``reach`` and each registry row its
26
+ # ``product_id``. Additive; an older payload parses with both empty.
27
+ # 2.6.0 (console-v2 issue 29): `HeartbeatEnvelope.tool_servers` and `ToolServerHealth`.
28
+ # Additive; the envelope omits the key while it is empty, so a control plane on 2.5 parses
29
+ # a beat unchanged until the Runner has started a Tool Server -- upgrade the control plane
30
+ # before the Runner.
31
+ __version__ = "2.6.0"
32
+
33
+ __all__ = ["__version__"]