This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/elevate
Levi Neely c418148dc8 elevate: integrated elevation broker package
Core elevation broker that replaces the superpowerd adapter.
Handles command execution outside the sandbox with human-in-the-loop
approval via desktop notifications.

- Policy store: YAML-backed global policy + in-memory session policies
- Request lifecycle: 300s TTL, approve/deny/persist resolution
- Command execution: bash -c with caller env/cwd, streaming d/x frames
- SO_PEERCRED for caller identification
- NotifyFunc callback for UI integration (D-Bus, 9P, etc.)
2026-07-27 10:44:18 +02:00
..
broker.go elevate: integrated elevation broker package 2026-07-27 10:44:18 +02:00
broker_test.go elevate: integrated elevation broker package 2026-07-27 10:44:18 +02:00
policy.go elevate: integrated elevation broker package 2026-07-27 10:44:18 +02:00
policy_test.go elevate: integrated elevation broker package 2026-07-27 10:44:18 +02:00
request.go elevate: integrated elevation broker package 2026-07-27 10:44:18 +02:00