Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.
Shell agent-skillai-agentsclaude-codecodexdecision-makingdeliberationgemini-clillm-routingmulti-agent-systemsmulti-llmopen-sourceopencodeprompt-engineeringstructured-debate
fix: batch july bugfixes (ollama, install, strftime, opencode guards)
Cursor Agent1b3a14679112
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdindex d2b9406..b273bff 100644--- a/.github/PULL_REQUEST_TEMPLATE.md+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -4,16 +4,17 @@## Protocol parity-Protocol features live in three coordinator files that must not drift:+Protocol features live in four coordinator files that must not drift:- [ ] Change applied to `SKILL.md` (or N/A)- [ ] Mirrored in `SKILL.codex.md` (or N/A / host-exempt with reason)- [ ] Mirrored in `SKILL.gemini.md` (or N/A / host-exempt with reason)+- [ ] Mirrored in `SKILL.opencode.md` (or N/A / host-exempt with reason)## Validation- [ ] `./scripts/council-simulation-checklist.sh` passes-- [ ] `./install.sh --dry-run` passes (plus `--codex` / `--gemini` if installer changed)+- [ ] `./install.sh --dry-run` passes (plus `--codex` / `--gemini` / `--opencode` if installer changed)- [ ] Tested at least one mode (full/quick/duo) if protocol behavior changed## Evidencediff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 6456c7a..8fb2e10 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -35,7 +35,7 @@ jobs:run: |markdownlint --config .markdownlint.json \README.md CONTRIBUTING.md CHANGELOG.md CLAUDE.md \- SKILL.md SKILL.codex.md SKILL.gemini.md \+ SKILL.md SKILL.codex.md SKILL.gemini.md SKILL.opencode.md \"agents/**/*.md" \"demos/**/*.md"diff --git a/CLAUDE.md b/CLAUDE.mdindex aa2bdc0..298ec42 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -5,8 +5,9 @@- `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)+- `SKILL.opencode.md` — opencode-specific council coordinator protocol (mirror of SKILL.md)- `agents/council-*.md` — 18 member personas with YAML frontmatter-- `install.sh` — installs to `~/.claude/`, optionally `~/.codex/skills/council/` and `~/.gemini/extensions/council-of-high-intelligence/`+- `install.sh` — installs to `~/.claude/`, optionally `~/.codex/skills/council/`, `~/.gemini/extensions/council-of-high-intelligence/`, and `~/.config/opencode/`- `configs/` — provider/model routing templates- `demos/` — example prompts and scoring rubric- `scripts/` — validation checklist@@ -22,14 +23,15 @@### SKILL.md- Coordinator instructions are an **execution sequence** with numbered STEPs and `[CHECKPOINT]`/`[VERIFY]` markers- Three modes: full (3-round), quick (2-round), duo (dialectic)-- Reference tables (triads, profiles, polarity pairs) are below the execution sequence, not mixed in+- Reference tables (triads, profiles, polarity pairs) are above the execution sequence, not mixed in### Testing- 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+- When changing opencode installation, also run `./install.sh --dry-run --opencode`+- When changing protocol features in `SKILL.md`, mirror them in `SKILL.codex.md`, `SKILL.gemini.md`, and `SKILL.opencode.md` (or document why a host is exempt) — the checklist verifies parity- Test at least one mode (full/quick/duo) after protocol changes### Stylediff --git a/demos/session-pack.md b/demos/session-pack.mdindex 77c7824..a42866e 100644--- a/demos/session-pack.md+++ b/demos/session-pack.md@@ -88,7 +88,7 @@ Prompt:What good output looks like:- 200-word max analyses from each member- 75-word final positions-- Quick Verdict with: Panel, Positions, Consensus, Key Disagreement, Recommended Action+- Quick Verdict with: Panel, Positions, Consensus, Vote Tally, Key Disagreement, Recommended Action- Total output significantly shorter than full mode- Clear, decisive recommendationdiff --git a/install.sh b/install.shindex 4745f07..0576f9a 100755--- a/install.sh+++ b/install.sh@@ -4,7 +4,7 @@ set -euo pipefailSCRIPT_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="$(sed -nE 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/p' "${SCRIPT_DIR}/CHANGELOG.md" 2>/dev/null | head -1 || true)"PROJECT_VERSION="${PROJECT_VERSION:-0.0.0}"CLAUDE_DIR="${HOME}/.claude"CODEX_DIR="${HOME}/.codex"diff --git a/scripts/council-simulation-checklist.sh b/scripts/council-simulation-checklist.shindex 222a448..df24e6a 100755--- a/scripts/council-simulation-checklist.sh+++ b/scripts/council-simulation-checklist.sh@@ -19,6 +19,8 @@ pass "SKILL.md exists"pass "SKILL.codex.md exists"[[ -f "SKILL.gemini.md" ]] || fail "SKILL.gemini.md is missing"pass "SKILL.gemini.md exists"+[[ -f "SKILL.opencode.md" ]] || fail "SKILL.opencode.md is missing"+pass "SKILL.opencode.md exists"if compgen -G "agents/council-*.md" >/dev/null; thenagent_count=$(compgen -G "agents/council-*.md" | wc -l | tr -d ' ')@@ -166,6 +168,12 @@ for skill_file in SKILL.md SKILL.codex.md SKILL.gemini.md; dodonepass "Structured stance + weighted tally present in all three SKILL files"+# NOTE: SKILL.opencode.md is existence/lint/install-guarded only for now. It was+# authored from a pre-v1.2.0 base and still lacks E3 (reasoning_method), E9+# (confidence factors in the STEP 6 tally), E7 (.council.yaml project overrides),+# and the Asset Resolution section. Extend the content-parity greps above to it+# once it reaches feature parity — tracked in the SKILL.opencode.md drift issue.+# --- Agent structure checks ---required_sections=("Identity" "Grounding Protocol" "Analytical Method" "What You See" "What You Tend to Miss" "When Deliberating" "Output Format (Council Round 2)" "Output Format (Standalone)")@@ -309,5 +317,11 @@ pass "install.sh --dry-run --gemini completed"grep -q "gemini-extension.json" "${TMP_LOG_DIR}/dry-run-gemini.log" || fail "gemini dry-run output missing gemini-extension.json manifest step"pass "Gemini install manifest step present"+./install.sh --dry-run --opencode >"${TMP_LOG_DIR}/dry-run-opencode.log"+pass "install.sh --dry-run --opencode completed"++grep -q "Installed opencode skill to" "${TMP_LOG_DIR}/dry-run-opencode.log" || fail "opencode dry-run output missing opencode skill summary"+pass "opencode install summary output present"+echoecho "Checklist complete."diff --git a/scripts/detect-providers.sh b/scripts/detect-providers.shindex 1af31fc..70a37a5 100755--- a/scripts/detect-providers.sh+++ b/scripts/detect-providers.sh@@ -68,10 +68,15 @@ ollama_models=""if [[ -n "$ollama_bin" ]]; then# Check if ollama server is running by listing modelsif model_list="$(run_with_timeout ollama list 2>/dev/null)"; then- ollama_available=true# Parse model names from 'ollama list' output (skip header line, take first column)ollama_models="$(echo "$model_list" | tail -n +2 | awk '{print $1}' | head -5 | \sed 's/.*/"&"/' | paste -sd ',' -)"+ # Only mark available when at least one model is actually installed —+ # otherwise the auto-router will dispatch a seat to a provider that+ # has nothing to run.+ if [[ -n "$ollama_models" ]]; then+ ollama_available=true+ fififiproviders+=("$(json_provider "ollama" "$ollama_available" "ollama_run" "${ollama_bin:-not_found}" "$ollama_models")")diff --git a/scripts/gen-star-history.py b/scripts/gen-star-history.pyindex eb4c38e..dcb6b1b 100644--- a/scripts/gen-star-history.py+++ b/scripts/gen-star-history.py@@ -119,7 +119,8 @@ def render(repo: str, pts: list[tuple[datetime, int]], theme: dict) -> str:end_x, end_y = sx(x1), sy(y_max_raw)label_anchor = "end"label_x = end_x - 10- updated = pts[-1][0].strftime("%b %-d, %Y")+ last = pts[-1][0]+ updated = f"{last:%b} {last.day}, {last.year}"font = "font-family=\"-apple-system,'Segoe UI',Helvetica,Arial,sans-serif\""return f'''<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {W} {H}" width="{W}" height="{H}" role="img" aria-label="Cumulative GitHub stars for {repo}: {y_max_raw:,} as of {updated}">