Fix markdown, newline and ShellCheck findings for the shared CI's lints #1020

Merged
merge-queue merged 1 commit from PIPT-85-lint-fixes into main 2026-11-30 14:56:06 -08:00
Owner

Work packages: SES-371, PIPT-85

Clears chess-tactics' findings from the file-convention and lint checks the shared CI's default suite is about to run (pipeline-templates suites/default/conventions.mjs and lints.mjs at 66d1a7f). Both exit 0 on this branch. No code behaviour changes.

Markdown (markdownlint 0.42.2, every default rule but MD013)

  • Its own auto-fixes: blank lines around lists, headings and fences; bare URLs and the email in angle brackets; one emphasis and list-marker style; trailing colons off headings.
  • Every unlabelled code fence names its language (sh, text, js, bat).
  • Five ADRs whose "superseded" banner sat above the title now open with the title, banner under it.
  • Three tables rewritten in one consistent pipe style.
  • Duplicate headings made distinct: the board-solver plan's per-phase sub-headings carry their phase ("Files (Phase 2)"), and ADR-0537's addendum has "Verification of the addendum".
  • The background-set brief's bold field labels are real #### headings; a heading that skipped a level in the pre-drawn generation doc is now ##.
  • <main> in the decision log is code, as are the --ds-font-* / --ds-text-* tokens (the auto-fix had eaten a space between the two asterisks).
  • Hand-corrected where the auto-fix would have changed meaning: wrapped prose lines that began with + (meaning "plus") were being turned into list items, so the + moved to the end of the line before; the local-dev diagnosis steps keep their 1–4 numbering, with their code blocks nested under each step; ADR-0526's second item "9" is numbered 10 onwards.

File conventions

  • Trailing newline added to 13 files (JSON reports, the ambience manifest, font licences, tools/aw-import/hcmap.json); matchassign.mjs, which writes hcmap.json, now writes the newline too.
  • .forgejo/workflows/checks.yml renamed to checks.yaml (YAML is .yaml); README and ADR-0645 updated.

ShellCheck

  • bin/codex-worktree-setup was checked out with CRLF on Windows (core.autocrlf=true), which sh and ShellCheck read as a stray carriage return. .gitattributes now pins *.sh and that script to LF on every machine.
  • CDPATH= cd became CDPATH='' cd (same meaning, explicit empty value).

pull-request check passed locally.

🤖 Generated with Claude Code

Work packages: [SES-371](https://openproject.home.romaine.life/wp/SES-371), [PIPT-85](https://openproject.home.romaine.life/wp/PIPT-85) Clears chess-tactics' findings from the file-convention and lint checks the shared CI's default suite is about to run (pipeline-templates `suites/default/conventions.mjs` and `lints.mjs` at 66d1a7f). Both exit 0 on this branch. No code behaviour changes. **Markdown** (markdownlint 0.42.2, every default rule but MD013) - Its own auto-fixes: blank lines around lists, headings and fences; bare URLs and the email in angle brackets; one emphasis and list-marker style; trailing colons off headings. - Every unlabelled code fence names its language (`sh`, `text`, `js`, `bat`). - Five ADRs whose "superseded" banner sat above the title now open with the title, banner under it. - Three tables rewritten in one consistent pipe style. - Duplicate headings made distinct: the board-solver plan's per-phase sub-headings carry their phase ("Files (Phase 2)"), and ADR-0537's addendum has "Verification of the addendum". - The background-set brief's bold field labels are real `####` headings; a heading that skipped a level in the pre-drawn generation doc is now `##`. - `<main>` in the decision log is code, as are the `--ds-font-*` / `--ds-text-*` tokens (the auto-fix had eaten a space between the two asterisks). - Hand-corrected where the auto-fix would have changed meaning: wrapped prose lines that began with `+` (meaning "plus") were being turned into list items, so the `+` moved to the end of the line before; the local-dev diagnosis steps keep their 1–4 numbering, with their code blocks nested under each step; ADR-0526's second item "9" is numbered 10 onwards. **File conventions** - Trailing newline added to 13 files (JSON reports, the ambience manifest, font licences, `tools/aw-import/hcmap.json`); `matchassign.mjs`, which writes `hcmap.json`, now writes the newline too. - `.forgejo/workflows/checks.yml` renamed to `checks.yaml` (YAML is `.yaml`); README and ADR-0645 updated. **ShellCheck** - `bin/codex-worktree-setup` was checked out with CRLF on Windows (`core.autocrlf=true`), which sh and ShellCheck read as a stray carriage return. `.gitattributes` now pins `*.sh` and that script to LF on every machine. - `CDPATH= cd` became `CDPATH='' cd` (same meaning, explicit empty value). `pull-request check` passed locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fix markdown, newline and ShellCheck findings for the shared CI's lints (PIPT-85)
All checks were successful
Suite tofu / apply (push) Has been skipped
Suite web-app / scope (push) Has been skipped
Suite web-app / check-image (push) Has been skipped
Suite web-app / publish (push) Has been skipped
Suite web-app / publish-static (push) Has been skipped
Suite web-app / reused-checks (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite cluster-service / scope (pull_request) Successful in 50s
Suite web-app / publish-static (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Checks / check-docs (pull_request) Successful in 58s
Suite tofu / scope (pull_request) Successful in 49s
Suite tofu / check-plan (pull_request) Has been skipped
Suite cluster-service / check-manifests (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 50s
Suite cluster-service / check-image (pull_request) Has been skipped
Suite cluster-service / publish (pull_request) Has been skipped
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / scope (pull_request) Successful in 1m6s
Suite tofu / reused-checks (pull_request) Successful in 22s
Suite default / check-logs (pull_request) Successful in 21s
Suite default / check-fetches (pull_request) Successful in 25s
Suite cluster-service / reused-checks (pull_request) Successful in 27s
Suite default / check-rules (pull_request) Successful in 21s
Suite web-app / check-image (pull_request) Successful in 2m47s
Suite web-app / check-test (backend) (pull_request) Successful in 4m1s
Suite default / reused-checks (pull_request) Successful in 17s
Suite web-app / check-test (frontend) (pull_request) Successful in 12m4s
merge-queue landed on main
Suite web-app / reused-checks (pull_request) Successful in 25s
471a65734b
merge-queue deleted branch PIPT-85-lint-fixes 2026-11-30 14:56:06 -08:00
Sign in to join this conversation.
No description provided.