ECC/schemas
Mhd Ghaith Al Abtah 7004a66243 feat(install-targets): add claude-project (per-project Claude Code) adapter
Completes the install-target matrix for Claude Code. Until now, ECC's
Claude support was home-scope only (~/.claude/) via the `claude` target.
This adds a project-scope counterpart (./.claude/) via a new
`claude-project` target so teams can install ECC per-repo without
contaminating ~/.claude/ — matching the existing project-scope adapters
for Cursor, Antigravity, Gemini, CodeBuddy, Joycode, and Zed.

Symmetric with `claude`:
- Same namespace under rules/ecc and skills/ecc
- Same docs/<locale> handling for --locale
- Same hooks placeholder substitution for hooks.json
- Reuses claude-home's destination-mapping logic 1:1

Use cases:
- Monorepos with multiple Flow-managed projects
- Teams that want ECC scoped per-project without touching ~/.claude/
- Per-project skill/rule isolation when global install isn't desirable

No breaking change: existing --target claude continues to route to
claude-home (user-scope) unchanged. New target is opt-in.

Tests
-----
- 4 new tests in tests/lib/install-targets.test.js
  (root resolution, lookup-by-id, plan parity with claude, foreign-path filtering)
- All install-target regression guards (schema enum / SUPPORTED_INSTALL_TARGETS)
  still pass
- End-to-end smoke: `--target claude-project --profile minimal --dry-run`
  emits 359 ops with destinations rooted at <projectRoot>/.claude/ (parity
  with --target claude which emits 359 ops rooted at ~/.claude/)
2026-05-19 12:14:27 -04:00
..
ecc-install-config.schema.json feat(install-targets): add claude-project (per-project Claude Code) adapter 2026-05-19 12:14:27 -04:00
hooks.schema.json fix: align architecture tooling with current hooks docs 2026-03-10 19:36:57 -07:00
install-components.schema.json fix(installer): harden locale docs install 2026-05-17 20:46:04 -04:00
install-modules.schema.json fix(installer): harden locale docs install 2026-05-17 20:46:04 -04:00
install-profiles.schema.json feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
install-state.schema.json feat: orchestration harness, selective install, observer improvements 2026-03-14 12:55:25 -07:00
package-manager.schema.json fix: add try-catch to inline hooks, fix schema drift 2026-02-12 14:38:00 -08:00
plugin.schema.json fix: disable claude plugin bundled mcps 2026-04-30 01:13:53 -04:00
provenance.schema.json feat: define skill placement and provenance policy (#748) 2026-03-22 15:39:48 -07:00
state-store.schema.json feat: track linked work items in status 2026-05-11 12:07:27 -04:00