Files
roast-room/app/scripts/smoke.mjs
T
Nate HerkandClaude Opus 5.5 8891669056 Rebrand to Roast Room; add waiting card, guide, and verdict PDF
- /founder-council is now /roast-room (skill folder, README, CLAUDE.md, package name)
- Room shows a waiting card between rounds: round, elapsed time, what each
  advisor is weighing, and a nudge to check Claude Code after 4 minutes
- Idle side panel is a getting-started guide: steps, what to put in your
  question, and a copyable example
- Download PDF on the verdict and in Past sessions: a two-page branded report
  built in the browser (vendored jsPDF, Montserrat subset), nothing to install
- .claude/settings.json pre-allows writes to sessions/ and the quote check,
  so a council runs without a stream of permission prompts
- Quote check falls back to searching the brains when Python is missing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 19:56:37 -05:00

29 lines
1.2 KiB
JavaScript

// Smoke test: one Chair setup call and one seat card, no full council.
import { SEATS, systemFor, parseCard, checkQuotes } from "../lib/seats.mjs";
import * as ai from "../lib/anthropic.mjs";
import { MODELS } from "../lib/council.mjs";
const sys = systemFor("hormozi");
console.log("hormozi system chars:", sys[0].text.length);
const t0 = Date.now();
const card = await ai.stream({
model: MODELS.seat, system: sys, maxTokens: 900,
messages: [{ role: "user", content: `ROAST ROOM COUNCIL, ROUND 1 OF 3: OPENING POSITION
You hold the HORMOZI seat. THE BRIEF: A $30k/month coaching business wants to raise prices from $2,000 to $3,500. Options: (A) raise for everyone now, (B) raise for new clients only, (C) keep $2,000.
Answer under 200 words in this shape:
SEAT: HORMOZI
STANCE: ...
OPTION SCORES: A n/10 · B n/10 · C n/10
PILLAR SCORE: n/10
CONFIDENCE: n/5
RUIN RISK: none | possible | likely
DOOR: one-way | two-way
THE CALL: one sentence.
WHY: 1. with a framework and source id, e.g. (Value Equation, S014)` }],
});
console.log(`seat card in ${((Date.now() - t0) / 1000).toFixed(1)}s\n`, card);
console.log(parseCard(card, ["A", "B", "C"]));
console.log(checkQuotes("hormozi", card));
console.log(ai.usage);