Skip to content

guardrails: native-overlap verdict for block-root-delete-target.sh after 2.1.330 #17835

Closed as not planned

Description

@kyle-sexton

Refs: #17713

Context

Item 9 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: a replace nomination, for /harness-ops:audit-native-overlap. The hook stays for now (owner decision on #17713); it is a security-relevant guard this lane never edits.

Owner surface: plugins/guardrails/hooks/block-root-delete-target.sh
Lens: replace
Items: 2.1.330-103
Range: 2.1.330..2.1.330

Required sentence: The hook blocks recursive deletes, moves and content destroyers aimed at a filesystem root, home, a drive root or a protected tree across argv, launchers, child shells, interpreters and PowerShell, asking when attended; Claude Code now asks for more rm commands aimed at the root, home, a top-level folder or the working folder and refuses them where nobody can answer, which overlaps only the plain-rm core of that problem.

Why a handoff (nomination): Replace rows are nominated to /harness-ops:audit-native-overlap (a hook, so it waits as nominated until the gate represents hooks); likely outcome keep. Security-relevant PreToolUse guard: never edited by this lane.

Repo evidence (unverified, verification: skipped (light)): block-root-delete-target.sh; plugins/guardrails/README.md:98
Recheck trigger: permissions page; permission-modes page

Done when

  • /harness-ops:audit-native-overlap records a keep or replace verdict for plugins/guardrails/hooks/block-root-delete-target.sh against changelog item 2.1.330-103
  • block-root-delete-target.sh itself is not edited

Activity

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

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: one native-overlap verdict record for the guardrails hook; the hook script itself is not edited. Maintainers of the guardrails and harness-ops plugins read the record.
    Reversible: yes; the verdict is a recorded note that a later audit can replace.
    Open questions: none

    I read this as item 9 of the split-out 2.1.330 changelog handoffs from #17713. It asks for a keep or replace verdict on block-root-delete-target.sh against changelog item 2.1.330-103, without editing the hook. The issue says the likely outcome is keep, because the native change covers only the plain-rm part of what the hook blocks. The issue also says the audit waits until the gate represents hooks. That may delay the work but does not change the request.

    I found no duplicate among the open issues or the merged pull requests. #17828 is a similar verdict request for a different hook, worktree-remove-gate.sh, and does not cover this one.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"ea54b475fca725c42591f8268886f3fd3bb8623bf1427cd20e9a97ba5ec530d7","body_sha256":"46f5e57b99465ded45140d87e493b76cd01678bc8fe2f75d11f4e883df4daf04"}

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

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"ea54b475fca725c42591f8268886f3fd3bb8623bf1427cd20e9a97ba5ec530d7","body_sha256":"46f5e57b99465ded45140d87e493b76cd01678bc8fe2f75d11f4e883df4daf04"}

  6. github-actions commented on Nov 21, 2026

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

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Reason: design

    Why, in the run's own words:

    design-change: the done-when needs /harness-ops:audit-native-overlap to record a keep or replace verdict for plugins/guardrails/hooks/block-root-delete-target.sh, but the gate cannot represent a hook. The store contract allows only skill and agent components (plugins/harness-ops/skills/audit-native-overlap/scripts/overlap.py:91, COMPONENT_KINDS = ("skill", "agent"); self-check rejects any other component.kind at overlap.py:716-723), the five verdict values do not include keep or replace, and the native side (rm permission prompting) is a permission behavior, not an inventory surface the store keys on. Representing hooks means changing the store contract, its self-check and the generated view, a primary-design change. Separately, the skill's human gate says a verdict is written by a person or a session acting on the owner's recorded direction and never by an unattended run (SKILL.md 'Verdicts and the human gate', 'Never auto-verdict'), so this CI lane may not record it even once hooks are represented. The issue itself says the nomination 'waits as nominated until the gate represents hooks'.

    What the run says it did not do:

    • Recording the keep/replace verdict for block-root-delete-target.sh against 2.1.330-103: the store cannot represent a hook, and an unattended run may not write a verdict
    • Upstream permissions and permission-modes pages were not read, because no verdict claim was written

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

    To retry, set Work status to agent-ready again (clearing the needs-human hold).

  8. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Closing: this nomination cannot be lane work. The native-overlap store holds only skill and agent components (plugins/harness-ops/skills/audit-native-overlap/scripts/overlap.py:91), and a verdict is written by a person or a session, never an unattended run (audit-native-overlap SKILL.md, 'Never auto-verdict'). The owner's direction on #17713 (answer 3) is that the hooks stay for now, so block-root-delete-target.sh stays unchanged. Filed in error by the hub when it split #17713.

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

    Type

    Fields

    Work status

    needs-human

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions