Open
Description
We need a way to be able to retrospectively apply vale checks across the entire corpus. To make this more efficient and rather than check these manually, proposing the following process:
- We add a
.check
file to a folder (empty means all md files i.e.**/*.md[x]
, but it can contain a glob to limit files) - Raise a PR
- A CI/CD workflow finds all files beneath this folder recursively.
- It invokes vale rules for these files
- The ouput is parsed and the lines read and passed to an LLM with the value rule - asking for correction
- The correction is output into the Github worker stream in a format which causes a suggestion to be proposed.
- The user accepts or declines the suggestions
- Commits the PR
The benefit here is we can do folders incrementally, AI does all the work but we review changes.
We need to establish if (6) is possible.