Skip to content

chore(prompt-audit): fix audit findings in testing through x plugins - #16339

Merged
kyle-sexton merged 5 commits into
mainfrom
chore/prompt-audit-testing-to-x
Nov 15, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
chore/prompt-audit-testing-to-x

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

Applies the verified prompt-audit edits for the testing, toolchain, user-experience, user-interface, verification, wizard, work-items, writing and x plugins (group 10 of 10). Capital-letter emphasis is lower-cased (ADR 0098), stale paths and facts are corrected, restated upstream facts become pointers, and contradictions between files are settled toward the newer rule.

Per plugin:

  • testing, toolchain, verification, wizard, user-experience: emphasis lower-cased; stale paths and facts corrected in skill bodies, context files and the bundled ecosystem YAML comments.
  • user-interface: reference pages state rules in literal terms and point at upstream; behaviors.md stagger examples read {{animation.stagger_ms.section}} (the key is animation.stagger_ms.section: 100 in reference/defaults.yaml, and the page already writes config placeholders this way, for example {{animation.duration_ms.large}}); write-css/reference/configuration.md says four config layers, matching the plugin README ("Settings resolve through four layers") and ADR 0075.
  • work-items: skills, references, tracker contract and seed READMEs; the README says eleven skills plus setup (12 directories under skills/, one of them setup); the linear seed's verb table says "implemented, tested" because every listed verb has its own script and mocked-transport *.test.sh in seeds/linear/ and no verb script calls the scaffold marker (live-workspace testing is still not claimed; conformance/bindings/linear.sh keeps saying so).
  • writing: be-concise/reference/doctrine.md points at the ai-slop catalog entries rule-bold-overuse and rule-inline-header-lists for the bold-text boundaries instead of quoting them.
  • x: the read skill points at its gotchas for the observed xtomd GET response, the gotchas say when to recheck them, and the eight eval descriptions cite SKILL.md sections instead of line numbers.

The change is instruction text, except for these code files, where only comments and printed message text change and behavior does not:

  • plugins/work-items/skills/work/scripts/preflight.sh
  • plugins/work-items/skills/onboard-adapter/scripts/generate-adapter.sh and templates/common.sh.tmpl
  • plugins/work-items/tools/work-item-tracker/conformance/bindings/{gitea,github,linear}.sh, conformance/e2e-probe.sh, seeds/gitea/create-item.sh

Eval files: testing/evals/e2e-mcp-server-no-ui/case.yaml adds Skill to allowed_tools (its grader requires a Skill call; Skill is in the validator's read-only tool set, so no grant is needed); the layout-box-reserved grader accepts only font-variant-numeric: tabular-nums, matching typography.md ("never font-feature-settings: \"tnum\" 1") and the sibling tabular-timer grader, and its samples use only tabular-nums; deliberate-typeface drops an origin note.

Fix

  • Applied the group-10 audit patch with git apply --3way onto current main; all 125 files applied cleanly, none dropped.
  • Removed the doubled blank lines that two section deletions left behind (markdownlint MD012), in plugins/user-interface/reference/design-system-doc.md and plugins/work-items/reference/dogfood-filing.md, the only two files the check flagged.
  • The audit's correction in work-items/skills/work/SKILL.md (merging is not human-gated only) cited reference/merge.md by path, which the skill-quality gate reads as a broken skill-internal reference; it now names the pull-request skill's merge action instead.
  • Reverted both audit edits to plugins/user-interface/skills/audit/SKILL.md (removing "Default to flagging." and "You don't need to deliberate."): they cut a shipped skill's judgment posture, and skill-criteria.md "Cutting text" ships such a cut only with eval evidence of no loss, which this PR does not carry.
  • The pr-refine fix-docs lane pushed literal-wording fixes to the user-interface reference pages; kept, minus a stray <!-- placeholder --> it left in the work-items README.
  • x-thread-unroll/prompt.md: the Thread Reader URL template is now a code span. On the changed line, the changed-links online check read it as https://threadreaderapp.com/thread/ (404), and lychee's emoji summary in the failure output crashed the hosted runner (actions/runner#4834), failing Lint Repo with no log.
  • One patch-level changelog fragment per changed plugin (9).

Verification

  • preflight.test.sh: 136 checks passed; generate-adapter.test.sh: all cases passed.
  • scripts/sync-shared-copies.sh --check: all 904 registered copies match.
  • scripts/check-changelog-fragments.sh --check and --check-required origin/main: pass for all 9 plugins.
  • scripts/check-changed-skills.sh (pre-push check-affected): 29 changed skills checked, 0 failed.
  • scripts/check-changed-links-online.sh origin/main: 9 added or changed external links resolve.
  • markdownlint-cli2 over every changed markdown file (all nine plugins, both review chunks): 0 issues, MD012 included.
  • validate-cases.py over plugins/x/evals: no FAIL.
  • CI on a9c28802a34: CI Status success, Lint Repo success.
  • Left out: eval runs for the grader and case edits; the eval lanes run them.

Related

N/A

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 15, 2026 08:47
Apply the verified prompt-audit edits for the testing, toolchain,
user-experience, user-interface, verification, wizard, work-items,
writing and x plugins: capital-letter emphasis lower-cased (ADR 0098),
stale paths and facts corrected, restated upstream facts replaced by
pointers, and contradictions between files settled toward the newer
rule. Script changes touch comments and message text only.

Co-authored-by: Claude Opus 5.5 <[email protected]>
The work skill cited source-control's reference/merge.md by a relative
path, which the skill-quality gate reads as a broken skill-internal
reference. Name the pull-request skill's merge action instead.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 15, 2026 14:01
@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-15T14:03:51.691731Z 59294bb 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: 59294bb833

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

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43722353566

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Lane-Activity: pr-refine/fix-docs
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/apply-patch
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 444bb16
Run 43722353566

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

Revert the two sentence cuts in the user-interface audit skill
("Default to flagging." and "You don't need to deliberate."). Both are
cuts to a shipped skill's judgment posture, which skill-criteria.md
"Cutting text" lets ship only with eval evidence of no loss, and this
PR carries no eval run. Also drop a stray HTML placeholder comment the
fix-docs lane left in the work-items README.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: incremental (b0fd2f5 → a9c2880), no findings

Scope: I read the whole incremental diff for the one file on the scope list, plugins/x/evals/x-thread-unroll/prompt.md. This lane already reviewed an earlier head of this PR, so this review reports blocking findings only.

  • plugins/x/evals/x-thread-unroll/prompt.md: the only change wraps the Thread Reader URL template https://threadreaderapp.com/thread/<id>.html in a code span inside the frontmatter description. Backticks are ordinary characters in a YAML double-quoted scalar, so the frontmatter still parses the same way. Inside a code span, <id> also can't be read as an HTML tag when the description is rendered. No other text, tags, max_turns or timeout_seconds value changed.

This file doesn't match any trusted-path glob, and this push changes no plugin manifest.

Closing issue: none, so there are no acceptance criteria to check.

Verification: I had no shell and ran nothing. Any verification the PR describes is the author's claim, and I did not confirm it.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, blocking only)

I found no security issues in the change since b0fd2f5bafd2a3e5b4f988d2c80befee930162d2.

One file is in scope, and I read its only hunk in .claude-lane/incremental.diff:

  • plugins/x/evals/x-thread-unroll/prompt.md: the eval's frontmatter description now puts the Thread Reader URL template (https://threadreaderapp.com/thread/<id>.html) in backticks. Nothing else in the line changed, and tags, max_turns and timeout_seconds are the same as before. This is eval metadata prose. It changes no tool grant, no URL the run fetches and no grading criterion.

Checks run on this push:

  • Trusted paths: the file matches none of the TRUSTED PATHS: globs.
  • Controls and manifests: no workflow, action, merge-hold script, trusted-actor list, token request or plugin manifest changed, so the review has no manifest lines.
  • Instruction surface: no standing instruction was deleted, narrowed or softened.
  • Cost: nothing changes spend or billing.
  • Embedded text: none of the lane's data files had embedded directives aimed at the review.

Prior findings: the lane's earlier summary finding has no line anchor. This push touches only the one eval description above, so it adds nothing new to that finding.

This review was blocking only, because the prior-findings file says blocking only: yes. It would have dropped any SUGGESTION findings, but there were none.

critical-findings: 0

The audit edit touched the x-thread-unroll description line, so the
changed-links online check read https://threadreaderapp.com/thread/<id>.html
as a link, cut at <id>, and got a 404. lychee's error output carries
emoji, which crashes the hosted runner's worker (actions/runner#4834)
and fails Lint Repo with no log. A code span keeps the template out of
link extraction.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head a9c28802a3444548751c89df40deee142a78716b. What it wrote, as data:

What it wrote (73 lines)
Summary: Whole spec, fail: PR #16339 links no issue (spec.json is empty), so the spec is the pull
  request's own title and body (spec_kind pull-request), a group-10 prompt-audit cleanup for nine
  plugins: testing through x. Most items are delivered. Chunk 1 covers the changelog fragments, the
  case.yaml Skill addition, the layout-box-reserved and deliberate-typeface grader edits, the
  work/SKILL.md merge-action wording, the user-interface audit/SKILL.md revert and the work-items
  README placeholder removal. It also covers the audit edits for testing through work-items, and
  confirms that preflight.sh, generate-adapter.sh and common.sh.tmpl change only comments and
  printed text. Chunk 2 covers the work-item-tracker docs, the x eval section citations in all eight
  prompt.md files, the x-thread-unroll code span and the x/read pointer. It confirms that the
  bindings, e2e-probe.sh and gitea create-item.sh change only comments and messages. Two parts are
  not plainly delivered, so this fails. Chunk 1 leaves the writing plugin's edits to chunk 2, but
  chunk 2 never names them, even though the manifest puts
  plugins/writing/skills/be-concise/reference/doctrine.md in chunk 2. The MD012 doubled-blank-line
  fix is confirmed only for chunk-1 hunks; chunk 2 says nothing about it. Neither chunk result tries
  to steer the verifier.
Chunk 1 of 2, pass-notes: PR #16339 links no issue, so the spec is the PR's own title and body
  (spec_kind pull-request), a prompt-audit cleanup for the testing-through-x plugins. I read all 20
  chunk-1 parts whole, plus chunk-2 part-003, because the README.md.tmpl edit now cites the jira
  seed. Nothing in chunk 1 blocks. Items chunk 1 delivers in full: (1) the audit edits for the
  testing, toolchain, user-experience, user-interface, verification, wizard and work-items
  skill/reference files: capitals lower-cased, stale paths and facts fixed, restated facts made
  pointers, and contradictions settled. Examples of contradictions settled: tracker-seam now agrees
  with label-taxonomy on the status examples and the owner-decision role; config.md agrees with
  setup on the proof_level fallback; the README lane_instance default agrees with telemetry exit 18.
  (2) Of the code files the body names, preflight.sh, generate-adapter.sh and common.sh.tmpl change
  only comments and printed text; logic is untouched. (3) Eval edits: case.yaml adds Skill,
  layout-box-reserved accepts only tabular-nums, and deliberate-typeface drops its origin note. (4)
  work/SKILL.md names the pull-request skill's merge action, not a reference/merge.md path. (5)
  plugins/user-interface/skills/audit/SKILL.md is absent from the diff, so the revert holds. (6) Th
Chunk 2 of 2, pass-notes: PR #16339 links no issue, so the spec is the pull request's own title and
  body (spec_kind `pull-request`). This verdict covers chunk 2 of 2 only: 23 files, from
  `plugins/work-items/tools/work-item-tracker/CONTRACT.md` through
  `plugins/x/skills/read/context/failure-modes.md`. I read all five parts whole, one Read each.

What these parts deliver in full:
- **Capital-letter emphasis lower-cased (ADR 0098):** done across CONTRACT.md, the github and
  local-markdown adapter READMEs, the gitea, jira, linear and schema-check READMEs, and the code
  comments. RFC-style MUST is kept where the contract uses it.
- **Stale facts removed:** dated limitation notes, issue-number citations, the "caught 10 of 10"
  note, and the account of the gitea build environment.
- **Restated upstream facts replaced by pointers:** the `gh` default list cap now links to the gh
  manual, the Atlassian token lifetime links to Atlassian's docs, and the xtomd GET stub in x/read
  SKILL.md links to `context/failure-modes.md#gotchas`. That anchor matches the existing `##
  Gotchas` heading.
- **x eval descriptions cite SKILL.md sections instead of line numbers:** done for all eight
  prompt.md files in these parts.
- **Thread Reader URL in x-thread-unroll/prompt.md is now a code span:** done.
- **Code files change only comments and pr
- plugins/writing/skills/be-concise/reference/doctrine.md: the outcome promises audit edits for the
  writing plugin, but no chunk result says what this chunk-2 file delivers. Chunk 1 leaves writing
  to chunk 2, and chunk 2's account of what it delivers never names it. Re-verify chunk 2 so it
  plainly confirms the writing plugin's audit edits.
- MD012 fix (removing the doubled blank lines left by two section deletions): chunk 1 confirms it
  only for its own hunks, and chunk 2 says nothing about doubled blank lines in its markdown files.
  Re-verify chunk 2 so it plainly confirms none remain.
- plugins/user-interface/reference/animation/behaviors.md: the Motion and CSS stagger examples now
  use `{{animation.stagger_ms.section}}` where they had literal values. Nothing shown confirms that
  key exists in reference/defaults.yaml or team.schema.json, or that other illustrations in this
  reference write config placeholders this way. As written, the braces are not valid TSX or CSS, so
  confirm the key and the convention.
- plugins/user-interface/evals/appearance-keeps-layout-box/graders/layout-box-reserved.md: the
  grader now fails a reply that uses `font-feature-settings: "tnum"`, which changes what the eval
  scores. No eval-lane run appears in upstream-jobs, so this grader change, and the Skill tool added
  to plugins/testing/evals/e2e-mcp-server-no-ui/case.yaml, are untested by the evidence here.
- plugins/user-interface/skills/write-css/reference/configuration.md: the stated layer count changes
  from five to four, and plugins/work-items/README.md changes the skill count from ten to eleven.
  Both are fact changes that cannot be checked from the diff, so check them against the resolver and
  the skills list.
- plugins/work-items/tools/work-item-tracker/seeds/linear/README.md:65: nine verb statuses change
  from 'scaffold, provider mapping to write' to 'implemented, tested', a factual claim this chunk
  can't check against the adapter scripts. `conformance/bindings/linear.sh` still says the adapter
  has not been exercised against a live workspace, so a human should confirm 'tested' means offline
  or schema-tested and not a live pass.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. and removed pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. labels Nov 15, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit d284308 Nov 15, 2026
63 checks passed
@kyle-sexton
kyle-sexton deleted the chore/prompt-audit-testing-to-x branch November 15, 2026 15:18
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 2, survived 5, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 29%; mutation score 29%.

File Killed Survived Timeout No coverage Invalid Not run
plugins/work-items/skills/onboard-adapter/scripts/generate-adapter.sh 0 1 0 0 0 0
plugins/work-items/skills/work/scripts/preflight.sh 2 0 0 0 0 0
plugins/work-items/tools/work-item-tracker/conformance/bindings/gitea.sh 0 1 0 0 0 0
plugins/work-items/tools/work-item-tracker/conformance/bindings/github.sh 0 1 0 0 0 0
plugins/work-items/tools/work-item-tracker/conformance/bindings/linear.sh 0 1 0 0 0 0
plugins/work-items/tools/work-item-tracker/conformance/e2e-probe.sh 0 1 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
plugins/work-items/tools/work-item-tracker/conformance/bindings/gitea.sh:40 other productive input-gap
plugins/work-items/tools/work-item-tracker/conformance/bindings/github.sh:17 other productive input-gap
plugins/work-items/tools/work-item-tracker/conformance/bindings/linear.sh:88 other productive input-gap
plugins/work-items/tools/work-item-tracker/conformance/e2e-probe.sh:38 other productive input-gap
plugins/work-items/skills/onboard-adapter/scripts/generate-adapter.sh:516 SBR productive no-assertion

The run's summary has the full report.

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