Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a06d83-1cbc-71f2-b0dc-e0f48cedae43
5 KiB
whynot-design npm publish token
Date: 2026-09-04
Catalog: whynot-design-npm-publish (status active, resolvable: true)
Owner: railiance-platform (OpenBao) · provisioning CCR-2026-0001 (commit 8f617fc)
Rotation required (2026-09-04). The OIDC role and OpenBao read path are healthy, but the stored credential failed a real Forgejo publish. Version
@whynot/design@0.4.2was published and integrity-verified through the plan-authorized Forgejo admin recovery lane. Treat this dedicated lane as unverified for writes until its package token is rotated and re-proven.
The NPM_AUTH_TOKEN that publishes @whynot/design to the coulomb Forgejo npm registry
(https://forgejo.coulomb.social/api/packages/coulomb/npm/). ops-warden does not hold
this token — it is the access front door: warden access proxies the read from OpenBao
as the caller and never persists, caches, or logs the value.
Owner-confirmed lane (no placeholders)
| Field | Value |
|---|---|
| OpenBao path | platform/workloads/coulomb/whynot-design/npm-publish |
| Field | NPM_AUTH_TOKEN |
| KV mount | platform |
| Read policy | workload-kv-read-whynot-design-npm-publish |
| OIDC login | bao login -method=oidc -path=netkingdom role=whynot-design-workload-kv-read |
| Bound group | whynot-design |
| flex-auth ref | secret.read:whynot-design (if tenant policy requires pre-approval) |
| Runbook (owner) | railiance-platform/docs/workload-kv-access-lanes.md |
The
platform/workloads/whynot-design/whynot-design/npm-publishpath from early in the provisioning thread is superseded — the live path is under thecoulombtenant.
Worker checklist
-
Authenticate as yourself (you need your own identity; ops-warden adds none):
bao login -method=oidc -path=netkingdom role=whynot-design-workload-kv-readYour token must carry the
whynot-designgroup bound claim; a non-whynot identity is denied by policy (verified negative case). -
Run via the owner-native front door (primary). secrets-engine owns the secret-exec for this lane (SECRETS-WP-0003, decision e6381a56); ops-warden routes to it:
secrets-engine route whynot-design-npm-publish --json # pointer / readiness secrets-engine exec --catalog whynot-design-npm-publish -- \ npm view @whynot/design@<version> version \ --registry=https://forgejo.coulomb.social/api/packages/coulomb/npm/ secrets-engine exec --catalog whynot-design-npm-publish -- npm publishops-warden transparent fallback — same lane via the
warden accessproxy (fetches as you, holds nothing). The project.npmrcmust point both the@whynotscope and token fragment atforgejo.coulomb.social:# --exec needs the env-var name. The zone-aware policy gate always runs first. warden access whynot-design-npm-publish --field NPM_AUTH_TOKEN \ --exec -- npm view @whynot/design@<version> version \ --registry=https://forgejo.coulomb.social/api/packages/coulomb/npm/ warden access whynot-design-npm-publish --field NPM_AUTH_TOKEN \ --exec -- npm publish warden access whynot-design-npm-publish --field NPM_AUTH_TOKEN --fetchOn either path the value transits to you (or the child env) and never enters ops-warden's memory, disk, or audit log.
-
Readiness gate (for automated callers). Before attempting
--fetch, check the flag:warden route show whynot-design-npm-publish --json | jq .resolvable # trueresolvable: truemeans the lane is concrete and--fetchwill run; a template lane reportsfalse. -
Publish is outward-facing and immutable. Before publishing, confirm that
package.json#publishConfig.registryis exactly the Forgejo URL above, verify the intended version andnpm pack --dry-runcontents, and obtain explicit operator approval.npm publishis irreversible; do not auto-run it from an agent. -
Record non-secret release evidence. After the owner publishes, record only the package coordinate (for example
@whynot/design@0.4.2), registry URL, authenticated install result, and release-content verification. Never record the token or npm configuration generated for its delivery.Forgejo advertises
npm view, search, install, publish, unpublish, and dist-tag support; it does not advertisenpm whoami. Use the exact-version lookup above rather than treatingnpm whoamifailure as a credential failure.
Scopes
This lane is the publish token only. A separate read/install token (for consumers
of @whynot/design) is a distinct need and would be its own catalog id
(whynot-design-npm-read) once railiance-platform provisions it — do not conflate them.
See also
wiki/OperatorAccessAssist.md— thewarden accessfront door + guardrailswiki/CredentialRouting.md— routing modelrailiance-platform/docs/workload-kv-access-lanes.md,workplans/RAILIANCE-WP-0006-workload-kv-access-lanes.md