sam
60475274c6
telegram: add dangerous command approval system with /rollback, /stop, /approve, /deny
Implement dangerous-command approval UX for Telegram with:
- DangerousCommandAuthority interface for sandbox/process control
- Inline three-button keyboard: Approve this time, Approve Permanently, Deny
- Token-based callbacks: recipient-bound, expiring (10min), single-use, auditable
- Command hash prevents callback replay with a changed command
- Permanent approval with explicit 24h scope/lifetime and automatic expiry cleanup
- /rollback [number]: list checkpoints or request rollback approval
- /stop <process>: request process termination approval
- /approve and /deny: view pending dangerous commands
- 24 tests covering authorization, expiry, replay, denial, execution failure,
permanent approval, recipient scoping, and callback parsing
Closes: archie-core-alm.6
2026-07-29 03:39:52 +10:00
..
2026-07-28 01:39:22 +10:00
2026-07-29 03:39:52 +10:00
2026-07-29 02:10:44 +10:00
2026-07-28 01:37:20 +10:00
2026-07-28 01:56:59 +10:00
2026-07-28 18:46:50 +10:00
2026-07-28 01:37:20 +10:00
2026-07-27 03:34:46 +10:00
2026-07-29 03:23:57 +10:00
2026-07-29 03:24:01 +10:00
2026-07-28 18:46:50 +10:00
2026-07-28 01:37:20 +10:00
2026-07-28 01:39:22 +10:00
2026-07-27 03:49:33 +10:00
2026-07-28 01:37:20 +10:00
2026-07-28 01:37:20 +10:00
2026-07-29 03:23:57 +10:00
2026-07-28 01:37:20 +10:00
2026-07-27 06:16:39 +10:00
2026-07-27 13:02:11 +10:00
2026-07-28 18:46:50 +10:00
2026-07-28 01:39:22 +10:00
2026-07-29 03:23:31 +10:00
2026-07-27 03:34:46 +10:00
2026-07-28 18:46:50 +10:00
2026-07-27 03:34:46 +10:00
2026-07-26 09:53:33 +10:00
2026-07-28 01:37:20 +10:00
2026-07-29 03:23:57 +10:00
2026-07-29 03:25:20 +10:00
2026-07-28 01:56:59 +10:00
2026-07-28 02:05:06 +10:00
2026-07-26 09:53:33 +10:00