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
-`src/server.migration.test.ts` now validates threshold updates, history-window behavior, reset-to-default, and policy-file persistence,
329
+
-`src/knowledge.api.contract.test.ts` now fail-fast checks history/threshold route contracts,
330
+
-`src/agent_workspace.verification.contract.test.ts` + `scripts/verify-agent-workspace-runtime.js` now fail fast on threshold governance helper/route drift.
331
+
-[Done] verification evidence:
332
+
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern "triage route summarizes replay risk|triage history and alert-threshold governance"`
333
+
-`npm run test:agent-workspace:contracts`
334
+
-`npm run verify:agent-workspace:runtime`
335
+
308
336
## Success Criteria
309
337
310
338
- CI failure mode that previously blocked the three agent-workspace suites is eliminated on mainline.
@@ -314,4 +342,4 @@ Deliverables:
314
342
315
343
## Next Step
316
344
317
-
Proceed to `/prompts:ce-plan` using this document as the source for `M7.9` decomposition (operator triage trend history and alert-threshold governance), while preserving M7 lane boundary constraints.
345
+
Proceed to `/prompts:ce-plan` using this document as the source for `M7.10` decomposition (operator runbook automation and threshold-change audit trail), while preserving M7 lane boundary constraints.
-`runtime_data/agent_workspace_diagnostics/triage_policy.v1.json` now stores replay-medium/high thresholds, failure-escalation rule, top-replay limit, and history-window defaults.
377
+
- Extended triage semantics:
378
+
-`/triage` now returns threshold-governed risk summary plus embedded history payload,
379
+
-`/triage/history` now returns bounded trend points, risk-bucket distribution, failure counts, and replay-rate delta.
380
+
- Expanded executable evidence:
381
+
-`src/server.migration.test.ts` now validates threshold updates, bounded history window behavior, default reset, and policy-file persistence.
382
+
- Hardened runtime verification gate:
383
+
-`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/threshold route and helper drift.
384
+
- Verification evidence:
385
+
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern \"triage route summarizes replay risk|triage history and alert-threshold governance\"`
386
+
-`npm run test:agent-workspace:contracts`
387
+
-`npm run verify:agent-workspace:runtime`
388
+
369
389
## Mainline vs Working-Branch Snapshot (2026-04-14)
370
390
371
391
| Capability Slice | Working Branch (`feat/learning-multi-tutor-adapter`) | Mainline (`origin/main`) | Integration Status |
@@ -374,7 +394,7 @@ Execution anchor:
374
394
| Focus + learning-path side-by-side pane model | Implemented in branch UI/runtime | Dock coexistence baseline integrated (`styles.css`, `path_styles.css`, `path_app.js`) | Partially integrated |
| Result-presentation allowlist/override fail-fast governance | Implemented in branch execution registry and parity tests | Integrated in M1 (`src/frontend/agent_workspace.js` + parity tests) | Baseline integrated |
377
-
| Conversation turn stream/replay/operator diagnostics expansion | Implemented in branch routes/tests | Mainline has runtime snapshot+trend/index/export plus sidecar persistence+triage+bounded retention governance (`src/frontend/agent_workspace_runtime.js`, `src/server.ts`) | Partially integrated |
397
+
| Conversation turn stream/replay/operator diagnostics expansion | Implemented in branch routes/tests | Mainline has runtime snapshot+trend/index/export plus sidecar persistence+triage+history+threshold governance (`src/frontend/agent_workspace_runtime.js`, `src/server.ts`) | Partially integrated |
378
398
| Graphdb/ANN foundation hardening lane | Branch-oriented lane claims exist in prior docs | Mainline currently exposes file-backed store baseline (`src/learning/store.ts`) | Not integrated on mainline |
379
399
| Markdown reader governance refactor lane | Planned and partially implemented in branch | Mainline baseline only | Partially integrated |
380
400
@@ -414,7 +434,7 @@ This dashboard aligns against the following requirement chain:
414
434
| L2 Retrieval | explainable hybrid/vector retrieval + governance | Expanded in branch-oriented plans | Mainline file-backed baseline only (`src/learning/store.ts`) | Re-enter lane after concrete module evidence lands on mainline |
-`npm test -- src/server.migration.test.ts --runInBand --testNamePattern \"triage route summarizes replay risk|triage history and alert-threshold governance\"`
0 commit comments