Add scripts/test.lua for dependency-free headless Neovim unit tests.
Cover schema normalization, invalid metadata reporting, files_regex.regex requirements, and duplicate id warnings.
Cover project identity resolution through Git origin, package name, and path-hash fallback.
Cover storage migration from legacy path-hash rules to stable identity rules.
Cover migration read failure reporting.
Add make test and make check targets.
Run headless tests in CI after validation.
Update docs/validation.md.
Notes
The tests run with nvim --headless -u NONE -l scripts/test.lua. They use temporary directories only and do not run fd, rg, or scan user projects.
## Summary
- Add `scripts/test.lua` for dependency-free headless Neovim unit tests.
- Cover schema normalization, invalid metadata reporting, `files_regex.regex` requirements, and duplicate id warnings.
- Cover project identity resolution through Git origin, package name, and path-hash fallback.
- Cover storage migration from legacy path-hash rules to stable identity rules.
- Cover migration read failure reporting.
- Add `make test` and `make check` targets.
- Run headless tests in CI after validation.
- Update `docs/validation.md`.
## Notes
The tests run with `nvim --headless -u NONE -l scripts/test.lua`. They use temporary directories only and do not run `fd`, `rg`, or scan user projects.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
scripts/test.luafor dependency-free headless Neovim unit tests.files_regex.regexrequirements, and duplicate id warnings.make testandmake checktargets.docs/validation.md.Notes
The tests run with
nvim --headless -u NONE -l scripts/test.lua. They use temporary directories only and do not runfd,rg, or scan user projects.