← back to La Socrata Ingester
verification/e2e-proof.json
52 lines
{
"ticket": "TK-10955",
"intent": "Keep attempting the audited known-broken gis_zoning source while making the aggregate all run fail only for unexpected source failures.",
"risk_tier": "R1 local policy change with a mocked process-boundary check; production ingest intentionally not invoked",
"environment": "macstudio3 local checkout; Node.js; no network and no database",
"build_identity": "ece3ea5",
"timestamp": "2026-08-30T08:10:00-07:00",
"baseline": {
"launchd_runs": 13,
"launchd_last_exit": 1,
"root_cause": "gis_zoning is documented known-broken but src/cli.js previously returned exit 1 for every source failure"
},
"journey": [
{
"boundary": "source metadata to aggregate policy",
"command": "node test/run-policy.test.mjs",
"assertions": [
"mock known gis_zoning failure in all is classified tolerated with exitCode 0",
"mock unexpected source failure in all is classified unexpected with exitCode 1",
"direct gis_zoning failure remains strict with exitCode 1",
"mixed tolerated and unexpected failures exit 1",
"child-process OS statuses are 0/1/1 without importing the database layer"
],
"verdict": "PASS"
},
{
"boundary": "existing ArcGIS retry behavior",
"command": "node test/arcgis-retry.test.mjs",
"assertions": [
"transient ArcGIS errors retry then succeed",
"permanent 400 fails immediately",
"authentication 499 fails immediately"
],
"verdict": "PASS"
},
{
"boundary": "syntax and patch integrity",
"command": "node --check src/cli.js; node --check src/run-policy.js; node --check src/sources.js; git diff --check",
"verdict": "PASS"
},
{
"boundary": "real launchd to production PostgreSQL",
"verdict": "SKIP",
"reason": "Explicit task constraint forbids the real ingest and production database writes. The next scheduled run is the safe production observer."
}
],
"negative_and_retry_checks": "Unexpected, mixed, direct-source, permanent ArcGIS, and authentication-failure cases all retain nonzero/fail-fast behavior.",
"side_effects": "No network, database, launchd, deployment, or external write was performed.",
"cleanup": "No test state created outside this committed evidence file.",
"verdict": "PASS for the authorized local implementation and mocked process boundary; production scheduler observation deferred by explicit gate"
}