Skip to content

trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14 - #1115

Closed
trunk-io[bot] wants to merge 3 commits into
mainfrom
trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14
Closed

trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14#1115
trunk-io[bot] wants to merge 3 commits into
mainfrom
trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Sep 11, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA 3b7115fc3e14f87fb018ffe4277089d50d374d68.

See more details here.

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing the changes from pull request 1094.

rigel-mintaka and others added 3 commits September 11, 2026 14:15
…dl (RIG-3663)

Replaces markdownlint-cli2 with rumdl as compass's whole-repo markdown gate — a parity swap to one Rust binary, matching orion (RIG-1994).

### What changed

- New `.rumdl.toml` at the repo root is the single place the markdown rule policy lives. rumdl prunes `[global] exclude` before reading any file, so the exclusion set is plain config, not a command-line glob chain.
- `moon.yml` `root:markdownlint` now runs `rumdl check .` (no glob operands, no --config chain); task name kept as `markdownlint`. Its inputs reference `/.rumdl.toml`.
- `devenv.nix` and the CI toolchain comments swap the nixpkgs attribute markdownlint-cli2 → rumdl. The ci.yml PATH derives from parity.ts's parse of devenv.nix, so no literal attr to change there.
- Deleted `.markdownlint.json` and `.markdownlint-cli2.jsonc` in the same change: rumdl reads markdownlint config files and `.markdownlint-cli2.jsonc` outranks `.markdownlint.json`, so leaving either would silently re-enable MD013 and drop the exclusions.
- Repointed the docsite runtime consumer (`apps/eng-docs/scripts/gather.ts` + `deploy.ts`) at `.rumdl.toml` `[global] exclude` via a native `Bun.TOML.parse`; `parseExclusions`/`changedDocPages` now take the parsed array. Tests updated.
- Rule dispositions on compass's own evidence: MD046 pinned `fenced` (config fix, clears 53); MD064 (14 stray double-spaces) fixed in prose via `rumdl fmt`, with 3 dependent DECISIONS.md anchor fragments corrected; MD057/MD032/MD076/MD077/MD075/MD049 disabled as verified false positives (MD057's 28 findings are all the DECISIONS paste-ready-row convention — zero genuine broken links).
- CONTRIBUTING.md, docs/architecture/build-and-ci.md, and the renovate tooling comments updated.

### Notes

- MD032 decided OFF on compass's own evidence, not copied: its 6 findings are all list-continuation false positives (auto-fix splits a sentence mid-line). It changes no file's fixability here.
- The vendored `forks/` trees the issue's 916-file/51-issue figures assumed are already gone from this checkout (RIG-2336 landed), so the corpus is 217 tracked md; the gate scans 212 with exclusions.

Spec-impact: none. Refs RIG-3663

Co-authored-by: Matt Wilkinson <matt@rigel.build>
…ile (RIG-3663)

Review fix (Main): the repo-wide MD057 disable was wrong. MD057 is a valuable rule (broken relative links) and is now ENABLED, exempted only for the 11 design records whose `## Ledger delta` sections quote a paste-ready DECISIONS.md row.

Those rows' links are written relative to the ledger's own directory (`docs/designs/`), so they resolve from `DECISIONS.md` (which passes MD057) but not from the record's own directory, which is where rumdl resolves a relative link. The authored ledger copies are correct; the record-body quotes only appear broken from their own vantage. A `[per-file-ignores]` scope keeps MD057 live everywhere else and keeps every other rule live on these records.

Controls: a broken link injected into a non-exempt file (README.md) still fires MD057; MD001 still fires inside an exempt record (exemption is MD057-only).

Spec-impact: none. Refs RIG-3663

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://trunk-merge-pr-1094-a9b7495f.compass-eng-docs.pages.dev

Deployed from trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14 at 884e986.

Changed pages:

@trunk-io trunk-io Bot closed this Sep 11, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-1094/a9b7495f-e8bc-4e7b-9046-a7d6ef3b2e14 branch September 11, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant