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(readme): self-hosted star-history charts (light/dark) + weekly refresh
0xnykf996d386eb2c
diff --git a/.github/workflows/star-chart.yml b/.github/workflows/star-chart.ymlnew file mode 100644index 0000000..7f33a80--- /dev/null+++ b/.github/workflows/star-chart.yml@@ -0,0 +1,36 @@+name: Star Chart++# Refresh the self-hosted star-history SVGs weekly.+# Self-hosted because api.star-history.com lowercases repo owners and+# serves an empty chart for this repo (0xNyk -> 0xnyk).++on:+ schedule:+ - cron: "17 5 * * 1"+ workflow_dispatch:++permissions:+ contents: write++jobs:+ refresh:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4++ - name: Generate charts+ env:+ GH_TOKEN: ${{ github.token }}+ run: python3 scripts/gen-star-history.py "$GITHUB_REPOSITORY" assets/star-history++ - name: Commit if changed+ run: |+ if git diff --quiet -- assets; then+ echo "No chart changes."+ exit 0+ fi+ git config user.name "github-actions[bot]"+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"+ git add assets/star-history-light.svg assets/star-history-dark.svg+ git commit -m "chore: refresh star-history charts"+ git pushdiff --git a/README.md b/README.mdindex 8b92cd3..293724c 100644--- a/README.md+++ b/README.md@@ -335,7 +335,12 @@ related or neighboring rights to this work.---<p align="center">- <a href="https://star-history.com/#0xNyk/council-of-high-intelligence&Date">- <img src="https://api.star-history.com/svg?repos=0xNyk/council-of-high-intelligence&type=Date" alt="Star History" width="400">- </a>+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="assets/star-history-dark.svg">+ <img src="assets/star-history-light.svg" alt="Star history chart" width="600">+ </picture></p>++<!-- Charts are self-hosted (refreshed weekly by .github/workflows/star-chart.yml)+ because api.star-history.com lowercases the repo owner and serves an empty+ chart for this repo. -->diff --git a/assets/star-history-dark.svg b/assets/star-history-dark.svgnew file mode 100644index 0000000..fb911dc--- /dev/null+++ b/assets/star-history-dark.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400" width="800" height="400" role="img" aria-label="Cumulative GitHub stars for 0xNyk/council-of-high-intelligence: 3,213 as of Jul 4, 2026">+ <g font-family="-apple-system,'Segoe UI',Helvetica,Arial,sans-serif">+ <text x="56" y="24" fill="#e6edf3" font-size="15" font-weight="600">0xNyk/council-of-high-intelligence — GitHub stars</text>+ <text x="768" y="24" text-anchor="end" fill="#8b949e" font-size="11">updated Jul 4, 2026</text>+ <line x1="56" y1="283.0" x2="776" y2="283.0" stroke="#30363d" stroke-width="1"/><line x1="56" y1="206.0" x2="776" y2="206.0" stroke="#30363d" stroke-width="1"/><line x1="56" y1="129.0" x2="776" y2="129.0" stroke="#30363d" stroke-width="1"/><line x1="56" y1="52.0" x2="776" y2="52.0" stroke="#30363d" stroke-width="1"/>+ <line x1="56" y1="360.0" x2="776" y2="360.0" stroke="#30363d" stroke-width="1"/>+ <text x="48" y="287.0" text-anchor="end" fill="#8b949e" font-size="12">1K</text><text x="48" y="210.0" text-anchor="end" fill="#8b949e" font-size="12">2K</text><text x="48" y="133.0" text-anchor="end" fill="#8b949e" font-size="12">3K</text><text x="48" y="56.0" text-anchor="end" fill="#8b949e" font-size="12">4K</text>+ <text x="56.0" y="380" text-anchor="middle" fill="#8b949e" font-size="12">Mar '26</text><text x="230.2" y="380" text-anchor="middle" fill="#8b949e" font-size="12">Apr</text><text x="404.4" y="380" text-anchor="middle" fill="#8b949e" font-size="12">May</text><text x="584.4" y="380" text-anchor="middle" fill="#8b949e" font-size="12">Jun</text><text x="758.6" y="380" text-anchor="middle" fill="#8b949e" font-size="12">Jul</text>+ <path d="M56.0,359.8 L137.3,359.8 L154.7,359.3 L160.5,359.1 L166.3,359.0 L172.1,358.8 L195.4,358.8 L207.0,357.0 L212.8,353.8 L218.6,352.2 L224.4,351.7 L230.2,351.3 L247.6,351.2 L253.4,350.6 L259.2,350.0 L265.0,349.7 L270.8,349.5 L276.6,349.2 L282.5,349.0 L288.3,348.9 L294.1,348.8 L311.5,348.8 L317.3,348.6 L323.1,347.6 L328.9,346.9 L334.7,339.0 L340.5,330.6 L346.3,327.4 L352.1,325.7 L357.9,323.7 L363.7,322.3 L369.5,321.3 L375.4,319.3 L381.2,317.0 L387.0,315.6 L392.8,315.0 L398.6,314.4 L404.4,314.0 L410.2,313.5 L416.0,313.3 L421.8,313.0 L427.6,312.2 L433.4,311.7 L439.2,310.6 L445.0,310.0 L450.8,309.6 L456.6,309.2 L462.5,308.8 L468.3,308.2 L474.1,307.6 L479.9,307.3 L485.7,307.2 L491.5,306.8 L497.3,306.6 L503.1,306.3 L508.9,305.9 L514.7,305.7 L520.5,304.9 L526.3,304.4 L532.1,304.3 L537.9,304.1 L543.7,303.9 L549.5,296.2 L555.4,293.5 L561.2,292.6 L567.0,291.9 L572.8,291.4 L578.6,290.9 L584.4,290.5 L590.2,290.2 L596.0,290.0 L601.8,289.7 L607.6,289.2 L613.4,288.9 L619.2,288.5 L625.0,288.0 L630.8,287.7 L636.6,287.4 L642.5,287.2 L648.3,286.3 L654.1,285.8 L659.9,285.7 L665.7,285.5 L671.5,285.4 L677.3,284.7 L688.9,284.5 L694.7,284.4 L700.5,284.3 L706.3,284.2 L712.1,283.8 L717.9,283.6 L723.7,283.5 L729.5,283.5 L735.4,272.8 L741.2,247.1 L747.0,216.1 L752.8,180.8 L758.6,159.3 L764.4,125.7 L770.2,115.0 L776.0,112.6 L776.0,360.0 L56.0,360.0 Z" fill="#4493f8" fill-opacity="0.14" stroke="none"/>+ <path d="M56.0,359.8 L137.3,359.8 L154.7,359.3 L160.5,359.1 L166.3,359.0 L172.1,358.8 L195.4,358.8 L207.0,357.0 L212.8,353.8 L218.6,352.2 L224.4,351.7 L230.2,351.3 L247.6,351.2 L253.4,350.6 L259.2,350.0 L265.0,349.7 L270.8,349.5 L276.6,349.2 L282.5,349.0 L288.3,348.9 L294.1,348.8 L311.5,348.8 L317.3,348.6 L323.1,347.6 L328.9,346.9 L334.7,339.0 L340.5,330.6 L346.3,327.4 L352.1,325.7 L357.9,323.7 L363.7,322.3 L369.5,321.3 L375.4,319.3 L381.2,317.0 L387.0,315.6 L392.8,315.0 L398.6,314.4 L404.4,314.0 L410.2,313.5 L416.0,313.3 L421.8,313.0 L427.6,312.2 L433.4,311.7 L439.2,310.6 L445.0,310.0 L450.8,309.6 L456.6,309.2 L462.5,308.8 L468.3,308.2 L474.1,307.6 L479.9,307.3 L485.7,307.2 L491.5,306.8 L497.3,306.6 L503.1,306.3 L508.9,305.9 L514.7,305.7 L520.5,304.9 L526.3,304.4 L532.1,304.3 L537.9,304.1 L543.7,303.9 L549.5,296.2 L555.4,293.5 L561.2,292.6 L567.0,291.9 L572.8,291.4 L578.6,290.9 L584.4,290.5 L590.2,290.2 L596.0,290.0 L601.8,289.7 L607.6,289.2 L613.4,288.9 L619.2,288.5 L625.0,288.0 L630.8,287.7 L636.6,287.4 L642.5,287.2 L648.3,286.3 L654.1,285.8 L659.9,285.7 L665.7,285.5 L671.5,285.4 L677.3,284.7 L688.9,284.5 L694.7,284.4 L700.5,284.3 L706.3,284.2 L712.1,283.8 L717.9,283.6 L723.7,283.5 L729.5,283.5 L735.4,272.8 L741.2,247.1 L747.0,216.1 L752.8,180.8 L758.6,159.3 L764.4,125.7 L770.2,115.0 L776.0,112.6" fill="none" stroke="#4493f8" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>+ <circle cx="776.0" cy="112.6" r="4" fill="#4493f8"/>+ <text x="766.0" y="102.6" text-anchor="end" fill="#e6edf3" font-size="13" font-weight="600">3,213 ★</text>+ </g>+</svg>diff --git a/assets/star-history-light.svg b/assets/star-history-light.svgnew file mode 100644index 0000000..8575350--- /dev/null+++ b/assets/star-history-light.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400" width="800" height="400" role="img" aria-label="Cumulative GitHub stars for 0xNyk/council-of-high-intelligence: 3,213 as of Jul 4, 2026">+ <g font-family="-apple-system,'Segoe UI',Helvetica,Arial,sans-serif">+ <text x="56" y="24" fill="#1f2328" font-size="15" font-weight="600">0xNyk/council-of-high-intelligence — GitHub stars</text>+ <text x="768" y="24" text-anchor="end" fill="#59636e" font-size="11">updated Jul 4, 2026</text>+ <line x1="56" y1="283.0" x2="776" y2="283.0" stroke="#d1d9e0" stroke-width="1"/><line x1="56" y1="206.0" x2="776" y2="206.0" stroke="#d1d9e0" stroke-width="1"/><line x1="56" y1="129.0" x2="776" y2="129.0" stroke="#d1d9e0" stroke-width="1"/><line x1="56" y1="52.0" x2="776" y2="52.0" stroke="#d1d9e0" stroke-width="1"/>+ <line x1="56" y1="360.0" x2="776" y2="360.0" stroke="#d1d9e0" stroke-width="1"/>+ <text x="48" y="287.0" text-anchor="end" fill="#59636e" font-size="12">1K</text><text x="48" y="210.0" text-anchor="end" fill="#59636e" font-size="12">2K</text><text x="48" y="133.0" text-anchor="end" fill="#59636e" font-size="12">3K</text><text x="48" y="56.0" text-anchor="end" fill="#59636e" font-size="12">4K</text>+ <text x="56.0" y="380" text-anchor="middle" fill="#59636e" font-size="12">Mar '26</text><text x="230.2" y="380" text-anchor="middle" fill="#59636e" font-size="12">Apr</text><text x="404.4" y="380" text-anchor="middle" fill="#59636e" font-size="12">May</text><text x="584.4" y="380" text-anchor="middle" fill="#59636e" font-size="12">Jun</text><text x="758.6" y="380" text-anchor="middle" fill="#59636e" font-size="12">Jul</text>+ <path d="M56.0,359.8 L137.3,359.8 L154.7,359.3 L160.5,359.1 L166.3,359.0 L172.1,358.8 L195.4,358.8 L207.0,357.0 L212.8,353.8 L218.6,352.2 L224.4,351.7 L230.2,351.3 L247.6,351.2 L253.4,350.6 L259.2,350.0 L265.0,349.7 L270.8,349.5 L276.6,349.2 L282.5,349.0 L288.3,348.9 L294.1,348.8 L311.5,348.8 L317.3,348.6 L323.1,347.6 L328.9,346.9 L334.7,339.0 L340.5,330.6 L346.3,327.4 L352.1,325.7 L357.9,323.7 L363.7,322.3 L369.5,321.3 L375.4,319.3 L381.2,317.0 L387.0,315.6 L392.8,315.0 L398.6,314.4 L404.4,314.0 L410.2,313.5 L416.0,313.3 L421.8,313.0 L427.6,312.2 L433.4,311.7 L439.2,310.6 L445.0,310.0 L450.8,309.6 L456.6,309.2 L462.5,308.8 L468.3,308.2 L474.1,307.6 L479.9,307.3 L485.7,307.2 L491.5,306.8 L497.3,306.6 L503.1,306.3 L508.9,305.9 L514.7,305.7 L520.5,304.9 L526.3,304.4 L532.1,304.3 L537.9,304.1 L543.7,303.9 L549.5,296.2 L555.4,293.5 L561.2,292.6 L567.0,291.9 L572.8,291.4 L578.6,290.9 L584.4,290.5 L590.2,290.2 L596.0,290.0 L601.8,289.7 L607.6,289.2 L613.4,288.9 L619.2,288.5 L625.0,288.0 L630.8,287.7 L636.6,287.4 L642.5,287.2 L648.3,286.3 L654.1,285.8 L659.9,285.7 L665.7,285.5 L671.5,285.4 L677.3,284.7 L688.9,284.5 L694.7,284.4 L700.5,284.3 L706.3,284.2 L712.1,283.8 L717.9,283.6 L723.7,283.5 L729.5,283.5 L735.4,272.8 L741.2,247.1 L747.0,216.1 L752.8,180.8 L758.6,159.3 L764.4,125.7 L770.2,115.0 L776.0,112.6 L776.0,360.0 L56.0,360.0 Z" fill="#2563eb" fill-opacity="0.1" stroke="none"/>+ <path d="M56.0,359.8 L137.3,359.8 L154.7,359.3 L160.5,359.1 L166.3,359.0 L172.1,358.8 L195.4,358.8 L207.0,357.0 L212.8,353.8 L218.6,352.2 L224.4,351.7 L230.2,351.3 L247.6,351.2 L253.4,350.6 L259.2,350.0 L265.0,349.7 L270.8,349.5 L276.6,349.2 L282.5,349.0 L288.3,348.9 L294.1,348.8 L311.5,348.8 L317.3,348.6 L323.1,347.6 L328.9,346.9 L334.7,339.0 L340.5,330.6 L346.3,327.4 L352.1,325.7 L357.9,323.7 L363.7,322.3 L369.5,321.3 L375.4,319.3 L381.2,317.0 L387.0,315.6 L392.8,315.0 L398.6,314.4 L404.4,314.0 L410.2,313.5 L416.0,313.3 L421.8,313.0 L427.6,312.2 L433.4,311.7 L439.2,310.6 L445.0,310.0 L450.8,309.6 L456.6,309.2 L462.5,308.8 L468.3,308.2 L474.1,307.6 L479.9,307.3 L485.7,307.2 L491.5,306.8 L497.3,306.6 L503.1,306.3 L508.9,305.9 L514.7,305.7 L520.5,304.9 L526.3,304.4 L532.1,304.3 L537.9,304.1 L543.7,303.9 L549.5,296.2 L555.4,293.5 L561.2,292.6 L567.0,291.9 L572.8,291.4 L578.6,290.9 L584.4,290.5 L590.2,290.2 L596.0,290.0 L601.8,289.7 L607.6,289.2 L613.4,288.9 L619.2,288.5 L625.0,288.0 L630.8,287.7 L636.6,287.4 L642.5,287.2 L648.3,286.3 L654.1,285.8 L659.9,285.7 L665.7,285.5 L671.5,285.4 L677.3,284.7 L688.9,284.5 L694.7,284.4 L700.5,284.3 L706.3,284.2 L712.1,283.8 L717.9,283.6 L723.7,283.5 L729.5,283.5 L735.4,272.8 L741.2,247.1 L747.0,216.1 L752.8,180.8 L758.6,159.3 L764.4,125.7 L770.2,115.0 L776.0,112.6" fill="none" stroke="#2563eb" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>+ <circle cx="776.0" cy="112.6" r="4" fill="#2563eb"/>+ <text x="766.0" y="102.6" text-anchor="end" fill="#1f2328" font-size="13" font-weight="600">3,213 ★</text>+ </g>+</svg>diff --git a/scripts/gen-star-history.py b/scripts/gen-star-history.pynew file mode 100644index 0000000..eb4c38e--- /dev/null+++ b/scripts/gen-star-history.py@@ -0,0 +1,155 @@+#!/usr/bin/env python3+"""Generate self-hosted GitHub star-history charts (light + dark SVG).++Replaces the api.star-history.com embed, whose backend lowercases repo+owners and serves an empty chart for this repo. Fetches stargazer+timestamps via `gh api` (works locally when authenticated and in CI via+GH_TOKEN) and renders two dependency-free SVGs tuned for GitHub's light+and dark README surfaces, selected with a <picture> element.++Usage: python3 scripts/gen-star-history.py <owner/repo> <out_prefix>+Writes <out_prefix>-light.svg and <out_prefix>-dark.svg+"""++import json+import subprocess+import sys+from datetime import datetime, timezone++W, H = 800, 400+MARGIN = {"l": 56, "r": 24, "t": 52, "b": 40}++THEMES = {+ "light": {+ "line": "#2563eb", "area_opacity": 0.10,+ "ink": "#1f2328", "muted": "#59636e", "grid": "#d1d9e0",+ },+ "dark": {+ "line": "#4493f8", "area_opacity": 0.14,+ "ink": "#e6edf3", "muted": "#8b949e", "grid": "#30363d",+ },+}++MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]+++def fetch_star_dates(repo: str) -> list[datetime]:+ out = subprocess.run(+ ["gh", "api", f"repos/{repo}/stargazers", "--paginate",+ "-H", "Accept: application/vnd.github.star+json",+ "-q", ".[].starred_at"],+ capture_output=True, text=True, check=True,+ ).stdout.split()+ dates = sorted(datetime.fromisoformat(d.replace("Z", "+00:00")) for d in out)+ if not dates:+ raise SystemExit(f"no stargazer data returned for {repo}")+ return dates+++def build_series(dates: list[datetime]) -> list[tuple[datetime, int]]:+ # Cumulative count per day, then evenly sampled to <= 160 points.+ daily: dict[str, int] = {}+ for i, d in enumerate(dates, start=1):+ daily[d.strftime("%Y-%m-%d")] = i+ pts = [(datetime.fromisoformat(k).replace(tzinfo=timezone.utc), v)+ for k, v in sorted(daily.items())]+ if len(pts) > 160:+ step = (len(pts) - 1) / 159+ pts = [pts[round(i * step)] for i in range(160)]+ return pts+++def nice_step(max_v: int) -> int:+ for step in (50, 100, 250, 500, 1000, 2000, 5000, 10000):+ if max_v / step <= 6:+ return step+ return 20000+++def fmt_k(v: int) -> str:+ if v >= 1000:+ return f"{v/1000:g}K"+ return str(v)+++def render(repo: str, pts: list[tuple[datetime, int]], theme: dict) -> str:+ x0, x1 = pts[0][0].timestamp(), pts[-1][0].timestamp()+ y_max_raw = pts[-1][1]+ step = nice_step(y_max_raw)+ y_max = ((y_max_raw // step) + 1) * step+ plot_w = W - MARGIN["l"] - MARGIN["r"]+ plot_h = H - MARGIN["t"] - MARGIN["b"]++ def sx(ts: float) -> float:+ return MARGIN["l"] + (ts - x0) / max(x1 - x0, 1) * plot_w++ def sy(v: float) -> float:+ return MARGIN["t"] + plot_h - v / y_max * plot_h++ line_d = " ".join(+ f"{'M' if i == 0 else 'L'}{sx(d.timestamp()):.1f},{sy(v):.1f}"+ for i, (d, v) in enumerate(pts)+ )+ base_y = sy(0)+ area_d = f"{line_d} L{sx(x1):.1f},{base_y:.1f} L{sx(x0):.1f},{base_y:.1f} Z"++ grid, ylabels = [], []+ for v in range(step, y_max + 1, step):+ y = sy(v)+ grid.append(f'<line x1="{MARGIN["l"]}" y1="{y:.1f}" x2="{W - MARGIN["r"]}" y2="{y:.1f}" '+ f'stroke="{theme["grid"]}" stroke-width="1"/>')+ ylabels.append(f'<text x="{MARGIN["l"] - 8}" y="{y + 4:.1f}" text-anchor="end" '+ f'fill="{theme["muted"]}" font-size="12">{fmt_k(v)}</text>')++ xlabels = []+ seen = set()+ for d, _ in pts:+ key = (d.year, d.month)+ if key in seen:+ continue+ seen.add(key)+ ts = datetime(d.year, d.month, 1, tzinfo=timezone.utc).timestamp()+ if ts < x0:+ ts = x0+ label = MONTHS[d.month - 1] + (f" '{str(d.year)[2:]}" if d.month == 1 or len(seen) == 1 else "")+ xlabels.append(f'<text x="{sx(ts):.1f}" y="{H - MARGIN["b"] + 20}" text-anchor="middle" '+ f'fill="{theme["muted"]}" font-size="12">{label}</text>')++ 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")++ 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}">+ <g {font}>+ <text x="{MARGIN["l"]}" y="24" fill="{theme["ink"]}" font-size="15" font-weight="600">{repo} — GitHub stars</text>+ <text x="{W - MARGIN["r"] - 8}" y="24" text-anchor="end" fill="{theme["muted"]}" font-size="11">updated {updated}</text>+ {''.join(grid)}+ <line x1="{MARGIN["l"]}" y1="{base_y:.1f}" x2="{W - MARGIN["r"]}" y2="{base_y:.1f}" stroke="{theme["grid"]}" stroke-width="1"/>+ {''.join(ylabels)}+ {''.join(xlabels)}+ <path d="{area_d}" fill="{theme["line"]}" fill-opacity="{theme["area_opacity"]}" stroke="none"/>+ <path d="{line_d}" fill="none" stroke="{theme["line"]}" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/>+ <circle cx="{end_x:.1f}" cy="{end_y:.1f}" r="4" fill="{theme["line"]}"/>+ <text x="{label_x:.1f}" y="{end_y - 10:.1f}" text-anchor="{label_anchor}" fill="{theme["ink"]}" font-size="13" font-weight="600">{y_max_raw:,} ★</text>+ </g>+</svg>+'''+++def main() -> None:+ if len(sys.argv) != 3:+ raise SystemExit(__doc__)+ repo, prefix = sys.argv[1], sys.argv[2]+ pts = build_series(fetch_star_dates(repo))+ for mode, theme in THEMES.items():+ path = f"{prefix}-{mode}.svg"+ with open(path, "w") as f:+ f.write(render(repo, pts, theme))+ print(f"wrote {path} ({pts[-1][1]} stars, {len(pts)} points)")+++if __name__ == "__main__":+ main()