Skip to content

fix: prepare 0.1.1 and preserve backup tool errors - #24

Merged
TheStreamCode merged 2 commits into
mainfrom
agent/post-release-docs-and-packaging
Aug 2, 2026
Merged

fix: prepare 0.1.1 and preserve backup tool errors#24
TheStreamCode merged 2 commits into
mainfrom
agent/post-release-docs-and-packaging

Conversation

@TheStreamCode

@TheStreamCode TheStreamCode commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Why

Version 0.1.0 is live on npm. The repository still contained pre-release documentation and shipped two maintainer-only documents. Release smoke testing also found that backup tool failures did not satisfy their declared MCP output schemas, causing conforming clients to replace the useful application error with -32602.

Changes

  • prepares patch release 0.1.1 across package.json, package-lock.json, CHANGELOG.md, and CITATION.cff
  • declares success and failure output variants for all backup tools so structured errors remain readable by MCP clients
  • adds an in-memory protocol regression test for invalid backup IDs
  • limits the npm tarball to consumer-facing documentation; maintainer-only runbooks stay in GitHub
  • updates README, security policy, citation metadata, publishing guidance, and project-specific AGENTS.md
  • records the actual release date as 2026-08-02, verified in Europe/Rome

Validation

  • npm ci — pass
  • npm run preflight — pass (8 files / 28 tests)
  • npm run release:check -- v0.1.1 — pass
  • npm run pack:check — pass (30 files, 33,753 bytes packed / 165,762 bytes unpacked)
  • npm audit --omit=dev --audit-level=high — 0 vulnerabilities
  • npm audit --audit-level=high — 0 vulnerabilities
  • installed packed tarball in an isolated directory — 118 packages
  • stdio MCP smoke — 47 tools listed; confirmation and traversal guards fail closed; structured traversal error preserved
  • package inspection — no .env.local, backups, node_modules, source maps, repository hero image, maintainer runbooks, detected Discord-token patterns, or local absolute paths

No live Discord mutation was performed.

Release and publication

After required review and merge to protected main, create GitHub Release v0.1.1. That release triggers .github/workflows/publish.yml.

NPM_TOKEN remains configured because npm Trusted Publishing could not be verified (npm trust list returned 403). Do not remove the token or workflow fallback until the trusted publisher is configured and verified on npmjs.com.

Risk

Low. Runtime behavior changes only for backup-tool error delivery: clients now receive the intended structured error instead of an SDK schema-validation exception.

TheStreamCode and others added 2 commits August 1, 2026 22:18
…g fixes

The first npm publication (0.1.0) completed on 2026-08-01, which left several
documents describing a pre-release state and shipped two repository-only
documents to npm consumers.

- Exclude `docs/implementation-plan.md` (a completed internal build checklist
  containing agent directives) and `docs/github-publishing.md` (a maintainer
  release runbook) from the published tarball by listing the four
  consumer-facing documents explicitly in `files`. Both remain in the repo.
- Correct `SECURITY.md`, which still claimed tagged releases did not exist.
- Rewrite the publishing runbook around the completed first publication and
  make the pending Trusted Publishing migration explicit, including the
  ordering constraint that would otherwise break the next release.
- Add verified npm version, supported-Node, and license badges, and lead the
  README setup with the published package instead of a source build.
- Declare `repository-code` and `date-released` in `CITATION.cff`.
- Record the pinned-dependency and `allowScripts` rationale in `AGENTS.md` so
  future contributors do not "fix" them.

No runtime code changed. Verified with `npm run preflight`, `npm run
pack:check`, `npm run release:check -- v0.1.1`, `npm audit --omit=dev`
(0 vulnerabilities), and a clean install of the packed tarball whose config
guards were smoke-tested offline.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@TheStreamCode TheStreamCode changed the title chore(release): prepare 0.1.1 with post-publication docs and packaging fixes fix: prepare 0.1.1 and preserve backup tool errors Aug 2, 2026
@TheStreamCode
TheStreamCode merged commit cd1b3a9 into main Aug 2, 2026
6 checks passed
@TheStreamCode
TheStreamCode deleted the agent/post-release-docs-and-packaging branch August 2, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant