Skip to content

docs(agents): count reverts as release triggers - #89

Merged
altaywtf merged 1 commit into
mainfrom
docs/agent-guide-reverts
Oct 4, 2026
Merged

altaywtf merged 1 commit into
mainfrom
docs/agent-guide-reverts

Conversation

@altaywtf

@altaywtf altaywtf commented Oct 4, 2026

Copy link
Copy Markdown
Member

The agent guide now counts reverts among the commits that publish to npm.

  • The pinned @semantic-release/commit-analyzer default rules release a patch for reverts, and .releaserc.json sets no custom rules, so "feat, fix, perf or breaking" understated what a merge publishes. Same correction Codex raised on the sibling Roku and Tizen guides.
  • Check: vp run check passes.

Written by an agent (Claude Code, Opus 5.5)

Copilot AI balanced review requested due to automatic review settings October 4, 2026 03:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T03:18:53.057443Z eed6555 PR opened
ℹ️ 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.

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The one-line documentation correction is accurate against .releaserc.json and semantic-release's default revert-as-patch rule, with no code impact and no other docs needing the same change.

Review effort: Balanced
Findings: None

What changed in this PR

This PR updates AGENTS.md to add revert to the list of commit types that trigger an npm publish on main. It corrects an understatement in the agent guide's "Ways To Hurt Yourself" section so contributors (human and agent) understand that merging a revert commit also cuts a release.

I confirmed the correction is accurate:

  • .releaserc.json configures @semantic-release/commit-analyzer with only preset: conventionalcommits and no custom releaseRules, so the plugin's default release rules apply — and those defaults release a patch for reverts.
  • CLAUDE.md is a symlink to AGENTS.md, so it stays in sync automatically.
  • The release-trigger list is enumerated only in AGENTS.md; docs/DISTRIBUTION.md describes releases generically ("a releasable commit publishes"), so no sibling correction is required.

Changes:

  • Added revert to the enumerated release-triggering commit types in the "Merging publishes" note.
  • Reflowed the bullet's line wrapping to accommodate the added word.
File Description
AGENTS.md Adds revert to the list of commit types that publish @putdotio/rokit to npm, matching semantic-release's default behavior

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@altaywtf
altaywtf merged commit 7f3ab37 into main Oct 4, 2026
7 checks passed
@altaywtf
altaywtf deleted the docs/agent-guide-reverts branch October 4, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants