feat(sidecar): protocol 14 — POST /kits/uses (PLAN_REDESIGNS §2.6) #24

Merged
whitlocktech merged 1 commits from feat/protocol-14-step-editor into edge 2026-10-12 04:52:24 -05:00
Member

What & why

This opens protocol 14 (D332) for the event step editor (Module-Rust PLAN_REDESIGNS.md §2). Protocol 13 shipped with RunicNPC v1.0.0, so new wire changes start 14. It is released once, after the end-of-plan walk (D331).

  • POST /kits/uses → kits.uses, a thin forward like /kits. The body is {kit, steamIds} and the answer is counts, used for the kit weekend's warning. The player list rides in the body and is never kept here.
  • perm.sync's new notices (D333) pass through untouched like the rest of that body, so the reward messages need nothing here.
  • PROTOCOL_VERSION goes from 13 to 14, and the doc comment is updated.

Spec: rust-link/PROTOCOL.md §20 (docs PR docs/rust-protocol-14-step-editor). It goes together with Rust-Plugins and Module-Rust feat/protocol-14-step-editor and website#212 (MODULE_API 1.13.0).

How it was tested

  • cargo fmt, then cargo clippy --all-targets -- -D warnings, which is clean.
  • cargo test: 68 passed, including a new forward test (a kits.uses question cannot become another command, and a sync's notices pass through untouched).
  • Not deployed to the rigs: the rigs keep their protocol-13 sidecars until the end-of-plan walk (D331).

Checklist

  • I have read CONTRIBUTING.md.
  • The change builds and existing tests/checks pass locally.
  • I have added or updated tests/docs where it makes sense.
  • My commits are reasonably scoped with clear messages.

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 / Assisted-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 This opens **protocol 14** (D332) for the event step editor (Module-Rust `PLAN_REDESIGNS.md` §2). Protocol 13 shipped with RunicNPC v1.0.0, so new wire changes start 14. It is released once, after the end-of-plan walk (D331). - **`POST /kits/uses` → `kits.uses`**, a thin forward like `/kits`. The body is `{kit, steamIds}` and the answer is counts, used for the kit weekend's warning. The player list rides in the body and is never kept here. - `perm.sync`'s new `notices` (D333) pass through untouched like the rest of that body, so the reward messages need nothing here. - `PROTOCOL_VERSION` goes from 13 to 14, and the doc comment is updated. Spec: `rust-link/PROTOCOL.md` §20 (docs PR `docs/rust-protocol-14-step-editor`). It goes together with Rust-Plugins and Module-Rust `feat/protocol-14-step-editor` and website#212 (MODULE_API 1.13.0). ## How it was tested - `cargo fmt`, then `cargo clippy --all-targets -- -D warnings`, which is clean. - `cargo test`: 68 passed, including a new forward test (a `kits.uses` question cannot become another command, and a sync's `notices` pass through untouched). - **Not deployed to the rigs:** the rigs keep their protocol-13 sidecars until the end-of-plan walk (D331). ## Checklist - [x] I have read [CONTRIBUTING.md](CONTRIBUTING.md). - [x] The change builds and existing tests/checks pass locally. - [x] I have added or updated tests/docs where it makes sense. - [x] My commits are reasonably scoped with clear messages. ## 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` / `Assisted-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-12 02:49:26 -05:00
feat(sidecar): protocol 14 — POST /kits/uses (PLAN_REDESIGNS §2.6)
All checks were successful
PR Checks / rust-gates (pull_request) Successful in 16m11s
ef4fdb6e25
Opens protocol 14 (D332) for the step editor: one thin forward, POST /kits/uses
-> kits.uses ({kit, steamIds} in, counts out), for the kit weekend's warning.
perm.sync's new notices (D333) pass through untouched like the rest of the
body. PROTOCOL_VERSION 13 -> 14; one forward test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 21c9af645d into edge 2026-10-12 04:52:24 -05:00
whitlocktech deleted branch feat/protocol-14-step-editor 2026-10-12 04:52:25 -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/Rust-Link#24
No description provided.