Start a new SiXiS project

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

Draft 7a162587…

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 polish up SiXiS and prepare it for sharing:
1. I need to revise the homagepage content and delcaration. It needs to remove talking about Towmarx (such as wasted miles and $3 fee) and switch the content to talking about itself as the evolution because each project that uses it is a self-learning mechanism that helps it evolve. The content about how it's different and it's not like other AI because other AI are on life-support and depend on external funding is not true because Claude is profitable. So that statement and anything similar to that should be removed. The part about how other AI are trained on static data should be removed to. Basically, anything of comparison should just be removed. The overall message should be about how it is feeding itself through its own usage.

2. Clean up and remove anything in protocol health that is old and no longer valid or has been addressed

3. Clean up anything in Needs Your attention that is old, no longer valid, or has been addressed

4. Clean up anything in Pattern Recognition that is old, no longer valid, or has been addressed

5. Anything in cycles not related to the actual build of Sixis should be removed. If a project was involved in the building or shaping of Sixis, then hide the name of the project or terms with (Project Undisclosed). Example "Six SiXiS-meta bugs surfaced during the Sweats wizard run on...." should be "Six SiXiS-meta bugs surfaced during the (Project Undisclosed) wizard run on.."

6. Organize the github so that only sixis stuff is public - anything relating to quangholio's projects should be moved to a quangholio github

7. Make sure no keys, api codes, or any secrets is stored in public github

8. Create a function for users to create their own account for their own personal project. Login is done via email and magic link. Need to create an email template instead of sending a raw email. Tommy (admin) is the first user and the email attached to it is tommy,sixis@gmail.com. I must be logged in to Start a Project for the Sixis Dashboard. Quangholio is the first private first user and the email attached to it should be quangholio@gmail.com

By the time this project is completed, the following should be capable:
1. Each user must log in and have their own project dashboard - their projects must not be listed on the public sixis dashboard
2. I must be able to share the sixis github and no private information must be on it so that anyone can take the codes and start their own protocol platform like sixis.
3. There's SiXiS Dashboard and Login link at the top of the homepage
---

## 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: 7a162587-7b89-4258-a32a-740a005dfd18
- 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 7a162587-7b89-4258-a32a-740a005dfd18 --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 7a162587-7b89-4258-a32a-740a005dfd18 --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 7a162587-7b89-4258-a32a-740a005dfd18 --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 7a162587-7b89-4258-a32a-740a005dfd18 --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 7a162587-7b89-4258-a32a-740a005dfd18
Brain dump (raw)
Original input from /new-project. Stored as raw evidence per FORCED_RULE_PO_02; never edited in place.
I want to polish up SiXiS and prepare it for sharing:
1. I need to revise the homagepage content and delcaration. It needs to remove talking about Towmarx (such as wasted miles and $3 fee) and switch the content to talking about itself as the evolution because each project that uses it is a self-learning mechanism that helps it evolve. The content about how it's different and it's not like other AI because other AI are on life-support and depend on external funding is not true because Claude is profitable. So that statement and anything similar to that should be removed. The part about how other AI are trained on static data should be removed to. Basically, anything of comparison should just be removed. The overall message should be about how it is feeding itself through its own usage.

2. Clean up and remove anything in protocol health that is old and no longer valid or has been addressed

3. Clean up anything in Needs Your attention that is old, no longer valid, or has been addressed

4. Clean up anything in Pattern Recognition that is old, no longer valid, or has been addressed

5. Anything in cycles not related to the actual build of Sixis should be removed. If a project was involved in the building or shaping of Sixis, then hide the name of the project or terms with (Project Undisclosed). Example "Six SiXiS-meta bugs surfaced during the Sweats wizard run on...." should be "Six SiXiS-meta bugs surfaced during the (Project Undisclosed) wizard run on.."

6. Organize the github so that only sixis stuff is public - anything relating to quangholio's projects should be moved to a quangholio github

7. Make sure no keys, api codes, or any secrets is stored in public github

8. Create a function for users to create their own account for their own personal project. Login is done via email and magic link. Need to create an email template instead of sending a raw email. Tommy (admin) is the first user and the email attached to it is tommy,sixis@gmail.com. I must be logged in to Start a Project for the Sixis Dashboard. Quangholio is the first private first user and the email attached to it should be quangholio@gmail.com

By the time this project is completed, the following should be capable:
1. Each user must log in and have their own project dashboard - their projects must not be listed on the public sixis dashboard
2. I must be able to share the sixis github and no private information must be on it so that anyone can take the codes and start their own protocol platform like sixis.
3. There's SiXiS Dashboard and Login link at the top of the homepage
Event timeline (18)
Every event tagged with this draft_id, in chronological order.
project_draft_started system · 2026-05-21 15:54:56+00:00
You started a new project draft via /new-project (draft_id=7a162587-7b89-4258-a32a-740a005dfd18).
discovery_prompt_generated system · 2026-05-21 15:54:56+00:00
Generated the discovery drill prompt for draft 7a162587-7b89-4258-a32a-740a005dfd18 using prompt_templates.discovery_drill v3.
draft_saved system · 2026-05-21 15:54:56+00:00
You saved the brain-dump for draft 7a162587-7b89-4258-a32a-740a005dfd18: "I want to polish up SiXiS and prepare it for sharing: 1. I need to revise the homagepage content and delcaration. It needs to remove talking about Towmarx (such as wasted miles and $3 fee) and switch…"
ui_launch_event system · 2026-05-21 15:55:13+00:00
You clicked 'Copy prompt' on /new-project for draft 7a162587-7b89-4258-a32a-740a005dfd18 — prompt taken to Claude Code (prompt_hash=7ae9d36c1bef…).
ui_launch_event system · 2026-05-21 16:15:23+00:00
You clicked 'Copy prompt' on /new-project for draft 7a162587-7b89-4258-a32a-740a005dfd18 — prompt taken to Claude Code (prompt_hash=7ae9d36c1bef…).
discovery_answer_logged tommy · 2026-05-21 16:21:53+00:00
Q: "End state for 'sharing': open-source template, hosted multi-tenant product, or b…" — A: "Both — open-source the code AND run sixis.ai as a live multi-tenant service. Auth/per-user dashboards ship both as a fea…"
discovery_answer_logged tommy · 2026-05-21 16:25:20+00:00
Q: "End state for 'sharing': open-source template, hosted multi-tenant product, or b…" — A: "Both — open-source the code AND run sixis.ai as a live multi-tenant service. Auth/per-user dashboards ship both as a fea…"
discovery_answer_logged tommy · 2026-05-21 16:27:56+00:00
Q: "Items 2-5 say 'remove/clean up' stale items, but substrate is append-only. Which…" — A: "Resolve/supersede — append new 'resolved/obsolete' events so stale items drop off the active dashboard view, but full hi…"
breakdown claude · 2026-05-21 16:39:24+00:00
Onboarding cross-poll relay hit four tooling breakdowns: (1) substrate writes failed during outage — router DNS resolver was dead, fixed by setting Wi-Fi DNS to 8.8.8.8/1.1.1.1; (2) 'cross-poll' CLI path writes SQLite-first and requires SIXIS_OPERATOR (events.owner_user_id trigger) — surfaced as a bare FOREIGN KEY error, not the helpful trigger message, unti…
discovery_answer_logged tommy · 2026-05-21 16:50:40+00:00
Q: "After multi-user lands, what does the public dashboard.sixis.ai become — curated…" — A: "Curated public showcase. The public dashboard shows Tommy's own project(s) ONLY, because Tommy's projects are exclusivel…"
discovery_answer_logged tommy · 2026-05-21 16:53:07+00:00
Q: "Is the public-showcase filter owner-based (everything owned by tommy) or topic-b…" — A: "Topic-based, confirmed. The public dashboard shows ONLY activity about building/shaping SiXiS itself, regardless of owne…"
discovery_answer_logged tommy · 2026-05-21 17:07:14+00:00
Q: "Target GitHub end state: which org keeps what, and do tommy's non-SiXiS product …" — A: "sixisstudio keeps ONLY the public SiXiS template repo (SiXiS = public). Everything else — quangholio's projects AND tomm…"
discovery_answer_logged tommy · 2026-05-21 17:11:32+00:00
Q: "Does quangholio already have his own GitHub account/org?" — A: "No. Quangholio has no separate GitHub account; his projects currently live under the existing sixis/sixisstudio account …"
discovery_answer_logged tommy · 2026-05-21 17:17:13+00:00
Q: "Item 6 path: full separation to a quangholio-owned account now, or interim priva…" — A: "NEITHER — refined: there is NO separate quangholio GitHub. All users (including quangholio) use the single SiXiS GitHub;…"
discovery_answer_logged tommy · 2026-05-21 17:19:26+00:00
Q: "Are user projects substrate-only (GitHub holds just the public platform code) or…" — A: "Each USER has their own private repo under the single SiXiS GitHub org. Model: one PUBLIC repo = the forkable SiXiS temp…"
discovery_answer_logged tommy · 2026-05-21 17:22:22+00:00
Q: "How should the formal cross-poll be framed, and what are the true goals the arch…" — A: "Frame the formal cross-poll as: 'Do these architectural decisions correctly achieve the goals?' (decision-validation, no…"
discovery_synthesis_logged claude · 2026-05-21 17:25:02+00:00
Claude synthesized the discovery drill intent for draft 7a162587-7b89-4258-a32a-740a005dfd18: "PROJECT: Polish SiXiS and split it for DUAL RELEASE serving two audiences against three goals. GOAL 1 (forkability): a technical user can clone the public repo and stand up their own SiXiS instance. G…"
wizard_step_completed claude · 2026-05-21 17:25:24+00:00
Claude marked the discovery drill complete for draft 7a162587-7b89-4258-a32a-740a005dfd18. Wizard advances from discovery to intent-freeze step.