feat(bridge): protocol 8 — the leases (phase 12) #8

Merged
whitlocktech merged 1 commits from feat/phase-12-leases into edge 2026-09-23 23:03:02 -05:00

1 Commits

Author SHA1 Message Date
594fc09141 feat(bridge): protocol 8 — the leases (PLAN.md §27)
All checks were successful
PR Checks / plugin-checks (pull_request) Successful in 20s
lease.list / lease.apply / lease.release and a lease.expired event. The plugin holds the allowlist (decay.scale, 18 populations, the two minimum spawn scalars, and group permissions), the seven-day ceiling (refused, never clamped) and the deadline, which it enforces on its own. Release is compare-and-set. Holds persist in the data directory with their boot: a restart ends a convar hold, while a group-permission hold survives it and is re-armed.

EventsEnabled (default off) gates apply only, and a write from the site's config editor now takes effect at once. The permission mirror defers to a leased pair: it is reported as leased, never foreign.

Grants pass a null owner: with an owner, Oxide silently refuses any permission another plugin registered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
2026-09-23 21:14:00 -05:00