Add slug-based document lookup so kebab-case queries ("filesystem-authority")
match titles ("Filesystem Authority") via deslugification. Implement
next_number_with_fs() that scans both DB and filesystem directory, taking
max(db, fs) + 1 to prevent numbering collisions when files exist outside
the index. Update all 7 callers across MCP handlers. Add blue.db to
.gitignore since it is a derived index. Includes 9 new tests covering
slug matching, filesystem-aware numbering, and collision regression.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
372 B
Text
34 lines
372 B
Text
# Rust
|
|
/target/
|
|
**/*.rs.bk
|
|
Cargo.lock
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Blue database (derived index, rebuilt from filesystem) - RFC 0022
|
|
.blue/blue.db
|
|
.blue/blue.db-journal
|
|
|
|
# Blue SQLite WAL files (transient)
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Playwright
|
|
.playwright-mcp/
|
|
|
|
# Blue worktrees
|
|
.blue/worktrees/
|