Remove --pi-path and rename pi-agent@ service prefix

t-772·WorkTask·
·
·
Created1 week ago·Updated1 week ago·pipeline runs →

Description

Edit

Research service unit generation and Agentd.hs, remove --pi-path from generated service command and Agentd.hs code, and replace pi-agent@ service name prefix with a new prefix.

Timeline (12)

🔄[human]Open → InProgress1 week ago
💬[human]1 week ago

Implemented in commit b7ba9ec3: removed daemon --pi-path CLI option from Omni/Agentd.hs, renamed daemon config field to dcAgentCmd, removed --pi-path handling from Omni/Agentd/Daemon.hs, and switched systemd unit prefix from pi-agent@ to agentd-agent@. Verified with lint, typecheck.sh, and bild Omni/Agentd.hs. Also updated local user unit template to ~/.config/systemd/user/agentd-agent@.service, reloaded systemd user daemon, and migrated running units from pi-agent@* to agentd-agent@*.

🔄[human]InProgress → Review1 week ago
🔄[human]Review → InProgress1 week ago
💬[human]1 week ago

Follow-up per Ben request in commit 1edf1621: renamed persistent env/state directory roots in Omni/Agentd/Daemon.hs from pi-agents -> agentd-agents. Also migrated runtime files locally: updated ~/.config/systemd/user/agentd-agent@.service EnvironmentFile path to ~/.config/agentd-agents/%i.env, updated ~/.local/bin/pi-agent-exec FIFO dir to ~/.local/state/agentd-agents, copied env files, restarted running agentd-agent@ units, and removed old ~/.config/pi-agents + ~/.local/state/pi-agents directories.

🔄[human]InProgress → Review1 week ago
🔄[human]Review → InProgress1 week ago
💬[human]1 week ago

Additional consistency pass in commit 12579612: removed remaining pi naming in agentd codepaths (AGENTD_* env vars instead of PI_*, spawn/read helper names, run-id prefix agentd-*, and default daemon agent command switched to 'agent'). Also updated CLI help text to avoid pi naming. Runtime migration done locally: renamed wrapper to ~/.local/bin/agentd-agent-exec, updated unit ExecStart and AGENTD_AGENT_NAME env, created ~/.local/bin/agentd-rpc shim target, migrated existing env files PI_* -> AGENTD_*, daemon-reloaded and restarted all agentd-agent@ units.

🔄[human]InProgress → Review1 week ago