Maintainer: releasing
Maintainer: releasing
Section titled “Maintainer: releasing”Releases are automated with release-please — the same model as andezdev/tokenlite-mysql-mcp.
What happens automatically
Section titled “What happens automatically”On every push to main, .github/workflows/release-please.yml:
- Opens or updates a Release PR with version bumps, changelogs, and manifest updates.
- When that PR is merged, creates a GitHub Release + git tag and publishes to npm:
agent-detective(CLI)- All
@agent-detective/*packages (linked to the same version)
Maintainer steps
Section titled “Maintainer steps”- Land changes on
mainusing Conventional Commits (feat:,fix:,chore:, …).- Docs and landing only (
docs/**,apps/docs/**,apps/landing/**, rootREADME.md): usedocs:orchore:— notfix:/feat:(those trigger npm). The commit hook and release-pleaseexclude-pathsenforce this. - Runtime / npm (
src/,packages/,test/, etc.): usefeat:/fix:as usual.
- Docs and landing only (
- Review the Release PR created by release-please.
- Merge the Release PR when CI is green and the changelog looks correct.
- Confirm the release-please workflow published to npm and created the GitHub Release.
Optional smoke after publish:
npm i -g agent-detective@X.Y.Zagent-detective initagent-detective doctorSecrets and permissions
Section titled “Secrets and permissions”| Item | Purpose |
|---|---|
GITHUB_TOKEN | Release PR + GitHub Release (default) |
| npm Trusted Publishing (OIDC) | pnpm publish -r uses GitHub OIDC (id-token: write in the workflow) — no long-lived NPM_TOKEN secret |
Configure Trusted Publishers on npm for agent-detective and @agent-detective/* packages linked to this repository.
Configuration
Section titled “Configuration”- release-please-config.json
- .release-please-manifest.json
- Full publish guide: publishing.md
See also
Section titled “See also”- installation.mdx — operator install paths
- upgrading.md — how operators upgrade the npm CLI