gsxdsm
4e6df035c1
FN-6275: allow verified no-op completions
Allow executors to finish already-satisfied tasks without fabricating commits while preserving existing completion guards.
- Add leading sentinel parsing for premise-stale, no-op, duplicate, and redundant completion summaries.
- Permit zero-commit fn_task_done only for recognized sentinels or existing no-commit contracts, with audit log/activity details.
- Document the verified no-op completion contract and add regression coverage for accepted and refused paths.
Files changed:
.changeset/fn-6275-no-op-completion.md | 5 ++
docs/architecture.md | 1 +
.../src/__tests__/no-op-completion-marker.test.ts | 55 ++++++++++++
packages/core/src/agent-prompts.ts | 4 +
packages/core/src/index.ts | 5 ++
packages/core/src/no-op-completion-marker.ts | 48 ++++++++++
.../__tests__/executor-task-done-invariant.test.ts | 100 +++++++++++++++++++++
.../engine/src/__tests__/executor-test-helpers.ts | 1 +
packages/engine/src/executor.ts | 64 ++++++++++++-
9 files changed, 279 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-6275
Fusion-Task-Lineage: 0a2ec21b-415f-411c-bfcd-4f1c19a6a136
2026-06-13 02:54:57 -07:00
..
2026-04-25 09:09:31 -07:00
2026-06-11 09:21:23 -07:00
2026-06-12 22:02:59 -07:00
2026-06-12 01:06:33 -07:00
2026-06-12 00:05:10 -07:00
2026-06-12 11:39:01 -07:00
2026-06-12 08:45:27 -07:00
2026-06-12 11:38:53 -07:00
2026-06-12 13:36:02 -07:00
2026-06-12 15:54:47 -07:00
2026-06-12 15:51:50 -07:00
2026-06-12 15:00:39 -07:00
2026-06-11 09:51:49 -07:00
2026-06-12 09:24:02 -07:00
2026-06-11 18:08:17 -07:00
2026-06-12 06:49:29 -07:00
2026-06-11 22:11:44 -07:00
2026-06-11 21:37:10 -07:00
2026-06-11 22:03:29 -07:00
2026-06-13 02:54:57 -07:00
2026-06-12 11:10:12 -07:00
2026-06-12 03:00:45 -07:00
2026-06-12 07:13:00 -07:00
2026-06-12 14:21:18 -07:00
2026-06-12 21:50:49 -07:00
2026-06-12 10:27:24 -07:00
2026-06-12 17:57:19 -07:00
2026-06-12 13:12:55 -07:00
2026-06-12 15:34:05 -07:00
2026-06-12 18:26:45 -07:00
2026-06-12 23:17:28 -07:00
2026-06-12 22:44:17 -07:00
2026-06-13 02:23:27 -07:00
2026-06-11 14:55:19 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 20:53:01 -07:00
2026-06-11 21:00:23 -07:00
2026-06-12 14:39:51 -07:00
2026-06-11 21:26:59 -07:00
2026-06-12 19:45:37 -07:00
2026-06-12 22:55:01 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 22:48:59 -07:00
2026-06-12 15:58:20 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 20:14:54 -07:00
2026-06-09 12:41:29 -07:00