{
  "artifact": "Implementation slice 001 · foundation read-only catalog",
  "generated_at_utc": "2026-09-08T13:36:42Z",
  "production_changed": true,
  "scope": [
    "services/foundation_api.py",
    "services/foundation_fixture.json",
    "server2 app main registration"
  ],
  "route": "/api/editor/v1/foundation/catalog?project_id=project-01",
  "behavior": [
    "requires existing Work session; unauthenticated request returns 401",
    "project-01 is server-validated; other project IDs return 403 after auth",
    "returns one deterministic read-only article with revision and evidence",
    "fixture contains no credentials or private source session"
  ],
  "verification": [
    "py_compile passed on server2",
    "mathchast-editor-api.service active after restart",
    "health endpoint returned {\"status\":\"ok\"}",
    "OpenAPI exposes foundation route",
    "unauthenticated foundation request returned 401"
  ],
  "limitations": [
    "synthetic fixture only",
    "no production database migration",
    "no writer, crawler, personalization or mass crawl",
    "authenticated success response not run in this check"
  ],
  "rollback": "Restore backed-up main.py, remove foundation_api.py and foundation_fixture.json, restart API, then verify health and previous route."
}
