---
staging_status: SUCCESS
timestamp: 2026-06-06T07:08:59Z
base_url: http://localhost:8501
work_item: ORCH-048
mode: stub
result: 10/10 checks PASS
---

# Staging Gate Log — ORCH-048

Staging test suite completed against the live `orchestrator-staging` instance (port 8501). **All 10/10 checks passed.**

## Execution context

- **Where**: inside the `orchestrator-staging` container via Docker Engine API exec (canonical per ORCH-048 / ADR-001; `docker` CLI not present in this agent env, so the bind-mounted socket `/var/run/docker.sock` was used directly).
- **Command**: `python3 /repos/orchestrator/scripts/staging_check.py --base-url http://localhost:8501 --mode stub`
- **Exit code**: `0`
- **Container state**: `orchestrator-staging` running (Up 25 hours).

Running inside the container is required so the B6 registry-isolation check reads the registry from the running instance's own process-env (`.env.staging` → `ORCH_PROJECTS_JSON` = sandbox-only). This is precisely the behaviour ORCH-048 corrects.

## Results

```
[Block A] SMOKE
  ✓ PASS  A1 GET /health → 200 status=ok
  ✓ PASS  A2 GET /queue → 200 with counts/max_concurrency/resilience
  ✓ PASS  A3 ORCH_STAGING=true (not prod)

[Block B] ACCESS
  ✓ PASS  B4 Plane: sandbox project accessible (found 5 project(s), sandbox=YES)
  ✓ PASS  B5 Gitea: orchestrator-sandbox accessible, push=true
  ✓ PASS  B6 Registry: sandbox present, prod ET/ORCH absent  [sandbox=YES, prod-ET=NO(good), prod-ORCH=NO(good)]

[Block C] E2E  (mode=stub)
  ✓ PASS  C7 Create issue in Plane SANDBOX
  ✓ PASS  C8 Trigger pipeline via /webhook/plane
  ✓ PASS  C9a Branch appears in orchestrator-sandbox
  ✓ PASS  C9b Analyst job enqueued in staging queue

[CLEANUP]
  ✓ PASS  CLEANUP: deleted sandbox branch, Plane issue, and DB rows

============================================================
  RESULT: 10/10 checks PASS
============================================================
```

**B6 verdict (the ORCH-048 target check): PASS** — registry read from the running staging instance correctly shows sandbox present and prod ET/ORCH absent, with no false FAIL / spurious rollback.
