Remove pi persistent-agent code paths and steering file mechanism

t-759.4·WorkTask·
·
·
Parent:t-759·Created1 week ago·Updated1 week ago·pipeline runs →

Description

Edit

Goal

Once t-759.3 is verified working, delete the pi-specific code paths and the steering file mechanism from Omni/Agent and Omni/Agentd.

Scope

  • Remove pi RPC spawning code from Omni/Agentd/Daemon.hs.
  • Remove pi JSONL parsing from agentd.
  • Remove the AGENT_STEERING_FILE polling mechanism from Omni/Agent.hs (superseded by stdin writes + SIGINT).
  • Update any docs / skills that reference the steering file or pi --mode rpc for persistent runs.
  • pi itself stays — it's still useful for other things. We're only removing agentd's *use* of pi as a persistent-agent runner.

Acceptance criteria

  • rg "mode rpc" / rg "steering.file" -i in the omnirepo returns no results (except possibly in changelog/docs).
  • All persistent-agent tests and integration tests pass using the new agent-based path.
  • Existing persistent agents (intent-coder, omni-coder, paracoder) can be recreated and work the same or better.

Depends on

t-759.3 must be merged and stable in live for at least a few days before this cleanup lands.

Git Commits

3343fc66agentd: remove steering-file mechanism and pi rpc remnants
Coder Agent10 days ago7 files

Timeline (4)

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

Removed steering-file and pi-rpc remnants for persistent control paths. Changes: (1) Omni/Agent.hs no longer polls AGENT_STEERING_FILE or .steering files; steering check now only consumes SIGINT cancellation. (2) Omni/Agentd.hs removed steering file helpers, removed AGENT_STEERING_FILE container env injection, and changed oneshot input injection to explicit unsupported error. (3) Updated Omni/Agentd/Daemon.hs pi-rpc wording/comments. (4) Updated docs/spec/k8s docs to reflect stdin+signal runtime control and removed steering-file instructions/env. Validation: typecheck.sh Omni/Agent.hs Omni/Agentd.hs Omni/Agentd/Daemon.hs; bild Omni/Agent.hs Omni/Agentd.hs Omni/Agentd/Daemon.hs; bild --test Omni/Agent.hs; bild --test Omni/Agentd/Daemon.hs; cleanup checks and return no results.

🔄[human]InProgress → Review1 week ago