Burnmydays Claude Opus 4.8 (1M context) commited on
Commit
90eeb7a
·
1 Parent(s): 2b1d2af

docs: CODEX.md handoff = deploy (GitHub -> Space) + Space secrets

Browse files

Owner will have Codex deploy: upload to SunrisesIllNeverSee, then push to the
HF Space, then set Supabase secrets (from SECRETS.local.md). Parser marked done
(ratio model). test_metrics.py + real $/1M kept as optional extra commits.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. CODEX.md +29 -10
CODEX.md CHANGED
@@ -22,16 +22,35 @@ Done and pushed to Burnmydays/hf- (main):
22
  - Instructions sharpened (app.py "Clock Your Signal" tab + README).
23
  - Wild corpus = 10 tokscale.ai operators; board = 11 rows; Supabase migrated + synced.
24
 
25
- ## Tasks for Codex (each = one attributed commit)
26
- > The Codex parser is FINAL by design: the ratio model (Alpha 2:1 / Beta Claude-ratio)
27
- > handles the estimate do NOT add turn/daily-delta logic. Tasks below build around it.
28
- 1. **`test_metrics.py`**pytest that locks the canonical numbers and identities:
29
- - MO§ES Υ = 18,436.98, leverage = 2042.2, 10x DEV = 3.31.
30
- - Telescoping identity `(o/i)·(cw/o)·(cr/cw) == cr/i` for every SEED operator with cache.
31
- - Both Codex pathways: Alpha `output×2`, Beta `output×io_ratio`.
32
- 2. **Real Codex `$/1M`** — wire OpenAI per-1M prices into `parse_codex_submission` meta so
33
- Codex rows can show real (not list-estimate) cost. Keep the `*` estimated flag on input.
34
- 3. **Upload the repo to `github.com/SunrisesIllNeverSee`** (the prize-submission location).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ## Verify BEFORE every Codex commit
37
  ```
 
22
  - Instructions sharpened (app.py "Clock Your Signal" tab + README).
23
  - Wild corpus = 10 tokscale.ai operators; board = 11 rows; Supabase migrated + synced.
24
 
25
+ ## Codex parser DONE (do not change)
26
+ The Codex token conversion is FINAL: the ratio model in `_codex_input_estimate`
27
+ (`ingest.py`) Alpha `output×2` (no Claude profile) / Beta `output×io_ratio` (Claude
28
+ profile present)handles the estimate. **Do NOT add turn/daily-delta logic.**
29
+
30
+ ## Codex's job: DEPLOY (the main handoff)
31
+ Do these in order so the work + attribution land in the submitted location.
32
+
33
+ 1. **Upload the repo to GitHub `github.com/SunrisesIllNeverSee`.**
34
+ The current working copy is at `/Users/dericmchenry/Desktop/moses-sigrank` (also on
35
+ `github.com/Burnmydays/hf-`). Commit with Codex attribution and push to SunrisesIllNeverSee.
36
+
37
+ 2. **Deploy to the HuggingFace Space** (Gradio SDK; `README.md` already has valid Space
38
+ front-matter). Create/link the Space under the owner's HF account (`burnmydays`) and
39
+ push the repo to the Space's git remote.
40
+
41
+ 3. **Set the Space secrets** (Space → Settings → Variables and secrets). Copy the values
42
+ from `SECRETS.local.md` (gitignored — never commit them):
43
+ - `SUPABASE_URL` → read endpoint
44
+ - `SUPABASE_ANON_KEY` → read (RLS-gated, public-read)
45
+ - `SUPABASE_SERVICE_KEY`→ **only if** signed-in visitor rows should persist; leave UNSET
46
+ for the curated demo (then writes are no-ops and pastes stay transient).
47
+ Without these the app still boots on the SEED fallback (11 rows), so it never breaks.
48
+
49
+ ## Optional extra attributed commits (nice-to-have for the prize)
50
+ - **`test_metrics.py`** — lock MO§ES Υ 18,436.98 / lev 2042.2 / 10x DEV 3.31 + the
51
+ telescoping identity `(o/i)·(cw/o)·(cr/cw)==cr/i` for every SEED row, plus both Codex
52
+ pathways (Alpha `output×2`, Beta `output×io_ratio`).
53
+ - **Real Codex `$/1M`** — OpenAI per-1M prices in `parse_codex_submission` meta (keep `*`).
54
 
55
  ## Verify BEFORE every Codex commit
56
  ```