Ask @pm for a retro on any issue → automation opens retro: issue #N and assigns @senior → senior reads issue+PR threads (gitea-api) and appends one-line symptom → rule bullets to LEARNINGS.md via the normal PR choreography → LEARNINGS.md is injected into every agent prompt. Also fixes the bounce counter (was counting reviews that quoted our own template — seen jumping 1/3→3/3 on PR #84).
Ask `@pm` for a retro on any issue → automation opens `retro: issue #N` and assigns @senior → senior reads issue+PR threads (gitea-api) and appends one-line `symptom → rule` bullets to `LEARNINGS.md` via the normal PR choreography → `LEARNINGS.md` is injected into every agent prompt. Also fixes the bounce counter (was counting reviews that quoted our own template — seen jumping 1/3→3/3 on PR #84).
New learning step: ask @pm for a retrospective on any issue and the system
turns what happened into prompt-visible rules for future runs.
- run-agent.sh: @pm gains a RETRO marker (emit only when the maintainer asks);
LEARNINGS.md (caller repo root, capped at 4KB) is injected into EVERY agent's
prompt as "TEAM LEARNINGS" — the feedback loop that makes delegation more
robust over time.
- publish.sh: on @pm's RETRO marker, open a "retro: issue #N" issue pointing at
the issue + its PR (state=all resolve, works after merge) and trigger @senior
on it (has gitea-api to read both threads). The retro produces a LEARNINGS.md
PR through the NORMAL choreography (senior → pm → qa), so retros are reviewed
like any change. Strip the RETRO marker from visible replies.
- publish.sh: bounce counter now counts only @qa-authored comments matching the
exact trigger template — on PR #84 it jumped 1/3 → 3/3 because a qa review
QUOTED our own "(fix attempt …)" template from the diff, halving the fix
budget. Template + regex pinned together with a sync note.
- README: document the retro loop.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Ask
@pmfor a retro on any issue → automation opensretro: issue #Nand assigns @senior → senior reads issue+PR threads (gitea-api) and appends one-linesymptom → rulebullets toLEARNINGS.mdvia the normal PR choreography →LEARNINGS.mdis injected into every agent prompt. Also fixes the bounce counter (was counting reviews that quoted our own template — seen jumping 1/3→3/3 on PR #84).