
Algis DumbrisandClaude Opus 4.7
a52d68ed88
feat(020): US2 — per-agent core memory blob
Letta-style identity blob, one per (owner, agent), always included in
session-start (my_status) responses. Replaces wholesale on rewrite; size
capped at SYNAPBUS_CORE_MEMORY_MAX_BYTES (default 2048); owner-scoped.
Components:
- internal/messaging/memory_core.go (+ test): CoreMemoryStore with
Get/Set/Delete/List, ErrCoreMemoryTooLarge, NewCoreProvider adapter
for search.CoreMemoryProvider.
- internal/mcp/server.go SetInjection: wires the core provider into
the my_status handler wrap.
- internal/mcp/injection_core_test.go: seed → wrapped my_status →
relevant_context.core_memory matches; missing row → no field.
- internal/api/memory_core.go + router: GET/PUT/DELETE
/api/owner/{ownerID}/agents/{agentName}/core-memory, session-auth,
413 on oversize.
- internal/admin/socket.go: memory.core.{get,set,delete} dispatch
handlers with username→user.id resolution.
- cmd/synapbus/admin.go: `synapbus memory core {get,set,delete}` cobra
subtree.
- cmd/synapbus/main.go: wires ParseMemoryConfig, CoreMemoryStore,
MemoryInjections; calls mcpSrv.SetInjection on startup.
Pin overlay still TODO (US3-T029).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 15:18:06 +03:00
..
2026-03-14 12:54:02 +02:00
2026-03-17 10:36:58 +02:00
2026-03-17 10:36:58 +02:00
2026-03-14 05:46:46 +02:00
2026-03-17 16:36:21 +02:00
2026-03-15 18:56:30 +02:00
2026-03-18 21:41:54 +02:00
2026-03-14 12:54:02 +02:00
2026-03-14 12:54:02 +02:00
2026-04-15 18:52:44 +03:00
2026-03-13 12:34:36 +02:00
2026-03-14 18:14:04 +02:00
2026-05-11 15:18:06 +03:00
2026-03-14 12:54:02 +02:00
2026-03-26 09:30:10 +02:00
2026-03-14 12:54:02 +02:00
2026-03-17 16:36:21 +02:00
2026-03-15 09:56:29 +02:00
2026-03-20 19:34:02 +02:00
2026-03-17 10:36:58 +02:00
2026-03-18 09:30:06 +02:00
2026-05-11 15:18:06 +03:00
2026-04-14 09:26:18 +03:00
2026-03-14 05:46:46 +02:00
2026-03-14 12:54:02 +02:00
2026-03-14 05:46:46 +02:00
2026-03-14 05:46:46 +02:00
2026-03-14 05:46:46 +02:00
2026-03-18 21:41:54 +02:00
2026-03-17 10:36:58 +02:00
2026-03-17 10:36:58 +02:00
2026-03-14 18:14:04 +02:00
2026-04-05 19:06:36 +03:00