Skip to content

feat(discovery): explore probes git for deleted files instead of asking before archaeology #12590

Description

@kyle-sexton

Refs: #7005

Why

The confirm-gate audit in #7005 classed this gate reversible-local with the proposal probe-first
(record row 28, pinned commit a2efc66). The owner approved that class on 2026-11-02 (decision).
probe-first means: run the read-only probe that answers the question instead of asking it.

Record: confirm-gates.md

Where (main at 1c559c7)

plugins/discovery/skills/explore/SKILL.md:225, a gotcha: "Investigating deleted files without
asking, when git status shows intentional deletes, ask before archaeology."

Change

Before any archaeology on a deleted file, run git status and git log for that path (read-only) to
tell whether the delete was intentional (a committed delete, or a staged removal). An intentional
delete is noted and skipped; an unexplained one is investigated. Ask only when the probe does not
settle which it is.

Done when

  • The gotcha tells the agent to run the git probe, not to ask.
  • A question remains only for the case the probe cannot settle.
  • The explore output notes intentionally deleted files it skipped.

Activity

  1. added
    needs-triage
    on Nov 3, 2026
  2. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: the explore skill's gotcha at plugins/discovery/skills/explore/SKILL.md currently says to ask before investigating deleted files. You want it to run a read-only git status and git log on the path first. It would skip and note intentional deletes, investigate unexplained ones, and ask only when the probe can't tell which it is. The explore output would also list the intentionally deleted files it skipped.

    The done-when items are clear and nothing is missing. I found no duplicate among the open issues. It follows from the audit in #7005.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Nov 3, 2026
  4. added
    status: ready
    on Nov 3, 2026
  5. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Nov 3, 2026
  6. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor
    No description provided.
  7. github-actions commented on Nov 3, 2026

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

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (patch-apply-failed): apply-issue-patch failed before it committed or refused the patch, a job fault.
    It keeps agent-ready, and work-unblock starts it again (retry 1 of 2).

    In the run's words:

    The run reported done, but apply-issue-patch did not commit its patch (patch-apply-failed): apply-issue-patch failed before it committed or refused the patch. The run's log names the path or check.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41562820810

  9. added
    agent-ready
    and removed
    agent-ready
    on Nov 3, 2026
  10. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor
    No description provided.
  11. github-actions commented on Nov 3, 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

    agent-readystatus: ready

    Fields

    Work status

    agent-ready

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions