agentd: remove dead Servant daemon code after CLI cutover

t-806·WorkTask·
·
·
Created3 days ago·Updated3 days ago·pipeline runs →

Dependencies

Description

Edit

After removing the agentd daemon command, Omni/Agentd/Daemon.hs still contains unreachable HTTP API/Servant handlers and related tests/imports. Clean this up to fully eliminate daemon codepaths and reduce module size.

Scope:

  • Delete Servant API type + handlers + Warp server plumbing not used by CLI.
  • Remove daemon-only tests/helpers that exercise HTTP endpoints.
  • Remove daemon-only imports/deps from Omni/Agentd/Daemon.hs where possible.
  • Keep persistent DB/systemd/session helpers used by CLI and Omni.Agents.Client.

Acceptance:

  • No HTTP API server code remains in agentd runtime modules.
  • Build/tests pass for Omni/Agentd.hs and Omni/Agentd/Daemon.hs.

Git Commits

adc47481refactor(agentd): remove dead Servant daemon scaffolding
Coder Agent3 days ago1 files

Timeline (4)

🔄[human]Open → InProgress3 days ago
💬[human]3 days ago

Removed unreachable HTTP daemon scaffolding from Omni/Agentd/Daemon.hs after CLI cutover: deleted Servant API type/handlers, removed daemon-only graceful shutdown path, and dropped HTTP daemon integration test harness/helpers. Also removed servant/warp metadata deps and related imports. Verified with typecheck.sh Omni/Agentd/Daemon.hs, lint Omni/Agentd/Daemon.hs, bild --test Omni/Agentd/Daemon.hs, and bild --test Omni/Agentd.hs. Commit: adc47481

🔄[human]InProgress → Review3 days ago