Interactive agent mode (epic)

t-502·WorkTask·
·
·
·Omni/Agent.hs
Created3 months ago·Updated1 week ago·pipeline runs →

Description

Edit

Add agent -i / agent --interactive mode for multi-turn chat-style conversations.

Design

See _/tmp/interactive-agent-design.md

Architecture

Option A: Wrapper around existing runAgent, rebuild prompt with conversation history each turn.

Key Decisions

  • Tool output: truncated inline (10 lines), expand with /expand
  • Memory: use MEMORY_USER_ID env var (same as non-interactive)
  • Input: haskeline for readline support
  • Flags: both -i and --interactive

Non-Goals (v1)

  • Session persistence (use --checkpoint-dir)
  • Streaming responses
  • Brick TUI
  • Branching/forking

Timeline (28)

🔄[system]Open → InProgress2 months ago
🔄[system]InProgress → Open2 months ago
💬[system]2 months ago

Pipeline: agent died without producing a commit, resetting

🔄[system]Open → InProgress2 months ago
🔄[human]InProgress → Open2 months ago
💬[human]2 months ago

Pipeline scheduler: failed to spawn agentd run

🔄[system]Open → InProgress2 months ago
🔄[human]InProgress → Open2 months ago
💬[human]2 months ago

Pipeline scheduler: failed to spawn agentd run

🔄[system]Open → InProgress2 months ago
💬[human]2 months ago

Pipeline scheduler: started run=pipeline-omni-agent-hs-t-502-1771554735 domain=Omni/Agent.hs

🔄[human]InProgress → Open2 months ago
💬[human]2 months ago

Pipeline scheduler reset stale run pipeline-omni-agent-hs-t-502-1771554735 (agentd reported running but no active container). Returning task to Open for requeue.

🔄[system]Open → InProgress2 months ago
💬[human]2 months ago

Pipeline scheduler: started run=pipeline-omni-agent-hs-t-502-1771560703 domain=Omni/Agent.hs

🔄[human]InProgress → Review2 months ago
💬[human]2 months ago

Pipeline scheduler: run=pipeline-omni-agent-hs-t-502-1771560703 domain=Omni/Agent.hs status=done cost=8c (fund-spend=failed)

💬[human]1 week ago

Ava triage: pipeline auto-run reached status=done but the agent made NO git commits and reported blockers (missing files, path mismatches, or need clarification). This task is not actually in review — there's nothing to review. Resetting status to Open so it can be re-scoped.

🔄[human]Review → Open1 week ago
🔄[human]Open → Verified1 week ago