mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-20 14:32:24 +02:00
* feat: add Plan Canvas - browser annotate-and-approve review for plan artifacts - scripts/plan-canvas.js CLI (open/await/end/stop/server; bin ecc-plan-canvas) - loopback server + ECC-styled chrome + annotation SDK + zero-dep markdown renderer - Approve/Request-changes verdicts wired to the /plan confirmation gate - plan-canvas skill, /plan-canvas command, SessionStart hook surfacing open reviews - shared scripts/lib/loopback-guard.js extracted from control-pane (API re-exported) - 121 new tests incl. full-workflow E2E; registered in manifests, catalog, registry Inspired by lavish-axi (https://github.com/kunchenguid/lavish-axi) by @kunchenguid; original ECC-native implementation, not a port. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * refactor(plan-canvas): invoke via ecc-plan-canvas bin so the skill works from any project Skill/command referenced a cwd-relative `node scripts/plan-canvas.js`, unusable outside the ECC root. Switch to the ecc-plan-canvas bin (and $CLAUDE_PLUGIN_ROOT fallback) and align CLI next_step hints so an agent can run it as a skill in any repo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * feat(plan-canvas): render Mermaid diagrams + ship Codex cross-harness surface - markdown renderer emits <pre class="mermaid"> for ```mermaid blocks (source entity-escaped so the browser decodes it for the renderer while blocking injection) - artifact template loads a pinned Mermaid build only when a diagram is present, themed to ECC dark, securityLevel strict, graceful offline fallback to source (ECC_PLAN_CANVAS_MERMAID_URL overrides for a local mirror) - skill teaches Mermaid-for-diagrams and states the CLI+JSON loop is harness-agnostic - add .agents/skills/plan-canvas (Codex) with agents/openai.yaml interface manifest - register in install-modules workflow-quality paths; docs updated Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * docs(plan-canvas): add demo screenshot Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(ci): sync yarn.lock with new bin; add contributor checklist - yarn.lock records the ecc-plan-canvas bin so Yarn hardened-mode install no longer wants to modify the lockfile on public PRs - PR template + CONTRIBUTING gain a pre-push checklist covering the lockfile trap and the full skill/command/CLI registration surfaces Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Haley Chen <2022hachen@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
3.8 KiB
3.8 KiB
Command → Agent / Skill Map
This document lists each slash command and the primary agent(s) or skills it invokes, plus notable direct-invoke agents. Use it to discover which commands use which agents and to keep refactoring consistent.
| Command | Primary agent(s) | Notes |
|---|---|---|
/plan |
planner | Implementation planning before code |
/plan-canvas |
— (skill: plan-canvas) | Browser review canvas for plan artifacts: annotate, chat, approve/request changes |
/tdd |
tdd-guide | Test-driven development |
/code-review |
code-reviewer | Quality and security review |
/build-fix |
build-error-resolver | Fix build/type errors |
/e2e |
e2e-runner | Playwright E2E tests |
/refactor-clean |
refactor-cleaner | Dead code removal |
/update-docs |
doc-updater | Documentation sync |
/update-codemaps |
doc-updater | Codemaps / architecture docs |
/go-review |
go-reviewer | Go code review |
/go-test |
tdd-guide | Go TDD workflow |
/go-build |
go-build-resolver | Fix Go build errors |
/python-review |
python-reviewer | Python code review |
/harness-audit |
— | Harness scorecard (no single agent) |
/loop-start |
loop-operator | Start autonomous loop |
/loop-status |
loop-operator | Inspect loop status |
/quality-gate |
— | Quality pipeline (hook-like) |
/model-route |
— | Model recommendation (no agent) |
/orchestrate |
planner, tdd-guide, code-reviewer, security-reviewer, architect | Multi-agent handoff |
/multi-plan |
architect (Codex/Gemini prompts) | Multi-model planning |
/multi-execute |
architect / frontend prompts | Multi-model execution |
/multi-backend |
architect | Backend multi-service |
/multi-frontend |
architect | Frontend multi-service |
/multi-workflow |
architect | General multi-service |
/learn |
— | continuous-learning skill, instincts |
/learn-eval |
— | continuous-learning-v2, evaluate then save |
/instinct-status |
— | continuous-learning-v2 |
/instinct-import |
— | continuous-learning-v2 |
/instinct-export |
— | continuous-learning-v2 |
/evolve |
— | continuous-learning-v2, cluster instincts |
/promote |
— | continuous-learning-v2 |
/projects |
— | continuous-learning-v2 |
/skill-create |
— | skill-create-output script, git history |
/checkpoint |
— | verification-loop skill |
/verify |
— | verification-loop skill |
/eval |
— | eval-harness skill |
/test-coverage |
— | Coverage analysis |
/sessions |
— | Session history |
/setup-pm |
— | Package manager setup script |
/claw |
— | NanoClaw CLI (scripts/claw.js) |
/pm2 |
— | PM2 service lifecycle |
/security-scan |
security-reviewer (skill) | AgentShield via security-scan skill |
Direct-Use Agents
| Direct agent | Purpose | Scope | Notes |
|---|---|---|---|
typescript-reviewer |
TypeScript/JavaScript code review | TypeScript/JavaScript projects | Invoke the agent directly when a review needs TS/JS-specific findings and there is no dedicated slash command yet. |
Skills referenced by commands
- continuous-learning, continuous-learning-v2:
/learn,/learn-eval,/instinct-*,/evolve,/promote,/projects - verification-loop:
/checkpoint,/verify - eval-harness:
/eval - security-scan:
/security-scan(runs AgentShield) - strategic-compact: suggested at compaction points (hooks)
How to use this map
- Discoverability: Find which command triggers which agent (e.g. “use
/code-reviewfor code-reviewer”). - Refactoring: When renaming or removing an agent, search this doc and the command files for references.
- CI/docs: The catalog script (
node scripts/ci/catalog.js) outputs agent/command/skill counts; this map complements it with command–agent relationships.