Hyphenated file names and lint-clean Markdown for the shared CI checks #31

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

Fixes this repo's findings from the shared conventions and lint checks the default suite is about to run, so the repo is clean when the checks turn on.

Work packages: SES-372, PIPT-85

Renamed (underscores aren't allowed in these names)

  • mcp/base_saves/ → mcp/base-saves/ (its .gitattributes moves with it)
  • base_defect.save, base_ironclad.save, base_necrobinder.save, base_regent.save, base_silent.save → base-defect.save, base-ironclad.save, base-necrobinder.save, base-regent.save, base-silent.save
  • mod_manifest.json → mod-manifest.json

References updated:

  • mcp/server.py: the bundled base-save directory (base-saves) and the inspect_save / materialize_scenario_save docstring examples (base-ironclad)
  • McpMod.Catalog.cs: the base save names the bridge advertises under scenario_setup.base_saves, and the materialize_scenario_save example (base-regent)
  • README.md and build.ps1: the install mapping for the manifest

Save names are what callers pass as name / base_name, so base_ironclad becomes base-ironclad and so on. The bridge advertises the new names, and no other repo's tracked files use the old ones.

Changed (formatting only)

  • Trailing newline added to the five saves (CRLF, as they're committed with -text) and to the manifest
  • markdownlint's own fixes (blank lines around lists, headings and fences), table delimiter rows in compact style (| --- |) in AGENTS.md, mcp/README.md, docs/raw-full.md and docs/raw-simplified.md, and the README's install mapping fence marked text

Left alone

  • The runtime AppData folder %APPDATA%/SlayTheSpire2/SpireLensMcp/base_saves and scenario_saves: they aren't repo files, and renaming them would orphan saves already captured on a host
  • The base_saves key in the capabilities JSON, which follows its sibling keys' snake_case
  • The installed manifest name: the mod loader reads mods/SpireLensMcpBridge/SpireLensMcpBridge.json, so only the repo copy's name changes
  • .forgejo/workflows/checks.yml naming (another slice of PIPT-85)
  • The spirelens repo's docs/surviving-sts2-updates.md, which still names mod_manifest.json

Checks

  • conventions.mjs: clean except the .forgejo/workflows/checks.yml name; lints.mjs: exit 0
  • mcp tests: 35 passed; the five renamed saves resolve and load through _resolve_base_save_path
  • pull-request check: all passed

🤖 Generated with Claude Code

Fixes this repo's findings from the shared conventions and lint checks the default suite is about to run, so the repo is clean when the checks turn on. Work packages: [SES-372](https://openproject.home.romaine.life/wp/SES-372), [PIPT-85](https://openproject.home.romaine.life/wp/PIPT-85) ## Renamed (underscores aren't allowed in these names) - `mcp/base_saves/` → `mcp/base-saves/` (its `.gitattributes` moves with it) - `base_defect.save`, `base_ironclad.save`, `base_necrobinder.save`, `base_regent.save`, `base_silent.save` → `base-defect.save`, `base-ironclad.save`, `base-necrobinder.save`, `base-regent.save`, `base-silent.save` - `mod_manifest.json` → `mod-manifest.json` References updated: - `mcp/server.py`: the bundled base-save directory (`base-saves`) and the `inspect_save` / `materialize_scenario_save` docstring examples (`base-ironclad`) - `McpMod.Catalog.cs`: the base save names the bridge advertises under `scenario_setup.base_saves`, and the `materialize_scenario_save` example (`base-regent`) - `README.md` and `build.ps1`: the install mapping for the manifest Save names are what callers pass as `name` / `base_name`, so `base_ironclad` becomes `base-ironclad` and so on. The bridge advertises the new names, and no other repo's tracked files use the old ones. ## Changed (formatting only) - Trailing newline added to the five saves (CRLF, as they're committed with `-text`) and to the manifest - markdownlint's own fixes (blank lines around lists, headings and fences), table delimiter rows in compact style (`| --- |`) in `AGENTS.md`, `mcp/README.md`, `docs/raw-full.md` and `docs/raw-simplified.md`, and the README's install mapping fence marked `text` ## Left alone - The runtime AppData folder `%APPDATA%/SlayTheSpire2/SpireLensMcp/base_saves` and `scenario_saves`: they aren't repo files, and renaming them would orphan saves already captured on a host - The `base_saves` key in the capabilities JSON, which follows its sibling keys' snake_case - The installed manifest name: the mod loader reads `mods/SpireLensMcpBridge/SpireLensMcpBridge.json`, so only the repo copy's name changes - `.forgejo/workflows/checks.yml` naming (another slice of PIPT-85) - The spirelens repo's `docs/surviving-sts2-updates.md`, which still names `mod_manifest.json` ## Checks - `conventions.mjs`: clean except the `.forgejo/workflows/checks.yml` name; `lints.mjs`: exit 0 - `mcp` tests: 35 passed; the five renamed saves resolve and load through `_resolve_base_save_path` - `pull-request check`: all passed 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Hyphenated file names and lint-clean Markdown for the shared CI checks (PIPT-85)
All checks were successful
Suite default / check-logs (pull_request) Successful in 34s
Suite docs / scope (push) Has been skipped
Suite docs / check-validate (push) Has been skipped
Suite docs / release (push) Has been skipped
Suite docs / reused-checks (push) Has been skipped
Suite docs / release (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 18s
Suite default / check-fetches (pull_request) Has been skipped
Suite python / scope (pull_request) Successful in 19s
Suite python / check-test-windows (pull_request) Has been skipped
Checks / check-whitespace (pull_request) Successful in 20s
Suite docs / scope (pull_request) Successful in 19s
Suite python / check-test-linux (pull_request) Successful in 1m19s
Suite docs / check-validate (pull_request) Successful in 40s
Suite default / reused-checks (pull_request) Successful in 49s
merge-queue landed on main
Suite docs / reused-checks (pull_request) Successful in 29s
Suite python / reused-checks (pull_request) Successful in 27s
6f785b0f6e
Renames mcp/base_saves/ to mcp/base-saves/, its five base saves to
base-<character>.save, and mod_manifest.json to mod-manifest.json, with every
reference: the bundled save directory in mcp/server.py, the save names the
bridge advertises in McpMod.Catalog.cs and its example, the server.py
docstrings, README.md and build.ps1. The installed manifest name
(mods/SpireLensMcpBridge/SpireLensMcpBridge.json) is unchanged.

Adds the missing trailing newlines (the saves keep CRLF, as committed), applies
markdownlint's fixes, puts the remaining tables' delimiter rows in compact
style, and marks the README's install mapping fence as text.
merge-queue deleted branch PIPT-85-lint-fixes 2026-11-30 15:16:00 -08:00
Sign in to join this conversation.
No description provided.