<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=ThinkTank%2FBIBLE</id>
	<title>ThinkTank/BIBLE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=ThinkTank%2FBIBLE"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=ThinkTank/BIBLE&amp;action=history"/>
	<updated>2026-12-05T16:31:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=ThinkTank/BIBLE&amp;diff=881&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=ThinkTank/BIBLE&amp;diff=881&amp;oldid=prev"/>
		<updated>2026-11-29T20:34:10Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Think Tank — Project Bible =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Single source of truth for what Think Tank IS, is NOT, and the rules that keep it coherent. README.md says how to build/run; this says how to think about the system.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 1. The one sentence &amp;lt;span id=&amp;quot;TT-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Think Tank convenes the world&amp;#039;s frontier LLMs as a panel of advisors that debate, refine, and vote on a topic in a single browser-native roundtable — every model call routed through MindAttic.Legion, no vendor lock-in.&lt;br /&gt;
&lt;br /&gt;
== 2. The product promise &amp;lt;span id=&amp;quot;TT-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Multi-provider out of the box.&amp;lt;/strong&amp;gt; Seats and voting use Legion&amp;#039;s default first-party provider set (&amp;lt;code&amp;gt;LlmProviderCatalog.DefaultIds&amp;lt;/code&amp;gt;: Claude, ChatGPT/OpenAI, Gemini, DeepSeek), one UI, zero glue code. Legion&amp;#039;s catalog knows more providers, but Think Tank does not surface them. Think Tank never holds an HTTP endpoint — dispatch leaves through TT-LAW-1.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Personalities, not prompts.&amp;lt;/strong&amp;gt; Each participant is a markdown persona (optionally backed by a Legion library persona with a psychometric profile), assignable per seat, AI-generatable.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Vote-driven decisions.&amp;lt;/strong&amp;gt; A &amp;lt;code&amp;gt;Call Vote&amp;lt;/code&amp;gt; breaks circular arguments; participants can self-call a vote mid-response via &amp;lt;code&amp;gt;[REQUEST_VOTE: question]&amp;lt;/code&amp;gt;. Voting runs through Legion&amp;#039;s &amp;lt;code&amp;gt;LLMVotingService&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Cloud-credential ready.&amp;lt;/strong&amp;gt; Keys can live in Azure App Service Application Settings / Key Vault and never touch disk (see TT-LAW-2).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Browser-native.&amp;lt;/strong&amp;gt; ASP.NET Core Blazor Server on .NET 10, SignalR transport. No installer, no native binaries, no telemetry. Run multiple debates in parallel tabs.&lt;br /&gt;
&lt;br /&gt;
== 3. What it is NOT &amp;lt;span id=&amp;quot;TT-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a single-model chat client.&amp;lt;/strong&amp;gt; The unit of work is a &amp;lt;em&amp;gt;panel&amp;lt;/em&amp;gt;, not a 1:1 conversation.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a provider SDK or HTTP client.&amp;lt;/strong&amp;gt; All transport (URLs, auth headers, retry, timeout) lives in MindAttic.Legion&amp;#039;s &amp;lt;code&amp;gt;LlmProviderCatalog&amp;lt;/code&amp;gt;; Think Tank assembles prompts + history only.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a credential store.&amp;lt;/strong&amp;gt; Cloud-resolved keys live in a runtime-only side map and are never written back to &amp;lt;code&amp;gt;Settings.json&amp;lt;/code&amp;gt; or the shared &amp;lt;code&amp;gt;%APPDATA%\MindAttic\LLM\providers.json&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a multi-user/auth product (yet).&amp;lt;/strong&amp;gt; It is single-host shared global state; there are no accounts. MindAttic.Authentication ([HOUSE-LAW-7]) is not adopted.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT a desktop/native app.&amp;lt;/strong&amp;gt; There is no MAUI shell, installer, or native binary; the only host is the Blazor Server web app (&amp;lt;code&amp;gt;ThinkTank.Blazor&amp;lt;/code&amp;gt;), so it runs locally, on a LAN, or on Azure.&lt;br /&gt;
* &amp;lt;strong&amp;gt;NOT an adversarial &amp;quot;arena&amp;quot;.&amp;lt;/strong&amp;gt; The framing is a roundtable of advisors converging on a decision; the product is always called &amp;quot;Think Tank&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== 4. Architecture canon &amp;lt;span id=&amp;quot;TT-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;+--------------------------------------------------------------+&lt;br /&gt;
&amp;amp;#124;                         Browser                              &amp;amp;#124;&lt;br /&gt;
&amp;amp;#124;   Blazor Server components (Home / Chat / Settings / ...)    &amp;amp;#124;&lt;br /&gt;
+------------------------------&amp;amp;#124;-------------------------------+&lt;br /&gt;
                               &amp;amp;#124; SignalR (interactive server)&lt;br /&gt;
+------------------------------v-------------------------------+&lt;br /&gt;
&amp;amp;#124;                ThinkTank.Blazor (ASP.NET Core host)          &amp;amp;#124;&lt;br /&gt;
&amp;amp;#124;   Program.cs wires DI: Legion, Vault, services, voting       &amp;amp;#124;&lt;br /&gt;
+------------------------------&amp;amp;#124;-------------------------------+&lt;br /&gt;
        +----------------------+----------------------+&lt;br /&gt;
        v                      v                      v&lt;br /&gt;
+---------------+    +-------------------+    +----------------+&lt;br /&gt;
&amp;amp;#124; ThinkTank.    &amp;amp;#124;    &amp;amp;#124; ThinkTank.Core    &amp;amp;#124;    &amp;amp;#124; ThinkTank.     &amp;amp;#124;&lt;br /&gt;
&amp;amp;#124;   Shared      &amp;amp;#124;    &amp;amp;#124;  (services +      &amp;amp;#124;    &amp;amp;#124;   Blazor       &amp;amp;#124;&lt;br /&gt;
&amp;amp;#124; (Razor lib +  &amp;amp;#124;    &amp;amp;#124;   models)         &amp;amp;#124;    &amp;amp;#124;   (host)       &amp;amp;#124;&lt;br /&gt;
&amp;amp;#124;   wwwroot)    &amp;amp;#124;    +---------+---------+    +----------------+&lt;br /&gt;
+---------------+              &amp;amp;#124;&lt;br /&gt;
                               v&lt;br /&gt;
                  +--------------------------+&lt;br /&gt;
                  &amp;amp;#124;    MindAttic.Legion      &amp;amp;#124;&lt;br /&gt;
                  &amp;amp;#124;  LegionClient +          &amp;amp;#124;&lt;br /&gt;
                  &amp;amp;#124;  LLMVotingService +      &amp;amp;#124;&lt;br /&gt;
                  &amp;amp;#124;  LlmProviderCatalog +    &amp;amp;#124;&lt;br /&gt;
                  &amp;amp;#124;  PersonaStore            &amp;amp;#124;&lt;br /&gt;
                  +-------------+------------+&lt;br /&gt;
                                &amp;amp;#124;&lt;br /&gt;
            +-------------+-----+-------+-------------+&lt;br /&gt;
            v             v             v             v&lt;br /&gt;
         Claude        ChatGPT       Gemini       DeepSeek&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All services are registered as &amp;lt;strong&amp;gt;singletons&amp;lt;/strong&amp;gt; in &amp;lt;code&amp;gt;ThinkTank.Blazor/Program.cs&amp;lt;/code&amp;gt; for shared global state across user circuits ([HOUSE-LAW-6] — one engine, one DI graph).&lt;br /&gt;
&lt;br /&gt;
=== 4.1 Projects &amp;lt;span id=&amp;quot;TT-4.1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Project&lt;br /&gt;
! SDK / target&lt;br /&gt;
! Role&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ThinkTank.Core&amp;lt;/code&amp;gt;&lt;br /&gt;
| classlib, net10.0&lt;br /&gt;
| Services + models; references MindAttic.Legion + MindAttic.Vault. No UI.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ThinkTank.Shared&amp;lt;/code&amp;gt;&lt;br /&gt;
| Razor SDK, net10.0&lt;br /&gt;
| Razor component library + &amp;lt;code&amp;gt;wwwroot&amp;lt;/code&amp;gt; (CSS, 18 themes, theme.js, vendored Bootstrap).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ThinkTank.Blazor&amp;lt;/code&amp;gt;&lt;br /&gt;
| Web SDK, net10.0&lt;br /&gt;
| ASP.NET Core host. &amp;lt;code&amp;gt;Program.cs&amp;lt;/code&amp;gt; is the single composition root.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ThinkTank.UnitTests&amp;lt;/code&amp;gt;&lt;br /&gt;
| NUnit + bUnit, net10.0&lt;br /&gt;
| Service, model, component, security, and psychometric tests.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== 4.2 Domain model — the NOUNS &amp;lt;span id=&amp;quot;TT-4.2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Defined in &amp;lt;code&amp;gt;ThinkTank.Core/Models/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ParticipantTemplate&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ChatModels.cs&amp;lt;/code&amp;gt;) — reusable seat definition: &amp;lt;code&amp;gt;ProviderId&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;DisplayName&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PersonalityMarkdown&amp;lt;/code&amp;gt;, optional &amp;lt;code&amp;gt;AuthOverrideJson&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;IsDefault&amp;lt;/code&amp;gt;, optional &amp;lt;code&amp;gt;PersonaId&amp;lt;/code&amp;gt; (Legion &amp;lt;code&amp;gt;Persona.Id&amp;lt;/code&amp;gt; for psychometric lookup).&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ChatParticipant&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ChatModels.cs&amp;lt;/code&amp;gt;) — a template instantiated into one conversation with a unique &amp;lt;code&amp;gt;ParticipantId&amp;lt;/code&amp;gt;; exposes &amp;lt;code&amp;gt;EffectivePersonaId&amp;lt;/code&amp;gt; (explicit &amp;lt;code&amp;gt;PersonaId&amp;lt;/code&amp;gt;, else the &amp;lt;code&amp;gt;legion-{id}&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;TemplateId&amp;lt;/code&amp;gt; convention).&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ChatConversation&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ChatModels.cs&amp;lt;/code&amp;gt;) — one tab: &amp;lt;code&amp;gt;ChatId&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Title&amp;lt;/code&amp;gt;, observable &amp;lt;code&amp;gt;Participants&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Topic&amp;lt;/code&amp;gt;, per-conversation &amp;lt;code&amp;gt;MaxTokens&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;MaxRounds&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;ResponseLength&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Messages&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;StatusEvents&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Diagnostics&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;SharedTurn&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;ConversationMessage&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;LlmModel&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;LlmModels.cs&amp;lt;/code&amp;gt;) — the turn log a participant sees, a rendered message, and a catalog model entry.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ProviderAuthConfig&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ProviderAuthConfig.cs&amp;lt;/code&amp;gt;) — &amp;lt;code&amp;gt;(ProviderId, Json)&amp;lt;/code&amp;gt; auth blob.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Persistence DTOs&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;PersistenceModels.cs&amp;lt;/code&amp;gt;) — &amp;lt;code&amp;gt;PersistedConversation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PersistedParticipant&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PersistedMessage&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PersistedTurn&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PersistedStatusEvent&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ChatLogEntry&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ChatLogModels.cs&amp;lt;/code&amp;gt;), &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;AppearanceMode&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;AppearanceMode.cs&amp;lt;/code&amp;gt;), &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ResponseLengthPreset&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;ResponseLengthPreset.cs&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== 4.3 Key services — the VERBS &amp;lt;span id=&amp;quot;TT-4.3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Defined in &amp;lt;code&amp;gt;ThinkTank.Core/Services/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ThinkTankService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — orchestration engine. Builds per-participant history, applies the personality markdown as the system prompt, trims to &amp;lt;code&amp;gt;MaxContextTurns&amp;lt;/code&amp;gt;, sanitizes self-reference prefixes, emits redacted &amp;lt;code&amp;gt;Diagnostics&amp;lt;/code&amp;gt;. Every model call goes via &amp;lt;code&amp;gt;LegionClient&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;VotingService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — maps &amp;lt;code&amp;gt;ChatParticipant[]&amp;lt;/code&amp;gt; → Legion &amp;lt;code&amp;gt;VoterProfile[]&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;MapToVoterProfiles&amp;lt;/code&amp;gt;), delegates to &amp;lt;code&amp;gt;LlmVotingService.VoteWithProfilesAsync&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;SettingsService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; + &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;SettingsServiceVaultOverlay&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — persistence to &amp;lt;code&amp;gt;%LOCALAPPDATA%\MindAttic\ThinkTank\Settings.json&amp;lt;/code&amp;gt; plus the Vault runtime-overlay credential resolution (&amp;lt;code&amp;gt;GetKeyForProvider&amp;lt;/code&amp;gt; precedence).&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;PsychometricProfileService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; + &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;PsychometricNarrator&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — resolve a participant&amp;#039;s Legion persona profile and render it as a behavioral brief (OCEAN/HEXACO/MBTI/Enneagram/DISC) appended to the system prompt.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;AppearanceService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — 18-theme + control-height/gutter/border-radius state, applied via JS interop, persisted via &amp;lt;code&amp;gt;SettingsService&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ChatConversationsService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — tab lifecycle over &amp;lt;code&amp;gt;ObservableCollection&amp;amp;lt;ChatConversation&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;ChatLogService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — in-memory event log with a &amp;lt;code&amp;gt;Changed&amp;lt;/code&amp;gt; event.&lt;br /&gt;
* &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;HumanNameService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; / &amp;lt;strong&amp;gt;&amp;lt;code&amp;gt;NameGeneratorService&amp;lt;/code&amp;gt;&amp;lt;/strong&amp;gt; — random + AI-generated participant names.&lt;br /&gt;
&lt;br /&gt;
== 5. The Laws &amp;lt;span id=&amp;quot;TT-5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Think Tank &amp;lt;strong&amp;gt;inherits all org-wide laws&amp;lt;/strong&amp;gt; from &amp;lt;code&amp;gt;../MindAttic.HouseRules.md&amp;lt;/code&amp;gt; by reference — do not restate them here. Most load-bearing for this repo: &amp;lt;code&amp;gt;[HOUSE-LAW-3]&amp;lt;/code&amp;gt; (Vault credentials), &amp;lt;code&amp;gt;[HOUSE-LAW-4]&amp;lt;/code&amp;gt; (Legion provider-agnostic), &amp;lt;code&amp;gt;[HOUSE-LAW-6]&amp;lt;/code&amp;gt; (one DI graph), &amp;lt;code&amp;gt;[HOUSE-LAW-8]&amp;lt;/code&amp;gt; (verified-done). Project-specific laws below.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-1 — Every provider call leaves through Legion ===&lt;br /&gt;
&lt;br /&gt;
No code path in Think Tank holds a provider HTTP endpoint, SDK, or auth header. All dispatch goes through &amp;lt;code&amp;gt;MindAttic.Legion.LegionClient&amp;lt;/code&amp;gt;; the provider catalog, retry, and transport are Legion&amp;#039;s. This is the project-level realization of &amp;lt;code&amp;gt;[HOUSE-LAW-4]&amp;lt;/code&amp;gt;. &amp;lt;em&amp;gt;(Guarded by &amp;lt;code&amp;gt;CallProvider_UnknownProvider_ThrowsArgumentException&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GenerateFirstName_RoutesThroughLegion_NotDirectly&amp;lt;/code&amp;gt;.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-2 — Cloud keys are runtime-only and never persisted ===&lt;br /&gt;
&lt;br /&gt;
A resolved Vault/cloud &amp;lt;code&amp;gt;apiKey&amp;lt;/code&amp;gt; lives in the runtime side map &amp;lt;code&amp;gt;RuntimeApiKeyOverrides&amp;lt;/code&amp;gt; and is &amp;lt;strong&amp;gt;never&amp;lt;/strong&amp;gt; written to &amp;lt;code&amp;gt;Settings.json&amp;lt;/code&amp;gt; or the shared &amp;lt;code&amp;gt;%APPDATA%\MindAttic\LLM\providers.json&amp;lt;/code&amp;gt;. The disk projection may be entirely empty in a cloud deployment. Realizes &amp;lt;code&amp;gt;[HOUSE-LAW-3]&amp;lt;/code&amp;gt;. &amp;lt;em&amp;gt;(Guarded by &amp;lt;code&amp;gt;Save_AfterOverlay_DoesNotPersistRuntimeKey&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Construction_DoesNotWriteCredentialsToSharedStore&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;SetAuthJson_StripsApiKey_PreservesModelAndMaxTokens&amp;lt;/code&amp;gt;.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-3 — Credential resolution has a fixed precedence ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GetKeyForProvider&amp;lt;/code&amp;gt; resolves in order: (1) explicit per-call override (e.g. participant &amp;lt;code&amp;gt;AuthOverrideJson&amp;lt;/code&amp;gt;), (2) non-empty on-disk &amp;lt;code&amp;gt;apiKey&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;Settings.json&amp;lt;/code&amp;gt;, (3) the Vault/cloud runtime override. A higher tier always wins. &amp;lt;em&amp;gt;(Guarded by &amp;lt;code&amp;gt;GetKeyForProvider_ExplicitOverride_WinsOverEverything&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;GetKeyForProvider_*&amp;lt;/code&amp;gt; family.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-4 — A vote is a synthetic shared turn, not a side channel ===&lt;br /&gt;
&lt;br /&gt;
A vote result is injected back into the conversation as one &amp;lt;code&amp;gt;SharedTurn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;[VOTE] Question: … / Decision: … / Summary: …&amp;lt;/code&amp;gt;) so subsequent participants see the decision identically to any other turn. Auto-votes are triggered by the &amp;lt;code&amp;gt;[REQUEST_VOTE: question]&amp;lt;/code&amp;gt; marker, which is stripped from the visible response. &amp;lt;em&amp;gt;(Guarded by the &amp;lt;code&amp;gt;VoteMarkerTests&amp;lt;/code&amp;gt; family and &amp;lt;code&amp;gt;MapToVoterProfiles_*&amp;lt;/code&amp;gt;.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-5&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-5 — Persistence must fully reconstruct a conversation ===&lt;br /&gt;
&lt;br /&gt;
Everything needed to recreate a conversation after restart is persisted: tabs/participants in &amp;lt;code&amp;gt;Settings.json&amp;lt;/code&amp;gt;, the append-only turn log in &amp;lt;code&amp;gt;Conversations/&amp;amp;lt;chatId&amp;gt;/chat.jsonl&amp;lt;/code&amp;gt; (a &amp;lt;code&amp;gt;chat.json&amp;lt;/code&amp;gt; array file is converted to &amp;lt;code&amp;gt;chat.jsonl&amp;lt;/code&amp;gt; on first read or append), and per-participant perspective markdown. Loading degrades gracefully on missing files/fields. &amp;lt;em&amp;gt;(Guarded by the &amp;lt;code&amp;gt;LoadTurnsAsync_*&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ChatStorage&amp;lt;/code&amp;gt; families.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span id=&amp;quot;TT-LAW-6&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; TT-LAW-6 — Diagnostics and committed files are secret-free ===&lt;br /&gt;
&lt;br /&gt;
API responses surfaced in the Diagnostics panel are redacted, and no real-looking provider key is ever committed to the repo. Provider auth lives in &amp;lt;code&amp;gt;Settings.json&amp;lt;/code&amp;gt; under &amp;lt;code&amp;gt;%LOCALAPPDATA%&amp;lt;/code&amp;gt; (outside the repo). &amp;lt;em&amp;gt;(Enforced by &amp;lt;code&amp;gt;ProviderAuthConfigs_ShouldNotContainRealLookingKeys_InRepoFiles&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;ThinkTank.UnitTests/Security/NoSecretsCommittedTests.cs&amp;lt;/code&amp;gt;, which scans every git-tracked file for full-shape Anthropic, OpenAI, Google, GitHub, AWS and Slack keys and private-key blocks; &amp;lt;code&amp;gt;KeyPatterns_DetectRealShapes_AndIgnoreOrdinaryText&amp;lt;/code&amp;gt; proves the patterns fire.)&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 6. Verified state &amp;lt;span id=&amp;quot;TT-6&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Build:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;dotnet build&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;dotnet test&amp;lt;/code&amp;gt; on .NET 10 SDK &amp;lt;code&amp;gt;10.0.300&amp;lt;/code&amp;gt; — clean. &amp;lt;strong&amp;gt;Tests (verified 2026-10-03):&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;dotnet test ThinkTank.UnitTests/ThinkTank.UnitTests.csproj&amp;lt;/code&amp;gt; → &amp;lt;strong&amp;gt;Passed: 296, Failed: 0, Skipped: 0&amp;lt;/strong&amp;gt; (duration ~1 s). This is the evidence behind every ✅ in [https://github.com/mindattic/ThinkTank/blob/main/docs/USER_STORIES.md USER_STORIES.md].&lt;br /&gt;
&lt;br /&gt;
Proven working (test-backed): multi-provider dispatch routing through Legion; provider-prefix sanitization; history trimming; the Vault credential overlay + precedence; &amp;lt;code&amp;gt;ChatParticipant&amp;lt;/code&amp;gt;→ &amp;lt;code&amp;gt;VoterProfile&amp;lt;/code&amp;gt; mapping; &amp;lt;code&amp;gt;[REQUEST_VOTE:]&amp;lt;/code&amp;gt; marker parsing/stripping; conversation persistence + turn replay; the 18-theme appearance service with clamping; psychometric profile rendering; Razor component rendering (Home, NavMenu, NotFound, ConfirmationDialog, SettingsAppearance); no real-looking credential in any tracked file.&lt;br /&gt;
&lt;br /&gt;
Not yet test-proven (UI-only / e2e): the live round loop, user chat injection, title generation, and provider connectivity polling are exercised by Cypress specs (&amp;lt;code&amp;gt;navigation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;settings&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;chat&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;vote-dialog&amp;lt;/code&amp;gt;) which require a running dev server and are not part of the unit run — see [https://github.com/mindattic/ThinkTank/blob/main/docs/USER_STORIES.md USER_STORIES.md] priority backlog.&lt;br /&gt;
&lt;br /&gt;
== 7. Active frontier &amp;lt;span id=&amp;quot;TT-7&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;RFC [[ThinkTank/rfc/0001-auto-vote-after-n-rounds|0001]]&amp;lt;/strong&amp;gt; — auto-vote after N rounds of no convergence. Manual &amp;lt;code&amp;gt;Call Vote&amp;lt;/code&amp;gt; and marker-triggered &amp;lt;code&amp;gt;[REQUEST_VOTE:]&amp;lt;/code&amp;gt; voting ship today (TT-LAW-4); vote types are consensus, free-form, and direction.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Epics&amp;lt;/strong&amp;gt; (see [https://github.com/mindattic/ThinkTank/blob/main/docs/USER_STORIES.md USER_STORIES.md]): A Roundtable · B Personalities · C Voting · D Persistence · E Credentials · F Appearance. Backlog headline: graduate the Cypress e2e flows into verified ✅ and land auto-vote.&lt;br /&gt;
&lt;br /&gt;
== 8. Quality bar &amp;lt;span id=&amp;quot;TT-8&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
A feature is &amp;lt;strong&amp;gt;done&amp;lt;/strong&amp;gt; only when (per &amp;lt;code&amp;gt;[HOUSE-LAW-8]&amp;lt;/code&amp;gt;): the solution builds clean; the NUnit/bUnit suite is green; the change has at least one test that names the behavior; anything user-facing has a bUnit component test or a Cypress e2e assertion; no secret is committed; and any LLM call still routes through Legion (TT-LAW-1). Docs mark &amp;lt;code&amp;gt;✅&amp;lt;/code&amp;gt; only with that evidence; otherwise &amp;lt;code&amp;gt;🟡&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;⬜&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== 9. Glossary &amp;lt;span id=&amp;quot;TT-9&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Participant&amp;lt;/strong&amp;gt; — one AI seat at the roundtable (&amp;lt;code&amp;gt;ChatParticipant&amp;lt;/code&amp;gt;), instantiated from a &amp;lt;code&amp;gt;ParticipantTemplate&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Persona / personality&amp;lt;/strong&amp;gt; — the markdown system prompt for a seat; optionally backed by a Legion library &amp;lt;strong&amp;gt;Persona&amp;lt;/strong&amp;gt; with a &amp;lt;strong&amp;gt;psychometric profile&amp;lt;/strong&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Psychometric profile&amp;lt;/strong&amp;gt; — OCEAN/HEXACO/MBTI/Enneagram/DISC scores from Legion&amp;#039;s &amp;lt;code&amp;gt;PersonaStore&amp;lt;/code&amp;gt;, rendered to prose by &amp;lt;code&amp;gt;PsychometricNarrator&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Round&amp;lt;/strong&amp;gt; — one pass in which every participant speaks once.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Shared turn&amp;lt;/strong&amp;gt; — one entry in the conversation log (&amp;lt;code&amp;gt;SharedTurn&amp;lt;/code&amp;gt;) visible to all participants; a vote result is a synthetic shared turn.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Vote&amp;lt;/strong&amp;gt; — a poll of every participant via Legion&amp;#039;s &amp;lt;code&amp;gt;LlmVotingService&amp;lt;/code&amp;gt;; types: consensus, free-form, direction. Self-triggered by &amp;lt;code&amp;gt;[REQUEST_VOTE: question]&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Legion&amp;lt;/strong&amp;gt; — &amp;lt;code&amp;gt;MindAttic.Legion&amp;lt;/code&amp;gt;, the provider-agnostic LLM dispatch + voting + persona library.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Vault&amp;lt;/strong&amp;gt; — &amp;lt;code&amp;gt;MindAttic.Vault&amp;lt;/code&amp;gt;, cloud-native credential resolution from &amp;lt;code&amp;gt;IConfiguration&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Vault overlay&amp;lt;/strong&amp;gt; — the runtime-only credential side map; never persisted (TT-LAW-2).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[ThinkTank]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/ThinkTank/blob/main/docs/BIBLE.md ThinkTank/docs/BIBLE.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:ThinkTank]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>