Skip to content

[TASK][MVP] Implement Operation Progress Results and Cancellation - #43

Merged
Noam-Alum merged 6 commits into
mvp/implementationfrom
mvp/operation-lifecycle
Nov 1, 2026
Merged

Noam-Alum merged 6 commits into
mvp/implementationfrom
mvp/operation-lifecycle

Conversation

@Noam-Alum

Copy link
Copy Markdown
Member

Required result

Outcome

Implement generic progress, terminal results, and cooperative cancellation by extending R5's operation registry. A6 owns the first real Agent lifecycle exchange; R20 imports that behavior into Provider CI.

Required behavior

  • Enforce canonical transitions, monotonic sequences, bounded replay, immutable terminal outcomes, typed result validation, and sanitized errors.
  • Distinguish cancellation requested from execution stopped and resolve terminal races deterministically.
  • Observer cancellation, deadlines, transport loss, and health changes must not implicitly stop business execution.
  • Use exact Protocol and Provider wheels over the real Unix socket. Do not simulate an Agent.

Acceptance

Focused tests cover progress, cursor gaps, late replay, slow observers, terminal results, failures, cancellation races, shutdown, and no redispatch. Full installed-Agent verification waits for A6 and R20.

Implementation step

R6

Closes #42

@Noam-Alum Noam-Alum self-assigned this Nov 1, 2026
@Noam-Alum
Noam-Alum merged commit 5e2189a into mvp/implementation Nov 1, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant