mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
f8aaaf725c
agent/list and agent/status are browser-facing and need $_SESSION loaded to verify auth. Only skip session_start() for machine-agent sub-actions (heartbeat, metrics, ha_state, command_result, register) that fire every 10-30s. Previous fix skipped session for all agent/* causing the agents panel to return 401 to the browser. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>