Commit Graph

6 Commits

Author SHA1 Message Date
ollie f08e0abdf0 core: support dynamic tool registration 2026-07-28 14:13:08 +02:00
Levi Neely 8973881c0a elevate: remove SSH agent proxy (unnecessary with integrated broker) 2026-07-27 11:06:21 +02:00
Levi Neely 116c7fa671 elevate: add ParsePolicy helper 2026-07-27 11:03:18 +02:00
Levi Neely fb8f4acff1 elevate: show key comment instead of fingerprint in notifications 2026-07-27 10:51:54 +02:00
Levi Neely d79861ff7c elevate: SSH agent proxy with approval gating
Proxies SSH agent requests to the real agent, intercepting
Sign/SignWithFlags for approval via the same broker flow
(notification + persist). Key fingerprints can be persisted
to auto-approve future sign requests.
2026-07-27 10:49:26 +02:00
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