Agent Sandbox Registry

agent-sandbox

Decision: Tag-triggered npm release workflow replaces the release-event publish workflow

无中文版

.agents/notes/implemented/process/2026-10-12-npm-release-workflow.md

Decision: Tag-triggered npm release workflow replaces the release-event publish workflow

Status: implemented

Problem

.github/workflows/publish.yml published to npm when a GitHub Release was published. Releases are cut by hand after the tag, so the npm publish depended on a second manual step and could not verify that the tag and package.json agree. The layout review (2026-10-12-cli-repository-layout) asks for a tag-driven release.

Decision

API Design

N/A — this decision does not involve API changes.

Alternatives considered

Dependencies

GitHub environment npm; repository secret NPM_API_TOKEN; npm organisation agent-sandbox.

Test Strategy

Dry run with npm pack --dry-run in CI; the first tagged release exercises the publish step.

Acceptance criteria