Skip to content

Bugfix workflow: Optimize environment setup process #57

@kami619

Description

@kami619

Problem

During the /reproduce phase, the agent took 6-7 shell attempts to get the development environment working. It stumbled over:

  • Python version mismatches (3.11 vs. 3.12 required)
  • uv command syntax issues
  • Missing pip executables

This resulted in multiple failed attempts before finally establishing a working virtual environment.

Impact

  • Inefficient use of agent turns and time
  • Frustrating user experience watching multiple failed attempts
  • Risk of the agent giving up or going down wrong paths

Context

This issue was identified during the bugfix session for ambient-code/agentready#306 addressing ambient-code/agentready#302.

Recommended Solution

The bugfix workflow's /reproduce phase should:

  • Instruct the agent to check pyproject.toml for Python version constraints FIRST
  • Provide a clear, tested bootstrap command sequence for common project types
  • Include guidance on using uv correctly if that's the project's package manager
  • Add error recovery patterns for common environment setup issues

Consider providing environment setup "recipes" based on project type (Poetry, uv, pip, etc.) that the agent can reference.

Reference

From PR comment: #42 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions