Skip to content

ci: correct stale and contradicted instruction text in lane workflows and actions - #16328

Merged
kyle-sexton merged 3 commits into
mainfrom
chore/prompt-audit-ci
Nov 15, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
chore/prompt-audit-ci

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

No related issue: prompt-audit findings from an owner-requested full-read audit

Summary

Instruction text in 11 CI files said things the repository no longer does, carried history asides, or used all-caps emphasis. This PR states the current behavior instead. It changes instruction text only: comments in workflow files and action READMEs, two model prompts inside workflows (intake-triage.yml, maintenance-measure-skill-edit.yml), an output description, and notes strings in .github/recurring-schedule.json. No script, test, step condition or permission changes.

Fix

  • Corrected text the code contradicts:
    • check-kill-switch/README.md: a model job holds no App token. Writes run in a separate job with no model (ADR 0085, model-job-permissions.test.mjs).
    • pr-run-activity-read.yml: feedback-disputed lists all three dispositions the leak scan tests (INCORRECT, UNCERTAIN, VALID-defer).
    • work-unblock.yml: past limits.limit-stops-per-issue, the sweep removes agent-ready and adds no label (label-unblocked.mjs).
    • resolve-config/README.md: slot predicates do read issue status, and the stale CLI pin number is gone.
    • intake-triage.yml: drops a 150-word limit that no longer exists in the reusable. The 2800-character bound stays.
  • Removed history and ids a reader cannot act on: owner Q37, digest menu #9 pilot, dated run records in schedule notes, and a retired claude-security-paths file. Past-tense rationale in pr-review-security-hosted.yml and pr-test-platforms.yml is now present tense.
  • Lower-cased emphasis markers (ADR 0098). Added a GitHub changelog link for the pull_request_target change in pr-unblock-dispatch.yml. Turned the measure-skill-edit prompt's read-then-diagnose steps into a goal, with every edit constraint kept.

Verification

  • git apply --3way of the audit patch onto current origin/main: all 12 files applied cleanly.
  • scripts/sync-shared-copies.sh --check: "All 904 registered copies match their canonical sources."
  • scripts/check-changelog-fragments.sh --check-required origin/main: no plugin changed, so no fragment is needed. jq empty on recurring-schedule.json passed.
  • Checked each corrected fact against the code it describes (pr-run-activity-read.yml:3144, label-unblocked.mjs:1708, resolve.mjs:1000). The changelog URL returns HTTP 200. A grep of tests and scripts found no assertion on any removed string.
  • The audit's pr-verify.yml comment edit is reverted: .github/scripts/pr-verify/workflow.test.mjs requires the three judge jobs to carry identical capture steps, and the edit changed one of the three. The local run of that file passes (82/82).
  • Left out: local workflow lint and the node suites, which CI runs on this PR.

Related

N/A

🤖 Generated with Claude Code

… and actions

Prompt-audit fixes in .github comments, action READMEs, workflow prompt
text and recurring-schedule notes: lower-case emphasis markers (ADR
0098), drop history asides and undefined ids, and state current
behavior where the code contradicts the text (kill-switch job
contract, feedback-disputed dispositions, limit-stop handling, the
default model, a slot's use of issue-status, a nonexistent 150-word
cap).

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 15, 2026 13:48
@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-15T13:49:55.834393Z 1b1d8a6 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: 1b1d8a6eaf

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

Comment thread .github/workflows/pr-verify.yml Resolved
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: no findings

critical-findings: 0

This review covered blocking findings only. The lane already reviewed an earlier head (1b1d8a6e), so it reports only CRITICAL and IMPORTANT findings.

I read every hunk of all 11 changed files in .claude-lane/pr.diff. Every change is prose: YAML comments, action README text, one output description (feedback-disputed in pr-run-activity-read.yml, whose value: expression is unchanged), notes strings in .github/recurring-schedule.json, and the wording of two model prompts. No run: logic, if: condition, permissions: block, input, output value, pin, trigger or script changes.

Trusted paths, read in full:

  • Kill switch README (.github/actions/check-kill-switch/README.md): the job contract now says a model job holds no App token and that every write runs in a separate job that has no model. The README no longer says the App token step carries the gate condition, but the action itself does not change. The documented contract is narrower than before, not wider, and the proceed gate condition is unchanged.
  • Trusted-trigger README: the dispatcher-run-id row is reworded only. The action code is untouched, so who passes the check does not change.
  • Resolve-config README: documentation only. Two changes: a stale CLI pin aside is removed, and the README now says slot predicates read issue status. resolve.mjs, the grant and rule JSON files, and pr-pipeline.yaml are unchanged, so what the broker mints is unchanged.
  • Workflow comments: the edits in pr-review-security-hosted.yml, pr-unblock-dispatch.yml, work-unblock.yml and pr-test-platforms.yml touch only comments. The comment in pr-unblock-dispatch.yml gains a GitHub changelog URL; nothing fetches it.
  • Schedule notes (recurring-schedule.json): only notes strings change. next_due, triggers and close_previous are unchanged.

Instruction-surface lens: docs/contracts/instruction-exception-register/README.md was not consulted. I judged the removed rules by what they prevented.

  • intake-triage.yml prompt: the reference to a 150-word limit is removed. The 2800-character bound on the whole comment stays and now explicitly includes the quote. The rules to quote the decision verbatim and to quote @mentions as written are unchanged.
  • maintenance-measure-skill-edit.yml prompt: the numbered steps are rewritten as a goal. Every edit constraint is kept:
    • no path under evals/;
    • old_string must occur exactly once;
    • no frontmatter key changes except description;
    • no line starting with ! and no ```! block, which is the rule that blocks a shell-injection edit.
  • Emphasis: lower-casing words such as NEVER, NO and NOT does not change what any rule forbids.

Settled threads: the pr-verify.yml thread is settled, and that file is no longer in the diff.

Embedded text: the PR description contains no instruction aimed at this review lane.

Spend: none. No change affects model, turns, schedule or billing.

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: no blocking findings

This lane already reviewed an earlier head (1b1d8a6e), so this review was blocking only: only blocking findings would be posted, and advisory ones were dropped.

I read the whole change in all 11 changed files in .claude-lane/pr.diff. Since the earlier review, the only change is that pr-verify.yml is back to main's text. That matches the settled owner thread on that file (lines changed since resolution: no), so I did not raise that point again.

What the rest of the change touches:

  • action README text (check-kill-switch, check-trusted-trigger, resolve-config)
  • comments in workflow files
  • one output description in pr-run-activity-read.yml
  • notes strings in .github/recurring-schedule.json
  • prose in two model prompts: intake-triage.yml, where the 150-word clause is gone and the 2800-character bound now includes the quote, and maintenance-measure-skill-edit.yml

No step if:, permission, script or test changes.

In the measure-skill-edit prompt, every edit rule is still there:

  • the file path stays relative to SKILL_DIR and is never under evals/
  • old_string must occur exactly once
  • description is the only frontmatter key that may change
  • no line starting with ! and no ```! block
  • the smallest-change preference and the no-grader-echo rule
  • the rationale paragraph

It still names SKILL_DIR and CASES_DIR, so the substitutions after the heredoc still work.

  • Closing issue: none. The PR says it has no related issue, so there are no acceptance criteria to check.
  • Plugin manifests: none changed, so there are no manifest lines.
  • Embedded instructions: none found in the PR body, settled threads or prior findings.
  • Verification: I ran nothing. The PR's verification (the sync check, jq empty, the HTTP 200 on the changelog link, the 82/82 workflow.test.mjs run) is the author's claim and is unverified.

Spend: none. The change is text only and changes no turn limits, models, schedules or billed resources.

Verifier dropped 0 of 0 candidates.

kyle-sexton and others added 2 commits November 15, 2026 08:57
Revert the pr-verify.yml comment edit. workflow.test.mjs requires the
three judge jobs to carry identical capture steps, and the audit edit
changed the comment in only one of them.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit e1630ff Nov 15, 2026
88 of 89 checks passed
@kyle-sexton
kyle-sexton deleted the chore/prompt-audit-ci branch November 15, 2026 14:28
@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