[object Object]

← back to Designer Wallcoverings

merge-staging: read canonical enrichment-full-063026A.final.jsonl (local-cache runner's remerged output), fall back to .jsonl

2eb75f4c04f2c8e271268485d799f5b15b40595f · 2026-07-01 14:54:09 -0700 · Steve

Files touched

Diff

commit 2eb75f4c04f2c8e271268485d799f5b15b40595f
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Jul 1 14:54:09 2026 -0700

    merge-staging: read canonical enrichment-full-063026A.final.jsonl (local-cache runner's remerged output), fall back to .jsonl
---
 onboarding/sangetsu-lilycolor/scripts/merge-staging.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/onboarding/sangetsu-lilycolor/scripts/merge-staging.py b/onboarding/sangetsu-lilycolor/scripts/merge-staging.py
index c9b303ef..484b9753 100644
--- a/onboarding/sangetsu-lilycolor/scripts/merge-staging.py
+++ b/onboarding/sangetsu-lilycolor/scripts/merge-staging.py
@@ -23,7 +23,13 @@ HERE = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 STAGING = os.path.join(HERE, "staging")
 
 UNIFIED = os.path.join(STAGING, "lilycolor-unified-staging.jsonl")
-ENRICH = os.path.join(STAGING, "enrichment-full-063026A.jsonl")
+# Canonical enrichment output = the local-cache runner's remerged .final.jsonl
+# (enrich-local-supervised.sh folds ALL enrichment sources — incl. the older
+# .jsonl — into it, last-real-wins). Fall back to the raw .jsonl if .final
+# isn't present yet.
+ENRICH = os.path.join(STAGING, "enrichment-full-063026A.final.jsonl")
+if not os.path.exists(ENRICH):
+    ENRICH = os.path.join(STAGING, "enrichment-full-063026A.jsonl")
 TITLES = os.path.join(STAGING, "lilycolor-titles-en-063026A.jsonl")
 
 OUT = os.path.join(STAGING, "lilycolor-merged-063026A.jsonl")

← e830c243 enrich-full.py: lock-guard exits 75 (busy) not 0, so supervi  ·  back to Designer Wallcoverings  ·  title-fallback.py: synthesize compliant titles for 1580 titl f1960768 →