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:
---
I want to build a comprehensive poker tournament tool so that i can run everything smoothly on a web-based platform that I will integrate into our current backoffice.
---
## 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: 1402
- 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:** 20to1 Tournament & Floor Ops LAYER C COMPLETE (minus Tommy-deferred member accounts/self-tag/player chip self-tracking). Shipped + prod-verified 2026-08-10: mig
**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: 393f646c-167f-46ca-98fc-b5e4ce610706
- 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 393f646c-167f-46ca-98fc-b5e4ce610706 --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 393f646c-167f-46ca-98fc-b5e4ce610706 --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 393f646c-167f-46ca-98fc-b5e4ce610706 --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 393f646c-167f-46ca-98fc-b5e4ce610706 --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)
Original input from /new-project. Stored as raw evidence per FORCED_RULE_PO_02; never edited in place.
I want to build a comprehensive poker tournament tool so that i can run everything smoothly on a web-based platform that I will integrate into our current backoffice.
Event timeline (36)
Every event tagged with this draft_id, in chronological order.
Generated the discovery drill prompt for draft 393f646c-167f-46ca-98fc-b5e4ce610706 using prompt_templates.discovery_drill v3.
draft_savedsystem · 2026-08-10 03:28:52+00:00
You saved the brain-dump for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "I want to build a comprehensive poker tournament tool so that i can run everything smoothly on a web-based platform that I will integrate into our current backoffice."
Q: "Initial brain dump expansion (unprompted)" — A: "Wants a web-based poker tournament tool integrated into current backoffice. Attached screenshot of PokerAtlas TableCapta…"
Q: "Is this a dealer-rotation/floor-ops system for the whole room, or specifically a…" — A: "Everything — whole room, tied to the 20to1 website. Also wants optional player self-tracking of chips and long-term trac…"
Q: "Whose number is the Account number — 20to1 site account or PokerAtlas member num…" — A: "1) Staff should be able to just enter a name and assign to a seat (no account required). 2) If a member creates an accou…"
Q: "Does the platform run the tournament itself (clock, blind levels/breaks, entries…" — A: "They're all ours to build — full tournament engine including clock, blinds, breaks, entries, payouts, and table balancin…"
Q: "Does this live inside the existing 20to1-staffing platform (same codebase/DB) wi…" — A: "Ties into the existing 20to1 platform. Certain account roles get access to a tournament admin section; the dealer part w…"
Q: "What hardware are the displays — tablet per table for dealers, wall TV for rotat…" — A: "There is a tablet at each table, so everything runs from a browser. TVs are mounted for the tournament clock and tournam…"
Q: "Is there a live date / first tournament deadline, and a day-one must-have core v…" — A: "We can build everything today — no phased deadline; full scope now."
Claude synthesized the discovery drill intent for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "20to1 Tournament & Floor Ops platform — built INTO the existing 20to1-staffing codebase/Supabase, full scope in one build, no phased deadline. INTENT: run the entire poker room's tournament operations…"
CLAUDE Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# Claude.ai voter — Round 1 response (captured from claude.ai "20 to 1" project chat, 2026-08-09)
(a) State model + clock
Hybrid, not pure event-sourcing. Append-only poker.event log is the record o…"
DEEPSEEK Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# DeepSeek voter — Round 1 response (captured from chat.deepseek.com Expert mode browser fallback, 2026-08-09; API relay returned ok=False)
Council recommendation — deep dive across (a)–(f)
(a) Tour…"
CLAUDE Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# Claude.ai voter — Round 2 ratification (2026-08-09)
RATIFY. The synthesis represents my position accurately, including where it overrode me. Four implementation notes read as already-in-scope (on r…"
DEEPSEEK Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# DeepSeek voter — Round 2 ratification (2026-08-09)
RATIFY.
The derived clock model preserves my non-negotiable (server as sole time authority) while the countdown-computation approach is a pragmat…"
DEEPSEEK Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# DeepSeek voter — ROADMAP POLL round 1 (captured from chat.deepseek.com, Expert mode, 2026-08-10)
UX enhancements, data capture, and automation are three legs of the same stool: better data enables …"
GPT Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# GPT voter — ROADMAP POLL round 1 (captured from chatgpt.com, "20 to 1 Poker Room" project, 2026-08-10)
Verdict: build the operating system around the tournament, not more isolated features. The nex…"
CLAUDE Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. The synthesis holds my positions, including the hard flags; the three-way merge of the #1 picks is the right read — same build seen from three sides. Five implementation notes (none objections…"
DEEPSEEK Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. The merged roadmap fully preserves my non-negotiables: the event spine + notification layer is my #1 priority, the TD autopilot retains permanent proposal gates for table breaks and player mov…"
GPT Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY — proceed with the seven-phase roadmap exactly as synthesized, with replay-safe notification delivery and send-time consent enforcement as Phase 1 acceptance criteria. (Consent must be evaluate…"
GPT Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# GPT — BOTTLENECK POLL (2026-08-10)
Bottom line: single worst real-night bottleneck = registration → payment/receipt → entry → seating handoff at the front desk, especially during the late-reg/re-ent…"
CLAUDE Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# claude.ai — BOTTLENECK POLL (2026-08-10)
Ranked by minutes lost × frequency × downstream contamination.
(1) REGISTRATION RUSH — single worst. 60-90 arrivals in 20 min; 45-90s serial hand-entry per p…"
CLAUDE Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. The three-mode contract is the durable artifact of this cycle — "agents never adjudicate rulings or count physical chips" draws the line in the right place. Four notes, no objections: (1) G1 a…"
GPT Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. (Confirmed the unanimous registration-rush verdict, the AUTO/PROPOSE/INSTRUCT contract as the standing rule, and the G1-G8 gap backlog turning bottleneck findings into concrete, bounded capabi…"
GPT Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# GPT — AGENT ENABLEMENT POLL (2026-08-10)
Premise correction: don't make agents "able to solve everything" — make them able to produce a CORRECT NEXT ACTION for almost everything. Four terminal state…"
CLAUDE Round 1 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "# claude.ai — AGENT ENABLEMENT POLL (2026-08-10)
Framing: agents can cover ~85% of issue volume — nearly all the tedium; the residue (rulings, member disputes, cash, face-to-face accountability) requi…"
CLAUDE Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. "The authority hierarchy is the strongest thing to come out of this cycle — 'LLM reasoning LAST' as an explicit ordinal means an agent with no retrieval hit has nowhere to fall except escalati…"
GPT Round 2 response for draft 393f646c-167f-46ca-98fc-b5e4ce610706: "RATIFY. No remaining P0/P1 objection; the synthesis closes the major architectural gaps and is consistent with prior ratifications. Hard system invariants confirmed: poker.issue becomes the operationa…"