Skip to content

Add the manual-dispatch workflow for the whole-map live verification pass #16564

Closed

Description

@kyle-sexton

Split from #15649 at intake's recommendation: the on-demand workflow is host work, since an unattended lane run cannot dispatch it or use the pr-verify key's sandbox. #15649 keeps the skill, script, settings, eval and catalog items; this issue is blocked until that work merges.

Decision (owner, 2026-11-16)

Artifact retention stays at this repository's setting, which is also the most a public repository allows (gh api repos/melodic-software/claude-code-plugins/actions/permissions/artifact-and-log-retention returns days: 90, maximum_allowed_days: 90). No retention setting changes and no paid storage is requested. A pass dispatched more than 90 days after the previous one finds no baseline and reports every finding NEW.

Done when

  • A new workflow whose only trigger is manual dispatch by a listed human runs /testing:run-e2e map in the pull-request capture's sandbox, launch broker and key proxy on the pr-verify API key, and stops on the lanes kill switch.
  • The whole-map workflow takes features, max_entries (default 40) and baseline_run inputs and prints the entry count and the token cap before any model turn.
  • The whole-map workflow uploads findings.json at the repository's retention (90 days), registered with the workflow as its reader in the artifact retention registry, uploads the evidence with a short retention, and downloads the previous successful run's findings.json as the baseline; with no previous artifact it runs with no baseline.
  • The whole-map workflow drives sessions on the capture's configured driven model.

Owner step

Unchanged from #15649: the owner dispatches two measured passes and reviews them.

Activity

  1. added
    host-run
    on Nov 16, 2026
  2. added
    needs-triage
    on Nov 16, 2026
  3. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: intent
    Blocked by: none
    Blast radius: the manual-dispatch whole-map workflow, already built in #16951, and the owner who reviews its measured runs.
    Reversible: yes; the workflow can be removed or disabled, and uploaded artifacts expire at their retention.
    Open questions: none
    Latest decision on this issue:

    Decision recorded. The owner chose who runs and reviews the two measured whole-map passes.

    Question as put to the owner (Q21): this issue's Owner step says the owner dispatches two measured passes and reviews them. An agent session had dispatched a narrowed pilot (run 44227262325, one feature, at most 2 entries) under the owner's login without asking.

    • A (recommended, chosen): the agent session dispatches both full passes (40 entries each, the default) and posts each run's entry count, token use, wall time and findings here. The owner reviews them and decides whether the workflow proved its value; this issue stays open until the owner says so.
    • B: the owner dispatches both passes; the session only summarizes.
    • C: the session dispatches, reviews and closes.

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

    Posted by an agent session.

    #16564 (comment)

    This decision, with the two earlier ones, settles the open questions. What remains is the two measured passes, which need an attended session, and the owner's review of them. That review is left to a person, so the issue carries needs-human. No retention setting changes and no paid storage is requested, so there is no cost to flag.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 1 (host-data: "A new workflow whose only trigger is manual dispatch by a listed human runs /..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run).

  6. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    The triage verdict left this issue at needs-owner-decision:

    • flagged: intent
    • held by needs-human

    Reason: intent

  7. 8 remaining items

  8. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose who runs and reviews the two measured whole-map passes.

    Question as put to the owner (Q21): this issue's Owner step says the owner dispatches two measured passes and reviews them. An agent session had dispatched a narrowed pilot (run 44227262325, one feature, at most 2 entries) under the owner's login without asking.

    • A (recommended, chosen): the agent session dispatches both full passes (40 entries each, the default) and posts each run's entry count, token use, wall time and findings here. The owner reviews them and decides whether the workflow proved its value; this issue stays open until the owner says so.
    • B: the owner dispatches both passes; the session only summarizes.
    • C: the session dispatches, reviews and closes.

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

    Posted by an agent session.

  9. added
    needs-human
    on Nov 18, 2026
  10. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner answered two questions that came out of the first dispatch.

    Pilot: run 44227262325 (features=naming, max_entries=2) ended success with 0 passed, 0 failed, 4 not checked, 0 findings, in 383 s and 100,191 driven-side tokens. The key proxy's accounting for that run: driver side 76 requests, 4,954,441 tokens, 200:74; driven side 12 requests, 204,135 tokens, 200:8 400:2. The typed terminal turns showed "Credit balance too low" while print-mode requests on the same key got 200. The proxy logs only the status of an upstream error, so the cause is not known.

    Q23: may the key proxy log the upstream error for a refused request?

    • A (recommended, chosen): yes, for non-2xx upstream answers only: error.type, the first 120 characters of the message, and the request's model, anthropic-beta names and max_tokens.
    • B: no proxy change; the owner unseals the pilot's driver transcript.
    • C: leave it and rely on print-mode entries only.

    Q24: the two measured passes cannot run as written under the 6,000,000 driver-token cap (the pilot used 4,954,441 for one part). What should a pass be?

    • A (recommended, chosen): two narrowed passes sized to fit the cap, reported with entry count, tokens and wall time.
    • B: raise driver-token-cap for this workflow so 40 entries fit.
    • C: first cut the driver's token use per part, then measure.

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

    Order: the proxy logging change lands first and one capture settles why typed turns are refused; the two narrowed passes follow, so they measure a pass that can check its entries. This issue stays open for the owner's review (Q21).

    Posted by an agent session.

  11. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Cause found for the refused typed terminal turns. Posted by an agent session; no owner decision yet.

    What the key proxy logged (#17024, read from run https://github.com/melodic-software/claude-code-plugins/actions/runs/44241816957, features=naming, max_entries=2):

    • Driven side: 5 requests, 27,110 tokens, 200:1 400:2 404:2. Both 400s are the typed terminal turns: invalid_request_error, "Your credit balance is too low to access the Anthropic API...", model claude-opus-5-5, max_tokens 16000.
    • Driver side: 78 requests, 5,020,238 tokens, 200:76 401:1 404:1, on the same key.
    • The print-mode run on the same key and model got 200.

    Why. The monthly API credits that come with a Max, Ultra or Team plan do not pay for interactive Claude Code. Anthropic's page lists "Claude Code | No" under what they cover and says: "If an organization holds only these credits and sends a request they don't cover, such as a Claude Code session, Claude Code displays: Credit balance too low" (https://platform.claude.com/docs/en/about-claude/api-credits-for-subscribers, read 2026-11-18). The help article says the same credits do cover claude -p "when you run them yourself with an API key ... because that usage is billed as Agent SDK usage" (https://support.claude.com/en/articles/17154008, read 2026-11-18). That matches all three observations. Not verified here: that the pr-verify key's organization holds only these credits.

    What this means. While that holds, no typed terminal turn can run on the pr-verify key, in the capture or in this workflow. Print-mode entry points work.

    Result of this run. 1 entry, 307 s, 87,605 driven-side tokens; 0 passed, 1 failed, 3 not checked; 2 findings, both NEW, both from the final screenshot showing the credit message. They are an environment refusal that the run recorded as product findings, because the health check passes before any request is sent. file_findings=none, so nothing was filed.

    Held for the owner. How typed turns should run (purchased credit on the key's organization, a plan login for the driven session, or print-mode entry points only) is a cost and credential choice. The two measured passes wait on it, since a pass cannot check an entry whose proof step is a typed turn.

  12. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner chose how typed terminal turns run while the pr-verify key's credits do not cover interactive Claude Code.

    Question as put to the owner (Q26): how should typed terminal turns run in captures and whole-map passes? The key's credits do not cover interactive Claude Code, which blocks this issue's two passes and the #16585 and #16383 captures.

    • A (recommended, chosen): print-mode entry points only. A typed entry reads "not driven (the key's credits do not cover interactive Claude Code)", and a feature's proof step runs in print mode. No cost and no credential change.
    • B: buy credit on the key's organization.
    • C: run the driven session on a plan login, which puts a subscription token inside the sandbox that runs pull request code.

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

    Posted by an agent session.

  13. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    The two narrowed whole-map passes, for the owner's review (Q21, Q24). Posted by an agent session. Both ran from main after #17049 (print-mode entry points only, Q26) and #17041 merged. Each covers one feature of about 90, which is what fits the 6,000,000 driver-token cap.

    Pass 1 Pass 2
    Run https://github.com/melodic-software/claude-code-plugins/actions/runs/44248430983 https://github.com/melodic-software/claude-code-plugins/actions/runs/44250035221
    Inputs features=naming, max_entries=2 features=tdd, max_entries=2
    Entries 1 listed, 1 driven, 0 not checked 1 listed, 1 driven, 0 not checked
    Entry points 1 passed, 0 failed, 3 not checked 1 passed, 0 failed, 3 not checked
    Findings 0 (compare: 0 NEW, 0 PRE-EXISTING, 0 GONE) 0 (compare: 0 NEW, 0 PRE-EXISTING, 0 GONE)
    Measured drive 229 s, 84,620 tokens 299 s, 106,677 tokens
    Run wall time 489 s 739 s
    Driver side (key proxy) 56 requests, 3,347,742 tokens, 200:53 401:1 403:1 404:1 60 requests, 4,039,247 tokens, 200:57 401:1 403:1 404:1
    Driven side (key proxy) 3 requests, 26,997 tokens, 200:1 404:2 6 requests, 80,097 tokens, 200:3 404:2 499:1

    What the numbers show:

    • Each pass checked its entry: the print-mode entry point passed, and no request was refused for credit. The three rows not checked are the two typed entry points (not driven, Q26) and Claude Desktop (terms).
    • The driver, not the driven session, is the cost: 3.3 to 4.0 million driver tokens for one entry, against 85 to 107 thousand driven tokens. At that rate the 6,000,000 cap holds one entry per run, and the default max_entries=40 cannot run.
    • Neither pass has a baseline, and a narrowed pass uploads map-findings-narrowed, so neither becomes one (Q20).

    Also run and not counted as a pass: run 44248435173 (tdd) failed before any driving at "Install the screenshot font" (fonts-noto-core did not install after 2 attempts); its --failed rerun ended skipped, so it was dispatched again as pass 2.

    This issue stays open for the owner's review of whether the workflow proved its value (Q21).

  14. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    What each "passed" entry actually ran, for the owner's review of the two passes above. Posted by an agent session; read from the two job logs.

    • Pass 1 (naming, run 44248430983): the driver ran /naming:name-it-better with no arguments in print mode (turn 47), then checked the skill's text for what it says when given no target (turn 61). So this pass shows the skill loads and answers a bare invocation; it does not show the skill generating names. The earlier pilot of the same feature got "I need a target before I can generate names…" for the same command.
    • Pass 2 (tdd, run 44250035221): the driver ran /tdd:principles should I mock this in print mode (turn 49), a real question, so this pass exercised the skill's job.

    Why they differ: a feature's ## Drive says the skill's own SKILL.md gives its arguments, and the driver picks them. Nothing in the map requires an argument that exercises the skill, so "passed" can mean only "replied". That is a limit of the workflow as built, alongside the 3.3 to 4.0 million driver tokens each one-entry pass used.

  15. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Owner's verdict recorded, and closed. Posted by an agent session.

    Question as put to the owner (Q29): how should this issue close, given the two passes above?

    • A (recommended, chosen): close it as built, with the verdict "value not proven at this cost". The workflow stays manual-dispatch only and nothing is scheduled.
    • B: close it and file one follow-up to cut the driver's token use per entry and require an argument that exercises the skill.
    • C: keep it open until a cheaper pass is measured.

    Owner's answer, 2026-11-18, typed in an agent session, verbatim: "As far as question 29, go with recommendations."

    The limits the verdict rests on, from the two passes: one entry used 3.3 to 4.0 million driver tokens against the 6,000,000 cap, so a run fits one feature of about 90; a "passed" entry can mean only that the skill replied (the naming pass ran with no arguments); only the print-mode entry point is driven. No follow-up is filed.

  16. removed
    host-run
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-human

Fields

Work status

needs-human

Priority

medium

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions