gsxdsm
dfb9ca6630
FN-8543: enforce bounded generated-fix remediation
Keep generated fix chains within their root retry budget and preserve intervention stops.
- Track retry counts and stop reasons on the canonical root feature.
- Persist project-isolated lineage stops across generated-fix removal and archive paths.
- Serialize stop recording with generated-fix admission and expose conflict-safe mission resume behavior.
Files changed:
.changeset/fn-8543-bounded-fix-lineage.md | 7 +
docs/missions.md | 6 +-
.../__tests__/postgres/mission-store.pg.test.ts | 72 +++++++
packages/core/src/async-mission-store-queries.ts | 91 ++++++++-
packages/core/src/async-mission-store.ts | 206 ++++++++++++++++++---
packages/core/src/index.ts | 2 +-
packages/core/src/mission-store.ts | 10 +
packages/core/src/mission-types.ts | 7 +
.../0035_fn_8543_mission_lineage_stop.sql | 31 ++++
packages/core/src/postgres/schema-applier.ts | 18 +-
packages/core/src/postgres/schema/project.ts | 21 +++
.../core/src/task-store/archive-lifecycle-2.ts | 15 +-
.../core/src/task-store/async-archive-lineage.ts | 10 +-
packages/dashboard/src/mission-routes.ts | 14 +-
packages/engine/src/mission-execution-loop.ts | 30 ++-
15 files changed, 495 insertions(+), 45 deletions(-)
Fusion-Task-Id: FN-8543
Fusion-Task-Lineage: 24c03d63-5914-4072-aa17-16862432fc78
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-23 16:12:44 -07:00
..
2026-07-23 15:53:31 -07:00
2026-07-23 00:16:34 -07:00
2026-07-23 16:12:44 -07:00
2026-07-23 16:12:44 -07:00
2026-07-23 00:16:34 -07:00
2026-07-23 00:16:34 -07:00
2026-07-23 16:12:44 -07:00
2026-07-23 15:54:41 -07:00
2026-07-23 00:16:34 -07:00
2026-07-23 00:16:34 -07:00
2026-07-23 00:16:34 -07:00