Skip to content

Add interactive mode to iterate command #310

@Angelmmiguel

Description

@Angelmmiguel

Add a new --interactive flag to the iterate command that opens an interactive session with the AI agent for making quick adjustments to a task without creating a full iteration. This feature enables real-time collaboration with the agent to apply final changes, test modifications, or debug issues within the existing task context.

Details

The current iterate command creates a new iteration with expanded instructions and launches a containerized agent to implement changes. However, sometimes developers need to make minor adjustments or debug issues without the overhead of creating a full iteration.

The proposed --interactive flag would:

  • Connect directly to the AI agent in an interactive session
  • Work within the existing task's worktree context
  • Allow for quick refinements and testing without creating iteration directories
  • Maintain conversation context throughout the session
  • Optionally use the existing container environment with --container flag

TODO

  • Add --interactive flag to iterate command in packages/cli/src/commands/iterate.ts
  • Implement interactive agent session handling with context persistence
  • Update command registration in packages/cli/src/program.ts with flag documentation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions