Skip to content

Let the pr-verify capture record a command-running skill's drive run #16383

Closed
3 of 3 issues completed
Closed

Description

@kyle-sexton

Problem

A work item whose skill runs commands cannot get the "one recorded /app-control:drive run" its Done-when asks for. A local drive launches Claude Code with --restricted, which removes the command tools, and the issue lane has no app-control plugin. The owner decided on 2026-11-15 that a run through the sandboxed broker the pr-verify capture uses counts as that recorded run, and that the local launch is not loosened. The capture cannot record such a run today.

What stands in the way

As read in .github/workflows/pr-verify-capture.yml and the control skill on 2026-11-15:

  • The capture's prompt passes no target, so the driven session picks the skill's arguments itself and need not run the action under test.
  • The driven session runs in an empty folder with no git history, so a script that reads history (the layout lens's co-change.mjs) exits 2.
  • The head checkout is mounted read-only, so a run cannot write its memory file.
  • The capture reads only main's control skill, so a feature's Drive line for a new action has to merge to main before any capture can use it.
  • The capture publishes only an artifact for the verifier; nothing links the run from the pull request.

Recorded runs owed

Moved here from their issues by the owner's decision, so those issues can close on their other items:

Done when

  • The capture can record a named action of a command-running skill against the pull request's head, with git history available to it, without loosening the sandbox or the local --restricted launch.
  • The control skill's features for architecture/improve, corrections and review/fanout name the action to drive.
  • Each of the three runs above is recorded and linked from its issue.

Out of scope

  • Letting a local drive launch without --restricted.
  • Giving the issue lane the app-control plugin.

Related

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

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

    @github-actions
    Contributor

    Size: Large
    Complexity: High
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: you want the pr-verify capture to record a named action of a command-running skill against a pull request's head. That means a target in the prompt, git history available in the driven session, a writable place for the run's memory file, and a way to link the run from the pull request. The sandbox and the local --restricted launch stay as they are. The control skill's features for architecture/improve, corrections and review/fanout would name the action to drive. The three owed runs (#15811, #15650, #15833) would then be recorded and linked from their issues.

    Notes:

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: merged pull request #17058 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

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

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 3 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.

  6. kyle-sexton commented on Nov 15, 2026

    @kyle-sexton
    MemberAuthor

    One more owed measurement moved here (owner, 2026-11-15): how many gate agents (review:finding-prover) one real /review:fanout run under reproduce_findings: label starts in this repository, from issue 15833 and pull request 16378. A local drive on a scratch repository stopped before its first turn: the restricted launch denies Bash at the skill's first line. Count the Agent tool calls whose subagent_type is review:finding-prover in the recorded run; the stage starts one per merged finding at or above the floor.

  7. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    Owner, 2026-11-17, in session ("go w/ recommended"), posted by an agent session: one more recorded run is owed here.

    Why: #15773's dogfood (pull request #16886) was made by an agent following the specify skill's files, because the plugin was not installed in the building session. That shows the instructions work when read, not that the installed skill triggers and runs.

  8. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose how a text result gets out of a capture run.

    Question as put to the owner (Q22): #16585 asks for the output of /corrections:codify count-checks posted on #15650, and this issue asks for a recorded /formal-verification:specify run. A capture's public report redacts text output; only numbers and screenshots are publishable (reported from the drive skill's evidence reference by an investigating agent; not re-read by the posting session). The control skill also has no formal-verification feature at main, so no capture can drive that skill yet.

    • A (recommended, chosen): drive each as a terminal session with a publishable screenshot that shows the result. For the specify run, a formal-verification feature is added to the control skill first, as its own pull request.
    • B: add a Budget: line to each feature and accept numbers only.
    • C: read the driver's sealed transcript.
    • D: drop both capture runs and record each result from a local run.

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

    Also recorded: the capture key was replaced on 2026-11-18T02:09Z and capture run 44225971568 passed its key probe. #16387's remaining run (/review:fanout under reproduce_findings: label) is being triggered from a pull request that touches only the fanout skill.

    Posted by an agent session.

  9. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Recorded capture run for #16387's remaining item (/review:fanout under reproduce_findings: label): https://github.com/melodic-software/claude-code-plugins/actions/runs/44229315019 (attempt 2), finding_prover_agent_calls_count = 0, linked from #15833 at #15833 (comment). Still owed here: the /formal-verification:specify run and #16585's run, both typed terminal turns, which wait on the owner's choice in #16564 (the key's credits do not cover interactive Claude Code). Posted by an agent session.

  10. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose how the two captures still owed here are proven now that no typed turn runs in a capture (Q26 on #16564).

    Question as put to the owner (Q27): may the #16585 and #16383 captures be proven by counts instead of the terminal screenshot? Print mode only means no typed turn runs in CI, so the screenshot Q22 chose cannot be taken there; only numbers can leave the runner.

    • A (recommended, chosen): accept counts as the proof for those two and close them on it.
    • B: record the count captures but keep both issues open until typed turns can run.

    Owner's answer, 2026-11-18, typed in an agent session, verbatim: "go w/ recommendations"

    The counts are the Budget: measures #17049 adds to the corrections and formal-verification features. Q22's screenshot still applies to a local drive.

    Posted by an agent session.

  11. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Recorded: the installed /formal-verification:specify check capture, run https://github.com/melodic-software/claude-code-plugins/actions/runs/44249479590 (2 formal-area skills, 0 failures, 2 warnings), linked from #15773 at #15773 (comment). Still owed here: #16585's count-checks capture. Its first run (https://github.com/melodic-software/claude-code-plugins/actions/runs/44249345146) passed the print-mode entry point but published nothing, because the driver again ran the Mask values command with an argument and a pipe, which the capture's allow list refuses. A wording fix in the driving tool's Mask section comes first, then a rerun. Posted by an agent session.

  12. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    #16585's count-checks run is recorded: #15650 (comment) (0 blocking, 0 advisory, new and cumulative). It is a local run of the script, which the owner accepted in place of the capture (Q28, 2026-11-18: "Yes, go with recommendations."), because the capture key is out of credit and the capture has no subscription leg. With the specify capture above (run https://github.com/melodic-software/claude-code-plugins/actions/runs/44249479590), nothing is owed here. Posted by an agent session.

  13. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Closed: both owed runs are recorded above (the specify capture and #16585's count-checks run).

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

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions