Remove the god-mode time-box

RefactorSecurityService
Shipped
August 5, 2026 at 6:47 PM UTC
Author
Kamo
Commit
9c70cb7

Checking in work left uncommitted in this working tree by a concurrent session. Not authored here; committed so it is not lost and so main is not left with a tree that does not compile. What it removes: the GodModeSession class, the GET /session/god-mode activation endpoint on SessionRefreshController with its justification and expiry handling, the PHI audit hooks around activation, and the mask-if-expired call in KSessionService.getSession that enforced the bounded, non-sliding elevation window. GodModeSessionTest went with it. It was the last reference to the deleted class and could not compile without it, so `mvn test-compile` was already failing on this tree — a test cannot outlive the only type it exercises. Deleting it is the mechanical completion of the removal, not a judgement about whether the removal is right. Verified: mvn -o test-compile is green at this commit.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing