Skip to content

Add closed-loop atomic-action execution runner - #449

Open
yuecideng wants to merge 1 commit into
refactor/atomic-action-pr1-contractsfrom
feat/atomic-action-pr2a-execution-runner
Open

Add closed-loop atomic-action execution runner#449
yuecideng wants to merge 1 commit into
refactor/atomic-action-pr1-contractsfrom
feat/atomic-action-pr2a-execution-runner

Conversation

@yuecideng

Copy link
Copy Markdown
Contributor

Description

This PR adds a closed-loop execution layer for typed atomic-action plans. It introduces a non-blocking ExecutionRunner, explicit observation/command/clock ports, command acknowledgement and cancellation semantics, trajectory timing propagation, safe hold behavior, and a simulation adapter that preserves batched environment correlation.

The runner closes the gap between the planning/recovery contracts introduced by #448 and real simulation execution. It also adds a tracking-error recovery tutorial that demonstrates observation-driven invalidation, replanning, and resumed execution in a headless simulation.

Dependencies: #448. This is a stacked PR whose base is refactor/atomic-action-pr1-contracts; review the single PR2A commit rather than the full PR1 diff.

Fixes: N/A (no linked issue).

Type of change

  • New feature (non-breaking change which adds functionality)

Validation

  • black --check --diff --color ./
  • Targeted atomic-action tests: 164 passed, 2 skipped, 5 deselected
  • Headless simulation smoke tests with one and two environments; an injected 0.35 rad tracking error emitted tracking_error, replanned, and completed after 83 accepted commands
  • Sphinx HTML build completed successfully; the build retained 618 pre-existing repository-wide warnings
  • Python compile and public export checks passed

Screenshots

Not applicable; this change adds runtime APIs and a headless simulation tutorial.

Checklist

  • I have run the black . command to format the code base.
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Dependencies have been updated, if applicable. (No dependency-file changes required.)

@yuecideng yuecideng added enhancement New feature or request atomic action atomic action related functionality motion gen Things related to motion generation for robot labels Aug 2, 2026
@yuecideng
yuecideng force-pushed the feat/atomic-action-pr2a-execution-runner branch from 1794d02 to 00456c8 Compare August 3, 2026 03:37
@yuecideng
yuecideng marked this pull request as ready for review August 3, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

atomic action atomic action related functionality enhancement New feature or request motion gen Things related to motion generation for robot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant