File size: 1,915 Bytes
d95f073
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "public_route_mode": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "exposure_mode": "custom_domain",
    "route": "https://api.example.com",
    "result": "custom domain resolves to the intended Kaiju Worker"
  },
  "wrangler_secrets_verified": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "command": "wrangler secret list",
    "observed_names": [
      "KAIJU_ORIGIN_URL",
      "KAIJU_ORIGIN_SECRET",
      "KAIJU_STRIPE_WEBHOOK_SECRET"
    ],
    "notes": "Record only secret names. Never include secret values."
  },
  "d1_migration_applied": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "command": "wrangler d1 migrations apply kaiju-billing --remote",
    "migration": "0001_paid_api.sql",
    "result": "success"
  },
  "stripe_checkout_topup_staging": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "mode": "test",
    "webhook_event": "checkout.session.completed",
    "credited_api_key_id": "key_staging_001",
    "idempotency_checked": true,
    "notes": "Do not include Stripe secret keys or webhook signing secrets."
  },
  "worker_to_gojira_staging_request": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "route": "/v1/chat/completions",
    "model": "kaiju-coder-7",
    "http_status": 200,
    "streamed": true,
    "request_id": "req_staging_001",
    "notes": "Do not include bearer tokens or full private prompts."
  },
  "rollback_exercised": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "command": "wrangler rollback",
    "result": "success"
  },
  "paid_route_latency": {
    "status": "pending",
    "checked_at": "2026-06-03T00:00:00Z",
    "route": "/v1/chat/completions",
    "sample_count": 5,
    "p95_ms": 90000,
    "max_acceptable_ms": 120000,
    "notes": "Use staging traffic. Record coarse metrics only."
  }
}