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] preview payloads now carry explicit execution fingerprints:
820
+
-`preview.resetToDefault.previewFingerprint`,
821
+
-`preview.rollbackToPrevious.previewFingerprint`.
822
+
-[Done] apply semantics are now compare-and-swap style instead of blind mutation:
823
+
- reset/apply requests must send the reviewed preview fingerprint,
824
+
- rollback-to-previous requests must also send the reviewed `auditId`,
825
+
- stale preview fingerprints, unavailable rollback previews, and mismatched audit ids are blocked with deterministic `409` responses,
826
+
- no-op applies against already-active targets are blocked instead of silently writing redundant audit entries.
827
+
-[Done] apply response now returns bounded execution evidence:
828
+
-`appliedMode`,
829
+
-`previewFingerprint`,
830
+
-`matchedPreview`,
831
+
-`appliedAuditEntry`.
832
+
-[Done] expanded evidence coverage:
833
+
-`src/server.migration.test.ts` now validates audit-id mismatch blocking, stale fingerprint blocking, rollback apply success, reset apply success, and audit-trail ordering after both mutations.
834
+
-`src/knowledge.api.contract.test.ts`, `src/agent_workspace.verification.contract.test.ts`, and `scripts/verify-agent-workspace-runtime.js` now fail fast on apply-route and fingerprint/apply helper drift.
- L5 governance now supports bounded preview-to-apply execution for notification threshold rollback and reset.
845
+
- Current weak point shifts from mutation safety to post-apply reconciliation:
846
+
- operators can now preview and apply deterministic targets,
847
+
- operators still lack a dedicated readback surface that says whether the latest applied preview remains current or has already been superseded by later threshold changes.
848
+
- Best next increment is not broader remediation scope.
849
+
Best next increment is a narrow apply-outcome reconciliation surface on top of existing audit artifacts.
- add read-only reconciliation surface for the latest notification-threshold apply outcome.
856
+
- compare latest applied preview fingerprint, latest audit entry, and current active thresholds so operators can see whether the reviewed/applyed state is still current or has drifted.
857
+
- keep scope limited to notification-threshold governance; do not reopen UI, broader remediation, or unrelated memory/retrieval lanes.
- CI failure mode that previously blocked the three agent-workspace suites is eliminated on mainline.
@@ -817,4 +873,4 @@ Suggested verification slice:
817
873
818
874
## Next Step
819
875
820
-
Proceed to `/prompts:ce-plan` using this document as the source for `M7.24` decomposition (notification-threshold rollback apply guardrails), while preserving M7 lane boundary constraints.
876
+
Proceed to `/prompts:ce-plan` using this document as the source for `M7.25` decomposition (notification-threshold apply outcome reconciliation), while preserving M7 lane boundary constraints.
- Hardened mutation safety without widening scope:
611
+
- preview payloads now expose `preview.resetToDefault.previewFingerprint` and `preview.rollbackToPrevious.previewFingerprint`,
612
+
- apply requests must match the reviewed fingerprint,
613
+
- rollback-to-previous apply requests must also match the reviewed `auditId`,
614
+
- stale fingerprints, unavailable rollback previews, mismatched audit ids, and no-op targets are rejected deterministically.
615
+
- Added bounded execution receipts:
616
+
- apply responses now return `appliedMode`, `previewFingerprint`, `matchedPreview`, and `appliedAuditEntry`.
614
617
- Expanded executable evidence:
615
-
-`src/server.migration.test.ts` now validates preview-route payloads, default-vs-active drift deltas, latest-audit rollback deltas, and reset-preview deltas.
618
+
-`src/server.migration.test.ts` now validates audit-id mismatch blocking, stale fingerprint blocking, rollback apply success, reset apply success, and persisted audit ordering.
616
619
- Hardened runtime verification gate:
617
-
-`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 preview route and helper drift.
620
+
-`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 apply route and fingerprint/apply helper drift.
618
621
- Verification evidence:
619
-
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern \"escalation notification threshold rollback preview and drift-diff governance stay deterministic\"`
0 commit comments