Repository navigation
Stamp bare semver into the plugin manifest (fixes #5) - #6
LangerSword wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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.
| assetVersion := strings.TrimPrefix(opts.Version, "v") | ||
| content := strings.ReplaceAll(asset.Content, userVersionToken, assetVersion) |
There was a problem hiding this 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)
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!
|
Following up on #6, the bare semver manifest stamp. Current head |
|
Thanks for the fix, Prowl moved into Hyakki so this lands there with your test kept, closing it here |
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.
Satisfy the repository's release-note and commit requirements before merging.
Fix with agent prompt
Summary
The PR removes the leading
vwhen writing the plugin manifest and adds a test for release-style versions.Reviews (1) · Last reviewed commit: "Stamp bare semver into the plugin manife..." · Reviewed by Greptile