chore(docs): regenerate AI agent config files

This commit is contained in:
saravanakumardb1 2026-03-10 22:56:39 -07:00
parent 724a6659df
commit 14aeeafe83
7 changed files with 171 additions and 0 deletions

15
.aider.conf.yml Normal file
View File

@ -0,0 +1,15 @@
# .aider.conf.yml — Aider Configuration for ByteLyst Agentic Notes
# Helps Aider understand the project structure and conventions.
read:
- AGENTS.md
- docs/ROADMAP.md
conventions: AGENTS.md
lint-cmd:
- 'cd backend && npm test 2>&1 | tail -10'
- 'cd backend && npm run typecheck 2>&1 | tail -10'
- 'cd backend && npm run build 2>&1 | tail -10'
auto-commits: false

22
.clinerules Normal file
View File

@ -0,0 +1,22 @@
# .clinerules — Cline / Roo Code Rules for ByteLyst Agentic Notes
# Read AGENTS.md for the complete onboarding guide.
## Project: ByteLyst Agentic Notes — Agentic note-taking workspace for notes, tasks, relationships, and workspaces
Architecture: Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* shared packages
## Mandatory Rules
- Backend follows the ByteLyst product-backend pattern with Fastify 5 + TypeScript ESM
- 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"
- Keep docs aligned with implementation as the repo evolves from scaffold to product
- Commits: `type(scope): description`
- After changes, verify: `cd backend && npm test && npm run typecheck && npm run build`
## Key File Locations
- 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/src/lib/ — shared backend wiring and utilities
- Full guide: `AGENTS.md`

30
.cursorrules Normal file
View File

@ -0,0 +1,30 @@
# ByteLyst Agentic Notes — Cursor Rules
# Read AGENTS.md for full context.
Project: ByteLyst Agentic Notes — Agentic note-taking workspace for notes, tasks, relationships, and workspaces
Product ID: bytelyst-notes
Stack: Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* shared packages
## Architecture
- 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/src/lib/ — shared backend wiring and utilities
## Rules
- Backend follows the ByteLyst product-backend pattern with Fastify 5 + TypeScript ESM
- 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"
- Keep docs aligned with implementation as the repo evolves from scaffold to product
- Commits: feat(scope): description / fix(scope): description
- Never delete existing comments/documentation unless asked
- Never add emojis unless asked
- Never hardcode secrets, colors, or API URLs
## Build Verification
- cd backend && npm test && npm run typecheck && npm run build
## Key Documents
- AGENTS.md — Full AI agent instructions (read this first)

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

38
.github/copilot-instructions.md vendored Normal file
View File

@ -0,0 +1,38 @@
# GitHub Copilot Instructions — ByteLyst Agentic Notes
> 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
## Code Generation Rules
### Always
- Backend follows the ByteLyst product-backend pattern with Fastify 5 + TypeScript ESM
- 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"
- Keep docs aligned with implementation as the repo evolves from scaffold to product
- Include `productId: "bytelyst-notes"` in every Cosmos DB document
- Use `type(scope): description` commit message format
- Fix source code, not tests (unless the test itself is wrong)
### Never
- `console.log` or `print()` in production code
- Hardcoded secrets, API keys, colors, or URLs
- Delete existing comments or documentation unless explicitly asked
- Add emojis unless asked
## 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/src/lib/ — shared backend wiring and utilities
## Build Verification
```bash
cd backend && npm test && npm run typecheck && npm run build
```

23
.windsurfrules Normal file
View File

@ -0,0 +1,23 @@
# ByteLyst Agentic Notes — Windsurf / Codeium Rules
# Read AGENTS.md for full context. These are the critical rules.
Project: 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
## Architecture Rules
- 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/src/lib/ — shared backend wiring and utilities
## Conventions
- Backend follows the ByteLyst product-backend pattern with Fastify 5 + TypeScript ESM
- 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"
- Keep docs aligned with implementation as the repo evolves from scaffold to product
- Commits: feat(scope): description / fix(scope): description
## Build Verification
- cd backend && npm test && npm run typecheck && npm run build

31
CLAUDE.md Normal file
View File

@ -0,0 +1,31 @@
# ByteLyst Agentic Notes — Claude Code Instructions
> This file is read automatically by Claude Code. For full agent instructions
> shared across all AI tools, see [`AGENTS.md`](AGENTS.md).
## Quick Context
**Product:** ByteLyst Agentic Notes — Agentic note-taking workspace for notes, tasks, relationships, and workspaces
**Product ID:** `bytelyst-notes`
**Stack:** Docs + Fastify 5 backend scaffold with TypeScript ESM and @bytelyst/* shared packages
## Rules
1. **Read `AGENTS.md` first** — it has coding conventions, file ownership, and tech stack rules.
2. **Every Cosmos document** must have a `productId: "bytelyst-notes"` field.
3. **Commit messages:** `type(scope): description` (feat, fix, docs, refactor, test, chore).
4. **Fix source, not tests** — unless the test itself is wrong.
5. **Never use** `console.log`, `print()`, or hardcoded colors/secrets/URLs.
## Architecture
- 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/src/lib/ — shared backend wiring and utilities
## Build Verification
```bash
cd backend && npm test && npm run typecheck && npm run build
```