Skip to content

refactor(spine): route the task boundary through to_task_kwargs - #70

Merged
larsrollik merged 1 commit into
mainfrom
refactor/boundary-via-to-task-kwargs
Aug 11, 2026
Merged

refactor(spine): route the task boundary through to_task_kwargs#70
larsrollik merged 1 commit into
mainfrom
refactor/boundary-via-to-task-kwargs

Conversation

@larsrollik

Copy link
Copy Markdown
Member

execute.run_task now overlays ctx.to_task_kwargs() onto the boundary, so RunContext is the authoritative source for the resolved identity + port keys it owns. The rest of args_dict (task_settings, config paths, runtime objects) flows unchanged.

This makes to_task_kwargs the live frozen boundary projection (previously defined but unused) — the seam later phases use to stop evaluate populating these keys and finally drop them from the dict.

Verified equivalent:

  • boundary characterization (test_run_task_boundary) updated to the ctx-sourced contract;
  • full suite green;
  • the fixed + sequence tasks run end-to-end through the new boundary (live --simulate), so real tasks receive the projected values correctly.

The serial_port_*/"" and acq_type/session_version additions are the documented, falsy-safe / already-resolved keys (see the evaluate characterization).

execute.run_task now overlays ctx.to_task_kwargs() onto the boundary, so
RunContext is the authoritative source for the resolved identity + port keys it
owns (the rest of args_dict - task_settings, config paths, runtime objects -
flows unchanged). to_task_kwargs goes from defined-but-unused to the LIVE frozen
boundary projection - the seam later phases use to stop evaluate populating
these keys. Verified equivalent: boundary characterization updated, full suite
green, and the fixed + sequence tasks run end-to-end through the new boundary.
@larsrollik
larsrollik requested a review from a team as a code owner August 11, 2026 05:29
@larsrollik
larsrollik merged commit fd81c80 into main Aug 11, 2026
7 checks passed
@larsrollik
larsrollik deleted the refactor/boundary-via-to-task-kwargs branch August 11, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant