diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2002eac..d06881c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,11 +1,11 @@ -# GitHub Copilot Instructions — ByteLyst Agentic Notes +# GitHub Copilot Instructions — NoteLett > For full agent instructions, read [`AGENTS.md`](../AGENTS.md) at the repo root. ## Project Context -**ByteLyst Agentic Notes** — Agentic note-taking workspace for notes, tasks, relationships, and workspaces. -Stack: Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* shared packages +**NoteLett** — structured notes platform for humans and AI agents. +Stack: Fastify 5 + TypeScript ESM backend, Next.js web, Expo mobile, and @bytelyst/* shared packages ## Code Generation Rules @@ -14,9 +14,9 @@ Stack: Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* sha - Use @bytelyst/* shared packages instead of reimplementing common infrastructure - Fastify modules follow types.ts → repository.ts → routes.ts - Use req.log / app.log — never console.log -- Every Cosmos document MUST include productId: "bytelyst-notes" +- Every Cosmos document MUST include productId: "notelett" - Keep docs aligned with implementation as the repo evolves from scaffold to product -- Include `productId: "bytelyst-notes"` in every Cosmos DB document +- Include `productId: "notelett"` in every Cosmos DB document - Use `type(scope): description` commit message format - Fix source code, not tests (unless the test itself is wrong) @@ -28,11 +28,11 @@ Stack: Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* sha ## Key Paths - docs/ — PRD, roadmap, and planning docs -- backend/ — Fastify 5 + TypeScript ESM backend scaffold (port 4016) -- backend/src/modules/ — notes, workspaces, note-relationships, note-tasks +- backend/ — Fastify 5 + TypeScript ESM backend (port 4016) +- backend/src/modules/ — notes, workspaces, relationships, tasks, artifacts, reviews, prompts, intake, palace, and sharing - backend/src/lib/ — shared backend wiring and utilities ## Build Verification ```bash -cd backend && npm test && npm run typecheck && npm run build +pnpm run verify ```