feat(docs): phase 16 — the RunicNPC subgroup, its API carried in full and drift-checked #37
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/phase-16-runicnpc"
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
PLAN.md §16 phase 16, built on the org lead's answers of 2026-10-22, recorded as D72–D74 (count of record 74; "How phase 16 built it" in PLAN.md).
/docs/rust/runicnpc/: RunicNPC, Install RunicNPC, Commands, NPC profiles, NPC placements, Cost and caps, Profile fields and The API. Profile fields is the one field reference shared by the site's editor (its sections and labels),rnpc.profile set(same JSON paths), the data file and the API.platform.jsonand saysdocs/runicnpc/API.mdis normative.checkReference.mjs, so the check count stays at twelve:docsmain:runicnpc/API.md: the API version, 24 call and 10 hook signatures, and the field names of the profile,RunicNpc_Listrows, placements, routes and owners. It also requires exactly one<Signature call="…" />per call onapi.mdx.runicnpc-rustmain:plugin/RunicNPC.cs: console verbs, permissions,place/hereoptions andRunicNPC.jsonkeys. ⚠️ D62 did not ask for this half. It follows the phase-15 precedent (RunicGateway.jsonread from source) for the two new pages that list names. Say so and I'll drop it.checkSidebarandcheckTermsnow read nested sidebar groups throughflatLabels().runicnpc/docs, and that page names the API page as the one deliberate exception to "every page links out".How it was tested
npm run verifygreen: all twelve checks, both test suites, the build, the served tests, a11y and CSP. checkReference now runs 55 enumeration checks.RunicNpc_Listkey renamed, a profile field renamed, a command verb renamed, and a<Signature>removed from the page. All six failed, each naming which side it broke on.Module-RustnpcSync.jsbefore writing them.Findings outside this repository
297cc83). The site quotes each number where it belongs.docs/runicnpc/API.md's profile table broke twice: thebossandlootrows rendered as pipe-filled text on Gitea. Fixed in docs#371, which deletes two blank lines and changes nothing else. This site's check passes either way.Checklist
npm run verifypasses locally (all twelve checks and both test suites).src/data/platform.json.PLAN.mdstill describes what this repository does; a decision it records is either unchanged or amended here, with the reasoning.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.License
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY