{
  "schema": "codee.launch-control.v1",
  "version": "2026.05.28-launch-hardening-v1",
  "updated_at": "2026-05-28T16:25:00-04:00",
  "status": "launch_candidate_hardened_for_public_review",
  "active_blockers": [],
  "launch_candidate": {
    "name": "Codee V1 Launch Candidate - Restored",
    "locked_at": "2026-05-28T04:15:00Z",
    "backend_revision": "ai-k9-codee-digiapp-01107-bgq",
    "backend_url": "https://ai-k9-codee-digiapp-437923042920.us-central1.run.app",
    "frontend_url": "https://codee.chat",
    "clients_url": "https://clients.codee.chat",
    "mega_smoke_report": "output/smoke/mega-all-lanes-20260528T031207Z/mega-all-lanes-report.json",
    "mega_smoke_summary": "output/smoke/mega-all-lanes-20260528T031207Z/mega-all-lanes-summary.txt",
    "mega_smoke_result": {
      "ok": true,
      "steps_passed": 12,
      "steps_failed": 1,
      "required_failures": [],
      "optional_failures": ["thousand_readiness_superseded_by_2026-05-28T19:51:06Z_direct_readiness_pass"]
    },
    "readiness_result": {
      "status": "guarded",
      "backend_health": "200 on ai-k9-codee-digiapp-01107-bgq",
      "cloud_run_capacity": "min 3, max 20, concurrency 160, 1 CPU, 2 GiB",
      "required_lanes": "passed",
      "watch_item": "Latest 1,000-request customer load passed with 0 failures, p95 1441.41ms, p99 2484.93ms, warm capacity 3200, and delivery room under 80KB. Latest Alpha Dog proof passed 20,000 generated client payloads per lane across 10 lanes, 2,000 live delivery-room requests, paid checkout/delivery smoke 11/0, CLI Pro checkout, 1,000 sampled CLI range downloads, one million hashed download intents, and exact smoke cleanup."
    },
    "route_loop_report": "tmp/codee-route-loop/latest.json",
    "route_loop_result": {
      "ok": true,
      "checks": 120,
      "failed": 0,
      "not_found": 0
    }
  },
  "nine_of_ten_readiness": {
    "score": 9,
    "meaning": "Public-safe launch surfaces, delivery-room handoff, CLI, policy pages, proof loops, and owner-gated remote support are wired. Ten of ten waits for final professional review, full remote streaming/input security gate, and broader high-concurrency proof.",
    "hardening_manifest": "https://clients.codee.chat/assets/codee/codee-launch-hardening.json",
    "failure_hunter": "https://clients.codee.chat/codee-failure-hunter.html",
    "scale_readiness": "https://clients.codee.chat/codee-scale-readiness.html",
    "policy_hub": "https://clients.codee.chat/codee-policies.html",
    "what_codee_can_do": "https://clients.codee.chat/codee-what-can-do.html"
  },
  "owner_daily_commands": [
    {
      "id": "route-loop",
      "label": "Public route proof",
      "cadence": "daily and before promotion",
      "command": "python3 tools/codee_404_loop.py --loops 1 --timeout 30",
      "pass_rule": "0 failed and 0 not_found"
    },
    {
      "id": "failure-hunter",
      "label": "Strict failure hunter",
      "cadence": "after every public launch or delivery-surface change",
      "command": "python3 tools/codee_failure_hunter.py --strict --run-route-loop",
      "pass_rule": "0 critical, 0 warnings, route loop 0 failed, route loop 0 not_found"
    },
    {
      "id": "scale-gate",
      "label": "Scale and CLI update gate",
      "cadence": "before 10,000-client-per-lane or million-CLI distribution claims",
      "command": "python3 \"Codee original/backend/scripts/codee_launch_scale_proof.py\"",
      "pass_rule": "Scale proof passes 10,000 synthetic clients per lane, live delivery-room sample p99, CDN cache headers, byte-range CLI downloads, staged updates, and rollback-ready policy"
    },
    {
      "id": "alpha-dog-gate",
      "label": "Alpha Dog strict client emulator",
      "cadence": "before major public exposure or stricter scale claims",
      "command": "python3 \"Codee original/backend/scripts/codee_alpha_dog_real_client_gate.py\"",
      "pass_rule": "20,000-per-lane payload emulator, live delivery sample, paid checkout/delivery smoke, CLI checkout probe, CLI distribution, and cleanup proof all pass"
    },
    {
      "id": "mega-smoke",
      "label": "All-lanes paid smoke",
      "cadence": "after backend changes, before major traffic, and at least nightly",
      "command": "python3 \"Codee original/backend/scripts/codee_all_lanes_mega_smoke.py\" --skip-screenshots --light-load --readiness-optional",
      "pass_rule": "Required service lanes pass, required_failures is empty, and optional readiness warnings are documented"
    },
    {
      "id": "readiness-loop",
      "label": "Six-hour readiness scan",
      "cadence": "every six hours",
      "command": "bash tools/run_codee_six_hour_readiness_scan.sh",
      "pass_rule": "readiness JSON writes and no critical route or delivery failure"
    },
    {
      "id": "launch-control-scan",
      "label": "Launch-control proof packet",
      "cadence": "7 AM and 7 PM local",
      "command": "bash tools/run_codee_launch_control_scan.sh",
      "pass_rule": "route loop passes, launch manifest archived, and mega smoke passes when enabled"
    }
  ],
  "service_launch_contracts": [
    {
      "id": "qrcodee",
      "name": "QRCodee",
      "paywall": "Stripe checkout before permanent hosted delivery",
      "must_deliver": "branded QR image, hosted QR landing page, delivery room, scan proof",
      "optional_support": "client-owned domain / white-label support saved in the delivery room when requested",
      "proof": "qrcodee_batch"
    },
    {
      "id": "codeeflyer100",
      "name": "CodeeFlyer100",
      "paywall": "Stripe checkout before permanent hosted delivery",
      "must_deliver": "single hosted flyer image, one CTA, branded QR, delivery room",
      "optional_support": "client-owned domain / white-label support saved in the delivery room when requested",
      "proof": "codeeflyer100_batch"
    },
    {
      "id": "codeeflyer250",
      "name": "CodeeFlyer250",
      "paywall": "Stripe checkout before premium work order delivery",
      "must_deliver": "custom flyer prompt/request packet, hosted flyer, branded QR, up to three CTA options, 72-hour delivery note, 24-hour rejection window",
      "optional_support": "client-owned domain / white-label support saved in the delivery room when requested",
      "proof": "codeeflyer250_batch"
    },
    {
      "id": "codeeapp250",
      "name": "CodeeApp250",
      "paywall": "Stripe checkout before permanent hosted app delivery",
      "must_deliver": "guidebook/app page, buy button path, QR return image, delivery room",
      "optional_support": "client-owned domain / white-label support saved in the delivery room when requested",
      "proof": "core_paid_delivery_all_lanes"
    },
    {
      "id": "codeecard",
      "name": "CodeeCard",
      "paywall": "Stripe checkout before permanent card delivery",
      "must_deliver": "Sean-style card template, profile/tiles, QR, contact/booking path, delivery room",
      "proof": "codeecard_template"
    },
    {
      "id": "codeebeeper",
      "name": "CodeeBeeper",
      "paywall": "Stripe checkout before hosted storage workspace activation",
      "must_deliver": "pin-gated note/media workspace, storage status, support/reset instructions, delivery room",
      "proof": "codeebeeper_template"
    },
    {
      "id": "codeeblog",
      "name": "CodeeBlog",
      "paywall": "Stripe checkout before permanent hosted blog shell",
      "must_deliver": "blog/resource shell, capture path, delivery room",
      "proof": "core_paid_delivery_all_lanes"
    },
    {
      "id": "codee-business-suite",
      "name": "Codee Business Suite",
      "paywall": "Stripe checkout with eligible wallet/Klarna support when allowed",
      "must_deliver": "suite site, QRCodee, CodeeFlyer100, CodeeFlyer250, CodeeApp250, CodeeCard or blog lane, request room, video review, 30-day edit window",
      "proof": "core_paid_delivery_all_lanes"
    },
    {
      "id": "index-to-income",
      "name": "Index To Income",
      "paywall": "paid public path, free/sponsored veteran path",
      "must_deliver": "course room, downloadable packet/guide, delivery proof",
      "proof": "core_paid_delivery_all_lanes"
    },
    {
      "id": "invest-in-vets-shop",
      "name": "INVEST IN VETS Shop",
      "paywall": "Stripe checkout for paid packets and shop items",
      "must_deliver": "shop page, guide/download, checkout, delivery proof",
      "proof": "nvest_nonprofit"
    }
  ],
  "twenty_moves": [
    {"id": 1, "name": "Lock launch candidate", "status": "done", "proof": "post-billing mega smoke required lanes passed, required failures 0, latest route loop 120/120"},
    {"id": 2, "name": "Admin HQ daily command center", "status": "done", "proof": "ownerToday checklist live"},
    {"id": 3, "name": "Morning and evening launch scans", "status": "active_guarded", "proof": "tools/run_codee_launch_control_scan.sh with fail-fast route loop"},
    {"id": 4, "name": "Public proof wall", "status": "active", "proof": "codee-proof-wall.html"},
    {"id": 5, "name": "Service contracts", "status": "active", "proof": "assets/codee/service-contracts.json"},
    {"id": 6, "name": "Delivery room as client home", "status": "active", "proof": "codee-delivery.html and paid smoke"},
    {"id": 7, "name": "Stripe event ledger", "status": "active_after_backend_restore", "proof": "checkout_created, paid, generated, delivered fields in paid smoke"},
    {"id": 8, "name": "Short checkout context recovery", "status": "done", "proof": "CodeeFlyer250 and CodeeCard paid smokes pass"},
    {"id": 9, "name": "Usage billing reserved for Business Suite/support", "status": "policy_active", "proof": "SaaS manifest and contracts"},
    {"id": 10, "name": "Cloud Run launch capacity", "status": "restored_guarded", "proof": "Billing relinked; Cloud Run revision ai-k9-codee-digiapp-01107-bgq returns /health 200; min3 max20 concurrency160 warm pool is live; latest 1,000-request p99 gate passed; Alpha Dog proof passed 20,000 generated client payloads per lane, 2,000 live delivery requests, paid checkout/delivery smoke, CLI checkout, and 1,000,000 CLI distribution/intention gate"},
    {"id": 11, "name": "Firebase cache control discipline", "status": "active", "proof": "PWA release version and route loop"},
    {"id": 12, "name": "Three demos per lane", "status": "active", "proof": "service demo library and QR example routes"},
    {"id": 13, "name": "One-offer launch campaign", "status": "active", "proof": "Metricool blast dry run passed"},
    {"id": 14, "name": "Codee CLI education hook", "status": "active", "proof": "codee-cli.html and downloadable CLI"},
    {"id": 15, "name": "Codee.chat paid intake hook", "status": "active", "proof": "service_lane_routes 103/103"},
    {"id": 16, "name": "Veteran-first onboarding path", "status": "active", "proof": "codee-trainee-hub and Index To Income lanes"},
    {"id": 17, "name": "Client account prep", "status": "active", "proof": "delivery rooms, codee-customer-portal, client workspace routes"},
    {"id": 18, "name": "Brand/IP protection packet", "status": "active", "proof": "codee-ip-register.html"},
    {"id": 19, "name": "Clean nonprofit/business money separation", "status": "active", "proof": "CodeeAdmin lanes and data room checklist"},
    {"id": 20, "name": "Investor data room", "status": "active", "proof": "codee-data-room-checklist.html and investor readiness page"}
  ],
  "launch_hardening_moves": [
    {"id": 1, "name": "What Codee Can Do public page", "status": "active", "proof": "codee-what-can-do.html"},
    {"id": 2, "name": "Policy hub", "status": "active", "proof": "codee-policies.html"},
    {"id": 3, "name": "Public policy pages", "status": "active", "proof": "terms, privacy, refund, support, acceptable-use, remote-consent"},
    {"id": 4, "name": "Delivery-room proof and support slots", "status": "active", "proof": "codee-delivery.html"},
    {"id": 5, "name": "PWA and route-loop launch-hardening proof", "status": "passed", "proof": "python3 tools/codee_404_loop.py --loops 1 --timeout 30 returned 119 checks, 0 failed, 0 not_found"}
  ],
  "launch_gates": [
    "No public blast unless route loop has 0 failed and 0 not_found.",
    "No paid checkout or delivery-room launch while GCP billing is disabled or Cloud Run health is not 200.",
    "No paid lane claim unless that lane has a passing smoke report.",
    "No delivery complete status unless generated product URL and delivery room both return 200.",
    "No nonprofit funding claim unless money lane and mission use are separated in the owner workspace.",
    "No legal, tax, trademark, investor, or accounting claim without CODEECPA prep and licensed professional review."
    ,"No simultaneous live paid-customer or real installed-user claim beyond the latest Scale Readiness proof. Synthetic and distribution gates must be described honestly."
  ]
}
