feat(rust): the leases and their option sources (phase 12, protocol 8) #14
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/phase-12-leases"
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?
Phase 12 (
docs/modules/rust/PLAN.md§27, decisions D73–D79).registerEventLeases:rust.decay.scale,rust.population,rust.spawn.scalarandrust.group.permission. Every lease is targeted and the target names the server (D73), socore.leaseneeds no scope and core no change.maxDurationMsis seven days (D77).registerEventOptionSources:rust.options.servers,.populations,.spawnscalarsand.grouppermissions(searchable). No budgets (D79).sidecarClient: protocol 8,leaseList/leaseApply/leaseReleasewith a 4.5 s lease timeout so thatread+applyfit incore.lease's default 10 s budget. A test asserts the arithmetic.lease.driftedbecomes{ ok:false, drifted:true, current };inForcereads the plugin's holds and never compares values;Tests: 259 pass (24 new in
leases.test.js, plusentry.test.jsupdated).check:imports,check:bundle(witheventLeases.jsadded toci/bundle.json),check:swaggerandcheck:engagementare clean. No route or swagger change.Walked through real core on both rigs; see §27.5.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY