Skip to content

Continue action sequences with replacement remaining steps - #173

Open
kstonekuan wants to merge 1 commit into
mainfrom
feat/continue-action-sequence-suffix
Open

kstonekuan wants to merge 1 commit into
mainfrom
feat/continue-action-sequence-suffix

Conversation

@kstonekuan

Copy link
Copy Markdown
Contributor

Summary

  • Add POST /action_sequence/continue and expose it in the Rust, TypeScript, and Python SDKs. Callers pass a prior execution ID and replacement remaining steps.
  • Preserve the attempted prefix, including steps with uncertain admission. Run the replacements through the existing compiler and live admission path.
  • Reserve only the arms used in the new execution. Keep step numbers relative to the full sequence.

Verification

  • Simulated station coverage rejects an invalid replacement, continues a corrected suffix, and confirms an earlier command on a second arm stays untouched.
  • Coverage verifies the preserved prefix when a prior admission outcome is uncertain.
  • TypeScript and Python SDK smoke tests exercised continuation against a simulated station.

Related to #170.

@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Adds POST /action_sequence/continue and lease-bound methods in Rust, TypeScript, and Python.

  • The station continues a finished sequence from its first unattempted step.
  • Rust, TypeScript, and Python leases can start a replacement sequence from an earlier run.

No actionable issues found.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Continue request] --> B[Match request ID]
  B --> C[Read retained execution]
  C --> D[Find first unattempted step]
  D --> E[Keep prefix and append replacements]
  E --> F[Compile combined sequence]
  F --> G[Check lease and cancellation]
  G --> H[Reserve remaining arms]
  H --> I[Prepare and admit remaining steps]
Loading

Reviews (1) · Last reviewed commit: "Continue action sequences with replaceme..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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