Skip to content

Check the shared premise after a second failed fix in the test-fix loop #15836

Description

@kyle-sexton

Parent

Refs #15661 (the map decision this implements).

Depends on

  • none: on the frontier now

Outcome

When two fixes that rest on the same assumption have both failed, the test-fix loop checks the assumption before trying a third fix.

Demo: give /testing:diagnose a failure where two fixes sharing one premise fail; before a third attempt it states the shared premise as one checkable claim and tests it.

Source: Lauren Tan's pstack (cursor/plugins, MIT), pstack/skills/principle-attack-the-premise/SKILL.md:9,19: "When two or more fixes that share one premise have failed the same gate, suspect the premise" and "Do not start the next fix before the premise is written down and tested".

Decisions

  • Owner, 2026-11-12: a skip must be validated. Her hard stop at every gate stays declined: /debugging:debug keeps the premise check advisory on purpose and has one hard gate.
  • The smaller take: the place repeated fixes actually happen is the test-fix loop, which today escalates only after three iterations and never checks the premise. It runs the check after the second failed fix, by slash reference to /debugging:debug when installed, with the one-sentence rule as the fallback.
  • The rule is stated once, in the debug skill; the test-fix loop points at it.

Key interfaces

None.

Done when

  • /testing:diagnose's loop runs the premise check after a second failed fix and before its replan step, reaching /debugging:debug by slash reference with a stated fallback.
  • The fix-until-green workflow's stop on no progress reports the shared premise it did not test.
  • One new eval case covers the two-failed-fixes path; the skill's existing diagnose cases are non-inferior on a two-version compare (opus and sonnet aliases, three runs per side, --case filter, a --max-cost-usd ceiling, no new batch after a usage-limit error), run in the one local eval-runner session; the pull request carries do-not-merge until the record lands.
  • The pull request body names this repository's dogfooding step.

Out of scope

  • Making the check a hard stop.
  • Any change to /debugging:debug's own rule.

Activity

  1. added
    agent-ready
    on Nov 13, 2026
  2. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  3. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    No work-resolve-issue run started in the 1 hour since agent-ready was last added. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  4. removed
    agent-ready
    on Nov 13, 2026
  5. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  6. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: after a second failed fix in /testing:diagnose's loop, the loop should check the shared premise before replanning. It reaches /debugging:debug by slash reference, with a one-sentence fallback. The fix-until-green no-progress stop should also report the premise it didn't test. The work also needs one new eval case and a non-inferiority compare. The outcome and done-when are exact, and the issue lists no open design choices. The local eval-runner step is one an unattended run can't do, so it will be routed separately. I found no duplicate open issue and no merged PR that already covers this.

    Automated triage. A maintainer reviews it.

  7. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"6b00bd7d2a64479c3bb788381b4d6c3978825650a1c028eb3ec3547337b67c61","body_sha256":"9bf19866254ddecfe38c03ac2e9e95742fe9a1d17277f9f11790a94321bc890d"}

  8. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
  9. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  10. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions