feat(api): add agent memory module (MS22-DB-002, MS22-API-002) #586

Merged
jason.woltje merged 1 commits from feat/ms22-agent-memory into main 2026-03-01 02:20:16 +00:00
Owner

MS22 Phase 0: Knowledge Layer\n\nNew AgentMemory model + module (key/value CRUD). 10 tests.

## MS22 Phase 0: Knowledge Layer\n\nNew AgentMemory model + module (key/value CRUD). 10 tests.
jason.woltje added 2 commits 2026-03-01 01:48:34 +00:00
feat(api): add agent memory module (MS22-DB-002, MS22-API-002)
Some checks failed
ci/woodpecker/push/api Pipeline failed
af23fa685a
- Add AgentMemory model to schema.prisma with workspaceId/agentId/key/value
  and @@unique([workspaceId, agentId, key]) constraint
- Add Workspace.agentMemories relation
- Add migration 20260228000000_ms22_agent_memory
- Add AgentMemoryModule with service, controller, DTOs, and unit tests
- Endpoints: PUT/GET/GET/:key/DELETE on /api/agents/:agentId/memory/:key
- Register AgentMemoryModule in app.module.ts
- 10 unit tests passing (service + controller)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje added 1 commit 2026-03-01 01:51:37 +00:00
ci: suppress pre-existing multer CVEs in trivyignore
Some checks failed
ci/woodpecker/push/web Pipeline failed
ci/woodpecker/push/orchestrator Pipeline failed
ci/woodpecker/push/api Pipeline failed
6c5ee45a42
jason.woltje added 1 commit 2026-03-01 02:01:08 +00:00
ci: override multer >=2.1.0 to fix pnpm audit high CVEs
All checks were successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/orchestrator Pipeline was successful
ci/woodpecker/push/api Pipeline was successful
d4c2a0107b
jason.woltje force-pushed feat/ms22-agent-memory from d4c2a0107b to fcb2f662e5 2026-03-01 02:11:28 +00:00 Compare
jason.woltje merged commit 4b2e48af9c into main 2026-03-01 02:20:16 +00:00
jason.woltje deleted branch feat/ms22-agent-memory 2026-03-01 02:20:16 +00:00
Sign in to join this conversation.