File: src/server/server.zig:2542, 2577
Severity: LOW (architecture)
Status: ✅ FIXED
Server.newSession uses standard self.allocator.create(Session), and killSession/killAllSessions call self.allocator.destroy(session). AGENTS.md mandates: “Always use arena allocators per session/pane lifecycle. Never gpa.alloc. Never call allocator.destroy — arena reset handles everything.”
Fix: Create a dedicated std.heap.ArenaAllocator for the session in newSession.