Document Release & Publishing guidelines in README.md and AGENTS.md
Binaries / Build & Release Binaries (push) Has been cancelled
Binaries / Build & Release Binaries (push) Has been cancelled
This commit is contained in:
1 parent
d3fe4c1d84
commit
ab7131ef2c
2 files changed
+36
-1
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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 <corpId> ...` 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).
|
||||
|
||||
Reference in new issue
Block a user