Files
flights_web/.pi/prompts/pi-evolve.md
T

1.1 KiB

description, argument-hint
description argument-hint
Improve agents, workflows, and prompt shortcuts from memory and observed errors <evidence-or-goal>

Use pi-crew with the flights-web team and the memory-evolution workflow for:

$@

Execution safety:

  • Call the Pi Crew team tool for this workflow.
  • Do not call unavailable abstract tools such as glob; use rg --files, rg -n, find, sed, nl, and git grep.
  • Never repeat the same failed tool call or shell command more than once.
  • If a command exits non-zero with no useful output, do not retry it unchanged; inspect source/tests or change the hypothesis first.
  • After two failed verification attempts without new evidence, stop and report the blocker.
  • If five consecutive tool calls add no new information, stop and summarize what is known.

Look for repeated manual guidance, observed errors, fixes that worked, and agent self-evaluation findings. Propose memory updates and prompt/workflow/template patches only when evidence is strong enough. Require critic review, validation, and GitOps before accepting changes.