diff --git a/AGENTS.md b/AGENTS.md index acdf9cd..255676c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,7 +35,20 @@ Use `bun:test` with `describe`, `test`, and `expect`. Place tests next to covere Recent commits use concise imperative subjects, often `Add ...` or `Refine ...`, such as `Add compact approval rule listing`. Keep subjects under roughly 72 characters. -Pull requests should include a short summary, tests run, and any config or OpenAPI regeneration notes. Link related issues when available. Add screenshots only for UI or documentation rendering changes. +## Release & Publishing Guidelines + +1. **Version Bump Checklist**: + - Update version string in `package.json`, `.zcode-plugin/plugin.json`, `skills/seal-home/SKILL.md`, and `openapi/openapi.yaml`. + - Update `CHANGELOG.md` with new features and fixes. + - Run `bun run openapi:bundle && bun run build:plugin && bun test && bun run check`. +2. **Tag & Release**: + - Create an annotated Git tag with a descriptive release summary: + ```bash + git commit -am "Release vX.Y.Z: ..." + git tag -a vX.Y.Z -m "πŸš€ Release summary text describing key changes" + git push origin master --tags && git push home master --tags + ``` + - GitHub Actions will automatically extract the tag message, append commit notes via `--generate-notes`, cross-compile all 5 target binaries in ~50s, and publish the GitHub Release. ## Security & Configuration Tips @@ -44,3 +57,4 @@ Never commit real enterprise credentials, Seal tokens, service logs, or local ge ## Agent-Specific Instructions Do not create `.codex/skills`; Codex is compatible with `.agents/skills`, and this project treats `.agents/` as authoritative. At project scope, prefer `AGENT.md` instructions when present. + diff --git a/README.md b/README.md index f9d26c8..d3f13cc 100644 --- a/README.md +++ b/README.md @@ -288,3 +288,24 @@ When `_langfuseTraceId` exists, downstream tools should fetch the trace directly - Prefer CLI or script processing for large tool responses. For daily approval questions, call `seal-home approval-runs summary --corp ...` instead of reading long `seal_approval_runs_search` output manually. - Keep broad search tools compact by default. Add explicit opt-in flags such as `includeBridge` for verbose fields that are useful only in deeper debugging. - When Seal API timestamp filters are uncertain, filter again in tool code by `createdAt` and explicit timezone before presenting date-based answers. + +## Release & Publishing + +To release a new version of `seal-home`: + +1. **Version Bump Checklist**: + - Bump version across `package.json`, `.zcode-plugin/plugin.json`, `skills/seal-home/SKILL.md`, and `openapi/openapi.yaml`. + - Update `CHANGELOG.md` with release notes and highlights. + - Run verification and bundles: + ```bash + bun run openapi:bundle && bun run build:plugin && bun test && bun run check + ``` +2. **Tag & Publish**: + - Commit changes and create an annotated Git tag with release notes: + ```bash + git commit -am "Release vX.Y.Z: ..." + git tag -a vX.Y.Z -m "πŸš€ η‰ˆζœ¬ζ›΄ζ–°ζ–‡ζ‘ˆδΈŽδΈ»θ¦η‰Ήζ€§θ―΄ζ˜Ž" + git push origin master --tags && git push home master --tags + ``` + - GitHub Actions will automatically extract your tag annotation message, append the auto-generated commit list via `--generate-notes`, cross-compile all 5 target standalone binaries in under 60 seconds, and publish the release to [GitHub Releases](https://github.com/yunyingk/seal-home/releases). +