fix: reproduce-agent formula — primary goal is reproduction, not root cause #320
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#320
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The reproduce-agent formula currently treats reproduction and root cause analysis as equal goals. In practice, the agent spends all its turns investigating instead of confirming the bug first. When it hits the turn limit, we do not even know if the bug is real.
Reframe
The reproduce-agent has one primary job and one secondary, minor job:
Primary: Can the bug be reproduced?
This is the exit gate. The agent must answer YES or NO before doing anything else.
If cannot reproduce → label
bug-report+rejected, post findings, done.If inconclusive (timeout, env issues) → label
bug-report+blocked, post what was tried, done.Secondary (minor): Is the cause obvious?
Only after reproduction is confirmed. Quick check only — do not go deep.
docker compose logs) for stack traces or error messagesIf obvious cause → label
bug-report+in-progress, create backlog issue with cause, done.If not obvious → label
bug-report+in-triage, post reproduction evidence + logs examined. Triage-agent takes over.Exit gates
The formula must enforce this order:
The agent should spend at most 60% of its turn budget on step 1, reserving 40% for step 2 if reproduction succeeds. If step 1 uses all turns, that is fine — the answer is
blocked.Label combinations
bug-report+in-progressbug-report+in-triagebug-report+rejectedbug-report+blockedFiles
formulas/reproduce.toml— rewrite with primary/secondary structure and exit gatesdocker/reproduce/entrypoint-reproduce.sh— update label logic to use combinationsStale in-progress issue detected
no_active_session_no_open_pr2026-04-06T20:54:02ZStatus: This issue was labeled
in-progressbut no active tmux session exists.Action required: A maintainer should triage this issue.