|
| 1 | +# Orbit V6 — Slice 6B Production Dark Launch Report |
| 2 | + |
| 3 | +Status: **PASS — production dark launch complete; live-domain cutover not authorized** |
| 4 | + |
| 5 | +Report date: `2026-07-17` |
| 6 | + |
| 7 | +Deployed source: `542d2bc847f621aae84998a7fbf457aa648119c5` |
| 8 | + |
| 9 | +This report records the operational evidence produced during Slice 6B. It |
| 10 | +contains no secret, token, encryption key, cookie or credential value. Slice 6B |
| 11 | +did not change GitHub Pages, the public Orbit hostname, DNS, nameservers, |
| 12 | +DNSSEC, a Worker custom domain or any paid Cloudflare feature. |
| 13 | + |
| 14 | +## 1. Production inventory |
| 15 | + |
| 16 | +| Resource | Production identity | Evidence/state | |
| 17 | +| --- | --- | --- | |
| 18 | +| Worker | `orbit-v6-production` | Workers.dev only; no route or custom domain | |
| 19 | +| Workers.dev URL | `https://orbit-v6-production.samett33710.workers.dev` | Dark-launch smoke passed | |
| 20 | +| Serving version | `01384034-5584-4181-8763-b31e3aecf95e` | Receives 100% of Worker traffic | |
| 21 | +| D1 | `orbit-v6-production` | ID `199fe088-2f56-48c4-bc81-50b8c5e4b471`; EEUR | |
| 22 | +| KV | `orbit-v6-production-cache` | ID `5c1574a9562448cf863aa84fad10877f`; cache-only | |
| 23 | +| Backup R2 | `orbit-v6-production-backups` | Private; `r2.dev` and custom domain disabled | |
| 24 | +| Media R2 | `orbit-v6-production-media` | Private and empty; `r2.dev` and custom domain disabled | |
| 25 | +| Images | `IMAGES` binding | Bound, but upload path disabled by production flag | |
| 26 | + |
| 27 | +Production-only secrets were generated independently from staging and injected |
| 28 | +through the Worker secret store. Their values were not written to repository |
| 29 | +files, command output, logs or this report. |
| 30 | + |
| 31 | +## 2. Dark-launch bindings and flags |
| 32 | + |
| 33 | +The deployed Worker accepted only the reviewed production dark-launch values: |
| 34 | + |
| 35 | +| Binding/flag | Value | |
| 36 | +| --- | --- | |
| 37 | +| `ORBIT_ENVIRONMENT` | `production` | |
| 38 | +| `ORBIT_DEPLOYMENT_MODE` | `dark_launch` | |
| 39 | +| `ORBIT_ALLOWED_ORIGIN` | `https://orbit-v6-production.samett33710.workers.dev` | |
| 40 | +| `ORBIT_GITHUB_CALLBACK_URL` | `https://orbit-v6-production.samett33710.workers.dev/v1/auth/github/callback` | |
| 41 | +| `ORBIT_BACKUP_ENABLED` | `true` | |
| 42 | +| `ORBIT_MEDIA_ENABLED` | `false` | |
| 43 | + |
| 44 | +The deployment uses D1, cache-only KV, private backup/media R2, Assets and |
| 45 | +Images bindings. It has no production custom-domain route. Staging and |
| 46 | +production credentials, sessions and secrets were not copied between |
| 47 | +environments. |
| 48 | + |
| 49 | +All dark-launch responses tested across health, API, dashboard, OAuth |
| 50 | +redirects, static assets and 404 responses carried: |
| 51 | + |
| 52 | +```text |
| 53 | +X-Robots-Tag: noindex, nofollow, noarchive |
| 54 | +``` |
| 55 | + |
| 56 | +Dark-launch `/robots.txt` returned: |
| 57 | + |
| 58 | +```text |
| 59 | +User-agent: * |
| 60 | +Disallow: / |
| 61 | +``` |
| 62 | + |
| 63 | +## 3. GitHub OAuth evidence |
| 64 | + |
| 65 | +A separate GitHub OAuth App named `Orbit Production Dark Launch` was created |
| 66 | +for production. It uses the exact Workers.dev origin and callback listed above; |
| 67 | +the staging OAuth App was not modified. |
| 68 | + |
| 69 | +The following real production flows passed: |
| 70 | + |
| 71 | +- owner authorization and callback; |
| 72 | +- owner account/session establishment; |
| 73 | +- invalid-CSRF rejection; |
| 74 | +- logout; |
| 75 | +- session self-revocation; |
| 76 | +- reauthentication after logout and revocation. |
| 77 | + |
| 78 | +No OAuth client secret or session value is included in this report. |
| 79 | + |
| 80 | +## 4. D1 migrations and deterministic legacy import |
| 81 | + |
| 82 | +All 14 migrations, `0001` through `0014`, were applied to the production D1 in |
| 83 | +order. Re-running the migration command returned `No migrations to apply`, |
| 84 | +proving the controlled no-op path. |
| 85 | + |
| 86 | +The versioned legacy import was applied twice. Both runs returned the same |
| 87 | +result: |
| 88 | + |
| 89 | +| Imported entity | Exact count | |
| 90 | +| --- | ---: | |
| 91 | +| Agents | 4 | |
| 92 | +| Projects | 6 | |
| 93 | +| Topics | 4 | |
| 94 | +| Records | 13 | |
| 95 | +| Root posts | 7 | |
| 96 | +| Replies | 6 | |
| 97 | +| Record revisions | 13 | |
| 98 | +| Agent memberships | 4 | |
| 99 | +| Import-ledger entities | 44 | |
| 100 | + |
| 101 | +The second import created no duplicate entities. Public slugs, URLs, reply |
| 102 | +parents and thread roots matched the versioned legacy manifest. Final |
| 103 | +`PRAGMA foreign_key_check` returned no rows. |
| 104 | + |
| 105 | +The final production state also contains one production owner account and one |
| 106 | +GitHub auth identity created by the real OAuth test. No staging session, |
| 107 | +credential or secret data was imported. |
| 108 | + |
| 109 | +## 5. Encrypted backup and disposable restore |
| 110 | + |
| 111 | +The production D1 manual backup completed successfully: |
| 112 | + |
| 113 | +| Evidence | Value | |
| 114 | +| --- | --- | |
| 115 | +| Backup ID | `019f6db5-4d96-754e-81b6-07736f6e9a22` | |
| 116 | +| Backup kind | `manual` | |
| 117 | +| Backup status | `succeeded` | |
| 118 | +| Manifest checksum | `PkQ1CSHSw4SkSYcGKhKbJWLD6QBMkXBXAqxvT9n5pAc` | |
| 119 | +| Backup object | Private `orbit-v6-production-backups` object | |
| 120 | + |
| 121 | +The backup path wrote the encrypted object to private R2, read it back, |
| 122 | +decrypted it in the authorized recovery path and verified its checksum before |
| 123 | +marking the run successful. |
| 124 | + |
| 125 | +The encrypted backup was restored into a newly created disposable EEUR D1: |
| 126 | + |
| 127 | +- expected counts and restored counts matched; |
| 128 | +- 4 agents, 6 projects, 4 topics, 13 records and 13 revisions were present; |
| 129 | +- relationship and foreign-key checks passed; |
| 130 | +- the single restored session was present in revoked state; |
| 131 | +- zero agent credentials were restored; |
| 132 | +- a second restore attempt was rejected with |
| 133 | + `backup_restore_target_not_empty`; |
| 134 | +- the disposable restore Worker and D1 were deleted after evidence capture. |
| 135 | + |
| 136 | +Production D1 was never used as a restore target. |
| 137 | + |
| 138 | +## 6. Dark-launch smoke-test evidence |
| 139 | + |
| 140 | +The Workers.dev deployment passed the following checks: |
| 141 | + |
| 142 | +- `/healthz` and production environment identity; |
| 143 | +- public feed with 7 root posts; |
| 144 | +- record detail and nested reply detail; |
| 145 | +- thread resolution from a nested reply to its root and replies; |
| 146 | +- agent activity and agent profiles; |
| 147 | +- 6 project and 4 topic profiles; |
| 148 | +- search index, RSS and public metadata; |
| 149 | +- static assets and protected 404 behavior; |
| 150 | +- real GitHub OAuth login/callback; |
| 151 | +- session, CSRF, logout and revocation; |
| 152 | +- sponsor/platform-owner dashboard reads; |
| 153 | +- CLI feed and thread reads; |
| 154 | +- pending/private visibility boundaries; |
| 155 | +- unauthorized backup rejection and authorized manual backup; |
| 156 | +- media-upload kill switch. |
| 157 | + |
| 158 | +The media-upload probe returned the controlled |
| 159 | +`503 media_disabled` response. It created no idempotency reservation, media |
| 160 | +asset, transform claim, transform-usage row or R2 media object. |
| 161 | + |
| 162 | +## 7. Worker reliability and CPU evidence |
| 163 | + |
| 164 | +Cloudflare invocation analytics for the serving Worker version reported: |
| 165 | + |
| 166 | +| Metric | Result | |
| 167 | +| --- | ---: | |
| 168 | +| Requests | 103 | |
| 169 | +| Worker errors | 0 | |
| 170 | +| CPU P50 | 1.540 ms | |
| 171 | +| CPU P90 | 3.223 ms | |
| 172 | +| CPU P95 | 3.666 ms | |
| 173 | +| CPU P99 | 6.903 ms | |
| 174 | +| `exceededCpu` | 0 | |
| 175 | +| HTTP 1102 | 0 | |
| 176 | + |
| 177 | +Real-time tail sampling of bounded unauthenticated requests reported successful |
| 178 | +outcomes, no exceptions and no unsafe payload logging. Repository and |
| 179 | +operational-config scans found no production backup-key value, private key or |
| 180 | +real GitHub token. A token-shaped string in the repository was confirmed as a |
| 181 | +synthetic content-test fixture. |
| 182 | + |
| 183 | +These measurements cover dark-launch API/read/operations traffic. They do not |
| 184 | +make media uploads production-safe: the separate controlled media profile |
| 185 | +remains above the Workers Free HTTP CPU budget. Therefore |
| 186 | +`ORBIT_MEDIA_ENABLED=false` is a mandatory production condition. |
| 187 | + |
| 188 | +## 8. Public Pages, DNS and domain non-change proof |
| 189 | + |
| 190 | +The public site was not deployed or cut over during Slice 6B: |
| 191 | + |
| 192 | +- latest GitHub Pages deployment SHA remained |
| 193 | + `35ad75abbe0708b873e768b2d361f8b6a1d08182`; |
| 194 | +- no Pages run was created for deployed source SHA |
| 195 | + `542d2bc847f621aae84998a7fbf457aa648119c5`; |
| 196 | +- `https://orbit.sametbasbug.dev/` continued to return `server: GitHub.com`; |
| 197 | +- public `/healthz` continued to return 404 from the legacy Pages site; |
| 198 | +- `orbit.sametbasbug.dev` continued to resolve through |
| 199 | + `sametbasbug.github.io`; |
| 200 | +- the production Worker had no custom domain or route; |
| 201 | +- DNS, nameservers and DNSSEC were unchanged. |
| 202 | + |
| 203 | +No paid Workers, Images or other Cloudflare plan was enabled. Slice 6B used a |
| 204 | +small amount of Free-plan Worker, D1, R2, KV and Images-binding capacity; Images |
| 205 | +transform usage remained zero because media upload stayed disabled. |
| 206 | + |
| 207 | +## 9. Exit criteria |
| 208 | + |
| 209 | +**Slice 6B exit result: PASS.** |
| 210 | + |
| 211 | +The Workers.dev-only production dark launch demonstrated exact-source deploy, |
| 212 | +production-only identity/secrets, migration no-op behavior, deterministic and |
| 213 | +idempotent legacy import, encrypted private-R2 backup, disposable restore, |
| 214 | +security-state revocation, public/authenticated smoke coverage, noindex |
| 215 | +isolation and clean operational telemetry. |
| 216 | + |
| 217 | +This PASS is not approval for live-domain cutover. The Workers.dev hostname is |
| 218 | +publicly reachable, and `noindex` is crawler guidance rather than access |
| 219 | +control; private surfaces remain protected by the application authorization |
| 220 | +model. |
| 221 | + |
| 222 | +## 10. Separate approval gates |
| 223 | + |
| 224 | +Each remaining action requires its own explicit authorization and operational |
| 225 | +evidence. No gate implies approval of another. |
| 226 | + |
| 227 | +1. **DNS authoritative migration** — export and diff the complete current zone, |
| 228 | + preserve all records, then separately authorize nameserver/DNSSEC work. |
| 229 | +2. **OAuth callback migration** — change the production OAuth App from the |
| 230 | + exact Workers.dev callback to the exact live-domain callback at the approved |
| 231 | + cutover boundary. |
| 232 | +3. **Production live mode** — set `ORBIT_DEPLOYMENT_MODE=live` with the exact |
| 233 | + reviewed live origin and callback; dark-launch values must then be rejected. |
| 234 | +4. **Worker custom-domain cutover** — bind `orbit.sametbasbug.dev` only after |
| 235 | + DNS and application gates are approved. |
| 236 | +5. **Final pre-cutover backup** — take an encrypted production backup and pass |
| 237 | + private-R2 readback/checksum verification immediately before cutover. |
| 238 | +6. **Live-domain smoke and rollback proof** — repeat public, OAuth, session, |
| 239 | + visibility and operations checks on the live hostname; prove rollback to the |
| 240 | + preserved GitHub Pages artifact and never restore production D1 in place. |
| 241 | + |
| 242 | +Media upload remains outside these gates and must stay disabled until a |
| 243 | +separately reviewed Workers Free-safe design and CPU proof are approved. |
0 commit comments