056c47581f
Ships the second dashboard surface — a Pattern Library + Preview Theatre — that presents the 4-section PDP pilot batch back to Umar, compliance, and the board in an editorial format. Adds the full data layer that drives it: 5 source-backed per-SKU drafts at QA 100/100, 15 competitor PDP semantic extracts, PubMed evidence packs, EFSA claims library extension, JV brand voice guide, hand-curated product FAQs, and the Matrixify-ready CSV exports for Lewis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 lines
560 B
TypeScript
13 lines
560 B
TypeScript
#!/usr/bin/env bun
|
|
import { sourcePath, listJson, writeJson, now } from './lib/intel-utils'
|
|
|
|
const rawFiles = listJson(sourcePath('trustpilot'))
|
|
writeJson(sourcePath('trustpilot-status.json'), {
|
|
generatedAt: now(),
|
|
sourceType: 'trustpilot_import_status',
|
|
status: rawFiles.length ? 'available' : 'missing',
|
|
files: rawFiles,
|
|
note: rawFiles.length ? 'Trustpilot source drops detected.' : 'Place Trustpilot exports in data/sources/trustpilot/. No synthetic Trustpilot evidence generated.'
|
|
})
|
|
console.log(`Trustpilot source files: ${rawFiles.length}`)
|