feat(FN-3757): normalize stepIndex lookups in task update map to match verd

Fixes a step-index normalization bug in the task executor where update map lookups were inconsistent with the zero-indexed keys used by verdicts and checkpoints, causing reconciliation failures on review/update step pairing.

Fusion-Task-Id: FN-3757
This commit is contained in:
Fusion
2026-05-08 16:03:37 -07:00
committed by gsxdsm
parent 5ef3c97ed7
commit d487eeaf36
3 changed files with 81 additions and 50 deletions

View File

@@ -0,0 +1,5 @@
---
"@runfusion/fusion": patch
---
Fix executor step-index reconciliation so `fn_task_update` and `fn_review_step` share 0-indexed in-memory verdict/checkpoint keys. This restores correct REVISE blocking for `status="done"` and allows RETHINK rewinds to find the matching step checkpoint.