Skip to content

docs/architecture: put the code formatting back on paths #160 unquoted (#161) - #163

Merged
jirathip-k merged 1 commit into
stagingfrom
issue-161
Nov 29, 2026
Merged

jirathip-k merged 1 commit into
stagingfrom
issue-161

Conversation

@jirathip-k

Copy link
Copy Markdown
Contributor

Closes #161

For humans

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.

What changed

  • Restores the backticks that arch.toml: add [docs] hygiene and fix what arch-check flags (#159) #160 took off paths in 18 files under docs/architecture/. The change only touches backticks: removing every backtick from both sides of the diff leaves no line that differs.
  • No code change. Decision records are class Record in the docs gate (link check only, see crates/gatekeeper-engine/src/docs/scope.rs), and the existing fixture packs/core/fixtures/docs/record-planned-path already shows that a record naming a missing path passes.

Decisions

  • Restored the code formatting instead of adding a removed: marker. Most of the unquoted paths are files in other repos or fixture repos (scripts/…, docs/guide.md), so "removed" would be wrong for them. The cap paths that really were removed are already in lines that say "was removed on 2026-11-27 (Remove the line cap: delete core/cap and this repo's cap files #133)" or "removed".
  • No new test: the rule that records skip the path check is already pinned by the record-planned-path selftest case.

Evidence (head 2330281)

  • ./.gatekeeper/run check --gate core/docs --base a4781c76384f: exit 0, "docs: 80 files, 0 findings"
  • ./.gatekeeper/run check --gate core/arch --base a4781c76384f: exit 0, "arch: 1255 files, 0 findings"
  • drover arch-check --base origin/staging: exit 0, "1255 files, 0 violations"
  • cargo fmt --check: exit 0

src/ net +0 (budget +0): docs only.

#161)

Decision records get the link check only, so a backticked path that is gone
or lives in another repo is no finding; the lines that name removed paths
already say so.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant