Every quick_search table explains itself; guardrail and primer tests #58

Merged
KofTwentyTwo merged 1 commits from feature/tables-populated-defaults into develop 2026-10-14 22:19:52 +00:00
KofTwentyTwo commented 2026-10-14 21:52:48 +00:00 (Migrated from github.com)

Audit

All 8 tables are read/written by runtime code. Config tables are seeded at runtime by QuickSearchConfigPrimer (this qbit ships no DDL or changelog), so no changelog was added. The primer creates the quick_search_settings row (id 1) when missing, even with no code-declared tables (verified, now tested). The home already shows status, so no Setup card was added.

Changes

  • help/quick-search.yaml (app + 8 tables, each with "How rows get created") applied by QuickSearchHelp (STAND-IN core#1198) at the end of produce; only fills empty slots.
  • Existing withHelpContent on realTimeErrorCount untouched.
  • Docs: README, CHANGELOG, docs/MIGRATION-1.1.md (no UPGRADE.md exists).

Tests

QuickSearchTablesGuardrailTest, QuickSearchSeededDefaultsTest (fresh memory backend: populate, idempotent, edit survives, settings row with no code tables). CI=true ./mvnw verify green.

Not done

None.

🤖 Generated with Claude Code

## Audit All 8 tables are read/written by runtime code. Config tables are seeded at runtime by `QuickSearchConfigPrimer` (this qbit ships no DDL or changelog), so no changelog was added. The primer creates the `quick_search_settings` row (id 1) when missing, even with no code-declared tables (verified, now tested). The home already shows status, so no Setup card was added. ## Changes - `help/quick-search.yaml` (app + 8 tables, each with "How rows get created") applied by `QuickSearchHelp` (STAND-IN core#1198) at the end of `produce`; only fills empty slots. - Existing `withHelpContent` on `realTimeErrorCount` untouched. - Docs: README, CHANGELOG, docs/MIGRATION-1.1.md (no UPGRADE.md exists). ## Tests `QuickSearchTablesGuardrailTest`, `QuickSearchSeededDefaultsTest` (fresh memory backend: populate, idempotent, edit survives, settings row with no code tables). `CI=true ./mvnw verify` green. ## Not done None. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.