Skip to content

Write remove-comments' root-cause and reshape findings to a findings file the fix skills can read #15841

Description

@kyle-sexton

Parent

Refs #15661 (the map decision this implements).

Depends on

  • none: on the frontier now

Outcome

When /code-tidying:remove-comments finds a comment that covers for code needing a real fix, that finding is written where the fix skills can pick it up, instead of living only in the chat.

Demo: run the skill on code with a workaround comment; a findings file holds a row for it, and /review:fanout fix consumes that row.

Source: Lauren Tan's pstack (cursor/plugins, MIT), pstack/skills/no-comments/SKILL.md:21-22: "Fix trivial accepted flags directly by deleting a dead path, dropping a parameter, or using the real API ... Implement the smallest root-cause fix in scope".

Decisions

  • Owner, 2026-11-12: a take must land in its proper home. Fixing code in the same run is not taken: comment removal stays comment-only ("A fix that changes behavior ... is never made here"). A behavior fix needs a test net and outcome verification, a second reason for the skill to change.
  • The hand-off is made real. The skill's final step already lists "reshape flags" and "open root-cause work" in its reply; it writes them to the same findings file its report mode already uses for lint proposals, in every mode.
  • The successors are the existing ones: /review:fanout fix, /implementation:implement for fixes, /architecture:improve for reshapes.
  • The file's location follows the existing memory-folder resolution; nothing new to configure.
  • This is separate from the no-comments posture setting (Adopt the no-comments posture here and support it as a plugin setting #15647).

Key interfaces

  • The review plugin's findings-file shape, which the skill's report mode already writes.

Done when

  • In every mode, reshape flags and root-cause rows are written to the findings file with file, line, symbol and the proposed move or fix.
  • The skill makes no behavior-changing edit.
  • One new eval case has a workaround comment produce a findings row that /review:fanout fix consumes; the skill's existing 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

  • Fixing flagged code inside the skill.
  • The posture setting.

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. removed
    agent-ready
    on Nov 13, 2026
  4. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

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

    Understood: /code-tidying:remove-comments should write its root-cause and reshape findings to the existing findings file in every mode, with file, line, symbol and proposed move. It must stay comment-only, and /review:fanout fix should be able to consume the rows. A new eval case covers this.

    The owner decisions in the body settle the design, so nothing is missing. The eval comparison and the local-runner step can't run unattended, so they are left to a person. I found no duplicate open issue or merged fix.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"33e39e4902709d74813b52e6a8a04f207f5574006a06bdce17864fde716c1de9","body_sha256":"63e0f10449a8f27a01a9d78a3601e05ce6c0b1b30568de4b38138042301f633b"}

  6. 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