gsxdsm
4ea9d66b4f
FN-6219: prefer fresh agent model settings for automatic runs
Automatic agent runs now resolve lane-specific task and settings models before falling back to durable runtime defaults.
- Prefer fresh execution, planning, heartbeat, merger, and validator model resolution over stale assigned-agent runtime config when complete settings are available.
- Centralize validator session model resolution and align mission validation with the shared helper.
- Add regression coverage for automatic run model precedence and test-mode handling.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fuzzy-agents-run.md | 5 +
.../core/src/__tests__/model-resolution.test.ts | 40 +++++
.../agent-session-helpers-test-mode.test.ts | 35 ++--
.../src/__tests__/agent-session-helpers.test.ts | 199 ++++++++++++++++++---
.../src/__tests__/heartbeat-executor.test.ts | 10 +-
.../src/__tests__/mission-execution-loop.test.ts | 6 +-
packages/engine/src/__tests__/triage.test.ts | 4 +-
packages/engine/src/agent-session-helpers.ts | 111 +++++++-----
packages/engine/src/mission-execution-loop.ts | 33 +---
packages/engine/src/triage.ts | 6 +-
10 files changed, 326 insertions(+), 123 deletions(-)
Fusion-Task-Id: FN-6219
Fusion-Task-Lineage: c3ef6d91-234f-4ed1-97c7-9be8408cd86c
2026-06-11 09:21:23 -07:00
..
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 09:21:23 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-11 09:21:23 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-08 15:19:27 -07:00
2026-06-10 19:05:55 -07:00