mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-07 13:03:20 -05:00
The hostgrants package holds the owner document of host operation grants made in the UI, the UI deny rules, the blanket switch and the hints used to pre-tick a reinstall. Writes use compare-and-set on a revision and operation receipts, with atomic persist like the host settings store. The package also holds the pure policy logic: deny (file, flag, UI) over file prefix grants over exact UI grants, with identity and pending-entry checks, the grant plan (approved, declared, registered, not denied), blanket evaluation, startup reconciliation and an fsynced audit file. Assisted-by: Claude:claude-sonnet-5-5 go