saravanakumardb1
|
190d23280f
|
feat(backend): add domain event bus and wire note CRUD events
- New lib/event-bus.ts: lightweight typed pub/sub with error isolation
via Promise.allSettled. Supports note.created, note.updated,
note.deleted, task.created, workspace.created events.
- notes/repository.ts: emit events on create, update, and delete.
- .env.example: add TELEMETRY_ENABLED, FEATURE_FLAGS_ENABLED,
FIELD_ENCRYPT_ENABLED, PALACE_ENABLED, PALACE_EXTRACTION_ENABLED.
|
2026-04-13 10:00:12 -07:00 |
|
saravanakumardb1
|
12058ed745
|
feat(mcp): add update-note, link-notes, extract-tasks, attach-artifact MCP tools
4 new executable MCP tools with full audit trail:
- notes.notes.update — update title/body/status/tags with dry-run support
- notes.relationships.link — create typed relationships between notes
- notes.tasks.extract — extract actionable tasks from note body (checkbox + TODO patterns)
- notes.artifacts.attach — attach file/summary/extraction/citation/export artifacts
All tools follow the existing pattern:
- Product scope enforcement
- Agent action audit recording
- Idempotency key + correlation ID propagation
- Dry-run preview support
Also updated .env.example with notelett identity.
Verification: backend typecheck + 18 tests pass.
|
2026-03-10 18:53:28 -07:00 |
|