Skip to content

docs(harness-ops): state the observable result on each drive step of this repository's control skills - #16382

Merged
kyle-sexton merged 11 commits into
mainfrom
feat/15912-control-skills-observable-results
Nov 15, 2026
Merged

kyle-sexton merged 11 commits into
mainfrom
feat/15912-control-skills-observable-results

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #15797

Summary

Part 5 of 6 of #15797 (tracked as #15912, which a bot wrote, so this links the owner's parent issue): this repository's own control skills are brought up to the contract, so every drive step states the result a user should observe and each feature's steps end with a proof step.

Fix

  • control-claude-code (harness-ops): all 8 feature files. Each drive step now carries its Result: and each feature ends with a proof step naming the end state and the captures that show it.
  • control-claude-code-plugins: 3 feature files with steps of their own (mods, discipline/tighten-your-output, discipline/wait-what). The other 93 feature files hand off to a driving-tool feature or have no steps, so the contract asks nothing more of them.
  • The hubs' ## Launch sections are untouched.

Every stated result was written from source: what the driver prints, each feature's own parts and reset, and the plugin test documentation. None has been seen in a running app. The refresh's live pass could not run in the building session, whose permission system refused the driver's launch command; no other route was tried.

Verification

  • Dogfooding step: /app-control:map's check on both control skills. control-claude-code: 35 drive-result findings before, none after. control-claude-code-plugins: 3 before, none after. Both exit 0 (run again by the session that opened this PR).
  • The check has no rule for the proof step and skips nested feature files, so the builder also ran a local gate over every changed file for a proof step and a result on each step.
  • Changelog fragment checks pass.

Left out: the refresh's live pass over the 11 changed feature files (launch refused, above), so the stated results are unverified against a running app.

Related

Remaining

Follow-ups

  • Pre-existing (advisory): plugins/app-control/skills/map/scripts/check-map.sh has no rule that a feature's steps end with a proof step, so a missing proof step passes the check.
  • Pre-existing (advisory): the same check skips nested feature READMEs, so a nested feature file with a step that states no result draws no drive-result finding.
  • Pre-existing (advisory): the check reports 4 link findings on the control-claude-code hub's Mask regex lines, reading a regex's ](?: as a markdown link.
  • Pre-existing (advisory): a proof step's Captures: can only name a capture kind taken after the steps, so a toast, dialog or pane that is gone by then has to point at an earlier step's capture, and Captures: none is used by one feature and defined nowhere in the contract.

🤖 Generated with Claude Code

https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd

kyle-sexton and others added 8 commits November 15, 2026 10:55
… and proof

Every step in the eight driving-tool feature files now names the result a
user should observe, grounded in what driver/driver.mjs prints (typed,
seen: <text>, the capture path, recording stopped, the log line) and in
each feature's Parts, and each feature ends with a Proof step naming the
end state and its captures. Reading steps with no command move into
precondition prose before the list. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
The three feature files with steps of their own (mods,
discipline/tighten-your-output, discipline/wait-what) now give each step
its Result: and end with a Proof step. The other feature files hand off
to the driving tool's skills/invoke feature, whose steps state their
results, so they stay as written. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
…of steps

Drive takes each kind a proof step's Captures: names after the steps have
run, so each field now holds kind names only, and each proof Result: states
the end state a capture taken then can show, pointing at the earlier
capture for a transient one (a toast, a dialog, an open pane). The slash
menu's Escape moves out of the steps to Reset, which already holds it, so
the proof screenshot shows the menu. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
Drive takes each kind a proof step's Captures: names, so the field holds
the kind name alone. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 15, 2026 16:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 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-15T16:38:33.185137Z 4797391 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: 4797391754

ℹ️ 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

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, blocking only): no security issues found

critical-findings: 0

Scope: the change since 4797391754683747be0f92d74120c3343a3137d0. I read every hunk of all 6 files in .claude-lane/incremental.diff. This lane already reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings.

What changed: wording edits in six feature READMEs.

  • log: result line: three features (discipline/tighten-your-output, hooks/output, skills/invoke) no longer copy the upstream (claude exit 0, apiKeySource <source>) text. Each now says the driver prints its log: <path> line.
  • commands/slash and mods/band: these no longer say where the slash menu or the band is drawn.
  • desktop/mod-harness: steps 1 and 2 no longer copy the test kit's output format and exit codes. They now state the outcome (the saved file shows the Desktop render-site test passed and the command succeeded) and point to the test-kit note in Gotchas.

Trusted path (.claude/**): I read the whole change to .claude/skills/control-claude-code-plugins/features/discipline/tighten-your-output/README.md. It rewords one expected-result line. It does not change:

  • who is trusted
  • what a token may do
  • the kill switch
  • any merge hold
  • what untrusted text reaches a credentialed lane

Removed or reworded instructions: nothing removed is a guardrail. The removed text described expected output; it did not forbid any action. In desktop/mod-harness, the step still requires the saved output to show the render-site test passed and the command succeeded, so the proof is no weaker. I did not read the instruction exception register and judged each edit by what removing it would allow.

Other checks:

  • No workflow, script, plugin manifest or userConfig key changed.
  • No credential handling changed.
  • No new command takes input from someone outside the trusted actors.
  • Nothing can cause a billing charge.

Earlier threads: the one settled thread (owner-resolved, lines changed since resolution: no) was about restating upstream output in desktop/mod-harness. It is a code-quality point; this push applies its fix, and I raise nothing on it.

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review (incremental): PR #16382, 4797391 → 915b1fc

No findings. I read every hunk of all 6 files in the incremental scope. This lane already reviewed an earlier head, so this review reports blocking findings only.

What changed

All six files are documentation. The push removes upstream specifics from drive-step results, following the owner's fix for the settled desktop/mod-harness thread:

  • log: results. The log: results in tighten-your-output, hooks/output and skills/invoke now say "its log: <path> line" and no longer copy the exit status and apiKeySource field. The log: <path> prefix is still printed by this repository's driver, which the earlier review traced to driver.mjs, so the result can still be observed.
  • Menu and band placement. commands/slash and mods/band no longer say where the slash menu or the band is drawn ("under the prompt" / "above the prompt").
  • desktop/mod-harness. Step 1 and the proof step now state the outcome this repository owns: the saved file names the Desktop render-site test, shows it passed, and the command succeeded. For the output format and failure behavior they point to the test-kit link in Gotchas. That link is still there (README.md#L40-L41), so the reference resolves.

Notes (not findings)

  • The settled thread on desktop/mod-harness is marked lines changed since resolution: no at this head. Its fix is the change above, and I raised nothing new on those lines.
  • mods/band step 3 is now one long unwrapped line. That is a style matter only, so it is not reported.
  • The author says the control-skill check exits 0 on both skills. I did not run it.
  • No plugin manifest changed, so there are no manifest lines.
  • This change spends no API credits and starts no billing.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 2 commits November 15, 2026 11:41
The mod-harness step and proof no longer copy claude plugin test's output
lines, exit codes or error text: they state our outcome (the saved file
names the Desktop render-site test, shows it passed, and the command
succeeded) and point at the feature's test-kit pointer in Gotchas. The log
step results name the driver's own log line instead of the claude exit
status and init field it carries, and the slash and band results drop
where Claude Code draws the menu and the band. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
The step result no longer copies the claude exit status and init field the
driver's log line carries. Refs #15912.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Csz4bqxpok4iu8Mcrd
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit a63514e Nov 15, 2026
53 checks passed
@kyle-sexton
kyle-sexton deleted the feat/15912-control-skills-observable-results branch November 15, 2026 16:56
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 15, 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