---
staging_status: SUCCESS
timestamp: 2026-06-06T10:19:10+00:00
base_url: http://localhost:8501
work_item: ORCH-042
mode: stub
checks: 10/10 PASS
---

# Staging Gate Log — ORCH-042

Staging test suite completed against the live staging environment
(`orchestrator-staging`, port 8501). All checks passed.

## Execution

Canonical procedure (ORCH-048, ADR-001): run **inside** the
`orchestrator-staging` container so the B6 registry-isolation check reads the
registry from the running instance's own process-env (`.env.staging`).

```
docker exec orchestrator-staging \
  python3 /repos/orchestrator/scripts/staging_check.py \
  --base-url http://localhost:8501 --mode stub
```

(Executed via the Docker Engine API over the mounted unix socket, since no
docker CLI is present in the agent environment; equivalent to the canonical
`docker exec`.)

**Exit code: 0 → staging_status: SUCCESS**

## Results — 10/10 PASS

### Block A — SMOKE
- ✓ A1 GET /health → 200 status=ok
- ✓ A2 GET /queue → 200 with counts/max_concurrency/resilience
- ✓ A3 ORCH_STAGING=true (not prod)

### Block B — ACCESS
- ✓ B4 Plane: sandbox project accessible (5 projects, sandbox=YES)
- ✓ B5 Gitea: orchestrator-sandbox accessible, push=true
- ✓ B6 Registry: sandbox present, prod ET/ORCH absent (isolation confirmed)

### Block C — E2E (mode=stub)
- ✓ C7 Create issue in Plane SANDBOX (HTTP 201)
- ✓ C8 Trigger pipeline via /webhook/plane (HTTP 200, HMAC)
- ✓ C9a Branch appears in orchestrator-sandbox
- ✓ C9b Analyst job enqueued in staging queue

### Cleanup
- ✓ Branch deleted, Plane issue deleted, staging DB job/task rows removed.

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