Skip to content

autopilot: resolver step #573

@Angelmmiguel

Description

@Angelmmiguel

Summary

Add the resolver step that evaluates trace state after execution and decides whether to retry, iterate, fail, or push.

Requirements

  • Receives resolve actions after commits or workflow failures
  • AI evaluates the full trace state (reads logs, runs diagnostic commands)
  • Queries memory (~3 results) for context on failure type/error summary
  • Decisions: retry (re-run workflow), iterate (plan again), fail (give up), push (ready to ship)
  • Tool access: Bash (diagnostic & fix commands)
  • maxParallel: 1 (deduplicated per traceId)
  • Max retry limit before forced failure
  • Prompt: steps/prompts/resolve-prompt.md (~8KB system prompt)
  • Add tests for each decision path, retry counting, deduplication

Metadata

Metadata

Assignees

Labels

pkg:cliCLI package related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions