← back to Dw Photo Capture
verification/TK-11007-e2e-proof.json
60 lines
{
"ticket": "TK-11007",
"intent": "Restore autonomous color-index rebuilds after pg became unavailable, while proving the build without remote shipping.",
"risk_tier": "R3",
"environment": "Mac2 local project; dw_unified queried read-only; remote shipping disabled",
"timestamp": "2026-09-02T08:49:00-07:00",
"baseline": {
"verdict": "FAIL",
"evidence": "Scheduled logs for 2026-08-31 through 2026-09-02 exited before querying because require('pg') raised MODULE_NOT_FOUND."
},
"checks": [
{
"name": "locked dependency restoration",
"command": "npm ci",
"verdict": "PASS",
"assertion": "pg installed from package-lock.json; package manifests unchanged"
},
{
"name": "runtime dependency boundary",
"command": "node -e require('pg')",
"verdict": "PASS"
},
{
"name": "scheduler shell syntax",
"command": "bash -n scripts/refresh-color-index.sh",
"verdict": "PASS"
},
{
"name": "real local operational journey",
"command": "COLOR_INDEX_SKIP_SHIP=1 bash scripts/refresh-color-index.sh",
"verdict": "PASS",
"assertion": "Read-only DB build produced 46,397 color-index items and 148 color dots covering 45,131 products; explicit skip marker emitted; rsync branch not entered",
"artifact": "/tmp/TK-11007-e2e.log"
},
{
"name": "repository-wide OCR test",
"command": "npm test",
"verdict": "FAIL",
"reason": "Pre-existing unrelated test harness ReferenceError: DW_BRAND_RE is not defined; color-index scripts are not exercised by this suite."
},
{
"name": "diff integrity",
"command": "git diff --check",
"verdict": "PASS"
}
],
"boundaries": {
"production_database_writes": 0,
"remote_rsync_runs": 0,
"launchd_reload_or_kickstart": 0,
"external_spend_usd": 0,
"local_artifacts_refreshed": [
"data/color-index.json",
"data/color-dots.json"
]
},
"cleanup": "No temporary production state created. Local generated artifacts retained as current read-only build evidence.",
"verdict": "PASS"
}