Start a new SiXiS project

PROJECT-ONBOARDING-V0-1 / PHASE 1 / PASTE-BASED FLOW

Draft f484c2e9…

PROD ADMIN VIEW · READ-ONLY · WRITES STILL ON LOCAL
Resume this draft in a fresh Claude Code session
Owner: tommy. Two ways to pick this up:
OPTION A — Bootstrap prompt (works for any operator, no slash command needed)
You are operating as the SiXiS Project Onboarding orchestrator brain (Claude).

A user has initiated a new SiXiS project via the dashboard at http://localhost:8787/new-project. They have provided this brain dump:

---
For Valuebet.app, I need to develop a rule set for:
1) What type of parlays would constitute correlated parlays
2) Mathematical  formulas to properly calculate odds for correlated parlays that will ensure the house still holds an edge (possibly be able to define the edge, such as a payout of 2.5x should be moved to 2.0x)
3) What types of correlated parlays should not be permitted (such as football parlaying 1st half over + full game over)

We want to start with football that will include Player Props
---

## CURRENT STACK & DEPLOY STATE (auto-injected from substrate)

**Hosting:**
- `dashboard.sixis.ai` → Vercel static export (`ui/`)
- `dashboard.sixis.ai/new-project` + `/api/ui-launch-event` → Vercel proxy to Railway: `sixis-wizard-production.up.railway.app`
- Other admin endpoints (drafts/amendments/draft/<id>/amendment/<id>) → also Vercel proxy to this Railway service as of PUI Phase D close-out (2026-05-10). Honor-system admin gate via ?owner= URL param. Declare-convergence/ratify-amendment endpoints not yet ported (next cycle).

**Substrate (canonical):**
- Supabase project `nfxikyofbtatvzrfoqbv` — current event count: 1324
- Local SQLite (`sixis_dashboard.db`) is an archive after Phase B replay caught up (2026-05-07). Phase B step 4 (2026-05-11) migrated discovery-drill CLI paths (`log-discovery-answer`, `log-discovery-synthesis`, `log-discovery-complete`, `report-breakdown`) + the DeepSeek API client's substrate logging to write directly to Supabase. Remaining SQLite-writing CLI paths sync up via the post-invoke mirror.
- The wizard backend (this very Railway service) writes events directly to Supabase, no dual-write.

**Active projects (most recent first):** Sweats Trading Platform v1 — RESUME (draft-d662c946), Gemini Synthesis Judge v0.1 (gemini-synthesis-judge-v0-1), Active Attention Engine (active-attention-engine)

**Last shipped change:** Built gcloud ADC + venv + gsc_pull.py demand-brief tool; tested end-to-end; scheduled task updated to pull GSC before Batch 3.

**Council relay discipline — CORRECTED MATRIX (ratified by Tommy 2026-05-11T02:14, Universal Shell amendment in flight):**
- `cross-poll` defaults `--auto-relay ON`. The orchestrator (Claude Code session) drives all brains directly. API/CLI is the PRIMARY path for the two non-browser brains; browser control is FOR THE TWO REMAINING BROWSER-ONLY BRAINS ONLY:
  - **DeepSeek (voter)** → API via `deepseek_api_v0_1/sixis/deepseek_client.py` (`call_deepseek`). Browser fallback at chat.deepseek.com (Expert/DeepThink mode) ONLY when the API client returns `ok=False` with `fallback=browser`.
  - **Gemini (judge + reviewer)** → CLI/API via `gemini-synthesis-judge-v0-1/` (and `gemini-cli-judge-wrapper-v0-1/`). No browser path needed.
  - **GPT (voter)** → ChatGPT desktop app via computer-use MCP. New chat created INSIDE the "SiXiS" project folder (per per-project chat-thread rule).
  - **Claude.ai (voter)** → claude.ai via Claude-in-Chrome MCP. New chat created INSIDE the SiXiS project folder.
- Tommy is NOT a packet-routing relay node. Pipeline: prompt DeepSeek first via API (longest reasoning), kick off GPT + Claude.ai in browser windows while DeepSeek streams, capture all three responses in any order they arrive.

**Ratification cadence (extended convergence rule, ratified 2026-05-07):**
- Genuine multi-brain convergence at any tier (1/2/3) = automatic ratification — orchestrator proceeds without explicit Tommy ask.
- "Doubt is the cross-poll trigger" — when orchestrator has uncertainty, fire a cross-poll, don't decide unilaterally and don't ask Tommy.
- Sovereign-only matters (red-line risks, irreversible data destruction, money movement, account creation) still always escalate.

**Discoveries fold into scope (rule established 2026-05-07):** anything surfaced during this drill that's adjacent and relevant folds INTO the project's scope by default — don't punt to followups unless folding shifts the tier.


Wizard IDs (use these in the CLI commands below — DO NOT change them):
- draft_id: f484c2e9-4bc0-48af-abe6-70eec20368bf
- cycle_id: 37245c60-914e-443b-bede-66a36fe09099

## Your job

Per FORCED_RULE_PO_01 (Conversational Discovery Drill), drill the user ONE QUESTION AT A TIME.

The internal checklist below is YOUR scaffolding — NOT an interrogation script for the user. Pick the most upstream open question, ask it, listen, let the answer pivot/collapse/deepen the queue.

Internal checklist:
- intent (the frozen Z1 statement of what they want to build)
- scope (in scope vs explicitly out of scope)
- consumers (who/what uses this)
- constraints (technical, time, resources, external commitments)
- success criteria (how they know it shipped well)
- failure modes (what could break, how they'd detect)
- reversibility / tier classification (Tier 1/2/3)
- required artifacts / deliverables
- known unknowns

Do NOT batch questions. Do NOT pre-load 5+ at once. Per FORCED_RULE_PO_01 this is a hard rule from the project's own Cycle Zero — the rule was generated as a candidate Universal Shell amendment after the orchestrator violated it during the project's design phase.

## Substrate logging

After EACH user answer, log it to substrate:
```
cd ~/Documents/Claude/Projects/SixiS/projects/dashboard_v0_1 && python3 scripts/sixis.py log-discovery-answer --draft-id f484c2e9-4bc0-48af-abe6-70eec20368bf --cycle-id 37245c60-914e-443b-bede-66a36fe09099 --question "<the question you asked>" --answer "<their answer>"
```

When you reach pollable sufficiency (the council can disagree productively without first asking what the project is), summarize the sharpened intent and ask the user to confirm. Then log the synthesis:
```
cd ~/Documents/Claude/Projects/SixiS/projects/dashboard_v0_1 && python3 scripts/sixis.py log-discovery-synthesis --draft-id f484c2e9-4bc0-48af-abe6-70eec20368bf --cycle-id 37245c60-914e-443b-bede-66a36fe09099 --synthesis "<your sharpened-intent summary>"
```

After the user confirms the synthesis, mark discovery complete:
```
cd ~/Documents/Claude/Projects/SixiS/projects/dashboard_v0_1 && python3 scripts/sixis.py log-discovery-complete --draft-id f484c2e9-4bc0-48af-abe6-70eec20368bf --cycle-id 37245c60-914e-443b-bede-66a36fe09099
```

Then propose firing the council cross-poll. The standard SiXiS Protocol cross-poll → 2-round mandatory ratification (per amendment 926869fb) → Layer B drafting cycle applies from there.

## Error handling

If anything crashes, the user reports a wizard issue, or you encounter a malformed/unworkable state mid-drill, log a breakdown:
```
cd ~/Documents/Claude/Projects/SixiS/projects/dashboard_v0_1 && python3 scripts/sixis.py report-breakdown --draft-id f484c2e9-4bc0-48af-abe6-70eec20368bf --cycle-id 37245c60-914e-443b-bede-66a36fe09099 --source claude --description "<what went wrong>"
```

The user can also report breakdowns from the dashboard "Report breakdown" button (pre-fills draft_id automatically).
Paste into any fresh Claude Code chat — Claude runs the discovery drill on the brain dump.
OPTION B — Slash-command shortcut (Tommy's setup only — needs ~/.claude/commands/sixis-pickup.md installed)
/sixis-pickup f484c2e9-4bc0-48af-abe6-70eec20368bf
Brain dump (raw)
Original input from /new-project. Stored as raw evidence per FORCED_RULE_PO_02; never edited in place.
For Valuebet.app, I need to develop a rule set for:
1) What type of parlays would constitute correlated parlays
2) Mathematical  formulas to properly calculate odds for correlated parlays that will ensure the house still holds an edge (possibly be able to define the edge, such as a payout of 2.5x should be moved to 2.0x)
3) What types of correlated parlays should not be permitted (such as football parlaying 1st half over + full game over)

We want to start with football that will include Player Props
Event timeline (18)
Every event tagged with this draft_id, in chronological order.
project_draft_started system · 2026-06-29 18:09:43+00:00
You started a new project draft via /new-project (draft_id=f484c2e9-4bc0-48af-abe6-70eec20368bf).
draft_saved system · 2026-06-29 18:09:43+00:00
You saved the brain-dump for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "For Valuebet.app, I need to develop a rule set for: 1) What type of parlays would constitute correlated parlays 2) Mathematical formulas to properly calculate odds for correlated parlays that will …"
discovery_prompt_generated system · 2026-06-29 18:09:43+00:00
Generated the discovery drill prompt for draft f484c2e9-4bc0-48af-abe6-70eec20368bf using prompt_templates.discovery_drill v3.
ui_launch_event system · 2026-06-29 18:09:49+00:00
You clicked 'Copy prompt' on /new-project for draft f484c2e9-4bc0-48af-abe6-70eec20368bf — prompt taken to Claude Code (prompt_hash=02bc37db970e…).
discovery_answer_logged tommy · 2026-06-29 18:11:10+00:00
Q: "Is this deliverable a written rule set/specification document, or an actual work…" — A: "Tier 1 documentation — a written rule set / specification document, not a live pricing module."
discovery_answer_logged tommy · 2026-06-29 18:13:14+00:00
Q: "How does Valuebet price parlays today, and where do leg odds come from?" — A: "Currently uses standard parlay payout odds adjusted based on the vig (juice). Data source will be a sportsbook API that …"
discovery_answer_logged tommy · 2026-06-29 18:14:57+00:00
Q: "Will you have correlation/joint-outcome data, or only the sportsbook API's odds …" — A: "Odds + vig only. No joint/historical correlation data. Therefore the math must be a heuristic correlation-tax / tiered d…"
discovery_answer_logged tommy · 2026-06-29 18:16:40+00:00
Q: "Football market scope for v1: NFL only or NCAA too? And which player-prop market…" — A: "Both NFL and NCAA football. Full board: all game markets (spread, total, moneyline, team totals, 1H/2H/quarter lines) pl…"
discovery_answer_logged tommy · 2026-06-29 18:18:07+00:00
Q: "What house edge/hold are you targeting on correlated parlays — fixed number/floo…" — A: "Second option: council recommends a default and specs it as a configurable knob — a per-correlation-tier edge that scale…"
discovery_answer_logged tommy · 2026-06-29 18:20:37+00:00
Q: "Who consumes the doc, and is the per-parlay output a three-way verdict (allow as…" — A: "Correct. Consumer = internal engineer (and the user) implementing the parlay engine; not customer-facing copy. Per-parla…"
discovery_synthesis_logged claude · 2026-06-29 18:21:37+00:00
Claude synthesized the discovery drill intent for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "Z1: A Tier-1 specification document defining Valuebet.app's correlated-parlay rule set for football (NFL + NCAA), full board — game markets (spread, total, moneyline, team totals, 1H/2H/quarter lines)…"
wizard_step_completed claude · 2026-06-29 18:22:07+00:00
Claude marked the discovery drill complete for draft f484c2e9-4bc0-48af-abe6-70eec20368bf. Wizard advances from discovery to intent-freeze step.
brain_response_logged gpt · 2026-06-29 18:29:23+00:00
GPT Round 1 response for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "**[BRAIN: GPT] — Round-1 independent vote** VERDICT: Agree with the direction (taxonomy → reprice → prohibit). Key disagreement with an implicit assumption: the engine should NOT try to infer arbitra…"
brain_response_logged claude · 2026-06-29 18:35:20+00:00
CLAUDE Round 1 response for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "**[BRAIN: claude.ai] — Round-1 vote** VOTE: hybrid taxonomy + **marginals-aware multiplier** + **dual block trigger** (containment OR no-positive-hold). **Crux disagreement to log (highest priority)…"
brain_response_logged deepseek · 2026-06-29 18:38:35+00:00
DEEPSEEK Round 2 response for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "[BRAIN: deepseek] **Round 2 — Converged ratification on Valuebet correlated-parlay rule set** I accept the synthesis reached across all three brains. My Round-1 position (flat linear tier multiplier…"
brain_response_logged gpt · 2026-06-29 18:39:29+00:00
GPT Round 2 response for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "**[BRAIN: GPT] — Round-2 ratification** VERDICT: RATIFY WITH ONE NARROW DISSENT. Council has converged significantly. Adopts Claude's taxonomy refinement and most of the pricing architecture. Hard gu…"
brain_response_logged claude · 2026-06-29 18:41:01+00:00
CLAUDE Round 2 response for draft f484c2e9-4bc0-48af-abe6-70eec20368bf: "**[BRAIN: claude.ai] — Round-2 ratification vote** (1) CONVERGENCE — shared core for the judge: - Taxonomy: scope × mechanism × tier, flattened to ≤3–4 tiers. GPT's "structural dependence," DeepSeek'…"
breakdown claude · 2026-06-29 18:45:50+00:00
Gemini judge (reviewer+judge role) blocked: GCA OAuth token in ~/.gemini/oauth_creds.json expired ~2026-06-28 and did not auto-refresh. judge_cli.py audit returns empty Gemini response -> verdict=parse_error in ~1.2s (no API call). Earlier 'verdict=clear' was a stale replayed session about an unrelated dual-release poll (JW_05 replay served cached audit). Re…