mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-16 17:09:09 +00:00
Two review findings on the PR-mode split of check-docs-sync: - The docs-sync-strict job checks out at depth 1, so the diff base never resolves there and a hand edit to one docs/i18n/<locale>/llm.txt passed as SKIP. PR mode now runs a check that needs no base: every llm.txt mirror must exist, keep its separator and carry either the root body or the body most mirrors share. A base that moved leaves them all equally stale and passes; a single hand-edited mirror fails. Release mode is unchanged (same lines and exit code as the script before the split). - The pre-commit hook ran the script without a mode, i.e. release mode locally. After a feature PR that edits only the root llm.txt merged, every later commit on that base would be blocked until the wave synced the mirrors. The hook now passes --mode=pr: a commit is judged on what it does; mirrors it writes are still judged strictly.