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
-[Done] summary payload now layers compact operator handoff over the existing bounded history surface:
995
+
-`summary.scannedEntries`,
996
+
-`summary.counts.current`,
997
+
-`summary.counts.superseded`,
998
+
-`summary.counts.drifted`,
999
+
-`summary.latestCurrent`,
1000
+
-`summary.latestSuperseded`,
1001
+
-`summary.latestDrifted`.
1002
+
-[Done] summary semantics are now explicit:
1003
+
- aligned latest entry is surfaced as `latestCurrent`,
1004
+
- older covered entries are compacted under `latestSuperseded`,
1005
+
- later-invalidated newest entry is surfaced as `latestDrifted`,
1006
+
- all values remain bounded by the requested history scan limit.
1007
+
-[Done] expanded evidence coverage:
1008
+
-`src/server.migration.test.ts` now validates pre-drift summary counts and latest snapshots, then validates drifted counts and latest drifted snapshot after a later override.
1009
+
-`src/knowledge.api.contract.test.ts`, `src/agent_workspace.verification.contract.test.ts`, and `scripts/verify-agent-workspace-runtime.js` now fail fast on summary-route and summary-helper drift.
- add read-only filtered history views for bounded apply-outcome history.
1031
+
- support compact filtering by reconciliation status so operators can request drifted-only, superseded-only, or current-only slices without client-side scanning.
1032
+
- keep scope limited to notification-threshold governance; do not reopen UI, unrelated remediation lanes, or retrieval/memory work.
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.
1051
+
Proceed to `/prompts:ce-plan` using this document as the source for `M7.28` decomposition (notification-threshold filtered outcome history views), 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`.
- aligned latest entry is surfaced as `latestCurrent`,
613
+
- older covered entries compact under `latestSuperseded`,
614
+
- later-invalidated newest entry is surfaced as `latestDrifted`,
615
+
- all values stay bounded by the requested scan limit.
619
616
- Expanded executable evidence:
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.
617
+
-`src/server.migration.test.ts` now validates pre-drift summary counts/latest snapshots and post-drift counts/latest drifted snapshot after a later override.
621
618
- 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 history route and history-helper drift.
619
+
-`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 summary route and summary-helper drift.
623
620
- Verification evidence:
624
-
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern \"notification threshold apply outcome history stays deterministic\"`
0 commit comments