Go to file
saravanakumardb1 bdbf387f88 feat(backend): add batch review endpoint + saved-views module
- note-agent-actions: added POST /batch-review for bulk approve/reject (up to 50 items)
- note-agent-actions: PATCH now auto-sets reviewedBy/reviewedAt on approve/reject
- saved-views: new module with full CRUD (types, repository, routes)
  - Cosmos container: saved_views, partition: /userId
  - Supports scope filtering (workspace, search, review)
- Registered saved-views routes in server.ts (7 modules total)
- Updated route count tests

Verification: backend typecheck + 18/18 tests pass.
2026-03-10 19:33:33 -07:00
backend feat(backend): add batch review endpoint + saved-views module 2026-03-10 19:33:33 -07:00
docs docs: add AGENTS.md, README.md, and update roadmap with session commit refs 2026-03-10 19:01:48 -07:00
mobile feat(platform): wire shared platform packages into mobile + refactor web blob-client (DRY) 2026-03-10 19:29:00 -07:00
shared feat(identity): lock NoteLett product identity across all surfaces 2026-03-10 18:47:01 -07:00
web feat(platform): wire shared platform packages into mobile + refactor web blob-client (DRY) 2026-03-10 19:29:00 -07:00
.gitignore fix(repo): restore web lint and ignore generated artifacts 2026-03-10 10:30:49 -07:00
AGENTS.md docs: add AGENTS.md, README.md, and update roadmap with session commit refs 2026-03-10 19:01:48 -07:00
package-lock.json feat(notes): scaffold product surfaces and backend MCP slices 2026-03-10 08:53:07 -07:00
README.md docs: add AGENTS.md, README.md, and update roadmap with session commit refs 2026-03-10 19:01:48 -07:00

NoteLett

Structured notes platform for humans and AI agents — part of the ByteLyst ecosystem.

Quick Start

# Backend (port 4016)
cd backend && npm install && npm run dev

# Web (port 3000)
cd web && npm install && npm run dev -- --webpack

# Mobile
cd mobile && npm install && npm start

Architecture

Surface Stack Port
Backend Fastify 5 + TypeScript ESM 4016
Web Next.js 16 + React 19 3000
Mobile Expo + React Native 8081
Platform platform-service (shared) 4003
Extraction extraction-service (shared) 4005

Key Features

  • 6 backend modules: notes, workspaces, relationships, tasks, artifacts, agent actions
  • 8 MCP tools: list, get, search, create_draft, update, link_notes, extract_tasks, attach_artifact
  • Agent audit trail: every write tool records agent action history
  • Datastore abstraction: Cosmos DB in production, in-memory for tests
  • Platform integrations: auth (JWT), telemetry, diagnostics, feature flags, kill-switch, blob storage

Environment

Copy backend/.env.example to backend/.env and fill in:

  • JWT_SECRET — shared secret with platform-service
  • COSMOS_ENDPOINT / COSMOS_KEY — Azure Cosmos DB credentials (or use DB_PROVIDER=memory)

Tests

cd backend && npm test    # 18 tests (10 files)
cd web && npm test        # 6 tests (5 files)

Docs