picoclaw/pkg/memory
程智超0668000959 9c71a44421 fix(session): skip main-session alias during history promotion
The PromoteAliasHistory method previously promoted the first non-empty alias session into a new canonical session. When a user upgraded, the migrated main session contained old messages that were copied into every new Web UI session because agent:main:main is always the first alias.

Add isMainSessionAlias() to detect and skip the main session alias during promotion. Fixes #2972.
2026-06-04 11:01:10 +08:00
..
jsonl.go fix(session): skip main-session alias during history promotion 2026-06-04 11:01:10 +08:00
jsonl_test.go style: wrap long error messages to satisfy golines 2026-05-22 13:15:56 +08:00
migration.go fix: skip meta json files during session migration (#1340) 2026-03-11 14:29:42 +08:00
migration_test.go fix: skip meta json files during session migration (#1340) 2026-03-11 14:29:42 +08:00
store.go feat(seahorse): implement short-term memory engine (LCM) (#2285) 2026-04-05 09:05:16 +08:00