Skip to content

Root-cause fixes enforced by a check, not only by instructions #864

Open

Description

@scuttletoby

Why: the owner wants agents to fix the real cause, not patch one edge case.

Today: briefs, the review skill and the "fix a repeat-red test first" rule ask for root-cause fixes. Nothing checks it; only a reviewer can notice a patch.

Done when: a bug-fix PR (linked to a bug or flaky-test issue) must carry a "Cause" section (what really went wrong, file:line) and a regression test that fails on the old code. A check proves the test fails on the base commit, and lenses are asked "does this fix the cause, or one case of it? Where else does the same pattern exist?"

🤖 Generated with Claude Code

Activity

  1. added
    area:agents
    size:big
    type:feature
    on Nov 29, 2026
  2. scuttletoby commented on Nov 29, 2026

    @scuttletoby
    OwnerAuthor

    Working on part 1: a report-first fork-ci action root-cause that reads a pull request linked to a bug or flaky-test issue and names what its body lacks: a Cause part that points at file:line, and a Regression test part that names the test file. A require mode fails the step instead. Proving the test fails on the base commit and the lens question are later parts. One fork PR.

    🤖 Generated with Claude Code

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

    area:agentssize:bigtype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions