Skip to content

Stamp bare semver into the plugin manifest (fixes #5) - #6

Closed
LangerSword wants to merge 1 commit into
Ryoku-dev:mainfrom
LangerSword:main
Closed

LangerSword wants to merge 1 commit into
Ryoku-dev:mainfrom
LangerSword:main

Conversation

@LangerSword

@LangerSword LangerSword commented Nov 21, 2026 •

Copy link
Copy Markdown

Fixes #5.

The release build stamps Version from a v-prefixed git tag, and
{{VERSION}} in the plugin manifest received it verbatim. The Agent
Plugins 1.0 schema rejects a non-semver version and with it the entire
plugin, so every skill and command went down on a fresh install.

The v is now trimmed at the asset-stamp site only: the manifest is the
only file carrying the token, and status, plan, health, and update
surfaces keep the v-prefixed form unchanged.

TestUserSkillManifestVersionIsBareSemver pins the requirement: a
v-prefixed opts.Version produces a manifest with bare semver.

RetriggerView in GreptileConfidence Score: 4/5

Satisfy the repository's release-note and commit requirements before merging.

Fix All in Claude CodeFindings

  1. P2 Release notes miss this fix ▶
Fix with agent prompt
### Issue 1
internal/setup/user_skills.go:446-447
**Release notes miss this fix.** The repository requires an `[area] scope: imperative summary` commit subject, a `Note: Fixed: ...` trailer for user-facing fixes, and an update to the matching `CHANGELOG.md`. This commit has an unformatted subject, no trailer, and changes only the implementation and test files. Update the commit message and changelog before merging so the release bot includes this fix.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

The PR removes the leading v when writing the plugin manifest and adds a test for release-style versions.

  • Claude plugin manifests now use bare semver versions.

Reviews (1) · Last reviewed commit: "Stamp bare semver into the plugin manife..." · Reviewed by Greptile

Copilot AI lite review requested due to automatic review settings November 21, 2026 19:03

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 was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Comment on lines +446 to +447
assetVersion := strings.TrimPrefix(opts.Version, "v")
content := strings.ReplaceAll(asset.Content, userVersionToken, assetVersion)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Release notes miss this fix. The repository requires an [area] scope: imperative summary commit subject, a Note: Fixed: ... trailer for user-facing fixes, and an update to the matching CHANGELOG.md. This commit has an unformatted subject, no trailer, and changes only the implementation and test files. Update the commit message and changelog before merging so the release bot includes this fix.

Rule Used: RYOKU COMMIT/PR CONVENTIONS (enforced by .githooks in every Ryoku repo; --no-verify is forbidden). Subjects: \[area\] scope: imperative summary, area one of global|installation|system|ryoku|docs|test|tooling|release (shell changes use [global]); 72 c... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/setup/user_skills.go
Line: 446-447

Comment:
**Release notes miss this fix.** The repository requires an `[area] scope: imperative summary` commit subject, a `Note: Fixed: ...` trailer for user-facing fixes, and an update to the matching `CHANGELOG.md`. This commit has an unformatted subject, no trailer, and changes only the implementation and test files. Update the commit message and changelog before merging so the release bot includes this fix.

**Rule Used:** RYOKU COMMIT/PR CONVENTIONS (enforced by .githooks in every Ryoku repo; --no-verify is forbidden). Subjects: `\[area\] scope: imperative summary`, area one of global|installation|system|ryoku|docs|test|tooling|release (shell changes use \[global\]); 72 c... ([source](https://app.greptile.com/-/switch-tenant?tenant=ryoku&next=%2Fcustom-context%3Fmemory%3Dc885c516-9406-453f-9659-5f5e48e9ae72))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code Fix in Codex

@LangerSword

Copy link
Copy Markdown
Author

Following up on #6, the bare semver manifest stamp. Current head a6698cbb126d has a passing Greptile review. Please review it when you have time.

@neur0map

Copy link
Copy Markdown
Member

Thanks for the fix, Prowl moved into Hyakki so this lands there with your test kept, closing it here

@neur0map neur0map closed this Nov 30, 2026
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.

Plugin manifest stamped with v-prefixed version ("v0.15.6") — not valid semver, plugin rejected by Agent Plugins 1.0 validators

3 participants