Use when the user wants to smoke-test the evolve pipeline, test tools, or verify the plugin works end-to-end. Also use when the user says 'dry run', 'smoke test', or 'test pipeline'.
中文简介正在准备中。当前显示原文说明。
Use when the user wants to release a new version, publish to npm, create a GitHub release, bump version, or tag a release. Also use when the user says 'release', 'publish', 'bump version', 'tag', or 'npm publish'.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Interactive release workflow for harness-evolver. Handles everything: validation, changelog, version bump, git tag, GitHub release, npm publish.
Parse the argument if provided (patch, minor, major). If not provided, ask:
{
"questions": [
{
"question": "Version bump type?",
"header": "Bump",
"multiSelect": false,
"options": [
{"label": "patch", "description": "Bug fixes, small changes (e.g., 4.0.2 → 4.0.3)"},
{"label": "minor", "description": "New features, backwards compatible (e.g., 4.0.2 → 4.1.0)"},
{"label": "major", "description": "Breaking changes (e.g., 4.0.2 → 5.0.0)"}
]
}
]
}
# Current version
CURRENT=$(python3 -c "import json; print(json.load(open('package.json'))['version'])")
echo "Current version: $CURRENT"
# Commits since last tag
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -n "$LAST_TAG" ]; then
echo "Commits since $LAST_TAG:"
git log --oneline "$LAST_TAG"..HEAD
else
echo "No previous tags found"
git log --oneline -10
fi
Based on the bump type and current version, compute the new version. For example:
patch: 4.0.2 → 4.0.3minor: 4.0.2 → 4.1.0major: 4.0.2 → 5.0.0python3 -c "
v = '$CURRENT'.split('.')
bump = '$BUMP_TYPE'
if bump == 'major':
v = [str(int(v[0])+1), '0', '0']
elif bump == 'minor':
v = [v[0], str(int(v[1])+1), '0']
else:
v = [v[0], v[1], str(int(v[2])+1)]
print('.'.join(v))
"
Read the commits since the last tag. Categorize them:
feat: → Addedfix: → Fixedrefactor: → Changeddocs: → (skip unless significant)chore: → (skip unless version bump)Write a new ## [NEW_VERSION] - YYYY-MM-DD section at the top of CHANGELOG.md (after the header, before the previous version entry). Follow Keep a Changelog format. Use the commit messages as a starting point but rewrite them to be user-facing — explain what changed for the user, not what files were touched.
Show the generated changelog entry to the user before proceeding.
Update version in both files:
# package.json
python3 -c "
import json
with open('package.json') as f: p = json.load(f)
p['version'] = '$NEW_VERSION'
with open('package.json', 'w') as f: json.dump(p, f, indent=2); f.write('\n')
"
# .claude-plugin/plugin.json
python3 -c "
import json
with open('.claude-plugin/plugin.json') as f: p = json.load(f)
p['version'] = '$NEW_VERSION'
with open('.claude-plugin/plugin.json', 'w') as f: json.dump(p, f, indent=2); f.write('\n')
"
git add CHANGELOG.md package.json .claude-plugin/plugin.json
git commit -m "chore: bump version to $NEW_VERSION
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>"
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"
git push origin main --tags
Generate release notes from the changelog entry. Use gh release create:
gh release create "v$NEW_VERSION" \
--title "v$NEW_VERSION — {short title from changelog}" \
--notes "{release notes from changelog entry}
Full changelog: https://github.com/raphaelchristi/harness-evolver/blob/main/CHANGELOG.md"
npm publish
Verify the published version:
npm view harness-evolver version
Release v{NEW_VERSION} complete:
- CHANGELOG.md updated
- package.json + plugin.json bumped
- Git tag v{NEW_VERSION} created and pushed
- GitHub release: {release_url}
- npm: harness-evolver@{NEW_VERSION} published
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use when the user wants to smoke-test the evolve pipeline, test tools, or verify the plugin works end-to-end. Also use when the user says 'dry run', 'smoke test', or 'test pipeline'.
中文简介正在准备中。当前显示原文说明。
Use when the user wants to validate the plugin, check integrity, verify cross-references, or before a release. Also use when the user says 'validate', 'check plugin', or 'verify'.
中文简介正在准备中。当前显示原文说明。
Use when the user wants to verify that the evolved agent's score is stable and reliable. Runs evaluation multiple times and reports mean ± std.
中文简介正在准备中。当前显示原文说明。
Use when the user is done evolving and wants to finalize, clean up, tag the result, or push the optimized agent.
中文简介正在准备中。当前显示原文说明。
Use when the user wants to run the optimization loop, improve agent performance, evolve the agent, or iterate on quality. Requires .evolver.json to exist (run harness:setup first).
中文简介正在准备中。当前显示原文说明。
Use when the user wants to check dataset quality, diagnose eval issues, or before running evolve. Checks size, difficulty distribution, dead examples, coverage, and splits. Auto-corrects issues found.
中文简介正在准备中。当前显示原文说明。