Repository navigation
arch.toml: add [docs] hygiene and fix what arch-check flags (#159) - #160
Merged
Merged
Conversation
…re/arch wants it (#159)
This was referenced Nov 29, 2026
jirathip-k
added a commit
that referenced
this pull request
Nov 29, 2026
#161) (#163) Old decision records show file names as code again, the way they were written. No check reads file names in those records, so the earlier change only made the text harder to read. Lines that name removed files already say they were removed. Closes #161 · 1 review round · src +0 · PASS 2330281
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #159
For humans
The docs check now also watches the command-line and config files, so docs that drift from them get flagged.
Old decision records that mention removed files, or files in other repos, still say the same thing, but those mentions are no longer formatted as code, so the architecture check stays green.
Changes
.gatekeeper/config.toml: new[docs]table withwatch=crates/gatekeeper/src/cli.rs,crates/gatekeeper-engine/src/config.rs,crates/gatekeeper-engine/src/arch/config.rs,.gatekeeper/config.toml(per the amendment / decision q4285)..drover/arch.toml: no[docs]table;[comments] policy = "strict"and itsexceptare unchanged.docs/architecture/: removed the backticks from the 89 path mentions arch-check reported as "no such path" (removed files such as ci/cap.toml, scripts/budget.py, line-cap.sh, and paths in other repos). The words are the same.Evidence (head 4f93444)
drover arch-check: exit 0,1255 files, 0 violations../.gatekeeper/run check --gate core/arch: exit 0,arch: 1255 files, 0 findings../.gatekeeper/run check --gate core/arch --gate core/docs: exit 0,docs: 80 files, 0 findings.cargo fmt --check: exit 0.core/pr-body(the body named the older head bb1770e); every other core gate was ok. This body names the current head.src/ net +0 (budget +10): config and docs only.Decisions
watchlives in[docs]of.gatekeeper/config.toml(the docs-gate ADR's home), not in.drover/arch.toml, which gatekeeper's own core/arch gate refuses. The doctor-yellow AC moves to a drover issue.docs/architecture/, and a skip list of dead paths would keep growing.watchadds nothing beyond the issue's list:gatekeeper-modelhas no config or cli file, andtests/**/config.tomlfixtures are left out as the issue says.