Skip to content

feat(control-skill): drive print mode only where the key refuses typed turns - #17049

Merged
kyle-sexton merged 2 commits into
mainfrom
feat/control-skill-print-mode-only-on-key
Nov 18, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
feat/control-skill-print-mode-only-on-key

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #16564

Summary

The pr-verify key runs on credits that do not pay for an interactive Claude Code session, so every turn typed in a capture or a whole-map pass is refused with "Credit balance too low" while print mode on the same key works. The owner chose print-mode entry points only for those two runs (Q26, recorded on #16564). This change makes this repository's control skill say so.

Fix

  • Hub ## Launch: in the pr-verify capture and the whole-map pass, launch the session (the Mask's values source reads it) and type no turn; record each typed entry point not driven (the key's credits do not cover interactive Claude Code); drive the print-mode entry point alone and take every result, the Proof included, from its logs capture.
  • features/corrections and features/formal-verification: Budget: count measures read from the print-mode output's headline or summary line. A capture's public report redacts text, so counts are the form these two results can leave a capture in when no terminal screenshot exists. Their typed steps and screenshot proof stay for a local run.

Verification

Related

Remaining

  • The two narrowed whole-map passes this issue's owner step asks for, dispatched and posted for the owner's review.

🤖 Generated with Claude Code

…d turns

The pr-verify key runs on credits that do not pay for an interactive
Claude Code session, so a capture or whole-map pass types no turn: each
typed entry point is recorded not driven and every result comes from the
print-mode logs. The corrections and formal-verification features gain
count measures, the one form a text result can leave a capture in.

Refs: #16564

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 18, 2026 05:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T05:45:45.275714Z d7b767b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7b767bdf9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed ccef211c1230fb9e313e220cff0fd42dd4e7ab3d: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #17049 (head ccef211)

I found no security issues.

I read every hunk of all three changed files. All three are under the trusted path **/.claude/**, and all three are documentation for this repository's control skill:

  • .claude/skills/control-claude-code-plugins/SKILL.md: the ## Launch section gains a paragraph. In the pr-verify capture and the whole-map pass, the session still launches so the Mask's values: source can read it, but no turn is typed in it. Each typed entry point is recorded as not driven (...), and every result, including the Proof, comes from the print-mode logs capture.
    • Instruction-surface lens: nothing is deleted or softened. The paragraph narrows what the session does (fewer typed turns) and keeps the Mask launch.
    • Trust controls: it does not widen who is trusted, what a token may do, or what untrusted text reaches a lane.
    • The only external link is a static docs URL on platform.claude.com. Nothing in the change sends content off the machine.
  • features/corrections/README.md and features/formal-verification/README.md: each adds Budget: count measures read from the headline or summary line of the print-mode logs capture, with null when that line is missing. These are numeric counts in place of redacted text. They pass no new text into a credentialed context, and nothing interpolates them into commands.

Other checks:

  • No trust-control file, merge hold, plugin manifest or workflow is touched.
  • The one settled thread (SKILL.md, resolved and answered by the owner, lines changed since resolution: no) is not re-raised.
  • There are no prior findings, so this was a full review, not blocking only.
  • Spend: none new. If anything, the change reduces credit use on the pr-verify key by dropping typed turns in those two runs.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed ccef211c1230fb9e313e220cff0fd42dd4e7ab3d: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #17049, feat(control-skill): drive print mode only where the key refuses typed turns

No blocking or advisory findings. I read the whole diff for all 3 changed files.

What changes. All three files are under the trusted path **/.claude/**, so each one got a full read.

  • Hub ## Launch (SKILL.md#L25-L33) now records the owner decision for the pr-verify capture and the whole-map pass:
    • the session is launched, and no turn is typed in it;
    • typed entry points are recorded as not driven (...);
    • each step's result comes from the print-mode logs capture.
  • features/corrections and features/formal-verification add Budget: <measure> | logs count lines, each with a sentence saying how the count is read.

Checks against the code.

  • Budget line shape. The new lines match the form Budget: <measure> | <source> defined in control-skill.md#L363-L375:

    • each measure name uses only letters and _ and carries its unit (_count);
    • the source logs is a ## Capture kind;
    • the lines come after the steps and before ## Gotchas.

    features/review/README.md#L40-L44 already uses the same pattern: a sentence defining the measure, then a Budget: ... | logs line.

  • Count order. The order of the measures matches the output each Drive section states:

    • corrections headline: blocking checks: <n> new, <n> cumulative; advisory: <n> new, <n> cumulative, which gives blocking new, blocking cumulative, advisory new, advisory cumulative;
    • formal-verification summary: <n> formal-<area> skill(s), <n> failure(s), <n> warning(s), which gives skills, failures, warnings.
  • Settled thread. The thread on the hub wording (SKILL.md, original line 27) is settled by an owner reply stating a decision, and its lines have not changed since. I did not raise it again.

  • Author's verification. The check-map.sh exit 0, the measured run 44241816957 and the credits-page heading check are claims in the PR body. I did not run or confirm them.

Criteria inputs.

  • Closing issue. The PR says Refs: #16564, so it closes no issue, and there are no acceptance criteria to check.
  • Path-scoped rules. No .claude/rules/ file's paths: glob matches .claude/skills/**.
  • Paved paths. No standards-index resolution was done in this run, so nothing is reported about paved paths.
  • Embedded text. I found no embedded instructions in the PR context, settled-threads or prior-findings files.
  • Manifests. No plugin.json or marketplace.json changes.
  • Loosened checks. The change loosens no ordinary check (tests, lint, coverage, scanners or CI jobs). It only changes where the manual drive procedure takes its proof from, for two runs.
    Loosened-check verdict: fail (default: no loosened_check_verdict: line in the prompt); patterns: 0

Spend (not a hold, not counted as a finding). No new spend. Driving only print mode in those two runs uses the prepaid pr-verify API key credits and no extra runs.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 8b72909 Nov 18, 2026
51 checks passed
@kyle-sexton
kyle-sexton deleted the feat/control-skill-print-mode-only-on-key branch November 18, 2026 06:01
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant