The legacy process_lost_retry path must: - Tag the scheduled retry with retryReason/wakeReason 'process_lost_retry' so the new retry is identifiable as a legacy process-loss retry rather than a transient or null-environment retry. - Bump processLossRetryCount on the successor so the reaper's alreadyRetriedOnce guard correctly stops a second legacy retry from being scheduled. - Still respect the legacyExecutionNeedsReconciliation gate so that monitor-dispatch / unknown-bootstrap cases continue to be escalated to the board via issueRecoveryActions instead of generating spurious process_lost_retry rows. Also adjust the monitor-dispatch test fixture expectation: the reaper reads monitorNextCheckAt from the issue row, not from contextSnapshot, so monitor-dispatch with a future-wake scheduled in contextSnapshot still falls through to the legacy_execution_requires_reconciliation board escalation rather than a process_lost_retry. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||