Rentv V1
repo: ~/Projects/rentv-v1 · 2 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /contractors3
- /match2
- /live2
- /deploy2
- /contractors-for-market1
- /error1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
ff4651c · 2026-08-12 · Date every contractor entry: source_as_of + verify-at-cslb.ca.gov (TK-10488)
DATE EVERYTHING per spec — the upstream usre /api/contractors/match carries no
dataset-level freshness date, so the drop-in now surfaces one itself:
- router.js: adds source_as_of (per-record upstream value -> CONTRACTORS_SOURCE_AS_OF
env -> known load date 2026-08-07) + verify_url:"cslb.ca.gov" to every response
(incl. the fail-soft path); also passes license_status through (Active/CLEAR).
- widget.html: stamps "CSLB data as of {source_as_of} — verify at cslb.ca.gov"
under EACH contractor entry (text-only, no link-out); shows license_status.
- README.md: documents the DATE-EVERYTHING behavior, the CONTRACTORS_SOURCE_AS_OF
env, the status/CLEAR handling, and the corrected response shape.
New files only, no edits to any existing/live RENTV file. Publish/deploy gated.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
64f7dfe · 2026-08-12 · Add drop-in contractor lookup package (contrib/contractors, TK-10488)
Self-contained, new files only — no edits to any existing/live RENTV file.
- router.js: Express router proxying the shared usre CSLB contractor API
(GET /api/contractors/match?mode=deal&county=&city=) and re-serving a slim,
text-only shape at GET /api/contractors-for-market; flatten+dedupe, 5m cache,
fail-soft (never 500s a story).
- widget.html: zero-dependency text-only 'Licensed contractors in {market}'
block (name+trade+phone); auto-init from data-attrs or programmatic; hides
itself on empty/error; no link-out, no re-hosted assets.
- README.md: 2-line mount + include steps for claude-rentv, env config, smoke
test. Publish/deploy gated.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
File tree
4 files tracked. Click any to browse the source at HEAD.
rendered in 1ms