ECC/docs/tr/commands
devin-ai-integration[bot] 3af4676e99
refactor: consolidate duplicated hook-root resolver into shared resolveEccRoot() (#2368) (#2410)
* fix(ci): resync lockfiles with package.json (eslint 10) + migrate yarn.lock to Yarn 4 format

package.json requires eslint@^10.6.0 but the committed locks pinned 9.39.2, so
npm ci aborted and Yarn 4 hardened mode rejected the stale v1-classic yarn.lock
(YN0028). Regenerate package-lock.json and rewrite yarn.lock in Yarn 4 (berry)
format so npm ci and immutable yarn installs both pass.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ci): require clean probe exit for Windows shell/bash detection; add pyyaml dev dep

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor: consolidate duplicated hook-root resolver into shared resolveEccRoot() (#2368)

The inline node -e resolver blob was duplicated ~60x across hooks.json,
command docs, and translations. Each copy inlined the full ~700-char
plugin-root search using a spread over nested array literals
(p.join(d,'plugins',...s) over [['ecc'],...]), which breaks Windows hook
execution due to shell quoting (#2368).

Collapse every copy to a 250-char locator that loads the committed
resolve-ecc-root module and delegates to resolveEccRoot() — no spread, no
nested array literals, no escaped double quotes. The real search logic now
lives in one tested module. Also route session-start-bootstrap.js through
resolveEccRoot() instead of its own duplicated reimplementation, and fix
the auto-update.md 'marketplace' (singular) typo along the way.

Guard tests updated: discovery behavior is asserted against resolveEccRoot();
the inline is asserted to delegate and to contain no Windows-fragile
constructs.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(resolve-ecc-root): restore full env-unset discovery in inline resolver

Address Greptile review on #2410: when CLAUDE_PLUGIN_ROOT is unset the
delegating inline could only load the resolver module from ~/.claude,
returning ~/.claude without ever reaching the plugin/cache search. Restore
the old inline's discovery breadth (exact plugin roots + versioned cache)
Windows-safely (no spread, nested arrays, or escaped quotes), then delegate
the authoritative decision to resolveEccRoot(). Add regression tests for
plugin-subdir and versioned-cache bootstrap with env unset.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: affaan <affaan@itomarkets.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-03 20:01:17 -07:00
..
build-fix.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
checkpoint.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
code-review.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
e2e.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
eval.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
evolve.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
go-build.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
go-review.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
go-test.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
instinct-export.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
instinct-import.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
instinct-status.md refactor: consolidate duplicated hook-root resolver into shared resolveEccRoot() (#2368) (#2410) 2026-07-03 20:01:17 -07:00
learn-eval.md docs: resolve markdownlint errors across translated docs 2026-04-05 14:41:27 -07:00
learn.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
multi-backend.md docs: align command docs with shipped behavior (#2169) 2026-06-07 13:25:58 +08:00
multi-execute.md docs: align command docs with shipped behavior (#2169) 2026-06-07 13:25:58 +08:00
multi-frontend.md docs: align command docs with shipped behavior (#2169) 2026-06-07 13:25:58 +08:00
multi-plan.md docs: align command docs with shipped behavior (#2169) 2026-06-07 13:25:58 +08:00
multi-workflow.md docs: align command docs with shipped behavior (#2169) 2026-06-07 13:25:58 +08:00
orchestrate.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
plan.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
pm2.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
refactor-clean.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
sessions.md refactor: consolidate duplicated hook-root resolver into shared resolveEccRoot() (#2368) (#2410) 2026-07-03 20:01:17 -07:00
setup-pm.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
skill-create.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
tdd.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
test-coverage.md fix: harden unicode safety checks 2026-03-29 21:21:18 -04:00
update-docs.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00
verify.md Add Turkish (tr) docs and update README (#744) 2026-03-22 15:37:04 -07:00