ccc-node
CCC = Claude Code Cli — source-only node harness for turning a Seoyoon/Hermes host into a Claude Code node: Claude settings, hooks, memory bootstrap, A2A worker helpers, diagnostics, and the Telegram bridge.
Captured from nosuk and soonwook rollouts. This repo holds the mechanism, not live node secrets or memories.
Bridge provenance: bridge/ was vendored from a fork of terranc/claude-telegram-bot-bridge, then intentionally developed here as part of ccc-node.
Prerequisites
| Tool | Why |
|---|
bash 4+ | setup and every harness script |
git | the node runs from a checkout and self-updates from it |
jq | required — setup merges settings.json with it |
python3 3.11+ | hooks, doctor, agent-cron (setup degrades without it; the harness does not) |
gpg | verifies the self-update commit signature (docs/self-update.md) |
The Telegram bridge additionally needs its own Python venv; bridge/setup.sh
builds it (see bridge/README.md).
Quickstart — new node path
git clone https://github.com/jinwon-int/ccc-node.git
cd ccc-node
./setup.sh --help # all flags, including the node-identity seeding below
./setup.sh --dry-run # preview resolved paths and planned writes
./setup.sh # install harness files/templates into ~/.claude and ~/.hermes
# Root-run nodes: setup drops the bypassPermissions default (Claude Code refuses
# it under root); run Claude as a non-root user to keep the no-prompt default.
# setup also disables the OpenAI-curated GitHub plugin in ~/.codex/config.toml;
# GitHub work uses the node-local authenticated gh CLI by default.
Seeding the node identity at install time is optional but saves hand-editing
every <PLACEHOLDER> afterwards — freshly seeded CLAUDE.md / MEMORY.md /
USER.md get substituted values (existing files are never touched):
./setup.sh --node soonwook --display 순욱 --slot VPS6 \
--fleet-role "Team2 worker" --lang Korean \
--user-name "Seo Jin On" --user-gh jinon86 --user-tz Asia/Seoul
Optional Telegram bridge — setup.sh first (it creates bridge/.env and
prompts for the bot token), then start it. --path is the project root the
bridge serves; use your own, not the /root of a root-run node:
cd bridge
./setup.sh
./start.sh --path "$HOME" -d
After setup:
- Fill any remaining placeholders in
~/.claude/CLAUDE.md and template config files.
- Provide node-local credentials through their normal tools (
claude login, gh auth login, wiki-agent install). Do not commit secrets.
- Verify:
scripts/ccc-doctor.sh, scripts/validate-harness.sh, and—if using the bridge—bridge/start.sh --path "$HOME" --status.
- Start a fresh Claude Code session and confirm memory injection/status line behavior.
What you get
| Area | One-line summary | Details |
|---|
| Memory hooks | SessionStart/PostCompact memory snapshot + background refresh; startup is no-network/fail-open. Per-provider feature status (incl. degraded lanes) is owned by docs/provider-capability-matrix.md. | docs/memory.md |
| nunchi | Opt-in node-local working memory: a scoped fact store fed by session/bridge ingest, judge and wiki-promote batches, and a bounded snapshot prepended to the startup context on nunchi-mode nodes; Wiki promotion stays human-gated. | docs/memory.md |
| Telegram bridge | Telegram ↔ Claude Code bridge with daemon/supervisor, streaming UI, push notifier, voice/media helpers. | bridge/README.md, docs/bridge-ops.md |
| Harness settings | Claude settings, status line, Korean output style, plugin/standalone hook modes. | docs/harness.md |
| Doctor diagnostics | Read-only drift report plus conservative dry-run/apply repairs for settings and allowlisted files. | docs/doctor.md |
| Security audit | Metadata-only permission/config/redaction checks; no matched secret text printed. | docs/security-audit.md |
| Agent-cron | Durable local task definitions, due/lock/run primitives, explicit scheduler execution. | docs/agent-cron.md |
| Skill autosave / promotion | Skill-review hook and daily sweep with Telegram approval; opt-in private central intake through draft PRs with dual-broker review, auto-revision, and signed receipts; fleet-skills graduation criteria. | docs/skill-autosave.md, docs/skill-graduation.md |
| GitHub transport | Local git + gh CLI by default; the Codex GitHub connector plugin is disabled during setup. | docs/github-transport.md |