Skip to content

chore(ecc): add ECC developer profile configuration#424

Merged
limaronaldo merged 2 commits intomainfrom
chore/ecc-developer-profile-setup
Mar 31, 2026
Merged

chore(ecc): add ECC developer profile configuration#424
limaronaldo merged 2 commits intomainfrom
chore/ecc-developer-profile-setup

Conversation

@limaronaldo
Copy link
Copy Markdown
Owner

@limaronaldo limaronaldo commented Mar 31, 2026

Summary

  • Add full ECC (Everything Claude Code) developer profile to prepare the codebase for v2 upgrade
  • Resolves ECC audit findings: health score 80/100 → 100/100
  • Adds missing rules/python/ directory (coding-style, patterns, security, testing)
  • Adds 5 missing skills: frontend-patterns, frontend-slides, python-patterns, python-testing, e2e-testing

What's Included

Category Count Purpose
Agents 17 Specialized reviewers (TS, Python, security, DB), TDD guide, architect
Commands 44 /plan, /tdd, /code-review, /verify, /orchestrate, and more
Rules 19 TypeScript + Python + common coding standards
Scripts 31 Hooks (quality gate, typecheck, format), orchestration, session mgmt
Skills 21 TDD, e2e-testing, frontend-patterns, python-patterns, continuous-learning
Hooks 2 hooks.json + README

ECC Analysis

Profile:      developer
Languages:    TypeScript, Python
Frameworks:   React
Docker:       true
CI:           GitHub Actions

Why Now

This PR prepares the codebase for the MultiplAI v2 upgrade (Subscription Pool Orchestration System). Having ECC properly configured ensures:

  1. Consistent coding standards across all v2 implementation phases
  2. Python rules ready for any Python components
  3. Security-aware hooks active during development
  4. TDD and quality gate enforcement from day one

Test plan

  • Verify .claude/ directory structure is correct
  • Verify Claude Code loads rules and agents properly
  • Run /verify command to test quality gate
  • Confirm no conflicts with existing CLAUDE.md and AGENTS.md

ECC analysis detected: TypeScript + Python + React + Docker + GitHub Actions.
Resolves audit findings (80/100 → 100/100):
- Add missing rules/python/ (coding-style, patterns, security, testing)
- Add 5 missing skills: frontend-patterns, frontend-slides, python-patterns,
  python-testing, e2e-testing
- Add full ECC developer profile: 17 agents, 44 commands, 19 rules,
  31 scripts, 21 skills, hooks configuration
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ae919829fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


'use strict';

const fs = require('fs');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use CommonJS-compatible entrypoint for Node hook runner

This file is executed with node from .claude/hooks/hooks.json, but it uses require(...) inside a repository whose root package.json declares "type": "module". In that environment the script fails immediately (ReferenceError: require is not defined), so the configured Pre/Post/Stop hooks cannot run. Rename this entrypoint to .cjs (and update hook commands) or convert it to ESM imports.

Useful? React with 👍 / 👎.

const fs = require('fs');
const path = require('path');
const { spawnSync } = require('child_process');
const { isHookEnabled } = require('../lib/hook-flags');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add missing hook-flags module for hook gating

The script imports ../lib/hook-flags, but this commit does not add any hook-flags module under .claude/scripts/lib. In a CommonJS runtime this causes MODULE_NOT_FOUND, which breaks hook enable/disable checks and prevents this runner from functioning. Add the missing helper file or fix the import path to an existing module.

Useful? React with 👍 / 👎.

exit 0
fi

printf '%s' "$INPUT" | "$SCRIPT_PATH"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Execute observe hook with bash to avoid permission denial

This wrapper runs the target hook as an executable ("$SCRIPT_PATH"), but the referenced skills/continuous-learning-v2/hooks/observe.sh is committed non-executable (mode 100644). As a result, the observe hook exits with code 126 (Permission denied) whenever enabled, so observation capture fails. Invoke it as bash "$SCRIPT_PATH" or commit the target script with execute permissions.

Useful? React with 👍 / 👎.

- Remove hooks.json: all entries depend on CLAUDE_PLUGIN_ROOT env var
  which doesn't exist in normal checkouts
- Remove scripts/hooks/: all files use CommonJS require() but project
  declares "type": "module", causing ReferenceError on execution.
  Additionally, 7 required lib files were never shipped
- Remove scripts/lib/ and scripts/*.js: same CJS incompatibility
- Remove model-route.md command: conflicts with repo model policy
  documented in CLAUDE.md and AGENTS.md
- Remove model: frontmatter from all 17 agents: let repo policy decide
- Remove 15 commands dependent on plugin runtime or removed scripts
- Remove continuous-learning-v2 and dmux-workflows skills: depend on
  CLAUDE_PLUGIN_ROOT and removed script infrastructure

91 self-contained files remain (agents, commands, rules, skills).
@limaronaldo limaronaldo merged commit 51d147f into main Mar 31, 2026
4 checks passed
@limaronaldo limaronaldo deleted the chore/ecc-developer-profile-setup branch March 31, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant