Skip to content

Commit 9821c25

Browse files
committed
docs(plan): record task-attempt fact ownership replan
Record the Option 1 step 3 re-plan trigger for runtime task-attempt fact construction. The selected dispatch candidate now carries canonical runtime/model/resource evidence, but operation type, context shape, cancellation mode, timeout, and attempt generation are owned by runtime-branch task events or active-run/session state rather than the scheduler dispatch selection path. No-fallback/no-legacy: do not synthesize task-attempt operation/context/cancellation facts from graph/request/runtime-host state or scheduler DTOs; re-plan ownership so the task-attempt fact builder consumes canonical backend-owned facts. Verification: git diff --check.
1 parent 54b2205 commit 9821c25

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

  • docs/plans/current-image-generation-graphs

docs/plans/current-image-generation-graphs/plan.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,22 @@ this requires scheduler DTO changes, Pumas contracts, generated files,
18161816
lockfiles, saved workflow fixtures, or any synthesis of selected runtime
18171817
evidence from graph/request/runtime-host state.
18181818

1819+
2026-06-07 task-attempt fact construction re-plan trigger: stop before
1820+
implementing Option 1 sequence step 3. Inspection found that the selected
1821+
`WorkflowRuntimeDispatchCandidateFact` now provides canonical runtime/model/
1822+
resource evidence, and the started scheduler task provides attempt id and
1823+
start timestamp, but `WorkflowRuntimeTaskAttemptFactRecord` also requires
1824+
attempt generation, operation type, context shape key, cancellation mode, and
1825+
timeout. Those fields are not owned by the scheduler dispatch selection path:
1826+
attempt generation, timeout, operation type, context shape key, and
1827+
cancellation mode are currently represented in runtime-branch task events and
1828+
active-run/session state. Building a task-attempt fact in
1829+
`session_scheduler_runner` now would require synthesizing operation/context/
1830+
cancellation fields from graph/request/runtime-host state or reaching across
1831+
runtime-branch ownership boundaries. Do not proceed until ownership is
1832+
re-planned so the task-attempt fact builder consumes canonical facts from the
1833+
same backend-owned source that owns those fields.
1834+
18191835
2026-06-07 runtime-branch durable active-state slice: completed the first
18201836
Option 3 promotion step. Smallest useful vertical slice: extend the durable
18211837
runtime-branch task-event contract from bridge-style `Claimed` directly to

0 commit comments

Comments
 (0)