FN-6644: preserve finalized graph aborts
Keep no-commit completion handoffs in review when teardown reclassifies their abort provenance.
- Track completed finalize-to-review handoffs with a durable executor marker.
- Suppress false operator-action graph failures after hard-cancel teardown overwrites completion-finalize provenance.
- Cover preserved user/global pause, merge-seam, hard-cancel, terminal, and redispatch cleanup behavior.
- Document the finalized completion abort exception and add a patch changeset.
Files changed:
.changeset/fn-6644-finalize-to-review-abort-overwrite.md | 5 +
docs/architecture.md | 2 +-
packages/engine/src/__tests__/executor-recovery.test.ts | 300 +++++++++++++++++++++
packages/engine/src/executor.ts | 40 ++-
4 files changed, 342 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-6644
Fusion-Task-Lineage: 569fa84f-2cbe-45ae-b12c-874dd45cea73