Superuser is an in-game administration and moderation library that adds commands, chat integration, an admin UI, audit logging, permission policy, native setting bindings, and a simple durable store. The runtime wires host-only services for policy, moderation, audit, storage and module management, with client RPC wrappers for private replies and a menu built on a vendored ImGui port. The repo also ships a large set of development and verification scripts that exercise internals via reflection, deliberately corrupt store state, and toggle bootstrap/runtime behavior in isolated editor or dedicated test contexts.
Unit tests for the Superuser library, covering permissions, policy, command parsing and dispatch, auditing, moderation, modules, settings, and storage. Tests use in-memory doubles like MemoryStoreFiles, MemoryPolicyStore, DispatcherRig, AdministrationRig, and AuditStoreHarness to exercise behavior, boundaries, and error paths.