docs(kit): re-pin to core 1.21.0 and teach report targets #19

Merged
whitlocktech merged 1 commits from docs/core-1.21.0 into main 2026-10-30 09:19:43 -05:00
Member

What & why

The kit half of USER_SAFETY.md step 3. Core 1.21.0 (website#233) adds report, block and hide.

  • ci/core-ref.json moves from 7bd93b8 (1.20.0) to f13b8fe (1.21.0). website#233 is the only core change in that window.

  • Chapter 2 gains When members report, hide or block what your game shows. It covers:

    • registerReportTargets and registerGameIdentities;
    • ctx.safety.forViewer and ctx.safety.staffAmong;
    • why snapshot's null has to cover "gone" and "you couldn't see it" alike;
    • naming the author by account first;
    • filtering in the query, on a per-viewer route;
    • hide-for-everyone as the module's own flag;
    • the 5 s limit.

    It points at Module-Rust's server/safety.js as the worked example. The chapter's call count becomes twenty-three (seventeen registrations), matching MODULE_API.md §2.4.

  • template/module.json's coreApi becomes ^1.21.0 for the equality check. The template declares none of the new members.

How it was tested

  • checkLinks, checkRenameSites and checkChapterPaths are all OK, and both script test files pass.
  • checkCoreApi --core <website @ f13b8fe>: ^1.21.0 matches 1.21.0.
  • Template:
    • check:imports, the client build and check:externals are OK.
    • Server tests: 82 pass. Client tests: 20 pass.
  • Real-core run at the pin: the template was the only module in a core worktree at f13b8fe. Core's routes:manifest registered examplegame with no refusal.

AI-assisted contributions (required)

  • No AI tools were used to produce this contribution.
  • AI tools were used. Tool(s): Claude Code (Claude Opus 5.5). I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with a Co-Authored-By trailer.

License

  • I agree that my contribution is licensed under this project's license (GNU GPL v3.0 or later), and I have the right to contribute it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

## What & why The kit half of `USER_SAFETY.md` step 3. Core 1.21.0 (website#233) adds report, block and hide. - `ci/core-ref.json` moves from `7bd93b8` (1.20.0) to `f13b8fe` (1.21.0). website#233 is the only core change in that window. - **Chapter 2** gains *When members report, hide or block what your game shows*. It covers: - `registerReportTargets` and `registerGameIdentities`; - `ctx.safety.forViewer` and `ctx.safety.staffAmong`; - why `snapshot`'s `null` has to cover "gone" and "you couldn't see it" alike; - naming the author by account first; - filtering in the query, on a per-viewer route; - hide-for-everyone as the module's own flag; - the 5 s limit. It points at Module-Rust's `server/safety.js` as the worked example. The chapter's call count becomes twenty-three (seventeen registrations), matching `MODULE_API.md` §2.4. - `template/module.json`'s `coreApi` becomes `^1.21.0` for the equality check. The template declares none of the new members. ## How it was tested - `checkLinks`, `checkRenameSites` and `checkChapterPaths` are all OK, and both script test files pass. - `checkCoreApi --core <website @ f13b8fe>`: `^1.21.0` matches 1.21.0. - Template: - `check:imports`, the client build and `check:externals` are OK. - Server tests: 82 pass. Client tests: 20 pass. - Real-core run at the pin: the template was the only module in a core worktree at `f13b8fe`. Core's `routes:manifest` registered `examplegame` with no refusal. ## AI-assisted contributions (required) - [ ] No AI tools were used to produce this contribution. - [x] AI tools were used. Tool(s): `Claude Code (Claude Opus 5.5)`. I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with a `Co-Authored-By` trailer. ## License - [x] I agree that my contribution is licensed under this project's license (**GNU GPL v3.0 or later**), and I have the right to contribute it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-10-30 09:05:19 -05:00
docs(kit): re-pin to core 1.21.0 and teach report targets
All checks were successful
PR Checks / prose (pull_request) Successful in 11s
PR Checks / template (pull_request) Successful in 43s
3f5cd72ed6
ci/core-ref.json moves from 7bd93b8 (1.20.0) to f13b8fe (1.21.0,
website#233, report, block and hide). Chapter 2 gains a section on
registerReportTargets, registerGameIdentities and ctx.safety, and its call
count becomes twenty-three. template/module.json's coreApi becomes ^1.21.0
for the equality check; the template declares none of the new members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit c24443f721 into main 2026-10-30 09:19:43 -05:00
whitlocktech deleted branch docs/core-1.21.0 2026-10-30 09:19:44 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Integration-kit#19
No description provided.