feat: stage 9b hardening — cost warning, update surface, rnt.cost (D306, D315) #14
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/stage-9"
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
Phase 9b of
docs/runicnpc/PLAN.mdstage 9.swap fields: npc=55/55. Links to the newdocs/runicnpc/COMMANDS.mdandINSTALL.md(docs#325). The update surface is a table of every Rust type and member the swap and the brain depend on, where it is used, and what catches a change: compiling, the field list, or only a running server. The staging drill (9c) checks exactly that list.tools/RunicNpcTest.cs0.7.0,rnt.cost: 100 of RunicNPC's own NPCs against the same session's empty server, idle (awake) and fighting 20 invulnerable stand-ins, with a second empty window at the end. The bar is taken against the lower of the two empty windows.idleskips the fight,sentrymakes them stand still, andasleepleaves out the keeper.What it measured (100 NPCs, increase of the median frame, 6000 map)
rnh.cost)Fighting costs what Rust's own AI costs. Stage 1's own NPC is over stage 1's +5.2 ms bar too, because the rigs are slower than in September.
Companion PRs (phase 9b)
docs#325, website#211, Module-Rust, Rust-Plugins and installer, all linked from docs#325.
How it was tested
node scripts/checkPlugin.js: plugin ok, API 6.rnpc.status.rnt.costandrnh.costran on both rigs, one at a time, with the other stopped. Rust 25681086, Oxide 2.0.7801, Carbon 2.0.262.data/RunicNPC/were backed up first and restored afterwards; the harnesses were removed.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.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