Commit Graph

11 Commits

Author SHA1 Message Date
Torres
02a6b6df7e app: P2 migrations (year/seller_type/extras) + importer backfill, guards idempotent
- db.init_db gains guarded ALTER TABLE additions for listings.year /
  seller_type / extras (schema.sql v1 untouched; PRAGMA-checked idempotent)
- rubric: extras_from_text() returns matched EXTRAS labels (table order)
- importer: normalize computes year (existing helper), seller_type ONLY
  from a real state-item signal (dealer/private, else NULL), extras JSON;
  upsert rewrites the new columns on both paths
- verified on live DB: import idempotent, counts stay 640/560/80, year
  backfilled on 599 rows, extras on 45, seller_type 0 (no state signal)
2026-11-10 21:13:40 -04:00
AlexanderRozhenko
9bc6948861 docs: freeze Phase 2 contract — UI-SPEC v2 (approved mockup A, stack engine, deltas) + DATA-MODEL P2 addendum (migrations, cursor pagination, media mirror) + frozen mockup reference 2026-11-10 21:11:27 -04:00
AlexanderRozhenko
d8510c184a docs: record verified Phase 1 results (twin counts in SOURCES; phase status + Phase 2 backlog in PLAN) 2026-11-10 19:00:00 -04:00
AlexanderRozhenko
d890dcdb3e merge: Phase 1 data spine (verified): schema, importer, rubric, deck CLI, selfcheck 2026-11-10 18:59:03 -04:00
Torres
19e46cd11b app: add proof deck CLI, dependency-free selfcheck, gitignore 2026-11-10 18:57:17 -04:00
Torres
ca7835db9c app: add importer (gates, upsert, dedupe, gone-marking, scoring, import_runs) 2026-11-10 18:57:17 -04:00
Torres
d2d5ec22fa app: port hunt rubric scoring (family tiers, extras, veto, price fit) 2026-11-10 18:57:17 -04:00
Torres
5bf180c4c6 app: add SQLite schema and db helper (WAL, busy_timeout, four tables + indexes) 2026-11-10 18:57:17 -04:00
AlexanderRozhenko
670648b17a docs: housekeeping - branch policy, Tailscale sidecar deployment (no host coupling), dedicated import cron plan 2026-11-10 18:09:16 -04:00
AlexanderRozhenko
18bf31f361 docs: add SOURCES, DESIGN, DATA-MODEL; record v1 decisions (Kijiji source, rank-all deck, badge-only feed); vendor hunt reference modules 2026-11-10 17:48:32 -04:00
AlexanderRozhenko
fc3aad1e93 docs: initial set - README, PLAN, UI-SPEC, RANKING 2026-11-10 17:38:01 -04:00