Skip to content

docs: guard level prose counts#277

Merged
jonathanperis merged 1 commit into
mainfrom
docs/level-prose-drift
May 16, 2026
Merged

docs: guard level prose counts#277
jonathanperis merged 1 commit into
mainfrom
docs/level-prose-drift

Conversation

@jonathanperis
Copy link
Copy Markdown
Owner

Summary

  • fix levels/02_lugio_02.toml prose so it says eleven screens, matching screen_count = 11
  • regenerate the level catalog so published docs no longer repeat the stale "Twelve screens" wording
  • add a semantic docs drift check that parses level descriptions for <number> screen(s) mentions and compares them against each TOML file's screen_count

Validation

  • RED: after adding the new drift check, make docs-drift failed with levels/02_lugio_02.toml: description says 12 screens, but screen_count is 11
  • make level-catalog
  • make validate-levels
  • make docs-drift
  • cd docs && mise exec node@24.13.1 -- bun run lint
  • cd docs && mise exec node@24.13.1 -- bun run build
  • git diff --check
  • independent review: no blockers

Notes

  • levels/02_lugio_02.toml already used CRLF line endings. The changed prose line is LF-normalized so git diff --check stays clean; a whole-file line-ending normalization can be handled separately if desired.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 16, 2026

Warning

Rate limit exceeded

@jonathanperis has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 37 minutes and 49 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 44b9c79f-7620-48a7-ad86-9b98cdc9658e

📥 Commits

Reviewing files that changed from the base of the PR and between 0e041c9 and ce0f1b4.

📒 Files selected for processing (3)
  • docs/wiki/level-catalog.md
  • levels/02_lugio_02.toml
  • tools/check_docs_drift.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/level-prose-drift

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jonathanperis jonathanperis merged commit 15d70fb into main May 16, 2026
9 checks passed
@jonathanperis jonathanperis deleted the docs/level-prose-drift branch May 16, 2026 20:45
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