docs: Add schema design documentation#65
Conversation
Code ReviewSummaryThis PR adds comprehensive database schema documentation to Issues FoundCriticalNone Important
Suggestions
VerdictREQUEST_CHANGES - The documentation contains factual errors about the schema (non-existent migration 7 and Automated review by Claude Code |
0ac81a5 to
acbce57
Compare
Code ReviewSummaryThis PR adds comprehensive database schema documentation to Previous Review CorrectionThe previous review flagged migration 7 and
Those issues are invalid - the documentation correctly describes the schema in the base branch. Issues FoundCriticalNone ImportantNone Suggestions
VerdictREQUEST_CHANGES - Two documentation accuracy suggestions that would improve correctness for LLMs and developers consulting these docs. Automated review by Claude Code |
- Create docs/SCHEMA.md with table definitions, indexes, and migration history - Link from CLAUDE.md and README.md - Documents design principles: don't over-distill, aggregate→drill-down - Explains critical indexes like idx_events_tool_id for performance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ndexes - Fix events.uuid to show UNIQUE(session_id, uuid) composite constraint - Add complete index list for git_commits, session_commits, bus_events tables 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dadb89d to
db99d8e
Compare
Code ReviewSummaryThis PR adds comprehensive database schema documentation to Issues FoundCriticalNone ImportantNone Suggestions
VerdictREQUEST_CHANGES - Two documentation accuracy suggestions that would improve correctness for LLMs and developers consulting these docs. Automated review by Claude Code |
Code ReviewSummaryThis PR adds comprehensive database schema documentation to Previous Feedback ResolutionBoth suggestions from the previous review have been addressed:
Issues FoundCriticalNone ImportantNone SuggestionsNone VerdictAPPROVE - Documentation is comprehensive, accurate, and addresses all previous feedback. The schema documentation will be valuable for both developers and LLMs working with this codebase. Automated review by Claude Code |
Summary
docs/SCHEMA.mdwith comprehensive database schema documentationContents
The schema docs cover:
Test plan
🤖 Generated with Claude Code