Skip to content

Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.

fix: repair SKILL drift, correctness bugs, and shell-safety surfaces

0xnykc09eaa53fe0a
diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index c328838..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gstack/browse-startup-error.log b/.gstack/browse-startup-error.log
deleted file mode 100644
index da598dd..0000000
--- a/.gstack/browse-startup-error.log
+++ /dev/null
@@ -1,21 +0,0 @@
-2026-05-22T17:23:15.350Z launch: Executable doesn't exist at /Users/nyk/Library/Caches/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-mac-arm64/chrome-headless-shell
-╔═════════════════════════════════════════════════════════════════════════╗
-║ Looks like Playwright Test or Playwright was just installed or updated. ║
-║ Please run the following command to download new browsers: ║
-║ ║
-║ npx playwright install ║
-║ ║
-║ <3 Playwright Team ║
-╚═════════════════════════════════════════════════════════════════════════╝
-launch: Executable doesn't exist at /Users/nyk/Library/Caches/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-mac-arm64/chrome-headless-shell
-╔═════════════════════════════════════════════════════════════════════════╗
-║ Looks like Playwright Test or Playwright was just installed or updated. ║
-║ Please run the following command to download new browsers: ║
-║ ║
-║ npx playwright install ║
-║ ║
-║ <3 Playwright Team ║
-╚═════════════════════════════════════════════════════════════════════════╝
- at launch (/Users/nyk/.claude/skills/gstack/browse/src/browser-manager.ts:183:35)
- at start (/Users/nyk/.claude/skills/gstack/browse/src/server.ts:1353:28)
- at processTicksAndRejections (native:7:39)
diff --git a/CLAUDE.md b/CLAUDE.md
index e45fc74..aa2bdc0 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -2,10 +2,11 @@
## Architecture
-- `SKILL.md` — coordinator protocol with execution sequence, modes, and verdict templates
-- `SKILL.codex.md` — Codex-specific council coordinator protocol
+- `SKILL.md` — coordinator protocol with execution sequence, modes, and verdict templates (canonical — feature changes land here first, then get mirrored)
+- `SKILL.codex.md` — Codex-specific council coordinator protocol (compressed mirror of SKILL.md)
+- `SKILL.gemini.md` — Gemini CLI-specific council coordinator protocol (compressed mirror of SKILL.md)
- `agents/council-*.md` — 18 member personas with YAML frontmatter
-- `install.sh` — installs to `~/.claude/` and optionally `~/.codex/skills/council/`
+- `install.sh` — installs to `~/.claude/`, optionally `~/.codex/skills/council/` and `~/.gemini/extensions/council-of-high-intelligence/`
- `configs/` — provider/model routing templates
- `demos/` — example prompts and scoring rubric
- `scripts/` — validation checklist
@@ -27,6 +28,8 @@
- Always run `./scripts/council-simulation-checklist.sh` after changes
- Always run `./install.sh --dry-run` to verify installation
- When changing Codex installation, also run `./install.sh --dry-run --codex`
+- When changing Gemini installation, also run `./install.sh --dry-run --gemini`
+- When changing protocol features in `SKILL.md`, mirror them in **both** `SKILL.codex.md` and `SKILL.gemini.md` (or document why a host is exempt) — the checklist verifies parity
- Test at least one mode (full/quick/duo) after protocol changes
### Style
diff --git a/README.md b/README.md
index c862e55..543bd85 100644
--- a/README.md
+++ b/README.md
@@ -213,7 +213,7 @@ The council automatically detects installed LLM providers and distributes member
NVIDIA NIM ([build.nvidia.com](https://build.nvidia.com)) exposes 130+ open-weight models (DeepSeek, Kimi, MiniMax, GLM, Qwen, Nemotron) via an OpenAI-compatible endpoint. Free tier: 1,000 credits, 40 RPM. Detection requires only `export NVIDIA_API_KEY=nvapi-...` — no CLI binary needed. See `configs/provider-model-slots.nim.example.yaml` for a sample seat allocation.
-Cursor CLI ([cursor.com/cli](https://cursor.com/cli)) is a model **aggregator** — one binary (`cursor-agent`) serves GPT-5.x, Claude, Gemini, and Grok families through a single `CURSOR_API_KEY` (or `cursor-agent login`). Members route via headless read-only mode (`cursor-agent -p --mode ask --model <id>`). Install with `curl https://cursor.com/install -fsS | bash`. Because Cursor can serve `claude-*` models, pick **cross-family** Cursor models (e.g. `gpt-5.4-high`, `gemini-2.5-pro`, `grok-4`) when a seat needs to add diversity rather than duplicate Anthropic bias. List live IDs with `cursor-agent --list-models`. See `configs/provider-model-slots.cursor.example.yaml` for a sample seat allocation.
+Cursor CLI ([cursor.com/cli](https://cursor.com/cli)) is a model **aggregator** — one binary (`cursor-agent`) serves GPT-5.x, Claude, Gemini, and Grok families through a single `CURSOR_API_KEY` (or `cursor-agent login`). Members route via headless read-only mode (`cursor-agent -p --mode ask --model <id>`). Install with `curl https://cursor.com/install -fsS | bash`. Because Cursor can serve `claude-*` models, pick **cross-family** Cursor models (e.g. `gpt-5.4-high`, `gemini-3-pro`, `grok-4`) when a seat needs to add diversity rather than duplicate Anthropic bias. List live IDs with `cursor-agent --list-models`. See `configs/provider-model-slots.cursor.example.yaml` for a sample seat allocation.
**How routing works:**
1. Polarity pairs are separated across providers (hard constraint)
@@ -255,20 +255,23 @@ Full mode runs 7 steps: provider routing → problem restate gate → independen
- **Bounded protocol is the forcing function** — deliberation runs a fixed round budget (full 3 / quick 2 / duo 3), so it cannot loop. Anti-recursion guards (the "hemlock rule" caps Socrates' questioning; any pair exceeding 2 messages is cut off) enforce the bound mid-round.
- Dissent quota + novelty gate + counterfactual pass prevent premature convergence
- **Tie-breaking is a counted tally, not a prose impression** — each member emits a structured `STANCE:` line in the final round; consensus requires a **domain-weighted 2/3 majority** (the on-domain seat carries 1.5×, designated *before* positions exist). A genuine split is escalated to the user with the full tally rather than forced into false consensus.
-- All verdicts include a Vote Tally and a Follow-Up section for outcome tracking
+- Full and Quick verdicts include a Vote Tally (duo issues no tally — it is dialectic, not decision-issuing); all verdicts include a Follow-Up section for outcome tracking
</details>
## Installation
-Installs 18 council agents plus skill files for Claude and/or Codex.
+Installs 18 council agents plus skill files for Claude, Codex, and/or Gemini CLI.
```bash
./install.sh # Claude install (default)
./install.sh --codex # Claude + Codex skill install
./install.sh --codex-only # Codex-only install
+./install.sh --gemini # Claude + Gemini CLI extension install
+./install.sh --gemini-only # Gemini-only install
./install.sh --claude-dir /path/to/.claude # Non-default Claude config directory
./install.sh --codex-dir /path/to/.codex # Non-default Codex config directory
+./install.sh --gemini-dir /path/to/.gemini # Non-default Gemini config directory
./install.sh --dry-run # Preview without writing
./install.sh --copy-configs # Also install model routing templates
```
diff --git a/SKILL.codex.md b/SKILL.codex.md
index 22a7614..ee9ec7d 100644
--- a/SKILL.codex.md
+++ b/SKILL.codex.md
@@ -184,6 +184,8 @@ Duo mode:
2. Round 2: Direct response to counterpart with anti-conformity directive, max 180 words/member. (No anonymization — see rationale above.)
3. Round 3: Final statement, max 60 words/member.
+(Round word caps above are deliberately tighter than `SKILL.md`'s Claude-host caps — this host runs a compressed protocol. The caps in this file are canonical when coordinating from Codex.)
+
Structured stance & weighted tie-breaking (full + quick modes):
1. **Designate the domain-weight seat at panel selection** (before any analysis): the single member whose domain most directly matches the problem carries **1.5×** weight; all others **1.0×**. Lock it up front — selecting it after seeing positions would let the coordinator nudge the outcome. If the match is ambiguous, designate none and tie-break on equal weights.
@@ -220,10 +222,11 @@ Return a verdict with this order, produced by the Chairman:
6. `Unresolved Questions`
7. `Key Agreements`
8. `Key Disagreements`
-9. `Decision Options` (2-4 options with tradeoffs)
-10. `Recommended Next Steps` (additional actions beyond Concrete Next Step; ordered)
-11. `Confidence` (high/medium/low + why)
-12. `Execution Reliability` (live/degraded/offline seat counts and any timeout caveats)
+9. `Vote Tally` — the weighted stance tally from Step 4: one line per option `<option> — <weight> (<backers>)`, marking the 1.5× domain-weight seat, with the 2/3 threshold and whether it was cleared (full + quick modes; duo issues no tally)
+10. `Decision Options` (2-4 options with tradeoffs)
+11. `Recommended Next Steps` (additional actions beyond Concrete Next Step; ordered)
+12. `Confidence` (high/medium/low + why)
+13. `Execution Reliability` (live/degraded/offline seat counts and any timeout caveats)
Always preserve dissent. Never flatten disagreements into fake consensus. Sections 3-5 are non-negotiable in full mode — they make the verdict operational (observable, falsifiable, actionable) instead of advisory prose.
diff --git a/SKILL.gemini.md b/SKILL.gemini.md
index ecdad41..3fd828d 100644
--- a/SKILL.gemini.md
+++ b/SKILL.gemini.md
@@ -176,6 +176,15 @@ Duo mode:
2. Round 2: Direct response to counterpart with anti-conformity directive, max 180 words/member. (No anonymization — see rationale above.)
3. Round 3: Final statement, max 60 words/member.
+(Round word caps above are deliberately tighter than `SKILL.md`'s Claude-host caps — this host runs a compressed protocol. The caps in this file are canonical when coordinating from Gemini CLI.)
+
+Structured stance & weighted tie-breaking (full + quick modes):
+
+1. **Designate the domain-weight seat at panel selection** (before any analysis): the single member whose domain most directly matches the problem carries **1.5×** weight; all others **1.0×**. Lock it up front — selecting it after seeing positions would let the coordinator nudge the outcome. If the match is ambiguous, designate none and tie-break on equal weights.
+2. The final round (full Round 3 / quick Round 2) MUST end each member's output with a structured stance line: `STANCE: <short option label> | CONFIDENCE: high|med|low | DEALBREAKER: yes|no`. Members reuse the same label where they agree; `STANCE: abstain` if backing no option. Re-prompt for a missing/unparseable line — never infer stance from prose.
+3. Tally weighted votes per canonical option. Consensus iff `W_option ≥ (2/3) × W_total`, where `W_total` includes abstainers' weight (abstention raises the bar). Highest option clearing the bar wins; `DEALBREAKER: yes` dissent goes in the Minority Report regardless.
+4. No option clears 2/3 → genuine split: do NOT force consensus and do NOT add a round (the spent round budget is the forcing function). Present each option with its weighted tally to the user. Record the tally (`option → weight`, marking the 1.5× seat) in the verdict's Vote Tally field. Duo mode issues no tally — it is dialectic, not decision-issuing.
+
Round execution reliability policy:
1. Send prompts to all `live` seats in parallel via `invoke_agent`.
@@ -204,10 +213,11 @@ Return a verdict with this order, produced by the Chairman:
6. `Unresolved Questions`
7. `Key Agreements`
8. `Key Disagreements`
-9. `Decision Options` (2-4 options with tradeoffs)
-10. `Recommended Next Steps` (additional actions beyond Concrete Next Step; ordered)
-11. `Confidence` (high/medium/low + why)
-12. `Execution Reliability` (live/degraded/offline seat counts and any timeout caveats)
+9. `Vote Tally` — the weighted stance tally: one line per option `<option> — <weight> (<backers>)`, marking the 1.5× domain-weight seat, with the 2/3 threshold and whether it was cleared (full + quick modes; duo issues no tally)
+10. `Decision Options` (2-4 options with tradeoffs)
+11. `Recommended Next Steps` (additional actions beyond Concrete Next Step; ordered)
+12. `Confidence` (high/medium/low + why)
+13. `Execution Reliability` (live/degraded/offline seat counts and any timeout caveats)
Always preserve dissent. Never flatten disagreements into fake consensus. Sections 3-5 are non-negotiable in full mode — they make the verdict operational (observable, falsifiable, actionable) instead of advisory prose.
diff --git a/SKILL.md b/SKILL.md
index 168c1a9..f93b3b1 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -127,7 +127,7 @@ Flag priority: `--quick` / `--duo` set the mode. `--full` / `--triad` / `--membe
## Council Profiles
### `classic` (default)
-All 11 members with the domain triads above.
+All 18 members with the domain triads above.
### `exploration-orthogonal`
12-member panel for discovery and "unknown unknowns" reduction.
@@ -234,7 +234,7 @@ The Chairman is the synthesizer — a named, audited role distinct from the deli
**Selection algorithm** (apply in order — first match wins):
-1. **Explicit override**: If `--chairman <name>` was passed, use it. `<name>` can be a provider tag (`anthropic`, `openai`, `google`, `ollama`, `nvidia_nim`, `cursor_cli`) or a model alias (`opus`, `sonnet`, `gpt-5.4`, `gemini-2.5-pro`).
+1. **Explicit override**: If `--chairman <name>` was passed, use it. `<name>` can be a provider tag (`anthropic`, `openai`, `google`, `ollama`, `nvidia_nim`, `cursor_cli`) or a model alias (`opus`, `sonnet`, `gpt-5.4`, `gemini-3-pro`).
2. **Config override**: If `configs/auto-route-defaults.yaml` has a non-null `chairman:` block, use it.
3. **Auto-select** (default): Pick the highest-tier model among detected providers, **preferring a provider not already on the panel** when possible. Tie-breaker: provider listed first in the detected-providers JSON.
4. **Single-provider fallback**: If only one provider is detected (Claude-only), use that provider's highest tier (`opus` by default). Note in the verdict that the Chairman shares a provider with one or more panel members.
@@ -245,7 +245,7 @@ The Chairman is the synthesizer — a named, audited role distinct from the deli
|---|---|
| anthropic | `opus` |
| openai | `gpt-5.4` |
-| google | `gemini-2.5-pro` |
+| google | `gemini-3-pro` |
| ollama | first available local model |
| nvidia_nim | `deepseek-ai/deepseek-v4-pro` |
| cursor_cli | `gpt-5.4-high` |
@@ -273,48 +273,68 @@ Run all members **IN PARALLEL**. Each member sees ONLY the problem statement (bl
**For `codex_exec` (OpenAI)** — run via Bash tool:
1. Read the member's agent file at `~/.claude/agents/council-{name}.md`
2. Extract the **Identity**, **Grounding Protocol**, and relevant **Output Format** sections (trimmed — skip Analytical Method, What You See/Miss, When Deliberating)
-3. Build the full prompt with identity inlined, then run:
+3. Build the full prompt with identity inlined. **Never inline the prompt directly into the command string** — problem text containing `"`, `` ` ``, or `$(…)` would break the shell or inject commands. Write it through a quoted heredoc first:
```bash
-codex exec -c model="{model}" -c auto_approve=true "{full prompt}" 2>/dev/null
+PROMPT_FILE="$(mktemp)"
+cat > "$PROMPT_FILE" <<'COUNCIL_PROMPT_EOF'
+{full prompt}
+COUNCIL_PROMPT_EOF
+codex exec -c model="{model}" -c auto_approve=true "$(cat "$PROMPT_FILE")" 2>/dev/null
+rm -f "$PROMPT_FILE"
```
4. Capture stdout as the member's output. Timeout: 60 seconds.
**For `gemini_cli` (Google)** — run via Bash tool:
1. Read and extract identity sections (same as codex_exec above)
-2. Run:
+2. Run (same quoted-heredoc pattern as codex_exec — never inline the prompt):
```bash
-gemini -m {model} -p "{full prompt}" 2>/dev/null
+PROMPT_FILE="$(mktemp)"
+cat > "$PROMPT_FILE" <<'COUNCIL_PROMPT_EOF'
+{full prompt}
+COUNCIL_PROMPT_EOF
+gemini -m {model} -p "$(cat "$PROMPT_FILE")" 2>/dev/null
+rm -f "$PROMPT_FILE"
```
3. Capture stdout. Timeout: 60 seconds.
**For `ollama_run` (Ollama)** — run via Bash tool:
1. Read and extract identity sections (same as above)
-2. Run:
+2. Run (same quoted-heredoc pattern — never inline the prompt):
```bash
-ollama run {model} "{full prompt}" 2>/dev/null
+PROMPT_FILE="$(mktemp)"
+cat > "$PROMPT_FILE" <<'COUNCIL_PROMPT_EOF'
+{full prompt}
+COUNCIL_PROMPT_EOF
+ollama run {model} "$(cat "$PROMPT_FILE")" 2>/dev/null
+rm -f "$PROMPT_FILE"
```
3. Capture stdout. Timeout: 120 seconds (local models are slower).
**For `cursor_cli` (Cursor)** — run via Bash tool:
1. Read and extract identity sections (same as codex_exec above).
2. Authentication is resolved by the Cursor CLI itself (prior `cursor-agent login` or `CURSOR_API_KEY` env var) — never inline a key. If the call returns an auth error, apply the Fallback rule.
-3. Run in headless print mode, read-only (`--mode ask` keeps the member from touching the filesystem — council members only reason):
+3. Run in headless print mode, read-only (`--mode ask` keeps the member from touching the filesystem — council members only reason). Same quoted-heredoc pattern — never inline the prompt:
```bash
-cursor-agent -p --mode ask --model {model} --output-format text "{full prompt}" 2>/dev/null
+PROMPT_FILE="$(mktemp)"
+cat > "$PROMPT_FILE" <<'COUNCIL_PROMPT_EOF'
+{full prompt}
+COUNCIL_PROMPT_EOF
+cursor-agent -p --mode ask --model {model} --output-format text "$(cat "$PROMPT_FILE")" 2>/dev/null
+rm -f "$PROMPT_FILE"
```
4. Capture stdout as the member's output. Timeout: 90 seconds.
5. If stdout is empty or the command exits non-zero, treat as a failed call and apply the Fallback rule.
-Cursor is a model **aggregator** — one binary (`cursor-agent`) serves GPT-5.x, Claude, Gemini, and Grok families. For provider-spread purposes it counts as a single provider, but a seat routed to Cursor's `claude-*` model shares Anthropic's training bias with native `anthropic` seats. Prefer cross-family Cursor models (e.g. `gpt-5.4-high`, `gemini-2.5-pro`, `grok-4`) when Cursor is filling a diversity seat. Verify live model IDs with `cursor-agent --list-models`.
+Cursor is a model **aggregator** — one binary (`cursor-agent`) serves GPT-5.x, Claude, Gemini, and Grok families. For provider-spread purposes it counts as a single provider, but a seat routed to Cursor's `claude-*` model shares Anthropic's training bias with native `anthropic` seats. Prefer cross-family Cursor models (e.g. `gpt-5.4-high`, `gemini-3-pro`, `grok-4`) when Cursor is filling a diversity seat. Verify live model IDs with `cursor-agent --list-models`.
**For `openai_compatible_api` (NVIDIA NIM, Together, Fireworks, vLLM, any OpenAI-compatible endpoint)** — run via Bash tool:
1. Read and extract identity sections (same as codex_exec above).
2. Resolve credentials at runtime: read `api_key_env` from the seat config and look up the value from the environment. If the env var is unset or empty, fall back to anthropic per the Fallback rule below — do NOT inline a placeholder.
3. Read `base_url` from the seat config (e.g. `https://integrate.api.nvidia.com/v1` for NIM).
-4. Construct an OpenAI-compatible `/chat/completions` call:
+4. Construct an OpenAI-compatible `/chat/completions` call. The Authorization header is passed via process substitution (`-H @<(…)`) so the API key never appears in the process argv (visible to any local user via `ps`):
```bash
curl -sS -X POST "{base_url}/chat/completions" \
- -H "Authorization: Bearer ${!api_key_env}" \
+ -H @<(printf 'Authorization: Bearer %s\n' "${!api_key_env}") \
-H "Content-Type: application/json" \
-d "$(jq -nc \
--arg model "{model}" \
diff --git a/agents/council-ada.md b/agents/council-ada.md
index aef5673..92842e1 100644
--- a/agents/council-ada.md
+++ b/agents/council-ada.md
@@ -45,7 +45,7 @@ Formal elegance can blind you to practical constraints. The theoretically optima
## When Deliberating in Council
-- Contribute your formal analysis in 300 words or less
+- Contribute your formal analysis in 300 words or less (or the round word limit set by the coordinator)
- Identify the computational structure — what class does this problem belong to?
- Challenge other members when they propose solutions that violate formal properties
- Engage at least 2 other members by translating their intuitions into formal terms — or showing where formalization fails
diff --git a/agents/council-aristotle.md b/agents/council-aristotle.md
index b23f056..af6353d 100644
--- a/agents/council-aristotle.md
+++ b/agents/council-aristotle.md
@@ -45,7 +45,7 @@ You can over-classify. Not everything benefits from taxonomic decomposition —
## When Deliberating in Council
-- Contribute your categorical analysis in 300 words or less
+- Contribute your categorical analysis in 300 words or less (or the round word limit set by the coordinator)
- Always begin by defining key terms and identifying the genus of the problem
- Directly challenge other members when you detect category errors or equivocation
- Engage at least 2 other members' positions by showing how they may be misclassifying the problem
diff --git a/agents/council-aurelius.md b/agents/council-aurelius.md
index 4b2033b..680509a 100644
--- a/agents/council-aurelius.md
+++ b/agents/council-aurelius.md
@@ -45,7 +45,7 @@ Your stoic lens can under-weight strategy and timing. Sometimes the pragmatic pa
## When Deliberating in Council
-- Contribute your analysis in 300 words or less
+- Contribute your analysis in 300 words or less (or the round word limit set by the coordinator)
- Always draw the control/acceptance line explicitly
- Challenge other members when they're optimizing for metrics while ignoring values, or panicking about things outside their control
- Engage at least 2 other members by examining the moral and resilience dimensions of their proposals
diff --git a/agents/council-feynman.md b/agents/council-feynman.md
index 030a7e4..cc97cc6 100644
--- a/agents/council-feynman.md
+++ b/agents/council-feynman.md
@@ -45,7 +45,7 @@ Your bottom-up approach can miss systemic patterns that only emerge at higher ab
## When Deliberating in Council
-- Contribute your first-principles analysis in 300 words or less
+- Contribute your first-principles analysis in 300 words or less (or the round word limit set by the coordinator)
- Always ground the discussion in observable facts — what do we actually KNOW vs. what are we assuming?
- Challenge other members when their reasoning includes steps that can't be explained simply
- Engage at least 2 other members by asking them to explain their key claim in plain language
diff --git a/agents/council-kahneman.md b/agents/council-kahneman.md
index 1c8b299..092af64 100644
--- a/agents/council-kahneman.md
+++ b/agents/council-kahneman.md
@@ -45,7 +45,7 @@ You can over-diagnose bias. Expert intuition (Feynman, Karpathy, Torvalds) is re
## When Deliberating in Council
-- Contribute your bias analysis in 300 words or less
+- Contribute your bias analysis in 300 words or less (or the round word limit set by the coordinator)
- Always check: what cognitive bias is most likely distorting this council's deliberation right now?
- Challenge other members when their confident claims show signs of overconfidence, anchoring, or availability bias
- Engage at least 2 other members by diagnosing the specific heuristic driving their position
diff --git a/agents/council-karpathy.md b/agents/council-karpathy.md
index 2deefeb..9f7aeda 100644
--- a/agents/council-karpathy.md
+++ b/agents/council-karpathy.md
@@ -45,7 +45,7 @@ Your deep intuition for neural networks can make everything look like an ML prob
## When Deliberating in Council
-- Contribute your ML-informed analysis in 300 words or less
+- Contribute your ML-informed analysis in 300 words or less (or the round word limit set by the coordinator)
- Always assess: is this actually an ML problem, or is the team reaching for AI when simpler tools suffice?
- Challenge other members when they treat AI as either a magic solution or a black box — ground it in what models actually do
- Engage at least 2 other members by showing how ML capabilities/limitations change their analysis
diff --git a/agents/council-lao-tzu.md b/agents/council-lao-tzu.md
index 7dc64a0..9191d84 100644
--- a/agents/council-lao-tzu.md
+++ b/agents/council-lao-tzu.md
@@ -45,7 +45,7 @@ Sometimes systems genuinely need intervention. A collapsing bridge needs enginee
## When Deliberating in Council
-- Contribute your analysis in 300 words or less
+- Contribute your analysis in 300 words or less (or the round word limit set by the coordinator)
- Always ask: "What happens if we do nothing?" and take the answer seriously
- Challenge other members when they're adding complexity without proving the current approach is insufficient
- Engage at least 2 other members by showing where their proposals add unnecessary weight
diff --git a/agents/council-machiavelli.md b/agents/council-machiavelli.md
index dcb2280..ef2da30 100644
--- a/agents/council-machiavelli.md
+++ b/agents/council-machiavelli.md
@@ -45,7 +45,7 @@ You can be too cynical about human cooperation. Aurelius is right that people so
## When Deliberating in Council
-- Contribute your incentive analysis in 300 words or less
+- Contribute your incentive analysis in 300 words or less (or the round word limit set by the coordinator)
- Always map who benefits and who loses from each proposed course of action
- Challenge other members when they assume good faith or alignment without evidence
- Engage at least 2 other members by showing the political/organizational reality beneath their proposals
diff --git a/agents/council-meadows.md b/agents/council-meadows.md
index 0c3727f..01e33cf 100644
--- a/agents/council-meadows.md
+++ b/agents/council-meadows.md
@@ -45,7 +45,7 @@ Not everything is a system. Some problems are genuinely simple and local — Tor
## When Deliberating in Council
-- Contribute your systems analysis in 300 words or less
+- Contribute your systems analysis in 300 words or less (or the round word limit set by the coordinator)
- Always ask: what feedback loops are driving this problem? Where are the delays?
- Challenge other members when they propose interventions aimed at symptoms (parameters) rather than structure (rules, goals, paradigms)
- Engage at least 2 other members by showing how their proposals interact with system feedback structure
diff --git a/agents/council-munger.md b/agents/council-munger.md
index ed3222b..4a75cae 100644
--- a/agents/council-munger.md
+++ b/agents/council-munger.md
@@ -45,7 +45,7 @@ Breadth over depth — your cross-domain reasoning is powerful but shallow compa
## When Deliberating in Council
-- Contribute your multi-model analysis in 300 words or less
+- Contribute your multi-model analysis in 300 words or less (or the round word limit set by the coordinator)
- Always invert: state what would guarantee the worst outcome before recommending the best
- Challenge other members when they reason from a single framework or ignore opportunity costs
- Engage at least 2 other members by showing how multiple models converge or diverge on their position
diff --git a/agents/council-musashi.md b/agents/council-musashi.md
index 6e2ea25..ab5c007 100644
--- a/agents/council-musashi.md
+++ b/agents/council-musashi.md
@@ -45,7 +45,7 @@ Your emphasis on timing can become an excuse for inaction. Torvalds is right tha
## When Deliberating in Council
-- Contribute your strategic timing analysis in 300 words or less
+- Contribute your strategic timing analysis in 300 words or less (or the round word limit set by the coordinator)
- Always assess whether the timing is right — not just WHAT to do but WHEN
- Challenge other members when they ignore timing, momentum, or dynamic evolution
- Engage at least 2 other members by showing how their proposals interact with timing
diff --git a/agents/council-rams.md b/agents/council-rams.md
index 1616947..0a81f27 100644
--- a/agents/council-rams.md
+++ b/agents/council-rams.md
@@ -45,7 +45,7 @@ User-centered design is necessary but not sufficient. Ada is right that formal c
## When Deliberating in Council
-- Contribute your design analysis in 300 words or less
+- Contribute your design analysis in 300 words or less (or the round word limit set by the coordinator)
- Always ask: who is the user, and what is their experience of this?
- Challenge other members when they optimize for internal elegance while ignoring end-user confusion
- Engage at least 2 other members by showing how their proposals affect the user's actual interaction
diff --git a/agents/council-socrates.md b/agents/council-socrates.md
index 91f541b..8fd9918 100644
--- a/agents/council-socrates.md
+++ b/agents/council-socrates.md
@@ -46,7 +46,7 @@ Endless questioning without convergence is intellectual entertainment, not analy
## When Deliberating in Council
-- Contribute your dialectical examination in 300 words or less
+- Contribute your dialectical examination in 300 words or less (or the round word limit set by the coordinator)
- Focus on exposing 2-3 critical assumptions in others' analyses — not everything, just the load-bearing ones
- When challenging another member, state the assumption you're testing and why it matters
- Engage at least 2 other members by examining their premises
diff --git a/agents/council-sun-tzu.md b/agents/council-sun-tzu.md
index 5f667eb..40101d5 100644
--- a/agents/council-sun-tzu.md
+++ b/agents/council-sun-tzu.md
@@ -45,7 +45,7 @@ Not everything is a battle. You can over-index on adversarial thinking when coll
## When Deliberating in Council
-- Contribute your strategic analysis in 300 words or less
+- Contribute your strategic analysis in 300 words or less (or the round word limit set by the coordinator)
- Always map the terrain: actors, constraints, information asymmetry
- Challenge other members when they ignore adversarial dynamics or second-order effects
- Engage at least 2 other members by showing the strategic implications of their positions
diff --git a/agents/council-sutskever.md b/agents/council-sutskever.md
index d411079..4aad920 100644
--- a/agents/council-sutskever.md
+++ b/agents/council-sutskever.md
@@ -45,7 +45,7 @@ Your focus on the frontier can overlook the present. Karpathy is right that toda
## When Deliberating in Council
-- Contribute your frontier analysis in 300 words or less
+- Contribute your frontier analysis in 300 words or less (or the round word limit set by the coordinator)
- Always assess: what happens as this scales? What emerges that isn't visible at current scale?
- Challenge other members when they extrapolate current capability without considering phase transitions or safety boundaries
- Engage at least 2 other members by showing the scaling dynamics and safety implications of their positions
diff --git a/agents/council-taleb.md b/agents/council-taleb.md
index 6b0d8f7..23f215f 100644
--- a/agents/council-taleb.md
+++ b/agents/council-taleb.md
@@ -45,7 +45,7 @@ Your tail-risk vigilance can paralyze action. Most decisions are in Mediocristan
## When Deliberating in Council
-- Contribute your fragility analysis in 300 words or less
+- Contribute your fragility analysis in 300 words or less (or the round word limit set by the coordinator)
- Always classify: Mediocristan or Extremistan? What's the exposure profile?
- Challenge other members when they optimize for average outcomes while ignoring tail risk
- Engage at least 2 other members by assessing the fragility of their proposals
diff --git a/agents/council-torvalds.md b/agents/council-torvalds.md
index 5773d95..3a16a09 100644
--- a/agents/council-torvalds.md
+++ b/agents/council-torvalds.md
@@ -45,7 +45,7 @@ Your pragmatism can dismiss genuinely important abstractions. Ada is right that
## When Deliberating in Council
-- Contribute your engineering assessment in 300 words or less
+- Contribute your engineering assessment in 300 words or less (or the round word limit set by the coordinator)
- Always ask: "Does this actually work? Has anyone tested it? What's the maintenance cost?"
- Challenge other members when their proposals are theoretically beautiful but practically unmaintainable
- Engage at least 2 other members by grounding their abstractions in implementation reality
diff --git a/agents/council-watts.md b/agents/council-watts.md
index fc665c1..ba2925b 100644
--- a/agents/council-watts.md
+++ b/agents/council-watts.md
@@ -45,7 +45,7 @@ Sometimes the building IS on fire and philosophizing won't help. Torvalds is rig
## When Deliberating in Council
-- Contribute your perspective analysis in 300 words or less
+- Contribute your perspective analysis in 300 words or less (or the round word limit set by the coordinator)
- Always question the frame: is this problem real, or an artifact of how we're looking at it?
- Challenge other members when they're solving an assumed problem without examining the assumption
- Engage at least 2 other members by showing how their positions depend on a frame that could shift
diff --git a/configs/auto-route-defaults.yaml b/configs/auto-route-defaults.yaml
index f898e26..a39e3cd 100644
--- a/configs/auto-route-defaults.yaml
+++ b/configs/auto-route-defaults.yaml
@@ -11,8 +11,8 @@ provider_models:
high: gpt-5.4
mid: gpt-5.4
google:
- high: gemini-2.5-pro
- mid: gemini-2.5-pro
+ high: gemini-3-pro
+ mid: gemini-3-pro
ollama:
high: null # uses first available model from detect-providers.sh
mid: null
@@ -23,14 +23,14 @@ provider_models:
# Aggregator — cross-family defaults so a Cursor seat adds diversity.
# Verify live IDs with `cursor-agent --list-models`.
high: gpt-5.4-high
- mid: gemini-2.5-pro
+ mid: gemini-3-pro
# Chairman defaults — used by SKILL.md STEP 1.7 selection algorithm.
# Per-provider tier used when the auto-select algorithm picks that provider as Chairman.
chairman_defaults:
anthropic: opus
openai: gpt-5.4
- google: gemini-2.5-pro
+ google: gemini-3-pro
ollama: null # uses first available local model
nvidia_nim: deepseek-ai/deepseek-v4-pro
cursor_cli: gpt-5.4-high
@@ -40,5 +40,5 @@ chairman_defaults:
# Example:
# chairman:
# provider: google
-# model: gemini-2.5-pro
+# model: gemini-3-pro
chairman: null
diff --git a/configs/provider-model-slots.cursor.example.yaml b/configs/provider-model-slots.cursor.example.yaml
index 31559c0..996f82c 100644
--- a/configs/provider-model-slots.cursor.example.yaml
+++ b/configs/provider-model-slots.cursor.example.yaml
@@ -49,7 +49,7 @@ seats:
reasoning_mode: mechanistic
sun-tzu:
provider: cursor_cli
- model: gemini-2.5-pro
+ model: gemini-3-pro
exec_method: cursor_cli
reasoning_mode: strategic
machiavelli:
@@ -70,7 +70,7 @@ seats:
reasoning_mode: emergent
torvalds:
provider: cursor_cli
- model: gemini-2.5-pro
+ model: gemini-3-pro
exec_method: cursor_cli
reasoning_mode: pragmatic
diff --git a/configs/provider-model-slots.example.yaml b/configs/provider-model-slots.example.yaml
index 4afdf4b..ada6cb5 100644
--- a/configs/provider-model-slots.example.yaml
+++ b/configs/provider-model-slots.example.yaml
@@ -1,5 +1,9 @@
# Example seat mapping for multi-provider / multi-model exploration.
# Use with: /council --profile exploration-orthogonal --models configs/provider-model-slots.example.yaml "..."
+#
+# Model IDs drift — verify against your provider catalogs before use
+# (these track configs/auto-route-defaults.yaml; anthropic seats use
+# the opus/sonnet aliases resolved by the host runtime).
profile: exploration-orthogonal
strategy:
@@ -11,15 +15,15 @@ strategy:
seats:
socrates:
provider: anthropic
- model: claude-sonnet-4
+ model: sonnet
reasoning_mode: analytical
feynman:
provider: openai
- model: gpt-5
+ model: gpt-5.4
reasoning_mode: mechanistic
sun-tzu:
provider: google
- model: gemini-2.5-pro
+ model: gemini-3-pro
reasoning_mode: strategic
machiavelli:
provider: xai
@@ -27,21 +31,21 @@ seats:
reasoning_mode: adversarial
ada:
provider: openai
- model: o3
+ model: gpt-5.4
reasoning_mode: formal
lao-tzu:
provider: anthropic
- model: claude-sonnet-4
+ model: sonnet
reasoning_mode: emergent
aurelius:
provider: google
- model: gemini-2.5-pro
+ model: gemini-3-pro
reasoning_mode: normative
torvalds:
provider: openai
- model: gpt-5-mini
+ model: gpt-5.4
reasoning_mode: pragmatic
fallback:
- provider: openai
- model: gpt-5-mini
+ provider: anthropic
+ model: sonnet
diff --git a/configs/provider-model-slots.nim.example.yaml b/configs/provider-model-slots.nim.example.yaml
index de99ada..5a03b92 100644
--- a/configs/provider-model-slots.nim.example.yaml
+++ b/configs/provider-model-slots.nim.example.yaml
@@ -73,7 +73,7 @@ seats:
# Google for breadth on a third axis
torvalds:
provider: google
- model: gemini-2.5-pro
+ model: gemini-3-pro
reasoning_mode: pragmatic
fallback:
diff --git a/demos/session-pack.md b/demos/session-pack.md
index f58d526..77c7824 100644
--- a/demos/session-pack.md
+++ b/demos/session-pack.md
@@ -24,10 +24,11 @@ What good output looks like:
- evidence labels across multiple categories (`empirical`, `mechanistic`, `strategic`, `ethical`, `heuristic`)
- clear unknowns list with concrete data needed
-Expected verdict sections:
-- Problem, Council Composition, Model/Provider Routing, Consensus Position
-- Key Insights by Member, Points of Agreement/Disagreement
-- Minority Report, Unresolved Questions, Epistemic Diversity Scorecard, Recommended Next Steps
+Expected verdict sections (see the Council Verdict template in `SKILL.md` for the full canonical list):
+- Problem, Council Composition, Chairman, Provider Routing
+- Acceptable Compromises, Kill Criteria, Concrete Next Step
+- Unresolved Questions, Recommended Next Steps, Consensus & Agreement, Vote Tally
+- Key Insights by Member, Points of Disagreement, Minority Report, Epistemic Diversity Scorecard, Follow-Up
## Demo B — Full mode: Exploration profile (market-entry triad)
diff --git a/install.sh b/install.sh
index ee20bab..9bd43b8 100755
--- a/install.sh
+++ b/install.sh
@@ -2,6 +2,10 @@
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+# Project version — derived from the latest released entry in CHANGELOG.md so
+# generated manifests never carry a stale hardcoded version.
+PROJECT_VERSION="$(sed -nE 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/p' "${SCRIPT_DIR}/CHANGELOG.md" 2>/dev/null | head -1)"
+PROJECT_VERSION="${PROJECT_VERSION:-0.0.0}"
CLAUDE_DIR="${HOME}/.claude"
CODEX_DIR="${HOME}/.codex"
GEMINI_DIR="${HOME}/.gemini"
@@ -263,7 +267,7 @@ if [[ "${INSTALL_GEMINI}" == true ]]; then
cat <<EOF > "${GEMINI_EXT_ROOT}/gemini-extension.json"
{
"name": "council-of-high-intelligence",
- "version": "1.0.0",
+ "version": "${PROJECT_VERSION}",
"description": "Council of High Intelligence multiple persona deliberation system"
}
EOF
diff --git a/scripts/detect-providers.sh b/scripts/detect-providers.sh
index 7b365ae..1af31fc 100755
--- a/scripts/detect-providers.sh
+++ b/scripts/detect-providers.sh
@@ -56,7 +56,7 @@ fi
# Google via Gemini CLI
gemini_bin="$(check_command gemini)"
if [[ -n "$gemini_bin" ]] && run_with_timeout gemini --version >/dev/null 2>&1; then
- providers+=("$(json_provider "google" "true" "gemini_cli" "$gemini_bin" '"gemini-2.5-pro"')")
+ providers+=("$(json_provider "google" "true" "gemini_cli" "$gemini_bin" '"gemini-3-pro"')")
else
providers+=("$(json_provider "google" "false" "gemini_cli" "${gemini_bin:-not_found}" '')")
fi
@@ -82,7 +82,7 @@ cursor_bin="$(check_command cursor-agent)"
if [[ -n "$cursor_bin" ]] && run_with_timeout cursor-agent --version >/dev/null 2>&1; then
# Cross-family defaults so a Cursor seat adds real diversity, not a
# second Anthropic-biased model. Verify live IDs with `cursor-agent --list-models`.
- providers+=("$(json_provider "cursor_cli" "true" "cursor_cli" "$cursor_bin" '"gpt-5.4-high","claude-opus-4-7-thinking-high","gemini-2.5-pro","grok-4"')")
+ providers+=("$(json_provider "cursor_cli" "true" "cursor_cli" "$cursor_bin" '"gpt-5.4-high","claude-opus-4-7-thinking-high","gemini-3-pro","grok-4"')")
else
providers+=("$(json_provider "cursor_cli" "false" "cursor_cli" "${cursor_bin:-not_found}" '')")
fi
@@ -96,9 +96,11 @@ if [[ -n "${NVIDIA_API_KEY:-}" ]]; then
# Verify the key is not a placeholder (real keys start with nvapi-)
if [[ "${NVIDIA_API_KEY}" =~ ^nvapi- ]]; then
# Optional: confirm catalog reachability. Skip if curl missing or offline.
+ # The auth header is passed via process substitution so the key never
+ # appears in curl's argv (visible to other local users via `ps`).
if command -v curl >/dev/null 2>&1; then
if run_with_timeout curl -sf -o /dev/null \
- -H "Authorization: Bearer ${NVIDIA_API_KEY}" \
+ -H @<(printf 'Authorization: Bearer %s\n' "${NVIDIA_API_KEY}") \
"${nim_endpoint}/models" 2>/dev/null; then
nim_available=true
fi