Skip to content

pr-pipeline: let pr-unblock settle a non-critical same-marketplace manifest dependencies flag #10093

Description

@kyle-sexton

Problem

pr-unblock escalates feedback-uncertain on every manifest dependencies: flag thread, even when the security lane itself rates it IMPORTANT, not CRITICAL, and the lane's own reading shows a same-marketplace, bare-name hard require. The lane reply says the facts check out and the dependency is a hard require under docs/plugin-philosophy.md:104-105, then leaves it "to a person" because the flag is default-deny.

Example: #10049, threads on plugins/planning/.claude-plugin/plugin.json (planning -> work-items; wayfind writes through /work-items:track, wayfind/SKILL.md:19,144) and plugins/work-items/.claude-plugin/plugin.json (work-items -> implementation; ship hands off to /implementation:implement-dispatch, ship/SKILL.md:20,170). Security lane text: "There is no external source, so this is not CRITICAL."

Owner decision (2026-10-25)

A stop is worth a person only for security, intent, or a real charge. A non-critical flag for a plugin in the same marketplace, which this repository's own rule classes as a hard require, is none of those.

Fix

In pr-unblock's adjudication, settle a manifest dependencies: flag finding when all hold: the security lane rated it non-CRITICAL; every entry is a bare name that resolves in this repository's .claude-plugin/marketplace.json; no version or cross-marketplace source; and the lane cites the call site that makes it a hard require under docs/plugin-philosophy.md:104-105. Reply with that evidence and resolve. Everything else (a cross-marketplace or versioned entry, an external source, a CRITICAL rating, an optional collaborator with a fallback) still escalates. The security lane's flagging is unchanged; this only changes who answers a non-critical flag.

Done when

  • A same-marketplace bare-name hard-require flag resolves without needs-human, citing the call site.
  • A cross-marketplace entry, or an optional collaborator with a documented fallback, still escalates.

Activity

  1. added
    needs-triage
    on Oct 25, 2026
  2. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor

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

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

    I understood this as a request to add a narrow path to pr-unblock's adjudication. The path would settle a non-CRITICAL "manifest dependencies: flag" finding when it meets these conditions:

    • Every entry is a bare name in the root marketplace.json.
    • No entry has a version or a cross-marketplace source.
    • The lane cites a call site that makes it a hard require.

    Everything else would still escalate. That includes CRITICAL ratings, versioned or external entries, optional collaborators with a fallback, and all other security findings.

    The owner's decision comment already answers the four refinement questions, so I'm asking nothing new. Its first line isn't exactly the decision marker, so I triaged this as a normal pass, not a re-entry. Related issues: #10075 and #10080.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 25, 2026
  4. added
    status: ready
    needs-owner-decision
    and removed
    status: ready
    on Oct 25, 2026
  5. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  6. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  7. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: pr-unblock settles a non-CRITICAL security-lane manifest dependencies flag itself, replying with the call-site evidence and resolving the thread, when every entry is a bare name in the root marketplace.json with no version or cross-marketplace source; everything else still escalates.

    Related work

    Open questions

    1. The adjudication gate sends every security-review thread to a person and only admits non-CRITICAL claude-review threads. Should this add a separate narrow path for the manifest dependencies flag and leave the gate closed for all other security findings?
      RECOMMENDED: Yes. Add a separate, explicitly named path keyed on the flag and leave adjudicable unchanged for everything else. Basis: .base/.github/scripts/pr-unblock/adjudicate-feedback.mjs:80-87
    2. The text 'manifest dependencies: flag' and the security lane's output format appear nowhere in the checkout. How should the script recognize the flag, the non-CRITICAL rating and the cited call site?
      RECOMMENDED: Pin the lane's flag marker and severity line in its output contract first, then match that marker plus the existing severity line parser; require a cited path:line for the call site. Basis: judgment
    3. The issue cites docs/plugin-philosophy.md:104-105 for the hard-require rule, but the rule is at lines 105-106 (line 104 is the optional-invocation bullet). Should the check key on the line numbers or on the rule itself?
      RECOMMENDED: Key on the rule (hard require versus optional collaborator with a documented fallback), not on line numbers, which drift. Basis: .base/docs/plugin-philosophy.md:103-108
    4. Should the script verify the hard-require claim itself (bare names resolve in .claude-plugin/marketplace.json, no version or source field) rather than trusting the lane's reply?
      RECOMMENDED: Yes. Check the manifest entries deterministically against the PR head's marketplace.json, and require the lane to cite a call site that exists in the checkout. Basis: judgment

    Sources read

    • .base/docs/plugin-philosophy.md:105-108: native manifest dependencies are reserved for hard requires; optional collaboration stays presence-gated with a documented fallback
    • /.base/.github/scripts/pr-unblock/adjudicate-feedback.mjs:62-87: CRITICAL severity regex; adjudicable admits only non-CRITICAL claude-review threads, security-review findings always go to a person

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  8. removed
    needs-owner-decision
    on Oct 26, 2026
  9. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner answered in the Refinement session (2026-10-25), deciding the open items below on the facts:

    go with whatever the facts/data/metrics + /discovery:research says and ensure we're aligned with SOLID, DRY/SSOT principles

    I should only ever be in the loop ONLY when necessary (intent/vision changed, something came up during implementation that impacts trajectory/alignment, OR a high security risk) - I've covered this all before

    Question asked: Add a separate, narrow adjudication path for this one security-lane flag, with the script checking the manifest itself (security call)?

    The body's owner decision (2026-10-25) settles the intent:

    A non-critical flag for a plugin in the same marketplace, which this repository's own rule classes as a hard require, is none of those.

    Open items come from intake's refinement: #10093 (comment)

    1. Today every security-review thread goes to a person. Add a narrow path for this flag and leave the gate closed for all other security findings? Security call.
      Decided: Yes. A separate, explicitly named path keyed on the flag; adjudicable stays unchanged for everything else. Basis: origin/main .github/scripts/pr-unblock/adjudicate-feedback.mjs:77-87. Intake's answer kept.
    2. The flag text and the security lane's output format appear nowhere here. How does the script recognize the flag, the rating and the call site?
      Decided: Pin the lane's flag marker and severity line in its output contract first, then match that marker with the existing severity parser and require a cited path:line. Basis: judgment; git grep of plugins/review, .github and docs/conventions on origin/main finds no "manifest dependencies: flag" text. Intake's answer kept.
    3. Key the check on the body's line numbers or on the rule?
      Decided: On the rule (hard require versus optional collaborator with a documented fallback). It sits at docs/plugin-philosophy.md:105-106, not 104-105. Basis: docs/plugin-philosophy.md:103-108. Intake's answer kept.
    4. Should the script verify the hard-require facts itself rather than trust the lane's reply?
      Decided: Yes. Check each entry against the PR head's .claude-plugin/marketplace.json (bare name, no version, no source) and require the cited call site to exist in the checkout. Basis: judgment. Intake's answer kept.

    Acceptance criteria:

    • A same-marketplace bare-name hard-require flag resolves without needs-human, citing the call site. (Converted from the body's Done when, wording unchanged.)
    • A cross-marketplace entry, or an optional collaborator with a documented fallback, still escalates. (Converted from the body's Done when, wording unchanged.)
    • A CRITICAL rating, a versioned entry or an external source still escalates, with test cases.
    • The script checks each entry against .claude-plugin/marketplace.json itself, and every other security-review finding still goes to a person.
  10. added
    status: ready
    on Oct 26, 2026
  11. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Second sign, 2026-10-26: a main merge on #10049 (new head c514758) triggered a full claude-security-review that held the PR as critical-security (13:04Z) for the same two same-marketplace manifest dependencies (planning -> work-items, work-items -> implementation) the PR exists to declare. The earlier head's review had graded them non-critical. So a base-merge-only push re-raises the stop at a higher severity, and only a trusted approving review clears it.

  12. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 29, 2026
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

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions