md-first memory extraction framework for AI agents. Markdown is the single source of truth; SQLite holds state and LanceDB provides the rebuildable vector + BM25 + scalar index. The codebase follows a single-direction DDD layering (entrypoints -> service -> memory -> infra, with component / core / config cross-cutting) enforced by import-linter. Engineering surface: - Coding conventions in .claude/rules/ (path-scoped) and workflows in .claude/skills/ (/commit, /new-branch, /pr). - GitHub Actions CI runs make lint + test + integration; pre-commit mirrors the gates locally (ruff, hygiene hooks, gitlint commit-msg). - Commit messages follow Conventional Commits, enforced by gitlint. - make lint also enforces datetime two-zone discipline and OpenAPI drift.
28 lines
1006 B
JSON
28 lines
1006 B
JSON
{
|
|
"name": "qa-book-demo",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"frontend",
|
|
"backend"
|
|
],
|
|
"scripts": {
|
|
"dev": "bun run --filter frontend dev & bun run --filter backend dev",
|
|
"dev:frontend": "bun run --filter frontend dev",
|
|
"dev:backend": "bun run --filter backend dev",
|
|
"build": "bun run --filter frontend build && bun run --filter backend build",
|
|
"type-check": "bun run --filter frontend type-check && bun run --filter backend type-check",
|
|
"lint": "bun run --filter frontend lint && bun run --filter backend lint",
|
|
"load-novel": "bun run scripts/load-novel.ts",
|
|
"load-novel-cloud": "bun run scripts/load-novel-cloud.ts",
|
|
"clear-memories": "bun run scripts/clear-memories.ts",
|
|
"clear-memories-cloud": "bun run scripts/clear-memories-cloud.ts",
|
|
"get-memories-cloud": "bun run scripts/get-memories-cloud.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"concurrently": "^9.2.1",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|