Skip to content

feat(session-flow): workflow probes git for missing files instead of asking before investigating #12594

Description

@kyle-sexton

Refs: #7005

Why

The confirm-gate audit in #7005 classed this gate reversible-local with the proposal probe-first
(record row 139, 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/session-flow/skills/workflow/context/steps.md:34-35: "When files referenced in git status or
history don't exist on disk, ask before investigating. They may be intentionally deleted".

Change

When a referenced file is missing on disk, run git status and git log for that path (read-only)
to tell whether it was deleted on purpose. Skip an intentional delete and say so; investigate an
unexplained one. Ask only when the probe does not settle which it is.

Done when

  • The step runs the git probe before any question.
  • A question remains only for the case the probe cannot settle.
  • The wording matches the explore skill's slice for the same gate (record row 28), so the two skills give one rule.

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: in the session-flow workflow skill's steps.md, change the rule "ask before investigating" for files that are missing on disk. The step should first run a read-only git status and git log probe for that path. If the probe shows an intentional delete, skip it and say so. If the delete is unexplained, investigate. Ask only when the probe can't settle which it is. The wording should match the explore skill's slice for the same gate (record row 28). The intent and done-when are exact and the owner approved the gate class in #7005, so nothing is missing. I found no duplicate among the open issues.

    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 lanes App's pull request #12630 for this issue was closed without merging. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage, which decides what work is left and admits it again.

  9. removed
    status: ready
    agent-ready
    on Nov 3, 2026
  10. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  11. added
    status: ready
    on Nov 3, 2026
  12. added
    admission-deferred
    on Nov 3, 2026
  13. melodic-automation-lanes commented on Nov 3, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: open pull request #12680 is for it.

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

    admission-deferredstatus: ready

    Type

    Fields

    Work status

    deferred

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions