You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- latest single-record outcome file for fast reconciliation,
942
+
- bounded newest-first history for operator handoff across multiple applies.
943
+
-[Done] history payload now exposes bounded per-entry reconciliation state:
944
+
-`reconciliation.isLatestOutcome`,
945
+
-`reconciliation.latestAuditMatchesEntry`,
946
+
-`reconciliation.activeThresholdsMatchEntry`,
947
+
-`reconciliation.status`,
948
+
-`reconciliation.driftReasons`.
949
+
-[Done] history semantics are now explicit:
950
+
- latest aligned entry reports `current`,
951
+
- older entries superseded by later applies report `superseded`,
952
+
- latest entry later invalidated by follow-up overrides reports `drifted`.
953
+
-[Done] expanded evidence coverage:
954
+
-`src/server.migration.test.ts` now validates newest-first history ordering, persisted history-file contents, superseded older apply entries, and later drift of the newest entry.
955
+
-`src/knowledge.api.contract.test.ts`, `src/agent_workspace.verification.contract.test.ts`, and `scripts/verify-agent-workspace-runtime.js` now fail fast on history-route and history-helper drift.
956
+
-[Done] verification evidence:
957
+
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern "notification threshold apply outcome history stays deterministic"`
958
+
-`npm run test:agent-workspace:contracts`
959
+
-`npm run verify:agent-workspace:runtime`
960
+
-`npm run docs:diataxis:check`
961
+
-`npm run docs:site:build`
962
+
963
+
### Post-M7.26 Architecture Judgment
964
+
965
+
- L5 governance now covers preview, guarded apply, latest-outcome reconciliation, and bounded apply-outcome history for notification-threshold changes.
966
+
- Current weak point shifts from handoff continuity to compact summary:
967
+
- operators can inspect recent apply history with per-entry status,
968
+
- operators still lack a concise aggregate view that says how many recent entries are current, superseded, or drifted without scanning the list.
969
+
- Best next increment is not broader remediation or UI work.
970
+
Best next increment is a narrow supersession summary surface over the existing history artifacts.
- add read-only summary surface over bounded apply-outcome history.
977
+
- report concise counts and latest-entry snapshots for `current`, `superseded`, and `drifted` states so operator handoff does not require manual list scanning.
978
+
- keep scope limited to notification-threshold governance; do not reopen UI, unrelated remediation lanes, or retrieval/memory work.
- CI failure mode that previously blocked the three agent-workspace suites is eliminated on mainline.
@@ -936,4 +994,4 @@ Suggested verification slice:
936
994
937
995
## Next Step
938
996
939
-
Proceed to `/prompts:ce-plan` using this document as the source for `M7.26` decomposition (notification-threshold apply outcome history surface), while preserving M7 lane boundary constraints.
997
+
Proceed to `/prompts:ce-plan` using this document as the source for `M7.27` decomposition (notification-threshold apply outcome supersession summary), while preserving M7 lane boundary constraints.
- Hardened operator handoff without widening scope:
613
+
- apply execution now writes both the latest single-record outcome and bounded newest-first history,
614
+
-history payload now exposes per-entry `reconciliation.isLatestOutcome`, `reconciliation.latestAuditMatchesEntry`, `reconciliation.activeThresholdsMatchEntry`, `reconciliation.status`, and `reconciliation.driftReasons`.
615
+
- Added deterministic history semantics:
616
+
-aligned newest entry reports `current`,
617
+
-older entries superseded by later applies report `superseded`,
618
+
-newest entry later invalidated by follow-up overrides reports `drifted`.
619
619
- Expanded executable evidence:
620
-
-`src/server.migration.test.ts` now validates immediate post-apply reconciliation, persisted apply-outcome file contents, and drift detection after a later override.
620
+
-`src/server.migration.test.ts` now validates newest-first history ordering, persisted history-file contents, superseded older entries, and later drift of the newest entry.
621
621
- Hardened runtime verification gate:
622
-
-`src/knowledge.api.contract.test.ts`, `src/agent_workspace.verification.contract.test.ts`, and `scripts/verify-agent-workspace-runtime.js` now fail fast on notification-threshold reconciliation route and apply-outcome helper drift.
622
+
-`src/knowledge.api.contract.test.ts`, `src/agent_workspace.verification.contract.test.ts`, and `scripts/verify-agent-workspace-runtime.js` now fail fast on notification-threshold history route and history-helper drift.
0 commit comments