Skip to content

chore: add the test-audit skill for agent-written tests - #32167

Merged
ThomasK33 merged 3 commits into
mainfrom
tk/proportionate-tests
Nov 13, 2026
Merged

ThomasK33 merged 3 commits into
mainfrom
tk/proportionate-tests

Conversation

@ThomasK33

@ThomasK33 ThomasK33 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Adds the test-audit agent skill at .agents/skills/test-audit/ and tells agents in AGENTS.md to use it. When an agent adds or changes a test, it applies the skill's authoring gate. Before it opens or updates a PR with test changes, it runs the skill in audit mode on the branch's test diff and removes the low-value and duplicate tests that it finds.

Agent-written PRs here have carried more test code than they need. A reviewer on #32062 said: "my only complaint is the ratio of test to product code". In ten recent Go PRs of the chat automations work, test lines were a median of about 2.5 times the product lines, against about 1.7 times on 40 other merged Go PRs since mid-August.

The skill is copied from an internal Coder plugin collection, which adapted it from OpenClaw's MIT-licensed test-audit skill. NOTICE.md keeps the upstream attribution and license. The only change is that the Xum-only advertise frontmatter key is gone.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:26 — with GitHub Actions Inactive
@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:26 — with GitHub Actions Inactive
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T10:45:21.834091Z ed09c3b Manual request
🔒 Security Review ✅ Completed 2026-11-13T10:45:54.509999Z ed09c3b Manual request
ℹ️ 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

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: c1d2488f93

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@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: c1d2488f93

ℹ️ 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 .claude/docs/TESTING.md Resolved
@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:32 — with GitHub Actions Inactive
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 240b63d87e

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 240b63d87e

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Replaces the earlier TESTING.md section and deep-review edits on this branch.

Signed-off-by: Thomas Kosiewski <[email protected]>
@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:43 — with GitHub Actions Inactive
@ThomasK33 ThomasK33 changed the title docs: ask agents for proportionate tests chore: add the test-audit skill for agent-written tests Nov 13, 2026
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: ed09c3b48e

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: ed09c3b48e

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ethanndickson ethanndickson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving as I've had success with this skill in the past 👍

@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:56 — with GitHub Actions Inactive
@ThomasK33
ThomasK33 merged commit 2998976 into main Nov 13, 2026
30 of 31 checks passed
@ThomasK33
ThomasK33 deleted the tk/proportionate-tests branch November 13, 2026 10:57
@ThomasK33
ThomasK33 temporarily deployed to main November 13, 2026 10:57 — with GitHub Actions Inactive
@ThomasK33
ThomasK33 temporarily deployed to docs-preview November 13, 2026 10:57 — with GitHub Actions Inactive
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 13, 2026

This branch was previously deployed

2 inactive deployments
main — ed09c3b4 Deployed Nov 13, 2026 by ThomasK33 via cla #256313
docs-preview — ed09c3b4 Deployed Nov 13, 2026 by ThomasK33 via cleanup #30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants