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.

ci: add lint and release workflows, CHANGELOG, and .gitattributes (#29)

Alp Demirelfb1857b406ea
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..face0b3
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,6 @@
+# Normalize line endings; shell scripts must stay LF
+* text=auto
+*.sh text eol=lf
+*.yaml text eol=lf
+*.json text eol=lf
+*.md text eol=lf
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..3dcfc77
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,37 @@
+name: Lint
+
+on:
+ push:
+ branches: [main, develop]
+ pull_request:
+ branches: [main, develop]
+
+env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
+
+jobs:
+ validate:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Install dependencies
+ run: |
+ sudo apt-get update -q
+ sudo apt-get install -y shellcheck
+ npm install -g markdownlint-cli
+
+ - name: Shellcheck
+ run: |
+ shellcheck install.sh
+ shellcheck scripts/detect-providers.sh
+ shellcheck scripts/council-simulation-checklist.sh
+
+ - name: Markdownlint
+ run: |
+ markdownlint \
+ --disable MD013 MD024 MD033 MD041 \
+ README.md CONTRIBUTING.md CHANGELOG.md \
+ SKILL.md SKILL.codex.md \
+ "agents/**/*.md" \
+ "demos/**/*.md"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..765402f
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,43 @@
+name: Release
+
+on:
+ push:
+ tags: ["v*.*.*"]
+
+permissions:
+ contents: write
+
+env:
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Build release tarball
+ run: |
+ VERSION="${GITHUB_REF_NAME}"
+ ARCHIVE="council-of-high-intelligence-${VERSION}.tar.gz"
+ tar --exclude='./.git' \
+ --exclude='./.github' \
+ --exclude='./demos' \
+ -czf "../${ARCHIVE}" .
+ echo "ARCHIVE=$(pwd)/../${ARCHIVE}" >> "$GITHUB_ENV"
+
+ - name: Extract release notes from CHANGELOG.md
+ id: changelog
+ run: |
+ VERSION="${GITHUB_REF_NAME#v}"
+ NOTES=$(awk "/^## \[${VERSION}\]/{found=1; next} found && /^## /{exit} found{print}" CHANGELOG.md)
+ printf 'notes<<EOF\n%s\nEOF\n' "${NOTES}" >> "$GITHUB_OUTPUT"
+
+ - name: Create GitHub release
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ gh release create "${{ github.ref_name }}" \
+ --title "${{ github.ref_name }}" \
+ --notes "${{ steps.changelog.outputs.notes }}" \
+ "${{ env.ARCHIVE }}"
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..0846b12
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,33 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
+This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+
+### Added
+- `SKILL.codex.md` — dedicated Codex council coordinator
+- Codex install support in `install.sh` (`--codex`, `--codex-only` flags) with reliability hardening
+- NVIDIA NIM provider support (`configs/provider-model-slots.nim.example.yaml`)
+- Round 2 cross-examination anonymization — members labeled A/B/C to prevent anchoring bias
+
+### Changed
+- README updated with header image, quickstart, and open-source best practices
+
+## [1.0.0] - 2026-03-30
+
+### Added
+- 18 council member personas: Aristotle, Socrates, Sun Tzu, Ada Lovelace, Marcus Aurelius, Machiavelli, Lao Tzu, Feynman, Torvalds, Musashi, Watts, Karpathy, Sutskever, Kahneman, Meadows, Munger, Taleb, Rams
+- 3-round structured deliberation protocol: Problem Restate Gate → Blind Analysis → Cross-Examination → Crystallization → Verdict
+- Post-round enforcement scan: dissent quota, novelty gate, agreement check (>70% triggers mandatory counterfactual), evidence labeling, anti-recursion rule
+- Quick mode (2-round), Duo mode (2-member deliberation), pre-defined triads by domain
+- Multi-provider auto-detection (`scripts/detect-providers.sh`) — routes council members across Claude, Codex (OpenAI), and Ollama
+- Execution profiles (`configs/auto-route-defaults.yaml`) and simulation checklist (`scripts/council-simulation-checklist.sh`)
+- Provider model slot template (`configs/provider-model-slots.example.yaml`)
+
+### Fixed
+- Default OpenAI model for Codex set to `gpt-5.4` (E2E test found o3/o4-mini unavailable on standard ChatGPT accounts)
+
+[Unreleased]: https://github.com/0xNyk/council-of-high-intelligence/compare/v1.0.0...HEAD
+[1.0.0]: https://github.com/0xNyk/council-of-high-intelligence/releases/tag/v1.0.0