fix(rust): send reward notices, and keep a downed line's credit rule (W21, W4) #54
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/last-fixes-bugs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Stage 1 of
docs/modules/rust/PLAN_LAST_FIXES.md(docs#366): the two real bugs.permSync.jslisted the push's fields one by one and left outnotices, so no kit reward, lend or give has ever told its player anything (D333). The body is now built by a newpushBody(), which sendsnotices. A test fails if any field the model builds is missing from the push.worldEvents.stampRule). The feed reads that stamp (worldEvents.ruleOf) and falls back to the server's rule for rows stored before this fix, so those rows read the way they do today. Ingest counts by the same stamped rule.swagger-fragment.jsonis regenerated.The docs changes (the PLAN_LAST_FIXES status and the rest) come in stage 5, as the plan says.
How it was tested
npm test: 693/693 pass.check:imports,check:swaggerandcheck:engagementare clean.noticesand every other payload field (stepEditor.test.js). A downed frame is stored with its rule and an arrival is stored as sent. A stored line keeps its rule after the server's rule changes (worldEvents.test.js).:3270, DBrustwalk, this branch loaded into the walk copy of the module):most, spawned a patrol helicopter and downed it with the RgWalk stand-ins (Bob dealt the most damage, Alice the crippling hit). The line readrule most, credited BobWalk, and the stored row carriescreditRule: "most". I switched the server toblowand the same line still read BobWalk, the player the count went to. Older rows have no stamp.rust.perm.lendwith a chat message to every linked player (run 77). The next/permissions/synccarriedfields=setId,groups,grants,credits,notices,retire, with run 77's message for player A among thenotices. A was offline, sonoticesTold=[]. Telling a player on waking was walked in game at PLAYER_WALK 2.9 on 2026-10-21, with the same fix patched in. The server row is back on its real sidecar URL and the rule is back toblow.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with aCo-Authored-By/Assisted-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY