Skip to content

docs: restore code formatting on historical paths in architecture records (#162) - #164

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

jirathip-k merged 1 commit into
stagingfrom
issue-162

Conversation

@jirathip-k

Copy link
Copy Markdown
Contributor

Closes #162

For humans

The old design records under docs/architecture show file names formatted as code again, so they read as references, not prose.
Files that no longer exist, or that live in another repo, are already labelled as such in the text around them. The one record that named the removed line cap files without saying so now has the same "removed" note as the others.

What changed

  • Put back the backticks arch.toml: add [docs] hygiene and fix what arch-check flags (#159) #160 removed in 18 files under docs/architecture/. The docs gate treats docs/architecture/** as records and only checks their links (RECORDS in crates/gatekeeper-model/src/docs.rs, Class::Record in crates/gatekeeper-engine/src/check/docs.rs). The un-backticking was only needed in arch.toml: add [docs] hygiene and fix what arch-check flags (#159) #160's first round, when [docs] still sat in .drover/arch.toml and drover's arch-check checked every doc.
  • Added the standard cap-removed Note: to docs/architecture/checks-to-gatekeeper/shapes.md, the only restored record that names ci/cap.toml / ci/cap.d/ with nothing around it saying they're gone.

Decisions

  • No label on every single path. Each other missing path is already labelled by the file's cap Note:, a table row that says "removed" or names the other repo, a "Where it stands (staging )" heading, a rejected option, or a fixture or example finding. Adding more labels would only repeat those.

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

Evidence (head 222108e)

  • ./.gatekeeper/run check --gate core/docs: exit 0 (docs: 80 files, 0 findings)
  • drover arch-check: exit 0 (1255 files, 0 violations)
  • cargo fmt --check: exit 0

…ords (#162)

Records under docs/architecture get only the link check, so the backticks
#160 dropped were never needed by the gate. Put them back and add the
removed-cap note to the one record that lacked it.
@jirathip-k
jirathip-k merged commit 9adedbf into staging Nov 29, 2026
16 checks passed
@jirathip-k
jirathip-k deleted the issue-162 branch November 29, 2026 05:42
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