GitNexus/gitnexus/test
Gergő Magyar a82362765c
fix: stop analyze from clobbering customized GitNexus skills (#3124)
* fix: preserve customized SKILL.md files during analyze

Skip overwriting standard GitNexus skill files when they already differ from the bundled template, and keep divergent nested leftovers instead of deleting them.

Fixes #3080

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: note --skip-agents-md does not skip skills

Point operators at --skip-skills so the AGENTS/CLAUDE skip flag is not mistaken for a full agent-file freeze.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(review): treat unreadable SKILL.md as an error, not missing

Only ENOENT counts as absent so EACCES cannot fall through to recursive rm. Strengthen the skipSkills nested leftover test with a bundle-identical file that install would otherwise delete.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ci): prettier-format ai-context unit tests

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: clarify --skip-agents-md vs community --skills

Co-authored-by: Cursor <cursoragent@cursor.com>

* test: pin GITNEXUS_LANG=en for skip-agents-md help assertions

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: preserve customized skills in analyze summaries and setup

Report preserved vs written skills, keep leftover nested directories that
contain extra files, and skip setup overwrite of divergent SKILL.md.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Address PR review feedback (#3124)

Preserve operator-edited files inside directory skills during setup, and
restore GITNEXUS_TEST_SKILLS_ROOT after the Antigravity skill tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Address PR review feedback (#3124)

Copy directory-skill companions even when SKILL.md is customized, while
still skipping files whose bytes already differ from the bundle.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 09:56:48 +00:00
..
fixtures fix(ingestion): index NestJS decorator routes so api_impact and route_map stop reporting live endpoints as non-existent (#3017) 2026-08-27 08:35:36 +01:00
helpers fix(ingestion): ignore emitted Next.js build output, and delete the inert public/build entry (#3018) 2026-08-27 13:29:05 +01:00
integration fix(ci): stop gitleaks on Kotlin Actuator test canary (#3123) 2026-09-01 07:14:44 +00:00
unit fix: stop analyze from clobbering customized GitNexus skills (#3124) 2026-09-01 09:56:48 +00:00
utils fix(hook): emit MCP query hint when server owns DB lock (#2396) (#2397) 2026-07-08 18:34:05 +01:00