Go to file
saravanakumardb1 ee033f4eab docs: fix 8 inaccuracies in gap analysis after systematic self-review
Corrections:
- Remove D5 (factually wrong — backend tsconfig already excludes test files)
- Fix web component count 12→10, lib file count 11→18
- Fix B1 title: 'No note delete' → 'No note restore' (PRD says archive/restore)
- Add A6: notes-client.ts missing 'use client' (fragile SSR import chain)
- Expand A1 to include blob-client.ts module-scope instantiation
- Note telemetry/flags/kill-switch are lower risk (client-only imports)
- Strengthen D3/D4: confirmed zero-import dead code, not just 'unclear'
- A5: note that auth.test.ts and MCP tests do have real behavior tests
- Update bug count 5→6, total gaps 29→25
2026-03-19 07:06:05 -07:00
.github chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
backend fix(auth): JWKS URL-tracking singleton + expanded test coverage 2026-03-12 11:22:04 -07:00
docs docs: fix 8 inaccuracies in gap analysis after systematic self-review 2026-03-19 07:06:05 -07:00
mobile feat(mobile): wire review note input to inbox approve/reject 2026-03-10 19:41:39 -07:00
shared feat(identity): lock NoteLett product identity across all surfaces 2026-03-10 18:47:01 -07:00
web fix(web): wrap search + workspaces pages in Suspense for useSearchParams prerendering 2026-03-12 17:18:12 -07:00
.aider.conf.yml chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
.clinerules chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
.cursorrules chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
.editorconfig chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
.gitignore fix(repo): restore web lint and ignore generated artifacts 2026-03-10 10:30:49 -07:00
.windsurfrules chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -07:00
AGENTS.md docs: update AGENTS.md with api-helpers.ts and corrected test counts 2026-03-10 19:57:40 -07:00
CLAUDE.md chore(docs): regenerate AI agent config files 2026-03-10 22:56:39 -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