feat(memory): add daily log continuity controls

This commit is contained in:
William Valentin
2026-02-19 11:58:42 -08:00
parent 01cd726d7c
commit 290303c14e
10 changed files with 129 additions and 6 deletions
@@ -332,9 +332,10 @@ These are substantial UX/ecosystem projects or highly platform-specific; defer u
## Suggested Next Execution Order
1) Daily memory continuity tuning (if continuity quality is still lacking)
2) Auth-profile expansion beyond API-key pools (if needed)
3) Additional run-control UX refinements only if interrupt behavior is still insufficient in production
1) Auth-profile expansion beyond API-key pools (if needed)
2) Additional run-control UX refinements only if interrupt behavior is still insufficient in production
3) Re-evaluate continuity quality after daily-log tuning and proactive extraction data
Note: API-key pool auth profile cooldown/backoff (`auth_profile_cooldown_ms`) shipped on 2026-02-19.
Note: Queue interrupt preemption telemetry/notice (`queue.preempt` + requester content hint) shipped on 2026-02-19.
Note: Daily memory continuity tuning (`memory.daily_log` metadata + truncation controls) shipped on 2026-02-19.
+29
View File
@@ -5810,6 +5810,35 @@
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/gateway/handlers/agent.test.ts src/models/rotating.test.ts src/daemon/clientFactory.test.ts src/config/schema.test.ts + pnpm typecheck passing"
},
"daily-memory-log-continuity-controls": {
"status": "completed",
"date": "2026-02-19",
"updated": "2026-02-19",
"summary": "Extended `memory.daily_log` with continuity-oriented controls: optional session metadata headers plus configurable per-turn truncation caps for user/assistant text. Wired these settings through daemon and gateway orchestrator construction paths and added regression coverage for metadata/tailoring behavior.",
"files_modified": [
"src/config/schema.ts",
"src/config/schema.test.ts",
"src/backends/native/orchestrator.ts",
"src/backends/native/orchestrator.test.ts",
"src/daemon/routing.ts",
"src/gateway/session-bridge.ts",
"README.md",
"docs/plans/2026-02-15-openclaw-gap-roadmap.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/backends/native/orchestrator.test.ts src/config/schema.test.ts + pnpm typecheck passing"
},
"soul-clarify-ambiguity-directive": {
"status": "completed",
"date": "2026-02-19",
"updated": "2026-02-19",
"summary": "Updated SOUL.md core principles to add an explicit directive to clarify ambiguous or unfamiliar questions before acting, to reduce confident-but-wrong execution paths.",
"files_modified": [
"SOUL.md",
"docs/plans/state.json"
],
"test_status": "docs-only change"
}
},
"overall_progress": {