diff --git a/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.md b/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.md new file mode 100644 index 0000000000..32776904e6 --- /dev/null +++ b/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.md @@ -0,0 +1,143 @@ +# Primary-action instruction selection + +[中文镜像](2026-10-27-primary-action-instruction-selection.zh-CN.md) + +## Boundary and ownership + +This Stage 2B slice removes the Python instruction decision owner while keeping +caller-visible prose and rendering stable. `projectInteractionExecution` in +`work_items/interaction_contract.ts` selects the existing mode and its primary +instruction in the same `work_item.interaction_execution.project` request. +There is no new operation, handler registration, runtime, provider or store. +Qualification remains incomplete until the validation holds below are resolved. + +Retired Python symbols in `work_items/primary_action.py`: + +- `protocol_first_candidate_action`: source precedence, addressed labels, + capability candidate count, scoped successor and advancement fallbacks. +- `protocol_replan_action_packet_instruction`: settlement-only, successor and + generic typed-outcome wording. +- `resolve_canonical_primary_action`: exact mode prose, fallbacks and child/peer + lane counts, including the empty-child-list precedence over peer lanes. + +`interaction_contract.py::_project_interaction_execution` sends a single optional +facts/views carrier and the existing `action_selection_context` projection. +The final contract builder requests and threads the returned instruction through +`_build_interaction_agent_channel` into `build_primary_action_projection`. +`unadmitted_action_selection` retains its mode-only preflight and exact result +shape. The TS owner composes `actionSelectionNeedsRecovery` before reading +instruction facts; rejected/deferred recovery does not construct executable +instructions. The existing Python recovery alternative, selection/capability +channel overrides, blocked-successor override and blocked-wait override remain. + +Python retains `protocol_action_text` and `protocol_action_label`: Python `str` +and nested repr, truthiness, whitespace, label prefixes and code-point limits +are compatibility codecs, including `...` rather than the trace codec's `…`. +`primary_action_instruction_facts` transports those views and existing Todo +eligibility/lifecycle source facts; it does not select an instruction or retry a +Python fallback. Python transports at most the first selectable row per list +source, evaluated from the same coerced views; the typed owner applies the same +predicates and source precedence. Request size is independent of backlog/Todo +list length. Registered effective actions and agent-scope values come from +their generated TS exports. Other existing local rule strings keep their exact +spellings; no shared vocabulary or persisted schema is added. + +Python also retains `protocol_monitor_action` and the resolution trace through +`state_projection.next_action_resolution_trace`. `primary_action` still precedes +optional `resolution_trace`; channel insertion order and final Python JSON +serialization are unchanged. Delete the trace/monitor facade only when their +remaining consumers adopt a complete typed action/trace projection. Delete the +scalar/label codecs and facts carrier only after the last Python text/label +consumer exits and a complete typed compatibility codec proves Python coercion, +Unicode, truncation and trace parity. This slice does not retire those owners. + +## Vocabulary budget + +The registry's `meaning` says "module_budget counts modules under loopx/ whose text carries the standalone field token" and "the token count stays until Q11 decides whether the syntactic metric replaces it"; this deliberately conservative lexical proxy protects against unexplained growth in potential field readers. +On the same tracked-source workload, base `be1dc37a0` → `this commit` moves `goal_boundary` lexical counts from Python/TypeScript 30/2 → 29/3 (total 32 unchanged), originally failing `legacy field goal_boundary grew to 3 .ts modules; budget is 2` and retrodiction `(13, 15)` versus frozen `(12, 15)`. +The moved sentence, `repair goal_boundary.write_scope projection before attempting the selected write`, is byte-identical agent-facing prose, adding no reader, writer or binder; the smoke's prose-versus-reader distinction keeps migration surfaces at Python 16 / TypeScript 1. +Retaining that instruction, the registry tightens the Python token budget to its measured 29 and increases TypeScript 2 → 3, with zero lexical headroom; migration-surface budgets and their anchor remain unchanged at 16/1, while the registry and `RETIREMENT_ANCHOR` move together in this same commit, as the anchor mechanism requires; the retrodiction baseline is unchanged and the measured result returns to `(12, 15)` (`would_have_caught=12/15`, `caught_baseline=12/15`) once the budget accepts the measured counts. + +## Economics and parity + +Against the immutable base, the three retired function spans contain 267 physical +lines (269 including separating lines). Production Python is 185 lines smaller; +TS grows by 109; net production is 76 lines smaller. The primary-action module +shrinks 347 → 152 lines. The new Python facts codec is 77 lines plus its +separators; remaining Python changes are transport/result plumbing. The TS +helper contains 14 lines of local view decoders (`facts`, `object`, `text`, +`rows`, `count`), not another RPC surface. The bounded +companion refactor reuses `action_selection_context` rather than a second +admission-fact encoder. Broader admission, monitor and trace migration is deferred. + +One untimed base/head execution and one logical-request trace per command, +with isolated synthetic SQLite fixtures and one or three delegation bindings: + +| Command | Bindings | Crossings base → head | Stdout bytes base → head | +| --- | --- | --- | --- | +| `agent-context --phase before_plan` | 1 | 1 → 1 | 1885 → 1885 | +| `agent-context --phase after_delegate_result` | 1 | 3 → 3 | 1612 → 1612 | +| Same result phase with a Turn instance | 1 | 3 → 3 | 2594 → 2594 | +| `quota should-run` | 1 | 75 → 75 | 25520 → 25520 | +| `agent-context --phase before_plan` | 3 | 1 → 1 | 2247 → 2247 | +| `agent-context --phase after_delegate_result` | 3 | 3 → 3 | 1612 → 1612 | +| Same result phase with a Turn instance | 3 | 3 → 3 | 2594 → 2594 | +| `quota should-run` | 3 | 75 → 75 | 25904 → 25904 | + +All eight normalized JSON outputs match after excluding timestamp keys ending +in `_at`, `context_id`, `event_id` and `staleness_seconds`. This is equal byte +count and normalized-content evidence, not literal equality of volatile fields +or a latency improvement claim. No persisted-format change or data migration. + +## Validation and remaining gates + +A pre-change synthetic fixture pins 182 cases: all modes, candidate-source +precedence, fallback and lane-count branches, empty/invalid source shapes, +booleans, numbers, nested values, whitespace, Unicode/non-BMP and truncation. +Native tests check those independently pinned instructions and the recovery +getter sentinel; Python checks codec views, non-JSON `str` and projection order. +Existing Python CLI/Host integration assertions are retained. Retire the pinned +Python payload/view fixture when its last codec consumer exits and native +invariant tests independently cover the same wording/source branches. + +The oversized-backlog regression pins 22,000 rows through the public Python +projection: the lane instruction matches BASE, and rejected selection preserves +the BASE recovery command with `must_attempt` and `delivery_allowed` both false. +Encoded instruction facts stay below 16 KiB. + + +Independent review's rule table found EQUIVALENT selection semantics with one +DIVERGENT row for oversized eager transport; the bounded first-selectable-row +carrier fixes it: facts for 22,000 rows shrink 2,354,852 → 959 bytes, with lane +and rejected-selection recovery outputs byte-identical to base and pinned in +tests. The fix passes 38 arbitration tests, 37 native tests and 309 Python +adapter tests, including 182-case typed-instruction parity. The `goal_boundary` +vocabulary budget decision moves Python/TypeScript 30/2 → 29/3 together with +`RETIREMENT_ANCHOR` in this commit; the smoke reports +`semantic-vocabulary-drift-smoke: ok`, architecture tests pass 128/128, and +retrodiction returns to the unchanged 12/15 baseline. The full TS suite passes +5,528 tests with 0 failures and 75 PostgreSQL skips. The original full Python +suite records 27,169 passed, 908 failed, 234 skipped and 8 errors; base replay +of its 147 failing files records 2,353 passed, 905 failed, 18 skipped and +8 errors, reproducing 913/916 distinct failure/error IDs under the same guard, +whose restrictions induced some failures. Of the three head-only failures, +the two architecture failures are repaired above; the third is +environment-induced because dashboard dependencies were installed mid-validation, +while base skips that test. The final-code 44-module sweep has identical sets +of 84 failures on base and head, zero new failures, 1,871 → 1,880 passes and +20 skips on each; these scoped runs do not establish a green full Python suite. +The final canary reports status: `passed`, ok: `true`, merge_gate_passed: `true`, +manual_holds: `0`, with 0 failures. The four interleaved benchmark runs +(25 timed runs and 3 warmups per command) retain equal bytes on all eight +commands and unchanged 1/3/3/75 crossings for both binding counts; every median +regression is within the stated 5% rule, so byte, crossing and median checks +pass without a latency-improvement claim. CI-only limits remain a real +PostgreSQL server, Node 22.22.3, Windows and browser lanes; PostgreSQL skips +are not passes. Main's inherited failures remain tracked by #7433–#7436 and +#7389; this validation does not resolve them. + +Installed wheel, minimum Node, Windows, real PostgreSQL and full CI are not +qualified locally; PostgreSQL skips are not passes. The committed-head bilingual +check and premerge canary remain orchestrator/validation responsibilities. These +holds do not authorize broader authority/provider changes or weaker acceptance. +Rollback is a code-only revert; no state rewrite is needed. diff --git a/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.zh-CN.md b/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.zh-CN.md new file mode 100644 index 0000000000..e2453db3d6 --- /dev/null +++ b/docs/architecture/rfcs/ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.zh-CN.md @@ -0,0 +1,120 @@ +# Primary-action 指令选择 + +[English mirror](2026-10-27-primary-action-instruction-selection.md) + +## 边界与归属 + +本 Stage 2B 切片删除 Python 指令决策 owner,保持调用方可见文字和渲染。 +`work_items/interaction_contract.ts` 中的 `projectInteractionExecution` 在原有 +`work_item.interaction_execution.project` 请求内同时选择 mode 与 primary 指令。 +不新增 operation、handler 注册、runtime、provider 或 store。 +下述验证 hold 解决之前,资格仍未完成。 + +删除 `work_items/primary_action.py` 中的 Python 符号: + +- `protocol_first_candidate_action`:来源优先序、带地址标签、capability 候选数量、 + scoped successor 与 advancement 回退。 +- `protocol_replan_action_packet_instruction`:仅结算、successor 和通用 typed-outcome 文字。 +- `resolve_canonical_primary_action`:各 mode 的精确文字、回退和 child/peer lane 数量, + 包括空 child 列表优先于 peer lanes 的规则。 + +`interaction_contract.py::_project_interaction_execution` 发送一个可选 facts/views +carrier 和现有 `action_selection_context` 投影。最终 contract builder 请求并将返回 +指令经 `_build_interaction_agent_channel` 传入 `build_primary_action_projection`。 +`unadmitted_action_selection` 保留仅 mode 的 preflight 和精确结果形状。 +TS owner 在读取指令事实前组合 `actionSelectionNeedsRecovery`;rejected/deferred +恢复不构建可执行指令。既有 Python 恢复分支、selection/capability channel 覆盖、 +blocked-successor 覆盖及 blocked-wait 覆盖均保留。 + +Python 保留 `protocol_action_text` 和 `protocol_action_label`:Python `str`、嵌套 +repr、真值、空白、标签前缀和按码点限制都是兼容 codec,包括 `...`,而非 trace +codec 的 `…`。`primary_action_instruction_facts` 传递这些视图及现有 Todo 资格/ +lifecycle 来源事实,不选择指令,也无 Python 决策回退。Python 对每个列表来源至多 +传输从相同强制转换视图判定的首个可选行;typed owner 应用相同谓词和来源优先序。 +请求大小不随 backlog/Todo 列表长度增长。已注册 effective action 和 +agent-scope 值导入生成的 TS exports。其他现有局部规则字符串保持精确拼写; +不新增共享词汇或持久化 schema。 + +Python 还保留 `protocol_monitor_action` 和经 +`state_projection.next_action_resolution_trace` 构建的 resolution trace。 +`primary_action` 仍先于可选 `resolution_trace`;channel 插入顺序和最终 Python JSON +序列化不变。仅当剩余消费者采用完整 typed action/trace 投影时,才删除 trace/monitor +facade。仅当最后一个 Python text/label 消费者退出,且完整 typed 兼容 codec 证明 +Python coercion、Unicode、截断及 trace 等价时,才删除 scalar/label codec 和 facts +carrier。本切片不宣称这些 owner 已退役。 + +## 词汇预算 + +registry 的 `meaning` 写明 "module_budget counts modules under loopx/ whose text carries the standalone field token" 和 "the token count stays until Q11 decides whether the syntactic metric replaces it";这一刻意保守的词法代理用于防止潜在字段 reader 数量出现无解释增长。 +在相同 tracked-source 负载上,base `be1dc37a0` → `this commit` 的 `goal_boundary` 词法计数从 Python/TypeScript 30/2 → 29/3(总数仍为 32),原始失败为 `legacy field goal_boundary grew to 3 .ts modules; budget is 2`,以及 retrodiction `(13, 15)` 对比冻结值 `(12, 15)`。 +迁移的句子 `repair goal_boundary.write_scope projection before attempting the selected write` 是逐字节一致的 agent-facing 文字,未新增 reader、writer 或 binder;smoke 对文字与 reader 的区分使 migration surface 保持 Python 16 / TypeScript 1。 +保留该指令,registry 将 Python token 预算收紧至实测 29,并将 TypeScript 从 2 增至 3,词法余量为零;migration-surface 预算及其 anchor 维持 16/1 不变,而 registry 与 `RETIREMENT_ANCHOR` 按 anchor 机制要求在同一提交中一起调整;retrodiction 基线不变,预算接受实测计数后,实测结果恢复为 `(12, 15)`(`would_have_caught=12/15`、`caught_baseline=12/15`)。 + +## 经济性与等价 + +相对固定基线,三个删除函数跨度共 267 物理行(含间隔行则为 269)。生产 Python +净减 185 行,TS 增 109 行,生产总代码净减 76 行。primary-action 模块从 347 行缩为 +152 行。新增 Python facts codec 为 77 行加间隔;其余 Python 变化为 transport/结果 +传递。TS helper 内有 14 行局部 view decoder(`facts`、`object`、`text`、`rows`、 +`count`),不另建 RPC surface。伴随的有界重构复用 `action_selection_context`,不另建 admission facts 编码器。 +更广的 admission、monitor 和 trace 迁移延后。 + +在隔离的合成 SQLite fixture 上,分别使用 1 或 3 个 delegation binding;每条命令 +各执行一次不计时的 base/head 输出和一次逻辑请求 trace: + +| 命令 | Binding 数 | Crossings base → head | Stdout 字节 base → head | +| --- | --- | --- | --- | +| `agent-context --phase before_plan` | 1 | 1 → 1 | 1885 → 1885 | +| `agent-context --phase after_delegate_result` | 1 | 3 → 3 | 1612 → 1612 | +| 同一 result phase,带 Turn instance | 1 | 3 → 3 | 2594 → 2594 | +| `quota should-run` | 1 | 75 → 75 | 25520 → 25520 | +| `agent-context --phase before_plan` | 3 | 1 → 1 | 2247 → 2247 | +| `agent-context --phase after_delegate_result` | 3 | 3 → 3 | 1612 → 1612 | +| 同一 result phase,带 Turn instance | 3 | 3 → 3 | 2594 → 2594 | +| `quota should-run` | 3 | 75 → 75 | 25904 → 25904 | + +排除以 `_at` 结尾的时间字段、`context_id`、`event_id` 和 `staleness_seconds` 后, +八组规范化 JSON 均一致。这证明字节数和规范化内容等价,不代表易变字段字面一致, +也不宣称延迟提升。不改变持久化格式,无数据迁移。 + +## 验证与剩余门禁 + +修改前合成 fixture 固定 182 个案例:全部 mode、候选来源优先序、回退及 lane 数量 +分支、空/非法来源形状、布尔值、数值、嵌套值、空白、Unicode/非 BMP 和截断。 +原生测试核对独立固定的指令和 recovery getter sentinel;Python 核对 codec 视图、 +非 JSON `str` 及投影顺序。既有 Python CLI/Host 集成断言保留。仅当最后一个 codec 消费者退出,且原生 +invariant 测试独立覆盖相同文字/来源分支时,才删除固定的 Python payload/view fixture。 + +超大 backlog 回归通过公开 Python 投影固定 22,000 行:lane 指令与 BASE 一致, +rejected selection 保留 BASE 恢复命令,且 `must_attempt` 和 `delivery_allowed` 均为 false。 +编码后的指令事实保持在 16 KiB 以下。 + + +独立 review 的规则表判定选择语义为 EQUIVALENT,仅超大 eager transport 一行为 +DIVERGENT;有界首个可选行 carrier 修复该问题:22,000 行的 facts 从 +2,354,852 字节缩至 959 字节,lane 与 rejected-selection recovery 输出均与 base +逐字节一致,并由测试固定。修复通过 38 项 arbitration、37 项原生及 309 项 Python +adapter 测试,包含 182 案例 typed-instruction parity。`goal_boundary` 词汇预算决策 +将 Python/TypeScript 从 30/2 调整为 29/3,并在本提交中同步调整 +`RETIREMENT_ANCHOR`;smoke 报告 `semantic-vocabulary-drift-smoke: ok`, +architecture 测试 128/128 通过,retrodiction 恢复至未变的 12/15 基线。 +完整 TS suite 为 5,528 项通过、0 项失败、75 项 PostgreSQL skip。原始完整 Python +suite 记录 27,169 项通过、908 项失败、234 项 skip、8 项 error;base 重放其 +147 个失败文件,记录 2,353 项通过、905 项失败、18 项 skip、8 项 error, +在相同 guard 下复现 913/916 个不同的 failure/error ID,其中部分失败由 guard +限制引起。三个 head-only 失败中,两个 architecture 失败已由上述修复解决;第三个 +由环境引起,因为验证期间安装了 dashboard 依赖,而 base 跳过该测试。最终代码的 +44 模块 sweep 在 base 与 head 上具有完全相同的 84 个失败,新增失败为零, +通过数为 1,871 → 1,880,两边各有 20 项 skip;这些限定范围的运行不能证明完整 +Python suite 全绿。最终 canary 报告 status: `passed`、ok: `true`、 +merge_gate_passed: `true`、manual_holds: `0`,失败数为 0。四轮交错 benchmark +运行(每条命令 25 次计时、3 次 warmup)中,八条命令的字节数全部相等,两种 binding +数量的 crossings 均维持 1/3/3/75;每项中位数回退均在既定 5% 规则内,因此字节数、 +crossing 和中位数检查通过,不宣称延迟提升。仅 CI 可验证的限制仍包括真实 +PostgreSQL server、Node 22.22.3、Windows 和 browser lanes;PostgreSQL skip +不等于通过。main 的继承失败仍由 #7433–#7436 和 #7389 跟踪;本次验证未解决它们。 + +本地未验证 installed wheel、最低 Node、Windows、真实 PostgreSQL 及完整 CI; +PostgreSQL skip 不等于通过。提交确切 head 后的双语检查和 premerge canary 由 +orchestrator/验证工程师负责。这些 hold 不授权更广的 authority/provider 修改或 +降低验收。回滚仅需撤销代码,无需改写状态。 diff --git a/docs/architecture/rfcs/typescript-control-plane-migration-v0.md b/docs/architecture/rfcs/typescript-control-plane-migration-v0.md index feca1885fe..1ad5931e65 100644 --- a/docs/architecture/rfcs/typescript-control-plane-migration-v0.md +++ b/docs/architecture/rfcs/typescript-control-plane-migration-v0.md @@ -15,6 +15,26 @@ --- +### Primary-action instruction selection converges in TypeScript (2026-10-27) + +`work_item.interaction_execution.project` now selects the primary instruction +alongside its existing mode, composing selection recovery before instruction +construction. The three Python decision functions are retired; Python retains +bounded scalar/label compatibility views, monitor text, resolution trace and +final serialization; transported list facts are bounded to the first selectable +row per source. Mode-only preflight, later overrides and persisted formats +are unchanged. Production Python −185 lines, TS +109, net −76. All eight measured +CLI outputs retain equal byte counts and normalized content; crossings remain +1/3/3/75 for both binding counts. No latency improvement is claimed. +The slice moves one `goal_boundary` prose token Python → TypeScript; lexical budgets move 30/2 → 29/3 with migration surfaces unchanged at 16/1, as recorded in the ledger; registry and anchor move together. +Validation is complete for this slice: the final canary reports status: +`passed`, ok: `true`, merge_gate_passed: `true`, manual_holds: `0` and 0 failures; +all eight benchmark commands retain byte parity and unchanged crossings, with +median regressions within the stated 5% rule. Remaining limits are the CI-only +real PostgreSQL server, Node 22.22.3, Windows and browser lanes, plus inherited +main failures tracked by #7433–#7436 and #7389. See the [ownership, economics and validation ledger](ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.md) +for negative cases, retained-code deletion conditions and code-only rollback. + ### Goal agent-context delegation projection converges in TypeScript (2026-10-25) `capability_hook.agent_context.project` diff --git a/docs/architecture/rfcs/typescript-control-plane-migration-v0.zh-CN.md b/docs/architecture/rfcs/typescript-control-plane-migration-v0.zh-CN.md index 701cf99955..fdda4d897d 100644 --- a/docs/architecture/rfcs/typescript-control-plane-migration-v0.zh-CN.md +++ b/docs/architecture/rfcs/typescript-control-plane-migration-v0.zh-CN.md @@ -15,6 +15,23 @@ --- +### Primary-action 指令选择收敛至 TypeScript(2026-10-27) + +`work_item.interaction_execution.project` 在原有 mode 选择中同时选择 primary 指令, +并在构建指令前组合 selection recovery。三个 Python 决策函数退役;Python 保留 +有界 scalar/label 兼容视图、monitor 文字、resolution trace 和最终序列化;传输的 +列表事实限于每个来源的首个可选行。 +仅 mode 的 preflight、后续覆盖和持久化格式不变。生产 Python −185 行,TS +109 行, +净减 76 行。八组 CLI 输出的字节数和规范化内容保持一致;两种 binding 数的 +crossings 均维持 1/3/3/75。不宣称延迟提升。 +本切片将一个 `goal_boundary` 文字 token 从 Python 移至 TypeScript;词法预算从 30/2 调整为 29/3,migration surface 维持 16/1,记录见 ledger;registry 与 anchor 一起调整。 +本切片验证已完成:最终 canary 报告 status: `passed`、ok: `true`、 +merge_gate_passed: `true`、manual_holds: `0`,失败数为 0;八条 benchmark 命令 +均保持字节数相等、crossings 不变,中位数回退均在既定 5% 规则内。剩余限制为仅 CI +可验证的真实 PostgreSQL server、Node 22.22.3、Windows 和 browser lanes, +以及由 #7433–#7436 和 #7389 跟踪的 main 继承失败。负例、保留代码删除条件及纯代码回滚见 +[归属、经济性与验证 ledger](ledger/typescript-control-plane-migration-v0/2026-10-27-primary-action-instruction-selection.zh-CN.md)。 + ### Goal agent-context 委派投影收敛至 TypeScript(2026-10-25) `capability_hook.agent_context.project` diff --git a/examples/semantic-vocabulary-drift-smoke.py b/examples/semantic-vocabulary-drift-smoke.py index 24b1e22804..5f24fc5f38 100755 --- a/examples/semantic-vocabulary-drift-smoke.py +++ b/examples/semantic-vocabulary-drift-smoke.py @@ -257,7 +257,7 @@ "heartbeat_recommendation": (17, 1), "work_lane_contract": (29, 3), "external_evidence_observation": (8, 1), - "goal_boundary": (30, 2), + "goal_boundary": (29, 3), "protocol_action_packet": (1, 2), } # B3 migration surface: modules that read, write or bind the legacy field, plus diff --git a/loopx/control_plane/work_items/interaction_contract.py b/loopx/control_plane/work_items/interaction_contract.py index 3eb11146c8..a0d04232fe 100644 --- a/loopx/control_plane/work_items/interaction_contract.py +++ b/loopx/control_plane/work_items/interaction_contract.py @@ -51,6 +51,7 @@ from . import runtime_capability_reentry as capability_reentry_adapter from .primary_action import ( build_primary_action_projection, + primary_action_instruction_facts, protocol_action_label as _protocol_action_label, protocol_action_text, ) @@ -304,6 +305,7 @@ def _project_interaction_execution( user_required: bool, blocked_successor_wait_observation: bool, agent_scope_frontier_actions: Collection[str], + include_primary_action: bool = False, ) -> dict[str, Any]: """Transport bounded facts; TypeScript owns mode and execution permission.""" @@ -347,6 +349,9 @@ def _project_interaction_execution( "replan_required": obligation_kind == AUTONOMOUS_REPLAN_REQUIRED_MODE, "agent_scope_frontier_actions": list(agent_scope_frontier_actions), } + if include_primary_action: + request["primary_action_facts"] = primary_action_instruction_facts(dict(payload)) + request["selection_packet"] = selection.action_selection_context(payload) result = effect_runtime_result( "work_item.interaction_execution.project", request ) @@ -362,6 +367,8 @@ def _project_interaction_execution( raise TypeError( f"typed interaction execution returned invalid {field}" ) + if "primary_action" in result and result["primary_action"] is not None and not isinstance(result["primary_action"], str): + raise TypeError("typed interaction execution returned an invalid primary action") return result @@ -1126,6 +1133,7 @@ def _build_interaction_agent_channel( must_attempt: bool, delivery_allowed: bool, quiet_noop_allowed: bool, + primary_action: str | None, capability_reentry: Mapping[str, Any] | None = None, ) -> dict[str, Any]: channel: dict[str, Any] = { @@ -1133,7 +1141,7 @@ def _build_interaction_agent_channel( "delivery_allowed": delivery_allowed, "quiet_noop_allowed": quiet_noop_allowed, } - channel.update(build_primary_action_projection(payload, mode=mode)) + channel.update(build_primary_action_projection(payload, mode=mode, primary_action=primary_action)) work_lane = ( payload.get("work_lane_contract") if isinstance(payload.get("work_lane_contract"), Mapping) @@ -1591,6 +1599,7 @@ def _build_interaction_contract_projection( user_required=user_required, blocked_successor_wait_observation=_blocked_successor_wait_observation_required(payload), agent_scope_frontier_actions=agent_scope_frontier_actions, + include_primary_action=True, ) mode = decision["mode"] must_attempt = decision["must_attempt"] @@ -1640,6 +1649,7 @@ def _build_interaction_contract_projection( must_attempt=must_attempt, delivery_allowed=delivery_allowed, quiet_noop_allowed=quiet_noop_allowed, + primary_action=decision["primary_action"], capability_reentry=capability_reentry, ) retry_wait = execution_obligation.get("wait") diff --git a/loopx/control_plane/work_items/interaction_contract.ts b/loopx/control_plane/work_items/interaction_contract.ts index edae2ba64a..651969b505 100644 --- a/loopx/control_plane/work_items/interaction_contract.ts +++ b/loopx/control_plane/work_items/interaction_contract.ts @@ -1,3 +1,4 @@ +import {actionSelectionNeedsRecovery} from "./action_selection_admission.ts"; import {configuredGoalChecks} from "../goals/acceptance_contract.ts"; import { EffectRuntimeRequestError } from "../effect_runtime_errors.ts"; import {projectTurnStartUnavailableContext} from "../capability_hooks.ts"; @@ -15,7 +16,7 @@ import { EffectiveAction } from "../quota/effective_action.generated.ts"; import { ENVELOPED_SHA256_PATTERN } from "../content_digest.ts"; import type { JsonObject } from "../effect_program.ts"; -import { AgentScopeFrontierAction } from "../agents/agent_scope_frontier.generated.ts"; +import { AGENT_SCOPE_FRONTIER_ACTIONS, AgentScopeFrontierAction } from "../agents/agent_scope_frontier.generated.ts"; import { resumeConditionHasKnownPendingTarget } from "../todos/resume_condition.ts"; import { parseTodoTimestampMicros } from "../runtime_timestamp.ts"; import { monitorIsActive } from "../todos/summary_lanes.ts"; @@ -159,6 +160,7 @@ export interface InteractionExecutionDecision extends JsonObject { attempt_basis: string; delivery_basis: string; normalization_diagnostics: string[]; + primary_action?: string | null; } function optionalString(value: unknown, label: string): string | null { @@ -197,6 +199,104 @@ function quietModeAllowsNoop( ].includes(mode); } +/** Select only Python-coded scalar/label views; never emulate Python str/repr here. */ +export function selectPrimaryActionInstruction(value: unknown, mode: string): string | null { + const facts = requireJsonObject(value, "primary action instruction facts"); + const object = (key: string) => requireJsonObject(facts[key], `primary action ${key}`); + const text = (source: JsonObject, key: string) => optionalString(source[key], `primary action ${key}`); + const rows = (source: JsonObject, key: string): JsonObject[] => { + if (!Array.isArray(source[key])) throw new EffectRuntimeRequestError(`primary action ${key} must be an array`); + return source[key].map(item => requireJsonObject(item, `primary action ${key} item`)); + }; + const count = (source: JsonObject, key: string): number => { + const n = source[key]; + if (typeof n !== "number" || !Number.isSafeInteger(n) || n < 0) { + throw new EffectRuntimeRequestError(`primary action ${key} must be a nonnegative integer`); + } + return n; + }; + const addressed = (source: JsonObject, label: string | null): string | null => { + const id = text(source, "todo_id"); + return label ? (id ? `${id}: ${label}` : label) : null; + }; + const firstCandidate = (): string | null => { + const lane = object("agent_lane"), work = object("work_lane"); + const laneText = text(lane, requireBoolean(lane.next_step_truthy, "next_step_truthy") ? "next_step_label" : "label"); + if (laneText) return addressed(lane, laneText); + if (work.monitor_kind === "todo_monitor_due") { + for (const item of rows(work, "monitor_due_items")) { + const label = text(item, "label"); + if (label) return addressed(item, label); + } + } + if (work.obligation === "repair_monitor_schedule_metadata") { + const label = text(work, "action_label"), id = text(work, "selected_todo_id"); + if (label) return id ? `${id}: ${label}` : label; + } + const gate = object("capability_gate"); + if (gate.action === "run" && count(gate, "runnable_count")) { + return `choose one of ${count(gate, "runnable_count")} capability-runnable todo(s) after steering audit`; + } + const selected = object("scoped_fallback"), label = text(selected, "label"); + if (label) return selected.fallback_kind === "deferred_successor_replan" + ? addressed(selected, `replan ready deferred successor ${label}`) : label; + const todos = object("agent_todos"); + for (const key of ["first_executable_items", "first_open_items"]) { + for (const item of rows(todos, key)) { + if (requireBoolean(item.actionable, "actionable") && requireBoolean(item.advancement, "advancement")) { + const label = text(item, "label"); + if (label) return label; + } + } + } + const goal = text(facts, "goal_id"); + for (const item of rows(facts, "backlog")) { + if (goal && text(item, "goal_id") !== goal) continue; + const label = text(item, "label"); + if (label) return label; + } + const recommended = text(facts, "recommended_action"); + if (requireStringArray(work.reason_codes, "reason_codes").includes("next_action_requires_advancement") && recommended) return recommended; + return text(work, "action_text") || text(work, "obligation_text") || recommended; + }; + if (mode === EffectiveAction.GOVERNED_CAPABILITY_INTENT) return text(facts, "pending_intent") || "consume the validated pending capability intent"; + if (mode === EXTERNAL_OBSERVATION_MODE) return text(facts, "observation_target") || + "verify an observable external handle or compact writeback channel; write a compact blocker when it is absent"; + if (mode === "autonomous_replan") { + const lifecycle = object("lifecycle"); + if (requireBoolean(lifecycle.present, "lifecycle.present")) return text(lifecycle, "action") || + "settle the exact completed Todo lifecycle or link a real runnable successor; do not create lifecycle-only filler"; + const packet = object("replan_packet"); + if (requireBoolean(packet.settlement_only, "settlement_only")) return text(packet, "rule"); + if (requireBoolean(packet.has_required_outcome, "has_required_outcome") && requireBoolean(packet.has_successor_command, "has_successor_command")) { + return "select one bounded next slice; prefer replan_action_packet.writeback_contract.successor_command"; + } + return "produce one typed outcome from the host-projected replan action packet"; + } + if (mode === EffectiveAction.MONITOR_QUIET_SKIP) return "ensure this heartbeat's idempotent quota receipt is committed, then stay quiet if unchanged; the guard records the eligible no-progress observation and an earlier heartbeat receipt does not satisfy this one"; + if (mode === EffectiveAction.AGENT_MONITOR_ONLY) return "stay quiet until a monitor is due, a verified direct reply arrives, or the work mode changes"; + if (mode === EffectiveAction.MONITOR_DUE) return text(object("work_lane"), "due_action_text") || "attempt the due monitor and write back only a material transition"; + if ((AGENT_SCOPE_FRONTIER_ACTIONS as readonly string[]).includes(mode)) return text(facts, "frontier_action") || "stay quiet until this agent has a concrete in-scope runnable todo"; + if (mode === EffectiveAction.SCOPED_USER_GATE_FALLBACK) return firstCandidate() || "surface the scoped user gate, then advance one non-gated fallback"; + if (mode === "bounded_delivery_with_user_notice" || mode === "bounded_delivery") return firstCandidate() || "advance scope-bounded work with validation"; + if (mode === "task_orchestration") { + const contract = object("orchestration"); + const lanes = contract.child_count === null ? count(contract, "peer_count") : count(contract, "child_count"); + return contract.mode === "adaptive" + ? `choose whether to spawn admitted child lanes (${lanes} eligible); the task coordinator reviews evidence and writes back this bundle once` + : `activate/resume peer lanes (${lanes} eligible); the task coordinator reviews evidence and writes back this bundle`; + } + if (["user_gate", "user_todo_blocker_push", "user_action_required"].includes(mode)) return "wait for user/owner action after surfacing the blocker or gate"; + if (mode === EffectiveAction.OUTCOME_FLOOR_RECOVERY) return "produce the required outcome-floor evidence artifact or write the concrete blocker"; + if (mode === EffectiveAction.CAPABILITY_BRIDGE_REPAIR) return "execute interaction_contract.agent_channel.next_task_action.operation once with its real task-facing tool and exact target_ref when projected; preflight_allowed is false, and the instruction is context rather than CLI text; on success execute cli_channel.next_cli_actions[0] in the same turn and continue only when quota allows"; + if (mode === EffectiveAction.AGENT_WORKSPACE_REPAIR) return "create or switch to an independent worktree/branch, then rerun quota guard before file edits"; + if (mode === "automation_prompt_upgrade") return "update the installed automation once using the stable migration id, run its completion ack, then rerun quota guard"; + if (mode === "control_plane_self_repair") return "repair the bounded control-plane/status projection fault exposed by quota"; + if (mode === EffectiveAction.BOUNDARY_PROJECTION_REPAIR) return "repair goal_boundary.write_scope projection before attempting the selected write"; + if (mode === "mapped_noop_if_unchanged") return "confirm no new instruction/evidence/todo/stale source/safe handoff, then quiet no-op"; + return text(facts, "contract_obligation") || "do not run delivery work for this goal in this turn"; +} + /** * One domain owner for the selected interaction mode and its execution facts. * Python transports bounded source facts and renders compatibility fields from @@ -426,7 +526,7 @@ export function projectInteractionExecution(value: unknown): InteractionExecutio deliverySource = mustAttempt ? deliverySource : "attempt_required"; } - return { + const decision: InteractionExecutionDecision = { schema_version: INTERACTION_EXECUTION_DECISION_SCHEMA_VERSION, mode, must_attempt: mustAttempt, @@ -436,6 +536,15 @@ export function projectInteractionExecution(value: unknown): InteractionExecutio delivery_basis: deliverySource, normalization_diagnostics: normalizationDiagnostics, }; + // Mode-only preflight remains byte-for-byte compatible. Recovery is tested + // before even reading instruction facts, so rejected work stays lazy. + if (Object.hasOwn(request, "primary_action_facts")) { + const packet = requireJsonObject(request.selection_packet, "selection packet"); + if (!actionSelectionNeedsRecovery(packet, {must_attempt: mustAttempt, delivery_allowed: deliveryAllowed})) { + decision.primary_action = selectPrimaryActionInstruction(request.primary_action_facts, mode); + } + } + return decision; } /** The scheduler and typed consumers share these rules, not independent copies. */ diff --git a/loopx/control_plane/work_items/primary_action.py b/loopx/control_plane/work_items/primary_action.py index 361a44340f..e4c4f59a12 100644 --- a/loopx/control_plane/work_items/primary_action.py +++ b/loopx/control_plane/work_items/primary_action.py @@ -1,11 +1,9 @@ from __future__ import annotations +from collections.abc import Callable, Iterable from typing import Any from ...state_projection import next_action_resolution_trace -from ..agents.agent_scope_frontier import ( - agent_scope_frontier_action as _agent_scope_frontier_action, -) from ..todos.contract import TODO_TASK_CLASS_ADVANCEMENT from ..todos.todo_semantics import todo_item_is_actionable_open, todo_item_task_class from .autonomous_replan_obligation import todo_lifecycle_settlement_obligation @@ -32,149 +30,83 @@ def protocol_action_label(value: Any, *, limit: int = 80) -> str | None: return protocol_action_text(text, limit=limit) -def protocol_first_candidate_action(payload: dict[str, Any]) -> str | None: - goal_id = str(payload.get("goal_id") or "") - agent_lane_next_action = ( - payload.get("agent_lane_next_action") - if isinstance(payload.get("agent_lane_next_action"), dict) - else {} - ) - lane_text = protocol_action_label(agent_lane_next_action.get("next_step") or agent_lane_next_action.get("text")) - if lane_text: - todo_id = str(agent_lane_next_action.get("todo_id") or "").strip() - return f"{todo_id}: {lane_text}" if todo_id else lane_text - work_lane = ( - payload.get("work_lane_contract") - if isinstance(payload.get("work_lane_contract"), dict) - else {} - ) - if work_lane.get("monitor_kind") == "todo_monitor_due": - due_items = ( - work_lane.get("monitor_due_items") - if isinstance(work_lane.get("monitor_due_items"), list) - else [] - ) - for item in due_items: - if not isinstance(item, dict): - continue - text = protocol_action_label(item.get("text")) - if text: - todo_id = str(item.get("todo_id") or "").strip() - return f"{todo_id}: {text}" if todo_id else text - if work_lane.get("obligation") == "repair_monitor_schedule_metadata": - text = protocol_action_label(work_lane.get("action"), limit=160) - if text: - todo_id = str(work_lane.get("selected_todo_id") or "").strip() - return f"{todo_id}: {text}" if todo_id else text - capability_gate = ( - payload.get("capability_gate") - if isinstance(payload.get("capability_gate"), dict) - else {} - ) - if capability_gate.get("action") == "run": - runnable_candidates = ( - capability_gate.get("runnable_candidates") - if isinstance(capability_gate.get("runnable_candidates"), list) - else [] - ) - if runnable_candidates: - return ( - f"choose one of {len(runnable_candidates)} " - "capability-runnable todo(s) after steering audit" - ) - scoped_fallback = ( - payload.get("scoped_user_gate_fallback") - if isinstance(payload.get("scoped_user_gate_fallback"), dict) - else {} - ) - selected = ( - scoped_fallback.get("selected_executable") - if isinstance(scoped_fallback.get("selected_executable"), dict) - else {} - ) - text = protocol_action_label(selected.get("text")) - if text: - if selected.get("fallback_kind") == "deferred_successor_replan": - todo_id = str(selected.get("todo_id") or "").strip() - action = f"replan ready deferred successor {text}" - return f"{todo_id}: {action}" if todo_id else action - return text +def primary_action_instruction_facts(payload: dict[str, Any]) -> dict[str, Any]: + """Bound each list to its first selectable view; the typed owner selects the instruction.""" + def obj(value: Any) -> dict[str, Any]: + return value if isinstance(value, dict) else {} - agent_todos = ( - payload.get("agent_todo_summary") - if isinstance(payload.get("agent_todo_summary"), dict) - else {} - ) - for key in ("first_executable_items", "first_open_items"): - items = agent_todos.get(key) if isinstance(agent_todos.get(key), list) else [] - for item in items: - if not isinstance(item, dict): - continue - if not todo_item_is_actionable_open(item): - continue - if todo_item_task_class(item) != TODO_TASK_CLASS_ADVANCEMENT: - continue - text = protocol_action_label(item.get("text")) - if text: - return text + def rows(value: Any) -> list[dict[str, Any]]: + return [item for item in value if isinstance(item, dict)] if isinstance(value, list) else [] - backlog = ( - payload.get("autonomous_backlog_candidates") - if isinstance(payload.get("autonomous_backlog_candidates"), dict) - else {} - ) - items = backlog.get("items") if isinstance(backlog.get("items"), list) else [] - for item in items: - if not isinstance(item, dict): - continue - if goal_id and str(item.get("goal_id") or "") != goal_id: - continue - text = protocol_action_label(item.get("text")) - if text: - return text + def first(views: Iterable[dict[str, Any]], eligible: Callable[[dict[str, Any]], bool]) -> list[dict[str, Any]]: + return next(([view] for view in views if eligible(view)), []) - reason_codes = ( - work_lane.get("reason_codes") - if isinstance(work_lane.get("reason_codes"), list) - else [] - ) - if "next_action_requires_advancement" in reason_codes: - text = protocol_action_text(payload.get("recommended_action")) - if text: - return text - for key in ("action", "obligation"): - text = protocol_action_text(work_lane.get(key)) - if text: - return text - return protocol_action_text(payload.get("recommended_action")) + def scalar(value: Any) -> str | None: + return value if isinstance(value, str) else None + def address(item: dict[str, Any], *, limit: int = 80) -> dict[str, Any]: + return {"todo_id": str(item.get("todo_id") or "").strip(), + "label": protocol_action_label(item.get("text"), limit=limit)} -def protocol_replan_action_packet_instruction(payload: dict[str, Any]) -> str: - packet = ( - payload.get("replan_action_packet") - if isinstance(payload.get("replan_action_packet"), dict) - else {} - ) - uncovered = ( - packet.get("uncovered_frontier") - if isinstance(packet.get("uncovered_frontier"), dict) - else {} - ) - writeback_contract = ( - packet.get("writeback_contract") - if isinstance(packet.get("writeback_contract"), dict) - else {} - ) - if packet.get("settlement_only") is True: - return protocol_action_text(writeback_contract.get("rule")) - if uncovered.get("required_any_of") and writeback_contract.get( - "successor_command" - ): - return ( - "select one bounded next slice; prefer " - "replan_action_packet.writeback_contract.successor_command" - ) - return "produce one typed outcome from the host-projected replan action packet" + goal_id = str(payload.get("goal_id") or "") + lane = obj(payload.get("agent_lane_next_action")) + work = obj(payload.get("work_lane_contract")) + gate = obj(payload.get("capability_gate")) + selected = obj(obj(payload.get("scoped_user_gate_fallback")).get("selected_executable")) + todos = obj(payload.get("agent_todo_summary")) + backlog = obj(payload.get("autonomous_backlog_candidates")) + packet = obj(payload.get("replan_action_packet")) + writeback = obj(packet.get("writeback_contract")) + contract = obj(payload.get("task_orchestration_contract")) + lifecycle = todo_lifecycle_settlement_obligation(payload) + return { + "goal_id": goal_id, + "agent_lane": {**address(lane), "next_step_truthy": bool(lane.get("next_step")), + "next_step_label": protocol_action_label(lane.get("next_step"))}, + "work_lane": { + "monitor_kind": scalar(work.get("monitor_kind")), + "obligation": scalar(work.get("obligation")), + "monitor_due_items": first((address(item) for item in rows(work.get("monitor_due_items"))), + lambda view: bool(view["label"])), + "selected_todo_id": str(work.get("selected_todo_id") or "").strip(), + "action_label": protocol_action_label(work.get("action"), limit=160), + "action_text": protocol_action_text(work.get("action")), + "due_action_text": protocol_action_text(work.get("action"), limit=260), + "obligation_text": protocol_action_text(work.get("obligation")), + "reason_codes": [item for item in work.get("reason_codes", []) if isinstance(item, str)] + if isinstance(work.get("reason_codes"), list) else [], + }, + "capability_gate": {"action": scalar(gate.get("action")), + "runnable_count": len(gate["runnable_candidates"]) + if isinstance(gate.get("runnable_candidates"), list) else 0}, + "scoped_fallback": {**address(selected), "fallback_kind": scalar(selected.get("fallback_kind"))}, + "agent_todos": {key: first(({"label": protocol_action_label(item.get("text")), + "actionable": todo_item_is_actionable_open(item), + "advancement": todo_item_task_class(item) == TODO_TASK_CLASS_ADVANCEMENT} for item in rows(todos.get(key))), + lambda view: bool(view["actionable"] and view["advancement"] and view["label"])) + for key in ("first_executable_items", "first_open_items")}, + "backlog": first(({"goal_id": str(item.get("goal_id") or ""), + "label": protocol_action_label(item.get("text"))} for item in rows(backlog.get("items"))), + lambda view: bool(view["label"] and (not goal_id or view["goal_id"] == goal_id))), + "recommended_action": protocol_action_text(payload.get("recommended_action")), + "pending_intent": protocol_action_text(obj(payload.get("pending_capability_intent")).get("action_summary"), limit=320), + "observation_target": protocol_action_text(obj(payload.get("external_evidence_observation")).get("observation_target")), + "lifecycle": {"present": lifecycle is not None, + "action": protocol_action_text(lifecycle.get("recommended_action"), limit=360) + if lifecycle is not None else None}, + "replan_packet": {"settlement_only": packet.get("settlement_only") is True, + "rule": protocol_action_text(writeback.get("rule")), + "has_required_outcome": bool(obj(packet.get("uncovered_frontier")).get("required_any_of")), + "has_successor_command": bool(writeback.get("successor_command"))}, + "frontier_action": protocol_action_text(obj(payload.get("agent_scope_frontier")).get("recommended_action"), limit=260), + "orchestration": {"mode": scalar(contract.get("mode")), + "child_count": len(contract["eligible_child_lanes"]) + if isinstance(contract.get("eligible_child_lanes"), list) else None, + "peer_count": len(contract["eligible_peer_lanes"]) + if isinstance(contract.get("eligible_peer_lanes"), list) else 0}, + "contract_obligation": str(obj(payload.get("execution_obligation"))["contract_obligation"]) + if obj(payload.get("execution_obligation")).get("contract_obligation") else None, + } def protocol_monitor_action(payload: dict[str, Any]) -> str | None: @@ -203,136 +135,9 @@ def protocol_monitor_action(payload: dict[str, Any]) -> str | None: return None -def resolve_canonical_primary_action(payload: dict[str, Any], *, mode: str) -> str: - execution_obligation = ( - payload.get("execution_obligation") - if isinstance(payload.get("execution_obligation"), dict) - else {} - ) - if mode == "governed_capability_intent": - projection = ( - payload.get("pending_capability_intent") - if isinstance(payload.get("pending_capability_intent"), dict) - else {} - ) - return protocol_action_text( - projection.get("action_summary"), limit=320 - ) or "consume the validated pending capability intent" - if mode == "external_evidence_observation": - external_observation = ( - payload.get("external_evidence_observation") - if isinstance(payload.get("external_evidence_observation"), dict) - else {} - ) - observation_target = protocol_action_text( - external_observation.get("observation_target"), - limit=220, - ) - if observation_target: - return observation_target - return ( - "verify an observable external handle or compact writeback channel; " - "write a compact blocker when it is absent" - ) - if mode == "autonomous_replan": - lifecycle_settlement = todo_lifecycle_settlement_obligation(payload) - if lifecycle_settlement is not None: - return protocol_action_text( - lifecycle_settlement.get("recommended_action"), - limit=360, - ) or ( - "settle the exact completed Todo lifecycle or link a real runnable " - "successor; do not create lifecycle-only filler" - ) - return protocol_replan_action_packet_instruction(payload) - if mode == "monitor_quiet_skip": - return ( - "ensure this heartbeat's idempotent quota receipt is committed, then " - "stay quiet if unchanged; the guard records the eligible no-progress " - "observation and an earlier heartbeat receipt does not satisfy this one" - ) - if mode == "agent_monitor_only": - return "stay quiet until a monitor is due, a verified direct reply arrives, or the work mode changes" - if mode == "monitor_due": - work_lane = ( - payload.get("work_lane_contract") - if isinstance(payload.get("work_lane_contract"), dict) - else {} - ) - return protocol_action_text(work_lane.get("action"), limit=260) or ( - "attempt the due monitor and write back only a material transition" - ) - if _agent_scope_frontier_action(mode) is not None: - agent_scope_frontier = ( - payload.get("agent_scope_frontier") - if isinstance(payload.get("agent_scope_frontier"), dict) - else {} - ) - action = protocol_action_text(agent_scope_frontier.get("recommended_action"), limit=260) - return action or "stay quiet until this agent has a concrete in-scope runnable todo" - if mode == "scoped_user_gate_fallback": - return protocol_first_candidate_action(payload) or ( - "surface the scoped user gate, then advance one non-gated fallback" - ) - if mode == "bounded_delivery_with_user_notice": - return protocol_first_candidate_action(payload) or "advance scope-bounded work with validation" - if mode == "task_orchestration": - contract = ( - payload.get("task_orchestration_contract") - if isinstance(payload.get("task_orchestration_contract"), dict) - else {} - ) - lanes = contract.get("eligible_child_lanes") - if not isinstance(lanes, list): - lanes = ( - contract.get("eligible_peer_lanes") - if isinstance(contract.get("eligible_peer_lanes"), list) - else [] - ) - if contract.get("mode") == "adaptive": - return ( - f"choose whether to spawn admitted child lanes ({len(lanes)} eligible); " - "the task coordinator reviews evidence and writes back this bundle once" - ) - return ( - f"activate/resume peer lanes ({len(lanes)} eligible); " - "the task coordinator reviews evidence and writes back this bundle" - ) - if mode in {"user_gate", "user_todo_blocker_push", "user_action_required"}: - return "wait for user/owner action after surfacing the blocker or gate" - if mode == "outcome_floor_recovery": - return "produce the required outcome-floor evidence artifact or write the concrete blocker" - if mode == "capability_bridge_repair": - return ( - "execute interaction_contract.agent_channel.next_task_action.operation " - "once with its real task-facing tool and exact target_ref when projected; " - "preflight_allowed is false, and the instruction is context rather than " - "CLI text; on success " - "execute cli_channel." - "next_cli_actions[0] in the same turn and continue only when quota allows" - ) - if mode == "agent_workspace_repair": - return "create or switch to an independent worktree/branch, then rerun quota guard before file edits" - if mode == "automation_prompt_upgrade": - return ( - "update the installed automation once using the stable migration id, " - "run its completion ack, then rerun quota guard" - ) - if mode == "control_plane_self_repair": - return "repair the bounded control-plane/status projection fault exposed by quota" - if mode == "boundary_projection_repair": - return "repair goal_boundary.write_scope projection before attempting the selected write" - if mode == "bounded_delivery": - return protocol_first_candidate_action(payload) or "advance scope-bounded work with validation" - if mode == "mapped_noop_if_unchanged": - return "confirm no new instruction/evidence/todo/stale source/safe handoff, then quiet no-op" - if execution_obligation.get("contract_obligation"): - return str(execution_obligation.get("contract_obligation")) - return "do not run delivery work for this goal in this turn" - - -def build_primary_action_projection(payload: dict[str, Any], *, mode: str) -> dict[str, Any]: - primary_action = resolve_canonical_primary_action(payload, mode=mode) +def build_primary_action_projection( + payload: dict[str, Any], *, mode: str, primary_action: str | None, +) -> dict[str, Any]: projection: dict[str, Any] = {"primary_action": primary_action} resolution_trace = next_action_resolution_trace( primary_action=primary_action, diff --git a/loopx/semantics/vocabulary_v0.json b/loopx/semantics/vocabulary_v0.json index f367498d71..c7746fa9b2 100644 --- a/loopx/semantics/vocabulary_v0.json +++ b/loopx/semantics/vocabulary_v0.json @@ -1148,8 +1148,8 @@ "typescript_migration_surface": 1 }, "goal_boundary": { - "python_module_budget": 30, - "typescript_module_budget": 2, + "python_module_budget": 29, + "typescript_module_budget": 3, "python_migration_surface": 16, "typescript_migration_surface": 1 }, diff --git a/tests/control_plane/test_scheduler_interaction_arbitration.py b/tests/control_plane/test_scheduler_interaction_arbitration.py index 8d2814ebc3..5eae32f359 100644 --- a/tests/control_plane/test_scheduler_interaction_arbitration.py +++ b/tests/control_plane/test_scheduler_interaction_arbitration.py @@ -625,3 +625,170 @@ def test_automatic_dated_wait_bounds_rechecks_without_finite_stop(minutes, progr assert all(limit is None for limit in hint["unchanged_poll"]["limits"].values()) assert set(hint["unchanged_poll"]["after_limits"].values()) == {"continue"} assert payload == original + + +def test_primary_instruction_adapter_preserves_pinned_python_views(): + import json + from pathlib import Path + + from loopx.control_plane.work_items.primary_action import primary_action_instruction_facts + + fixture = Path(__file__).parents[1] / "control_plane_ts" / "fixtures" / "primary_action_instruction_selection.json" + for case in json.loads(fixture.read_text(encoding="utf-8")): + expected = deepcopy(case["facts"]) + name = case["name"] + expected["work_lane"]["monitor_due_items"] = ( + [{"todo_id": "todo_due", "label": "Due monitor"}] + if name in {"precedence-0", "precedence-1"} else + [{"todo_id": "", "label": "Monitor without id"}] if name == "candidate-edge-2" else [] + ) + expected["agent_todos"] = { + "first_executable_items": ( + [{"label": "Advance executable", "actionable": True, "advancement": True}] + if name in {f"precedence-{i}" for i in range(6)} else + [{"label": "Advance accepted", "actionable": True, "advancement": True}] + if name == "candidate-edge-8" else [] + ), + "first_open_items": ( + [{"label": "Advance open", "actionable": True, "advancement": True}] + if name in {f"precedence-{i}" for i in range(7)} else [] + ), + } + expected["backlog"] = ( + [{"goal_id": "G", "label": "Advance backlog"}] + if name in {f"precedence-{i}" for i in range(8)} else + [{"goal_id": "other", "label": "Unscoped backlog"}] if name == "candidate-edge-9" else [] + ) + assert primary_action_instruction_facts(case["payload"]) == expected, name + + +def test_bounded_primary_instruction_facts_preserve_pinned_typed_instructions(): + import json + from pathlib import Path + + from loopx.control_plane.effect_runtime import effect_runtime_result + from loopx.control_plane.work_items.primary_action import primary_action_instruction_facts + + # Select each fixture mode through the real execution owner, independently + # of the payload's instruction sources. Expected prose predates the TS owner. + mode_inputs = { + "bounded_delivery": {"canonical_execution": {"must_attempt_work": True, "delivery_allowed": True}}, + "bounded_delivery_with_user_notice": {"user_required": True, + "canonical_execution": {"must_attempt_work": True, "delivery_allowed": True}}, + "external_evidence_observation": {"observation_required": True}, + "autonomous_replan": {"replan_required": True}, + "task_orchestration": {"effective_action": "coordinate_task_bundle"}, + "scoped_user_gate_fallback": {"scoped_user_gate_fallback": True}, + "user_gate_cooldown_wait": {"user_gate_notification_suppressed": True}, + "automation_prompt_upgrade": {"effective_action": "automation_prompt_upgrade_required"}, + "user_gate": {"user_required": True, "notify_user_on_gate": True}, + "user_todo_blocker_push": {"user_required": True, "notify_user_on_open_todo": True}, + "user_action_required": {"user_required": True}, + "control_plane_self_repair": {"self_repair_allowed": True}, + "mapped_noop_if_unchanged": {"stop_if_unchanged": True}, + "health_blocked": {"state": "blocked_health"}, + "quota_throttled": {"state": "throttled"}, + "blocked_wait": {"state": "waiting"}, + } + fixture = Path(__file__).parents[1] / "control_plane_ts" / "fixtures" / "primary_action_instruction_selection.json" + for case in json.loads(fixture.read_text(encoding="utf-8")): + request = { + "schema_version": "interaction_execution_facts_v0", + "effective_action": case["mode"], "state": "eligible", + "canonical_execution": {"must_attempt_work": False, "delivery_allowed": False}, + "user_required": False, "scoped_user_gate_fallback": False, + "user_gate_notification_suppressed": False, "notify_user_on_gate": False, + "notify_user_on_open_todo": False, "stop_if_unchanged": False, + "blocked_successor_wait_observation": False, + "observation_required": False, "replan_required": False, + "agent_scope_frontier_actions": sorted(AGENT_SCOPE_ACTIONS), + "primary_action_facts": primary_action_instruction_facts(case["payload"]), + "selection_packet": {}, **mode_inputs.get(case["mode"], {}), + } + result = effect_runtime_result("work_item.interaction_execution.project", request) + assert result["mode"] == case["mode"], case["name"] + assert result["primary_action"] == case["expected"], case["name"] + + +@pytest.mark.parametrize("rejected", [False, True], ids=["lane", "recovery"]) +def test_primary_instruction_transport_bounds_oversized_backlog(rejected): + import json + + from loopx.control_plane.work_items.primary_action import primary_action_instruction_facts + + payload = { + "goal_id": "G", "state": "eligible", "effective_action": "normal_run", + "execution_obligation": {"must_attempt_work": True, "delivery_allowed": True}, + "agent_lane_next_action": {"todo_id": "T", "next_step": "Advance"}, + "autonomous_backlog_candidates": {"items": [ + {"goal_id": "G", "text": "x" * 80} for _ in range(22_000) + ]}, + } + if rejected: + payload.update(action_selection_qualification={ + "state": "rejected", "requested_todo_id": "todo_x", + "recovery_action": "reenter_guard_without_selection", + }, agent_identity={"agent_id": "A"}) + channel = build_interaction_contract(payload)["agent_channel"] + assert channel["primary_action"] == ( + "loopx --format json quota should-run --goal-id G --agent-id A" if rejected else "T: Advance" + ) + assert channel["must_attempt"] is (not rejected) + assert channel["delivery_allowed"] is (not rejected) + assert len(json.dumps(primary_action_instruction_facts(payload)).encode("utf-8")) < 16 * 1024 + + +@pytest.mark.parametrize("eligible", [False, True], ids=["none", "after-prefix"]) +@pytest.mark.parametrize("goal_id", ["G", ""]) +def test_primary_instruction_transport_keeps_first_selectable_views(eligible, goal_id): + from loopx.control_plane.work_items.primary_action import primary_action_instruction_facts + + todos = [ + None, {"text": " "}, {"text": "Monitor", "task_class": "continuous_monitor"}, + {"text": "Blocked", "status": "blocked"}, {"text": "Done", "done": True}, + {"text": "Denied", "goal_acceptance_guard": {"allowed": False}}, + ] + monitors = [None, {}, {"text": " ", "todo_id": "blank"}] + backlog = [None, {"goal_id": "G", "text": " "}] + if goal_id: + backlog.append({"goal_id": "other", "text": "Wrong goal"}) + if eligible: + todos += [{"text": " Advance ", "task_class": "advancement_task"}, {"text": "Later"}] + monitors += [{"todo_id": " M ", "text": " Due "}, {"text": "Later"}] + backlog += [{"goal_id": "G" if goal_id else "other", "text": " Backlog "}, + {"goal_id": "G", "text": "Later"}] + facts = primary_action_instruction_facts({ + "goal_id": goal_id, "work_lane_contract": {"monitor_due_items": monitors}, + "agent_todo_summary": {"first_executable_items": todos, "first_open_items": todos}, + "autonomous_backlog_candidates": {"items": backlog}, + }) + assert facts["work_lane"]["monitor_due_items"] == ( + [{"todo_id": "M", "label": "Due"}] if eligible else [] + ) + assert facts["agent_todos"] == { + "first_executable_items": [{"label": "Advance", "actionable": True, "advancement": True}] if eligible else [], + "first_open_items": [{"label": "Advance", "actionable": True, "advancement": True}] if eligible else [], + } + assert facts["backlog"] == ( + ([{"goal_id": "G", "label": "Backlog"}] if goal_id else [{"goal_id": "other", "label": "Backlog"}]) + if eligible else [] + ) + + +def test_primary_instruction_adapter_keeps_non_json_str_and_projection_order(): + from loopx.control_plane.work_items.primary_action import ( + build_primary_action_projection, + primary_action_instruction_facts, + ) + + class LegacyText: + def __str__(self): + return " Legacy 😀 compatibility " + + facts = primary_action_instruction_facts({"pending_capability_intent": {"action_summary": LegacyText()}}) + assert facts["pending_intent"] == "Legacy 😀 compatibility" + projection = build_primary_action_projection( + {"active_state_next_action": "Earlier instruction"}, + mode="bounded_delivery", primary_action="Current instruction", + ) + assert list(projection) == ["primary_action", "resolution_trace"] diff --git a/tests/control_plane_ts/fixtures/primary_action_instruction_selection.json b/tests/control_plane_ts/fixtures/primary_action_instruction_selection.json new file mode 100644 index 0000000000..a7df1513bc --- /dev/null +++ b/tests/control_plane_ts/fixtures/primary_action_instruction_selection.json @@ -0,0 +1,184 @@ +[ + {"name":"empty-governed_capability_intent","mode":"governed_capability_intent","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"consume the validated pending capability intent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-external_evidence_observation","mode":"external_evidence_observation","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"verify an observable external handle or compact writeback channel; write a compact blocker when it is absent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-autonomous_replan","mode":"autonomous_replan","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"produce one typed outcome from the host-projected replan action packet","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-monitor_quiet_skip","mode":"monitor_quiet_skip","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"ensure this heartbeat's idempotent quota receipt is committed, then stay quiet if unchanged; the guard records the eligible no-progress observation and an earlier heartbeat receipt does not satisfy this one","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-agent_monitor_only","mode":"agent_monitor_only","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until a monitor is due, a verified direct reply arrives, or the work mode changes","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-monitor_due","mode":"monitor_due","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"attempt the due monitor and write back only a material transition","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-agent_scope_exhausted","mode":"agent_scope_exhausted","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-agent_scope_wait","mode":"agent_scope_wait","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-reassignment_required","mode":"reassignment_required","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-successor_replan_required","mode":"successor_replan_required","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-scoped_user_gate_fallback","mode":"scoped_user_gate_fallback","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"surface the scoped user gate, then advance one non-gated fallback","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-bounded_delivery_with_user_notice","mode":"bounded_delivery_with_user_notice","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-task_orchestration","mode":"task_orchestration","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"activate/resume peer lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-user_gate","mode":"user_gate","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"wait for user/owner action after surfacing the blocker or gate","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-user_todo_blocker_push","mode":"user_todo_blocker_push","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"wait for user/owner action after surfacing the blocker or gate","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-user_action_required","mode":"user_action_required","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"wait for user/owner action after surfacing the blocker or gate","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-outcome_floor_recovery","mode":"outcome_floor_recovery","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"produce the required outcome-floor evidence artifact or write the concrete blocker","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-capability_bridge_repair","mode":"capability_bridge_repair","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"execute interaction_contract.agent_channel.next_task_action.operation once with its real task-facing tool and exact target_ref when projected; preflight_allowed is false, and the instruction is context rather than CLI text; on success execute cli_channel.next_cli_actions[0] in the same turn and continue only when quota allows","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-agent_workspace_repair","mode":"agent_workspace_repair","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"create or switch to an independent worktree/branch, then rerun quota guard before file edits","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-automation_prompt_upgrade","mode":"automation_prompt_upgrade","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"update the installed automation once using the stable migration id, run its completion ack, then rerun quota guard","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-control_plane_self_repair","mode":"control_plane_self_repair","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"repair the bounded control-plane/status projection fault exposed by quota","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-boundary_projection_repair","mode":"boundary_projection_repair","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"repair goal_boundary.write_scope projection before attempting the selected write","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-bounded_delivery","mode":"bounded_delivery","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-mapped_noop_if_unchanged","mode":"mapped_noop_if_unchanged","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"confirm no new instruction/evidence/todo/stale source/safe handoff, then quiet no-op","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-skip","mode":"skip","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-heartbeat_settled_skip","mode":"heartbeat_settled_skip","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-terminal_no_followup","mode":"terminal_no_followup","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-peer_coordination_blocked","mode":"peer_coordination_blocked","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-user_gate_cooldown_wait","mode":"user_gate_cooldown_wait","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-health_blocked","mode":"health_blocked","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-quota_throttled","mode":"quota_throttled","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-blocked_wait","mode":"blocked_wait","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"empty-unsettled_host_turn_recovery","mode":"unsettled_host_turn_recovery","payload":{},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"do not run delivery work for this goal in this turn","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-0","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"repair_monitor_schedule_metadata","action":"Repair schedule","reason_codes":["next_action_requires_advancement"],"selected_todo_id":"todo_repair","monitor_kind":"todo_monitor_due","monitor_due_items":[null,{},{"todo_id":"todo_due","text":"Due monitor"}]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]},"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","todo_id":"todo_successor","text":"Ready successor"}},"capability_gate":{"action":"run","runnable_candidates":[{},{}]},"agent_lane_next_action":{"todo_id":"todo_lane","next_step":" Lane step ","text":"Ignored text"}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"todo_lane","label":"Ignored text","next_step_truthy":true,"next_step_label":"Lane step"},"work_lane":{"monitor_kind":"todo_monitor_due","obligation":"repair_monitor_schedule_metadata","monitor_due_items":[{"todo_id":"","label":null},{"todo_id":"todo_due","label":"Due monitor"}],"selected_todo_id":"todo_repair","action_label":"Repair schedule","action_text":"Repair schedule","due_action_text":"Repair schedule","obligation_text":"repair_monitor_schedule_metadata","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":"run","runnable_count":2},"scoped_fallback":{"todo_id":"todo_successor","label":"Ready successor","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"todo_lane: Lane step","candidate":"todo_lane: Lane step","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-1","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"repair_monitor_schedule_metadata","action":"Repair schedule","reason_codes":["next_action_requires_advancement"],"selected_todo_id":"todo_repair","monitor_kind":"todo_monitor_due","monitor_due_items":[null,{},{"todo_id":"todo_due","text":"Due monitor"}]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]},"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","todo_id":"todo_successor","text":"Ready successor"}},"capability_gate":{"action":"run","runnable_candidates":[{},{}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":"todo_monitor_due","obligation":"repair_monitor_schedule_metadata","monitor_due_items":[{"todo_id":"","label":null},{"todo_id":"todo_due","label":"Due monitor"}],"selected_todo_id":"todo_repair","action_label":"Repair schedule","action_text":"Repair schedule","due_action_text":"Repair schedule","obligation_text":"repair_monitor_schedule_metadata","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":"run","runnable_count":2},"scoped_fallback":{"todo_id":"todo_successor","label":"Ready successor","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"todo_due: Due monitor","candidate":"todo_due: Due monitor","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-2","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"repair_monitor_schedule_metadata","action":"Repair schedule","reason_codes":["next_action_requires_advancement"],"selected_todo_id":"todo_repair"},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]},"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","todo_id":"todo_successor","text":"Ready successor"}},"capability_gate":{"action":"run","runnable_candidates":[{},{}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"repair_monitor_schedule_metadata","monitor_due_items":[],"selected_todo_id":"todo_repair","action_label":"Repair schedule","action_text":"Repair schedule","due_action_text":"Repair schedule","obligation_text":"repair_monitor_schedule_metadata","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":"run","runnable_count":2},"scoped_fallback":{"todo_id":"todo_successor","label":"Ready successor","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"todo_repair: Repair schedule","candidate":"todo_repair: Repair schedule","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-3","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]},"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","todo_id":"todo_successor","text":"Ready successor"}},"capability_gate":{"action":"run","runnable_candidates":[{},{}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":"run","runnable_count":2},"scoped_fallback":{"todo_id":"todo_successor","label":"Ready successor","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"choose one of 2 capability-runnable todo(s) after steering audit","candidate":"choose one of 2 capability-runnable todo(s) after steering audit","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-4","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]},"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","todo_id":"todo_successor","text":"Ready successor"}}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"todo_successor","label":"Ready successor","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"todo_successor: replan ready deferred successor Ready successor","candidate":"todo_successor: replan ready deferred successor Ready successor","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-5","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}],"first_executable_items":[{},{"text":"Advance executable","task_class":"advancement_task"}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[{"label":null,"actionable":true,"advancement":true},{"label":"Advance executable","actionable":true,"advancement":true}],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Advance executable","candidate":"Advance executable","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-6","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]},"agent_todo_summary":{"first_open_items":[{"text":"Advance open","task_class":"advancement_task"}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[{"label":"Advance open","actionable":true,"advancement":true}]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Advance open","candidate":"Advance open","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-7","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]},"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Wrong goal"},{"goal_id":"G","text":"Advance backlog"}]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[{"goal_id":"other","label":"Wrong goal"},{"goal_id":"G","label":"Advance backlog"}],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Advance backlog","candidate":"Advance backlog","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-8","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Advance recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action","reason_codes":["next_action_requires_advancement"]}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":["next_action_requires_advancement"]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":"Advance recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Advance recommended","candidate":"Advance recommended","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-9","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Recommended","work_lane_contract":{"obligation":"Work obligation","action":"Work action"}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":"Work action","action_text":"Work action","due_action_text":"Work action","obligation_text":"Work obligation","reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":"Recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Work action","candidate":"Work action","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-10","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Recommended","work_lane_contract":{"obligation":"Work obligation"}},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"Work obligation","monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":"Work obligation","reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":"Recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Work obligation","candidate":"Work obligation","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"precedence-11","mode":"bounded_delivery","payload":{"goal_id":"G","recommended_action":"Recommended"},"facts":{"goal_id":"G","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":"Recommended","pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Recommended","candidate":"Recommended","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-0","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"text":"Lane text"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":"Lane text","next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Lane text","candidate":"Lane text","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-1","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":" ","text":"Must stay ignored"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":"Must stay ignored","next_step_truthy":true,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-2","mode":"bounded_delivery","payload":{"work_lane_contract":{"monitor_kind":"todo_monitor_due","monitor_due_items":[{},{"text":"Monitor without id"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":"todo_monitor_due","obligation":null,"monitor_due_items":[{"todo_id":"","label":null},{"todo_id":"","label":"Monitor without id"}],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Monitor without id","candidate":"Monitor without id","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-3","mode":"bounded_delivery","payload":{"work_lane_contract":{"obligation":"repair_monitor_schedule_metadata","action":"Repair without id"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":"repair_monitor_schedule_metadata","monitor_due_items":[],"selected_todo_id":"","action_label":"Repair without id","action_text":"Repair without id","due_action_text":"Repair without id","obligation_text":"repair_monitor_schedule_metadata","reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Repair without id","candidate":"Repair without id","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-4","mode":"bounded_delivery","payload":{"capability_gate":{"action":"wait","runnable_candidates":[{}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":"wait","runnable_count":1},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-5","mode":"bounded_delivery","payload":{"capability_gate":{"action":"run","runnable_candidates":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":"run","runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-6","mode":"bounded_delivery","payload":{"scoped_user_gate_fallback":{"selected_executable":{"text":"Ordinary fallback"}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":"Ordinary fallback","fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Ordinary fallback","candidate":"Ordinary fallback","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-7","mode":"bounded_delivery","payload":{"scoped_user_gate_fallback":{"selected_executable":{"fallback_kind":"deferred_successor_replan","text":"Successor without id"}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":"Successor without id","fallback_kind":"deferred_successor_replan"},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"replan ready deferred successor Successor without id","candidate":"replan ready deferred successor Successor without id","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-8","mode":"bounded_delivery","payload":{"agent_todo_summary":{"first_executable_items":[{"text":"Due monitor","task_class":"continuous_monitor"},{"text":"Blocked","status":"blocked"},{"text":"Done","done":true},{"text":"Denied","goal_acceptance_guard":{"allowed":false}},{"text":"Advance accepted"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[{"label":"Due monitor","actionable":true,"advancement":false},{"label":"Blocked","actionable":false,"advancement":true},{"label":"Done","actionable":false,"advancement":true},{"label":"Denied","actionable":false,"advancement":true},{"label":"Advance accepted","actionable":true,"advancement":true}],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Advance accepted","candidate":"Advance accepted","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-9","mode":"bounded_delivery","payload":{"autonomous_backlog_candidates":{"items":[{"goal_id":"other","text":"Unscoped backlog"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[{"goal_id":"other","label":"Unscoped backlog"}],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Unscoped backlog","candidate":"Unscoped backlog","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"candidate-edge-10","mode":"skip","payload":{"execution_obligation":{"contract_obligation":{"nested":[false,1]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":"{'nested': [False, 1]}"},"expected":"{'nested': [False, 1]}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-56","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-57","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"consume the validated pending capability intent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-58","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"verify an observable external handle or compact writeback channel; write a compact blocker when it is absent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-59","mode":"monitor_due","payload":{"work_lane_contract":{"action":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"attempt the due monitor and write back only a material transition","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-60","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-61","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":false}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":"False"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-62","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":false}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"False","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"False","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-63","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":false}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"False","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"False","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-64","mode":"monitor_due","payload":{"work_lane_contract":{"action":false}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"False","action_text":"False","due_action_text":"False","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"False","candidate":"False","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-65","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":false}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"False","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"False","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-66","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"True"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"True","candidate":"True","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-67","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"True","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"True","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-68","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"True","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"True","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-69","mode":"monitor_due","payload":{"work_lane_contract":{"action":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"True","action_text":"True","due_action_text":"True","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"True","candidate":"True","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-70","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"True","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"True","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-71","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":0}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":"0"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-72","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":0}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"0","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"0","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-73","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":0}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"0","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"0","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-74","mode":"monitor_due","payload":{"work_lane_contract":{"action":0}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"0","action_text":"0","due_action_text":"0","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"0","candidate":"0","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-75","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":0}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"0","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"0","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-76","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":7}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"7"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"7","candidate":"7","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-77","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":7}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"7","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"7","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-78","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":7}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"7","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"7","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-79","mode":"monitor_due","payload":{"work_lane_contract":{"action":7}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"7","action_text":"7","due_action_text":"7","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"7","candidate":"7","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-80","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":7}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"7","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"7","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-81","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":2.5}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"2.5"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"2.5","candidate":"2.5","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-82","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":2.5}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"2.5","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"2.5","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-83","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":2.5}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"2.5","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"2.5","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-84","mode":"monitor_due","payload":{"work_lane_contract":{"action":2.5}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"2.5","action_text":"2.5","due_action_text":"2.5","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"2.5","candidate":"2.5","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-85","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":2.5}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"2.5","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"2.5","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-86","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":"[]"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-87","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"[]","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-88","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"[]","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-89","mode":"monitor_due","payload":{"work_lane_contract":{"action":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"[]","action_text":"[]","due_action_text":"[]","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[]","candidate":"[]","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-90","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":[]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"[]","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-91","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":{}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":"{}"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-92","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":{}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"{}","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-93","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":{}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"{}","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-94","mode":"monitor_due","payload":{"work_lane_contract":{"action":{}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"{}","action_text":"{}","due_action_text":"{}","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{}","candidate":"{}","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-95","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":{}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"{}","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-96","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":[false,{"nested":"值😀"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"[False, {'nested': '值😀'}]"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[False, {'nested': '值😀'}]","candidate":"[False, {'nested': '值😀'}]","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-97","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":[false,{"nested":"值😀"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"[False, {'nested': '值😀'}]","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[False, {'nested': '值😀'}]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-98","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":[false,{"nested":"值😀"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"[False, {'nested': '值😀'}]","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[False, {'nested': '值😀'}]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-99","mode":"monitor_due","payload":{"work_lane_contract":{"action":[false,{"nested":"值😀"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"[False, {'nested': '值😀'}]","action_text":"[False, {'nested': '值😀'}]","due_action_text":"[False, {'nested': '值😀'}]","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[False, {'nested': '值😀'}]","candidate":"[False, {'nested': '值😀'}]","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-100","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":[false,{"nested":"值😀"}]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"[False, {'nested': '值😀'}]","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"[False, {'nested': '值😀'}]","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-101","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":{"nested":[true,null]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"{'nested': [True, None]}"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{'nested': [True, None]}","candidate":"{'nested': [True, None]}","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-102","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":{"nested":[true,null]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"{'nested': [True, None]}","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{'nested': [True, None]}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-103","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":{"nested":[true,null]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"{'nested': [True, None]}","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{'nested': [True, None]}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-104","mode":"monitor_due","payload":{"work_lane_contract":{"action":{"nested":[true,null]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"{'nested': [True, None]}","action_text":"{'nested': [True, None]}","due_action_text":"{'nested': [True, None]}","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{'nested': [True, None]}","candidate":"{'nested': [True, None]}","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-105","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":{"nested":[true,null]}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"{'nested': [True, None]}","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"{'nested': [True, None]}","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-106","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":""}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-107","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":""}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"consume the validated pending capability intent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-108","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":""}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"verify an observable external handle or compact writeback channel; write a compact blocker when it is absent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-109","mode":"monitor_due","payload":{"work_lane_contract":{"action":""}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"attempt the due monitor and write back only a material transition","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-110","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":""}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-111","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":" \t\n "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"advance scope-bounded work with validation","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-112","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":" \t\n "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"consume the validated pending capability intent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-113","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":" \t\n "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"verify an observable external handle or compact writeback channel; write a compact blocker when it is absent","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-114","mode":"monitor_due","payload":{"work_lane_contract":{"action":" \t\n "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"attempt the due monitor and write back only a material transition","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-115","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":" \t\n "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"stay quiet until this agent has a concrete in-scope runnable todo","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-116","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":" 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界..."},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","candidate":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-117","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":" 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-118","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":" 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀...","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-119","mode":"monitor_due","payload":{"work_lane_contract":{"action":" 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀...","action_text":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀...","due_action_text":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","candidate":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-120","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":" 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界 😀界...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-121","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"Title [fixture]"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Title [fixture]","candidate":"Title [fixture]","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-122","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-123","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-124","mode":"monitor_due","payload":{"work_lane_contract":{"action":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"Title [fixture]","action_text":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","due_action_text":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","candidate":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-125","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long "}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Title [fixture]: long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-126","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-127","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-128","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-129","mode":"monitor_due","payload":{"work_lane_contract":{"action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","due_action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-130","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-131","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-132","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-133","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-134","mode":"monitor_due","payload":{"work_lane_contract":{"action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","due_action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-135","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-136","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..."},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-137","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-138","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-139","mode":"monitor_due","payload":{"work_lane_contract":{"action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","due_action_text":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-140","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-141","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..."},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-142","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-143","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-144","mode":"monitor_due","payload":{"work_lane_contract":{"action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","due_action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-145","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-146","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..."},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-147","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-148","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-149","mode":"monitor_due","payload":{"work_lane_contract":{"action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","due_action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-150","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-151","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..."},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-152","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-153","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-154","mode":"monitor_due","payload":{"work_lane_contract":{"action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","due_action_text":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-155","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-156","mode":"bounded_delivery","payload":{"agent_lane_next_action":{"next_step":"x…y\u001c z"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":true,"next_step_label":"x…y z"},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"x…y z","candidate":"x…y z","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-157","mode":"governed_capability_intent","payload":{"pending_capability_intent":{"action_summary":"x…y\u001c z"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":"x…y z","observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"x…y z","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-158","mode":"external_evidence_observation","payload":{"external_evidence_observation":{"observation_target":"x…y\u001c z"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":"x…y z","lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"x…y z","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-159","mode":"monitor_due","payload":{"work_lane_contract":{"action":"x…y\u001c z"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":"x…y z","action_text":"x…y z","due_action_text":"x…y z","obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"x…y z","candidate":"x…y z","packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"codec-160","mode":"agent_scope_wait","payload":{"agent_scope_frontier":{"recommended_action":"x…y\u001c z"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":"x…y z","orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"x…y z","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"packet-161","mode":"autonomous_replan","payload":{"replan_action_packet":{}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"produce one typed outcome from the host-projected replan action packet","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"packet-162","mode":"autonomous_replan","payload":{"replan_action_packet":{"settlement_only":true}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":true,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":null,"candidate":null,"packet_instruction":null}, + {"name":"packet-163","mode":"autonomous_replan","payload":{"replan_action_packet":{"settlement_only":true,"writeback_contract":{"rule":" Write rule 😀 "}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":true,"rule":"Write rule 😀","has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Write rule 😀","candidate":null,"packet_instruction":"Write rule 😀"}, + {"name":"packet-164","mode":"autonomous_replan","payload":{"replan_action_packet":{"settlement_only":1}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"produce one typed outcome from the host-projected replan action packet","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"packet-165","mode":"autonomous_replan","payload":{"replan_action_packet":{"uncovered_frontier":{"required_any_of":["typed"]},"writeback_contract":{"successor_command":"next"}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":true,"has_successor_command":true},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"select one bounded next slice; prefer replan_action_packet.writeback_contract.successor_command","candidate":null,"packet_instruction":"select one bounded next slice; prefer replan_action_packet.writeback_contract.successor_command"}, + {"name":"packet-166","mode":"autonomous_replan","payload":{"replan_action_packet":{"uncovered_frontier":{"required_any_of":[]},"writeback_contract":{"successor_command":"next"}}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":true},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"produce one typed outcome from the host-projected replan action packet","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lifecycle-167","mode":"autonomous_replan","payload":{"autonomous_replan_obligation":{"resolution_mode":"todo_lifecycle_settlement","recommended_action":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":true,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"settle the exact completed Todo lifecycle or link a real runnable successor; do not create lifecycle-only filler","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lifecycle-168","mode":"autonomous_replan","payload":{"autonomous_replan_obligation":{"resolution_mode":"todo_lifecycle_settlement","recommended_action":"Settle exact lifecycle"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":true,"action":"Settle exact lifecycle"},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"Settle exact lifecycle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lifecycle-169","mode":"autonomous_replan","payload":{"autonomous_replan_obligation":{"resolution_mode":"todo_lifecycle_settlement","recommended_action":"😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀"}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":true,"action":"😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀..."},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀😀...","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-170","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"adaptive","eligible_child_lanes":[],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"adaptive","child_count":0,"peer_count":1},"contract_obligation":null},"expected":"choose whether to spawn admitted child lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle once","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-171","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"adaptive","eligible_child_lanes":["a","b"],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"adaptive","child_count":2,"peer_count":1},"contract_obligation":null},"expected":"choose whether to spawn admitted child lanes (2 eligible); the task coordinator reviews evidence and writes back this bundle once","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-172","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"adaptive","eligible_child_lanes":null,"eligible_peer_lanes":["a","b","c"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"adaptive","child_count":null,"peer_count":3},"contract_obligation":null},"expected":"choose whether to spawn admitted child lanes (3 eligible); the task coordinator reviews evidence and writes back this bundle once","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-173","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"adaptive","eligible_child_lanes":{},"eligible_peer_lanes":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"adaptive","child_count":null,"peer_count":0},"contract_obligation":null},"expected":"choose whether to spawn admitted child lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle once","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-174","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"peer","eligible_child_lanes":[],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"peer","child_count":0,"peer_count":1},"contract_obligation":null},"expected":"activate/resume peer lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-175","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"peer","eligible_child_lanes":["a","b"],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"peer","child_count":2,"peer_count":1},"contract_obligation":null},"expected":"activate/resume peer lanes (2 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-176","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"peer","eligible_child_lanes":null,"eligible_peer_lanes":["a","b","c"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"peer","child_count":null,"peer_count":3},"contract_obligation":null},"expected":"activate/resume peer lanes (3 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-177","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":"peer","eligible_child_lanes":{},"eligible_peer_lanes":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":"peer","child_count":null,"peer_count":0},"contract_obligation":null},"expected":"activate/resume peer lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-178","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":null,"eligible_child_lanes":[],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":0,"peer_count":1},"contract_obligation":null},"expected":"activate/resume peer lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-179","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":null,"eligible_child_lanes":["a","b"],"eligible_peer_lanes":["a"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":2,"peer_count":1},"contract_obligation":null},"expected":"activate/resume peer lanes (2 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-180","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":null,"eligible_child_lanes":null,"eligible_peer_lanes":["a","b","c"]}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":3},"contract_obligation":null},"expected":"activate/resume peer lanes (3 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"}, + {"name":"lanes-181","mode":"task_orchestration","payload":{"task_orchestration_contract":{"mode":null,"eligible_child_lanes":{},"eligible_peer_lanes":null}},"facts":{"goal_id":"","agent_lane":{"todo_id":"","label":null,"next_step_truthy":false,"next_step_label":null},"work_lane":{"monitor_kind":null,"obligation":null,"monitor_due_items":[],"selected_todo_id":"","action_label":null,"action_text":null,"due_action_text":null,"obligation_text":null,"reason_codes":[]},"capability_gate":{"action":null,"runnable_count":0},"scoped_fallback":{"todo_id":"","label":null,"fallback_kind":null},"agent_todos":{"first_executable_items":[],"first_open_items":[]},"backlog":[],"recommended_action":null,"pending_intent":null,"observation_target":null,"lifecycle":{"present":false,"action":null},"replan_packet":{"settlement_only":false,"rule":null,"has_required_outcome":false,"has_successor_command":false},"frontier_action":null,"orchestration":{"mode":null,"child_count":null,"peer_count":0},"contract_obligation":null},"expected":"activate/resume peer lanes (0 eligible); the task coordinator reviews evidence and writes back this bundle","candidate":null,"packet_instruction":"produce one typed outcome from the host-projected replan action packet"} +] diff --git a/tests/control_plane_ts/interaction_contract.test.ts b/tests/control_plane_ts/interaction_contract.test.ts index 10c752281a..830a872387 100644 --- a/tests/control_plane_ts/interaction_contract.test.ts +++ b/tests/control_plane_ts/interaction_contract.test.ts @@ -1,3 +1,5 @@ +import {EffectiveAction} from "../../loopx/control_plane/quota/effective_action.generated.ts"; +import instructionCases from "./fixtures/primary_action_instruction_selection.json" with {type: "json"}; import {projectInteractionReadsAndGuidance} from "../../loopx/control_plane/quota/turn_envelope.ts"; import assert from "node:assert/strict"; import { createHash } from "node:crypto"; @@ -7,6 +9,8 @@ import type { JsonObject } from "../../loopx/control_plane/effect_program.ts"; import { interpretQuotaShouldRunPacket } from "../../loopx/control_plane/effect_program.ts"; import { decodeInteractionContract, + projectInteractionExecution, + INTERACTION_EXECUTION_FACTS_SCHEMA_VERSION, projectInteractionRequiredReads, projectInteractionWorkContext, projectBlockedSuccessorWaitObservation, @@ -683,3 +687,33 @@ test("Goal narrative fulfillment needs complete source and ordered region lineag assert.equal((rejected.work_context as JsonObject).complete, false); } }); + +test("current typed instructions flow into legacy guidance after mode refinement", () => { + for (const [effectiveAction, replanRequired, expectedMode] of [ + [EffectiveAction.MONITOR_QUIET_SKIP, false, "monitor_quiet_skip"], + [EffectiveAction.AUTONOMOUS_REPLAN_REQUIRED, true, "autonomous_replan"], + [EffectiveAction.AGENT_WORKSPACE_REPAIR, false, "agent_workspace_repair"], + [EffectiveAction.CAPABILITY_BRIDGE_REPAIR, false, "capability_bridge_repair"], + ] as const) { + const decision = projectInteractionExecution({schema_version: INTERACTION_EXECUTION_FACTS_SCHEMA_VERSION, + effective_action: effectiveAction, state: "eligible", canonical_execution: {must_attempt_work: true, delivery_allowed: false}, + user_required: false, scoped_user_gate_fallback: false, user_gate_notification_suppressed: false, + notify_user_on_gate: false, notify_user_on_open_todo: false, stop_if_unchanged: false, + blocked_successor_wait_observation: false, observation_required: false, replan_required: replanRequired, + agent_scope_frontier_actions: [], selection_packet: {}, primary_action_facts: instructionCases[0].facts}); + assert.equal(decision.mode, expectedMode); + const facts = readFacts(), arbitration = facts.arbitration_facts as JsonObject; + const result = projectInteractionReadsAndGuidance({...facts, selected_todo: {}, + primary_action: decision.primary_action!, spend_policy: "after current validation", notify: "DONT_NOTIFY", + heartbeat_recommendation: {recommended_mode: "run_agent_command", command: "loopx synthetic-command"}, + arbitration_facts: {...arbitration, mode: decision.mode, + agent_channel: {present: true, must_attempt: decision.must_attempt, + delivery_allowed: decision.delivery_allowed, quiet_noop_allowed: decision.quiet_noop_allowed}}}); + const guidance = result.heartbeat_recommendation as JsonObject; + assert.equal(guidance.reason, decision.primary_action); + assert.equal(guidance.recommended_mode, expectedMode); + assert.equal(guidance.agent_must_attempt, decision.must_attempt); + assert.equal(guidance.spend_policy, "after current validation"); + assert.equal(Object.hasOwn(guidance, "command"), false); + } +}); diff --git a/tests/control_plane_ts/interaction_execution_decision.test.ts b/tests/control_plane_ts/interaction_execution_decision.test.ts index 91ec03034e..c31e98ff62 100644 --- a/tests/control_plane_ts/interaction_execution_decision.test.ts +++ b/tests/control_plane_ts/interaction_execution_decision.test.ts @@ -1,9 +1,11 @@ +import {EffectiveAction} from "../../loopx/control_plane/quota/effective_action.generated.ts"; +import instructionCases from "./fixtures/primary_action_instruction_selection.json" with {type: "json"}; import assert from "node:assert/strict"; import test from "node:test"; import {EffectRuntimeRequestError} from "../../loopx/control_plane/effect_runtime_errors.ts"; import type {JsonObject} from "../../loopx/control_plane/effect_program.ts"; -import {projectInteractionExecution} from "../../loopx/control_plane/work_items/interaction_contract.ts"; +import {selectPrimaryActionInstruction, projectInteractionExecution} from "../../loopx/control_plane/work_items/interaction_contract.ts"; const AGENT_SCOPE_ACTIONS = [ "agent_scope_exhausted", @@ -238,3 +240,62 @@ test("malformed permissions and source shapes cannot become authority", () => { /schema_version must be interaction_execution_facts_v0/, ); }); + +// Expected text was pinned before replacing the Python owner. Facts include its +// code-point truncation and repr views, rather than a JavaScript approximation. +test("primary instruction preserves every pinned mode, source and codec edge", () => { + for (const item of instructionCases) { + assert.equal(selectPrimaryActionInstruction(item.facts, item.mode), item.expected, item.name); + assert.equal(selectPrimaryActionInstruction(item.facts, "bounded_delivery"), + item.candidate || "advance scope-bounded work with validation", `${item.name}: candidate precedence`); + assert.equal(selectPrimaryActionInstruction({...item.facts, lifecycle: {present: false, action: null}}, "autonomous_replan"), + item.packet_instruction, `${item.name}: packet instruction`); + } +}); + +const emptyInstructionFacts = instructionCases.find(item => item.name === "empty-bounded_delivery")!.facts; + +test("selected execution mode owns the final instruction and keeps preflight shape", () => { + const replan = projectInteractionExecution(executionFacts({replan_required: true, + canonical_execution: {must_attempt_work: true, delivery_allowed: false}, + primary_action_facts: emptyInstructionFacts, selection_packet: {}})); + assert.equal(replan.mode, "autonomous_replan"); + assert.equal(replan.primary_action, "produce one typed outcome from the host-projected replan action packet"); + assert.equal(replan.delivery_allowed, false); + const monitor = projectInteractionExecution(executionFacts({effective_action: EffectiveAction.MONITOR_QUIET_SKIP, + primary_action_facts: emptyInstructionFacts, selection_packet: {}})); + assert.equal(monitor.primary_action, "ensure this heartbeat's idempotent quota receipt is committed, then stay quiet if unchanged; the guard records the eligible no-progress observation and an earlier heartbeat receipt does not satisfy this one"); + const workspace = projectInteractionExecution(executionFacts({effective_action: EffectiveAction.AGENT_WORKSPACE_REPAIR, + primary_action_facts: emptyInstructionFacts, selection_packet: {}})); + assert.equal(workspace.primary_action, "create or switch to an independent worktree/branch, then rerun quota guard before file edits"); + const capability = projectInteractionExecution(executionFacts({effective_action: EffectiveAction.CAPABILITY_BRIDGE_REPAIR, + primary_action_facts: emptyInstructionFacts, selection_packet: {}})); + assert.equal(capability.primary_action, "execute interaction_contract.agent_channel.next_task_action.operation once with its real task-facing tool and exact target_ref when projected; preflight_allowed is false, and the instruction is context rather than CLI text; on success execute cli_channel.next_cli_actions[0] in the same turn and continue only when quota allows"); + const advancement = projectInteractionExecution(executionFacts({primary_action_facts: { + ...emptyInstructionFacts, agent_todos: {first_executable_items: [ + {label: "Due monitor", actionable: true, advancement: false}, + {label: "[P1] Advance the bounded product slice.", actionable: true, advancement: true}, + ], first_open_items: []}}, selection_packet: {}})); + assert.equal(advancement.primary_action, "[P1] Advance the bounded product slice."); + assert.equal(advancement.must_attempt, true); + assert.equal(advancement.delivery_allowed, true); + assert.equal(Object.hasOwn(projectInteractionExecution(executionFacts()), "primary_action"), false); +}); + +test("recovery never reads instruction facts or constructs executable text", () => { + for (const state of ["rejected", "deferred"]) { + const request = executionFacts({selection_packet: {action_selection_qualification: { + state, requested_todo_id: "todo_requested", recovery_action: "reenter_guard_without_selection"}}}); + Object.defineProperty(request, "primary_action_facts", {enumerable: true, + get() {assert.fail("unadmitted selection read executable instruction facts");}}); + const result = projectInteractionExecution(request); + assert.equal(Object.hasOwn(result, "primary_action"), false); + // A receipt-bound choice retains the existing admission exception. + const admitted = projectInteractionExecution({...executionFacts(), primary_action_facts: emptyInstructionFacts, + selection_packet: {...request.selection_packet as JsonObject, + selected_todo: {selection_binding: "heartbeat_receipt"}}}); + assert.equal(admitted.primary_action, "advance scope-bounded work with validation"); + } + assert.throws(() => projectInteractionExecution(executionFacts({primary_action_facts: {}, selection_packet: {}})), EffectRuntimeRequestError); + assert.throws(() => projectInteractionExecution(executionFacts({primary_action_facts: emptyInstructionFacts})), EffectRuntimeRequestError); +});