mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-06 15:12:30 +09:00
agent_plugin_service and server_template_service dispatched agent commands through get_agent_gateway() — a function that does not exist — inside a bare try/except. Every call raised ImportError, was swallowed, and left DB rows stuck in 'installing'/'checking'/'remediating' forever while the UI implied the feature worked. The agent also has no handlers for these commands. - Plugin install now reports STATUS_ERROR with "Agent-side plugin support is not implemented yet" instead of hanging in 'installing'. - Template drift-check/remediate report 'unknown' + an explanatory drift_report.error. - Local-only ops (disable, uninstall, configure) just drop the dead dispatch. - test_agent_features_honest.py: 3 tests asserting honest states. Implementing the feature for real (agent handlers + sandbox) remains future work; this stops it from lying in the meantime. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>