Skip to content

Count, then widen, the capture's sources patterns so a change to a skill's scripts or reference files is driven #16116

Closed as not planned

Description

@kyle-sexton

Outcome

The owner can see how many more pull-request captures a wider sources: pattern would cause, before any of them runs. After the owner has seen the count and said yes, a change to a skill's scripts, reference files or agents is driven by the per-pull-request capture.

What is wrong, with proof at origin/main

  • The capture picks the features a pull request touches by matching changed paths against each feature's sources: globs (plugins/app-control/scripts/affected_features.py, the index parser and the fullmatch over globs).
  • In this repository's control skill every plugin feature lists only its skills' SKILL.md files, for example sources: plugins/testing/skills/*/SKILL.md (.claude/skills/control-claude-code-plugins/SKILL.md, the Features index).
  • So a pull request that changes only plugins/<plugin>/skills/<skill>/scripts/..., .../reference/..., or the plugin's scripts/ or agents/ matches no feature, and the capture drives nothing for it.
  • Of the last 400 commits on main that touched plugins/, 171 changed skill support files, scripts, agents, hooks or shared libraries and no SKILL.md (counted 2026-11-13; the count includes hooks and lib, which this item does not cover, so the true number is lower).

Decisions

  • Owner, 2026-11-13 ("go w/ recommendations", to the question restated in full): count first. The first step only counts the extra captures, with no spend. The pattern is widened only after the owner has seen that count.
  • The pattern to count, and to apply if approved: plugins/<plugin>/skills/**, plugins/<plugin>/scripts/**, plugins/<plugin>/agents/**.
  • Not chosen now: widening at once; widening to skills/** only.

Done when

  • A script, run over the pull requests merged in the last 14 days, reports for the current pattern and for the wider pattern: how many pull requests match at least one feature, and how many features each would drive. It reads git history and the control skill only, and starts no capture.
  • The counts are posted on this issue as a comment, with the command that produced them.
  • The issue is then labeled needs-owner-decision and stops. Nothing below is built until the owner replies here.
  • After the owner's yes on this issue: the control skill's plugin feature lines carry the wider pattern (through whatever generates them, not by hand per line), /app-control:map check passes, and a test shows a change to plugins/<plugin>/skills/<skill>/scripts/<file> selecting that plugin's feature.

Out of scope

Activity

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

    @github-actions
    Contributor

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

    Decision recorded. The wider sources: pattern is not applied. Owner, 2026-11-14, to the question restated in full with the count and the measured cost above: "Go with all recommendations." The recommendation was to leave the pattern as it is, because the wider one nearly doubles the captures at about 49 USD a day or more and nothing yet shows what the existing captures catch. This issue stays open, with nothing to build, until a capture's cost falls or its value is shown.

    #16116 (comment)

    This decision settles the open question: the counts were posted, and the owner declined to widen the pattern. Nothing is left to build now. The issue stays open until a capture's cost falls or its value is shown. I found no duplicate or merged fix.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 14, 2026
  5. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"eaadf0ef85856133f3a76cb63b86b8fbbb119c4af5f2a24486090fbb7e44d6ff","body_sha256":"b3ce169175ec86f9cf8c41c8ee9cc575ecf94aefa8808a69f34617013780fc9c"}

  6. github-actions commented on Nov 14, 2026

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

    @melodic-automation-lanes
    Contributor

    Pull request #16135 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  8. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  9. added
    needs-owner-decision
    on Nov 14, 2026
  10. 8 remaining items

  11. removed
    needs-triage
    on Nov 14, 2026
  12. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"eaadf0ef85856133f3a76cb63b86b8fbbb119c4af5f2a24486090fbb7e44d6ff","body_sha256":"b3ce169175ec86f9cf8c41c8ee9cc575ecf94aefa8808a69f34617013780fc9c"}

  13. github-actions commented on Nov 14, 2026

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

    @melodic-automation-lanes
    Contributor

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

    Reason: intent

    Why, in the run's own words:

    intent-change: the owner's recorded decision (comment 6873529460, 2026-11-14) says the wider sources: pattern is not applied and the issue stays open with nothing to build until a capture's cost falls or its value is shown. The earlier done-when items are met elsewhere: the count script is on main (scripts/count-capture-sources.py, #16135) and the counts and cost were posted on the issue (comments 6873172741 and 6873488853). Nothing in this issue can be built now, so it should come off agent-ready and be parked until a person reopens the widening question.

    What the run says it did not do:

    • Applying needs-owner-decision or removing agent-ready: this lane cannot change labels, and the owner already decided, so a person should park the issue
    • Widening the sources: pattern and the selector test from done-when item 4: declined by the owner's recorded decision
    • tidy, review, verify and checks prep steps: skipped because there is no diff

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

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

  15. removed
    agent-ready
    on Nov 14, 2026
  16. kyle-sexton commented on Nov 14, 2026

    @kyle-sexton
    MemberAuthor

    What the captures caught, counted from pr-verify.yml verdict files (the value side of the cost above).

    Result: in 112 sampled verdict files the capture ran in 10 (8.9%). It changed no verdict. In 2 of the 10 it added a note asking a person to check the capture; both verdicts were pass-notes and carried other notes too.

    Window and sample. 908 completed pr-verify.yml runs were created on or after 2026-11-13 (UTC). Two samples of runs that concluded success:

    • A: the 150 most recent, created 2026-11-14 03:45 to 17:34 UTC: 70 verdict files from 56 pull requests.
    • B: every third of the 300 most recent created on 2026-11-13, 94 runs from 11:18 to 23:56 UTC: 42 verdict files from 38 pull requests.

    132 of the 244 sampled runs left no verdict artifact; why was not established. Runs between the two samples and before 11:18 UTC on 2026-11-13 were not sampled.

    Verdict files by the capture they record (evidence.capture):

    Capture A B Total Share
    blocked 70 23 93 83.0%
    ran 0 10 10 8.9%
    not-applicable 0 9 9 8.0%
    • 90 of the 93 blocked files give the reason "subscription token cannot go behind the proxy (R41)", written by pr-verify-capture.yml:1069 when the key leg could not capture. Every verdict file in sample A is blocked this way, so no capture has reached a verdict since about 2026-11-14 00:00 UTC. Issue Give the capture the subscription and fallback legs the other Claude lanes have #16193 covers the credential legs.
    • The other 3 blocked files: the drive's Ready step exited 2, credit balance too low, and a rate limit.

    The 10 verdict files where the capture ran (9 pull requests; 3 fail, 7 pass-notes; 4 to 6 entry points each, one feature each):

    What this cannot show. A verdict has no field recording that the judge used the capture: evidence holds only the capture's status, count, features and reason (.github/scripts/pr-verify/write-verdict.mjs:85-156), so use is read from the free text of summary and notes. Neither failed capture saved a screenshot or log, so neither can be told apart from an environment failure.

    How it was counted. gh api "repos/melodic-software/claude-code-plugins/actions/workflows/pr-verify.yml/runs?created=>=2026-11-13&status=completed&per_page=1" --jq .total_count, then gh run list and one gh run download <id> -p 'pr-verify-[0-9]*' per sampled run, and a script that reads each verdict.json and tabulates evidence.capture, the verdict value, and capture mentions in summary and notes. Run on main at b92f682, 2026-11-14.

    Nothing changes here: the pattern stays as it is.

  17. added
    needs-human
    on Nov 14, 2026
  18. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose to close this issue as not planned, since the capture changed no verdict in 112 sampled verdict files.

    Question as put to the owner (Q40): widen the capture's source patterns.

    • A (recommended, chosen): close as not planned; the capture changed no verdict in 112 samples.
    • B: keep open.

    Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."

    Items 1 and 2 are done (#16135, the cost comment). The 2026-11-14 decision left the wider pattern unapplied with nothing to build, and the value count found the capture changed no verdict in 112 sampled verdict files.

    Reopen when a capture's cost falls or its value is shown.

    Posted by an agent session.

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

    needs-human

    Type

    Fields

    Work status

    needs-human

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions