4 Commits

Author SHA1 Message Date
Fredrik Adelöw d2662df5de catalog-backend: add query performance battery and baseline
Adds a structured set of 11 query scenarios covering the main catalog
database access patterns: paginated listings, counts, facets, entity
lookups, full-text search, ancestry traversal, stitching reference
counts, and orphan detection.

Each scenario documents the SQL, what a healthy plan looks like, and
what anti-patterns to watch for. The baseline records execution times
and plan shapes from the staging database (545K entities, 13.8M search
rows).

This is intended to be run by humans or AI agents before and after
database-affecting changes to detect performance regressions. It lives
alongside the existing performance tests.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-18 13:55:07 +02:00
Patrik Oldsberg 560f587645 repo: symlink .claude/CLAUDE.md to AGENTS.md
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 21:57:52 +01:00
Patrik Oldsberg 60cdf5b80c repo: expand AGENTS.md with additional guidelines
Add coding style, testing, changeset, and PR template guidelines.
Remove the now-redundant .claude/CLAUDE.md pointer file.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 21:14:27 +01:00
Fredrik Adelöw 90c2424fdd Add CLAUDE.md with project instructions
This adds a Claude Code configuration file that references the existing
copilot instructions for maintaining consistency with the codebase
conventions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-02-15 14:41:57 +01:00