ECC/tests
Peopleoftech a8c6da485d
fix(hooks): catch the bypass short flag anywhere in a cluster (#2668)
isCommitNoVerifyShortFlag anchored on the first character, so it only recognised the flag when it led the cluster. Git clusters short options, which means git commit -an is -a plus the bypass flag and skips the hooks. -sn and -vn slip through the same way, while -na and -nm are caught — the difference is position, not intent.

Scanning now walks the cluster and stops at a value-taking option, since that option swallows the rest as its inline value. The n in -mn stays message text, and the existing -tn case keeps working.

Adds 4 tests: the three clustered forms that were escaping, plus -mn to pin the inline-value boundary. Verified the three fail against current main. Suite 25 to 29.

Co-authored-by: haelyra <49814733+haelyra@users.noreply.github.com>
2026-08-04 17:08:56 -04:00
..
ci fix: use scalar Claude agent tools (#2583) 2026-07-26 03:20:15 -07:00
commands fix(commands): generate discoverable skills from learning workflows (#2653) 2026-08-02 14:39:29 -04:00
docs feat(codex): add ECC navigation guide (#2525) 2026-07-22 20:44:37 -04:00
hooks fix(hooks): catch the bypass short flag anywhere in a cluster (#2668) 2026-08-04 17:08:56 -04:00
integration refactor(hooks): consolidate PostToolUse hooks into sync/async dispatchers (#2494) 2026-07-19 15:47:10 -04:00
lib fix(install): exclude ECC skills from antigravity install target (#2680) 2026-08-04 16:57:27 -04:00
scripts fix(install): exclude ECC skills from antigravity install target (#2680) 2026-08-04 16:57:27 -04:00
__init__.py
codex-config.test.js
conftest.py
opencode-config.test.js test(opencode): reject any namespace-scoped command agent id, not just the legacy prefix (#2477) 2026-07-10 09:58:03 +05:30
opencode-plugin-hooks.test.js fix(opencode): don't crash the whole session when plugins/lib is missing (#2538) 2026-07-28 21:37:41 -04:00
opencode-tools.test.js fix(opencode): don't crash the whole session when plugins/lib is missing (#2538) 2026-07-28 21:37:41 -04:00
plugin-manifest.test.js fix: add plugin cache health check (#2249) 2026-06-15 14:01:25 -04:00
run-all.js feat: worktree-lifecycle service (deterministic conflict prediction + safe GC) (#2164) 2026-06-07 13:00:08 +08:00
test_astraflow_provider.py feat: add Astraflow provider support 2026-05-11 23:21:46 -04:00
test_atlas_provider.py feat: add Atlas Cloud as LLM/AI provider (#2279) 2026-06-18 16:29:11 -04:00
test_builder.py fix: docs/COMMAND-REGISTRY.json check fails on fresh Windows clone (missing .gitattributes) (#2437) 2026-07-03 20:14:55 -07:00
test_claude_provider.py fix(llm/providers/claude): attach cache_control to system block, not top-level (#2515) 2026-07-17 16:04:32 -04:00
test_executor.py
test_invariant_runner.py fix: sanitize subprocess call in runner.py (#2149) 2026-06-15 13:49:45 -04:00
test_provider_tools.py fix: harden openai-compatible provider responses 2026-05-18 01:04:28 -04:00
test_resolver.py feat: add Atlas Cloud as LLM/AI provider (#2279) 2026-06-18 16:29:11 -04:00
test_selector.py feat: connect ECC to canonical Ito compute CLI (#2558) 2026-07-23 19:28:55 -07:00
test_templates.py
test_types.py feat: add Astraflow provider support 2026-05-11 23:21:46 -04:00