Skip to content

fix: add description frontmatter to the codex plugin commands (AB6020) - #121

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/command-frontmatter
Sep 29, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
fix/command-frontmatter

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

claude plugin validate --strict and gbot-install doctor warned AB6020 ("No frontmatter block found") for commands/codex-send.md, codex-threads.md, codex-wait.md.

Root cause: agent-bundle's pinned Cursor commands surface is frontmatter-free, so a normal authored description: in the leading frontmatter is rejected for the explicit cursor target (AB4927), and dropping cursor from targets or giving Claude different bytes than Cursor fails with AB4105/AB4103 because both hosts share commands/. Fix at the source without changing agent-bundle: keep the targets block (peeled by agent-bundle) and author the description frontmatter as the first block of the command body, so Claude and Cursor emit identical bytes with a valid frontmatter block. Cursor's plugin docs list description as a supported command frontmatter field, so Cursor loads it fine.

Verified: claude plugin validate artifact/.claude-plugin/plugin.json --strict passes; build reports Host validation (claude): passed; new test asserts emitted commands have description frontmatter and no targets. A proper long-term fix is agent-bundle allowing description on Cursor commands (not touched here).

@changeset-bot

changeset-bot Bot commented Sep 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0630fe6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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-09-29T12:25:40.211445Z 0630fe6 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.

@ScriptedAlchemy
ScriptedAlchemy merged commit 2c84000 into main Sep 29, 2026
2 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/command-frontmatter branch September 29, 2026 12:26
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.

1 participant