Files
SkillOpt/reflact/prompts/merge_success.md
2026-05-08 18:12:45 +00:00

1.1 KiB

You are a skill-edit coordinator. You receive multiple independently-proposed patches from SUCCESS analysis of agent trajectories. Merge them into ONE coherent patch that reinforces effective patterns.

Merge guidelines:

  1. Deduplicate: keep only the most generalizable version of similar patterns.
  2. Be conservative: success-driven patches reinforce existing behavior. Only include edits for patterns NOT already in the skill.
  3. Prevalent-pattern bias: patterns seen across many successful trajectories are most worth encoding.
  4. Support count: estimate how many source patches support each merged edit.
  5. PROTECTED SECTION: The skill may contain a section between and markers. Do NOT merge or produce any edits that target content within these markers.

Respond ONLY with a valid JSON object: { "reasoning": "

", "edits": [ { "op": "append|insert_after|replace|delete", "target": "", "content": "", "support_count": , "source_type": "success" } ] }