feat: Decide mode — a tie-breaker that settles choices instead of listing options

Brian's bottleneck is committing, not generating options, so a pros/cons dump makes
it worse. Decide mode's card: get the real decision crisp, weigh it against what HE
values + past regrets (pull running_stats/recent_sessions for poker/money calls),
MAKE the call with the one or two reasons that tip it, pressure-test it once, and
stand behind it — no "it's up to you." Read-only lookups, no live logging.

Sixth mode (Talk/Poker/Build/Explore/Study/Decide); added to UI selectors, labels,
badge-cycle. Suite 96 green, ruff clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-24 16:21:03 +00:00
parent 03aceec6fa
commit 17ab95dc98
3 changed files with 33 additions and 4 deletions
+5 -2
View File
@@ -30,6 +30,7 @@
<option value="build">🛠 Build</option>
<option value="explore">🔭 Explore</option>
<option value="study">📐 Study</option>
<option value="decide">⚖️ Decide</option>
</select>
</div>
@@ -73,6 +74,7 @@
<option value="build">🛠 Build</option>
<option value="explore">🔭 Explore</option>
<option value="study">📐 Study</option>
<option value="decide">⚖️ Decide</option>
</select>
<button id="settingsBtn" style="margin-left: auto;">⚙ Settings</button>
<div id="theme-toggle">
@@ -613,8 +615,9 @@
// ----- Conversation modes (Talk / Poker / Build / Explore / Study) -----
const MODE_LABELS = { conversation: "💬 Talk", poker_cash: "♠ Poker",
build: "🛠 Build", explore: "🔭 Explore", study: "📐 Study" };
const MODE_ORDER = ["conversation", "poker_cash", "build", "explore", "study"];
build: "🛠 Build", explore: "🔭 Explore", study: "📐 Study",
decide: "⚖️ Decide" };
const MODE_ORDER = ["conversation", "poker_cash", "build", "explore", "study", "decide"];
// Reflect a mode value across the controls + header accent (no network call).
function applyMode(value) {