learning_ai_clock/backend
saravanakumardb1 29a48025eb feat(agent-actions): Phase A.2 — agent action audit trail module + tests
Add agent-actions module for AI/MCP operation audit trail:

- types.ts: 3 enums (ACTOR_TYPES, ACTION_STATES, ACTION_TYPES), AgentActionDoc,
  CreateAgentActionSchema, AgentActionQuerySchema, BatchApproveSchema
- repository.ts: CRUD + batchApproveByActor using @bytelyst/datastore
- routes.ts: 5 endpoints (list, create, approve, reject, batch-approve)
  All gated behind isFeatureEnabled('agent_inbox.enabled')
- Registered cm_agent_actions container in cosmos-init.ts
- Registered agentActionRoutes in server.ts

Tests (37 new, 219 total):
- 22 agent-actions schema tests (constants, create, query, batch-approve)
- 15 timer schema tests (RescheduleTimerSchema, AvailabilityQuerySchema)

All 219 backend tests pass. No breaking changes.
2026-03-31 23:38:03 -07:00
..
src feat(agent-actions): Phase A.2 — agent action audit trail module + tests 2026-03-31 23:38:03 -07:00
.env.example chore(backend): add FIELD_ENCRYPT env vars to .env.example 2026-03-27 23:01:26 -07:00
.gitignore feat(backend): scaffold product-specific Fastify backend (port 4011) 2026-03-01 20:39:08 -08:00
Dockerfile fix(docker): remove hardcoded corporate proxy and jfrog registry from Dockerfiles 2026-03-24 11:12:38 -07:00
eslint.config.js chore(backend): add eslint config and lint script 2026-03-26 22:59:50 -07:00
package.json chore(backend): add eslint config and lint script 2026-03-26 22:59:50 -07:00
tsconfig.json feat(backend): scaffold product-specific Fastify backend (port 4011) 2026-03-01 20:39:08 -08:00
vitest.config.ts feat(backend): scaffold product-specific Fastify backend (port 4011) 2026-03-01 20:39:08 -08:00