Language: English | Português (Brasil) | 简体中文 | 繁體中文 | 日本語 | 한국어 | Türkçe | Русский | Tiếng Việt | ไทย | Deutsch
ECC


182K+ stars | 28K+ forks | 170+ contributors | 12+ language ecosystems | Anthropic Hackathon Winner
The harness-native operator system for agentic work. From an Anthropic hackathon winner.
This is a community fork of affaan-m/ECC enhanced with:
- Comprehensive documentation — 21 docs covering concepts, guides, reference, and troubleshooting. Built for zero-to-productive in one sitting.
- Interactive demo — A complete rate-limiting feature implementation that shows all 3 ECC layers firing in sequence, with 5 deliberate bugs that each layer catches at exactly the right moment.
If you want the original upstream repo, go to affaan-m/ECC. If you want to understand how ECC works from scratch, start here.
The Demo
demo/ walks through adding rate limiting to an Express API with 5 deliberate bugs. Each bug is caught by a different ECC layer, at a different stage:
| Bug | Layer | When caught |
|---|
Hardcoded REDIS_URL = "redis://localhost:6379" | Layer 3: Hook | Before npm start runs — pre:bash:dispatcher blocks the command |
const ip: string = req.headers['x-forwarded-for'] (TS2322) | Layer 3: Hook | Seconds after file is saved — post:edit:typecheck fires |
No Retry-After header on 429 response | Layer 2: Agent | /code-review — code-reviewer flags RFC 6585 violation |
IP key from X-Forwarded-For alone — spoofable | Layer 2: Agent | /security-scan — security-reviewer flags OWASP A05 |
| No adversarial test for IP spoofing | Layer 1: Skill | Before implementation — tdd-workflow skill requires the test |
→ Read the full receipt: demo/SHOWCASE.md
The demo is runnable:
cd demo/app
npm install
npm test # 10 tests pass, 100% line coverage on middleware
npx tsc --noEmit # 1 deliberate TS2322 error in rateLimiter.ts, 0 in rateLimiter.fixed.ts
Not just configs. A complete system: skills, instincts, memory optimization, continuous learning, security scanning, and research-first development. Production-ready agents, skills, hooks, rules, MCP configurations, and legacy command shims evolved over 10+ months of intensive daily use building real products.
Works across Claude Code, Codex, Cursor, OpenCode, Gemini, Zed, GitHub Copilot, and other AI agent harnesses.