ORCH-048: staging B6 reads registry via GET /projects (not local import) #45
Reference in New Issue
Block a user
Delete Branch "feature/ORCH-048-staging-b6-check-reads-registr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
src.projectslocally (host-path hack +importlib.reload), readingORCH_PROJECTS_JSONfrom the launcher's process-env. On the deployer's canonical host run that var is unset → built-in default (ET+ORCH) → false FAIL even when staging isolation is healthy.GET /projects(src/main.py) returningknown_plane_project_ids+{plane_project_id, repo, work_item_prefix, name}of the live process; no secrets. Existing routes unchanged.GET {base}/projectsvia the same stdlib_gethelper as A/B4/B5/C; removes host-path hack +importlib.reload(launch-invariant: host /docker exec). Verdict isolated in pure_evaluate_b6(known) -> (passed, detail); contract unchanged. Endpoint degradation (non-200 / missing key / bad body / network) → deterministic FAIL, never false PASS.src/projects.pyand.env*untouched; prod behaviour of existing routes unchanged.Docs (golden source, same PR)
docs/architecture/README.md—GET /projectsin API table + B6 mechanic in staging-gate section.docs/operations/STAGING_CHECK.md— B6 description (HTTP) + isolation row + launch-invariance note.CHANGELOG.md— entry.Test plan
pytest tests/ -q→ 476 passed.tests/test_staging_check_b6.py— TC-01..TC-07.tests/test_projects_endpoint.py— endpoint returns registry, only id/repo/prefix/name (no secrets).deploy-staging): B6 == PASS; A/B4/B5/C unaffected.Refs: ORCH-048
🤖 Generated with Claude Code
4abe746fc0to8b5b1f0056