[object Object]

← back to Re Flyer Aggregator

refine-loop: wire ingest-usre-parcels as a step after build-property-index (re-usre, TK-10708)

92191685b63064f1c9df286faf01f8a5fbfe84bb · 2026-08-20 10:02:12 -0700 · Steve Abrams

Appends one additive line so each 90-min cycle re-enriches /properties to the full 56,492-property universe
instead of reverting to news-only. MUST run after build-property-index (which overwrites the file from news
each cycle); ingest is idempotent+deterministic so re-runs/order are safe. Does not disturb the running loop
process (bash holds the while-loop in memory; takes effect on next loop restart). Reversible: git revert.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 92191685b63064f1c9df286faf01f8a5fbfe84bb
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 20 10:02:12 2026 -0700

    refine-loop: wire ingest-usre-parcels as a step after build-property-index (re-usre, TK-10708)
    
    Appends one additive line so each 90-min cycle re-enriches /properties to the full 56,492-property universe
    instead of reverting to news-only. MUST run after build-property-index (which overwrites the file from news
    each cycle); ingest is idempotent+deterministic so re-runs/order are safe. Does not disturb the running loop
    process (bash holds the while-loop in memory; takes effect on next loop restart). Reversible: git revert.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 scripts/refine-loop.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/refine-loop.sh b/scripts/refine-loop.sh
index 7535676..07c7186 100755
--- a/scripts/refine-loop.sh
+++ b/scripts/refine-loop.sh
@@ -14,7 +14,8 @@ while true; do
   node scripts/ingest-rentv.mjs        >> "$LOG" 2>&1   # RENTV direct (Steve rentv.agentabrams.com API)
   node scripts/ingest-public-deals.mjs >> "$LOG" 2>&1  # CA deeds/DTT
   node scripts/build-flyers-site.mjs  >> "$LOG" 2>&1   # rebuild flyers.json + index
-  node scripts/build-property-index.mjs >> "$LOG" 2>&1  # per-property index
+  node scripts/build-property-index.mjs >> "$LOG" 2>&1  # per-property index (news+RENTV)
+  node scripts/ingest-usre-parcels.mjs  >> "$LOG" 2>&1  # scale-up: enrich w/ usre commercial parcels (re-usre TK-10708) — MUST run AFTER build-property-index
   git add data/ public/ scripts/ >/dev/null 2>&1
   git commit -q -m "refine-loop cycle $n: +articles/deals $(date '+%m-%d %H:%M')" >/dev/null 2>&1
   arch=$(node -e 'try{console.log(require("./data/article-archive.json").length)}catch(e){console.log(0)}' 2>/dev/null)

← b9812f9 chore: sync nav-agent v1.3 header (session close)  ·  back to Re Flyer Aggregator  ·  auto-data-snapshot: 2026-08-20T12:27:13 (4 data files) — .pl 9219079 →