Skip to content

ci: registry ops — drop the debug workflow, pin an auth-capable CLI, add publisher setup - #31

Merged
wittjosiah merged 5 commits into
mainfrom
claude/plugin-excalidraw-pr8-cleanup-hb0ebu
Aug 9, 2026
Merged

ci: registry ops — drop the debug workflow, pin an auth-capable CLI, add publisher setup#31
wittjosiah merged 5 commits into
mainfrom
claude/plugin-excalidraw-pr8-cleanup-hb0ebu

Conversation

@wittjosiah

@wittjosiah wittjosiah commented Aug 9, 2026

Copy link
Copy Markdown
Member

Summary

The registry publish now works end-to-end — Release run (registry_only, CLI @1edc570) published [email protected] to the production registry, authenticating the edge upload with DX_HUB_API_KEY — so this PR retires the debugging scaffolding and finishes the ops story around the publisher account.

  • Delete debug-registry-auth.yml (marked TEMPORARY from birth). Its final runs confirmed the ATProto secrets are valid (createSession 200) and that edge accepts the admin key on /registry/upload after dxos/edge#822 (unauthenticated 401 → keyed 400 on main + production, both X-Admin-Key and canonical Authorization: Bearer).
  • Bump the pinned CLI default ba08e651edc570: the old pin predates DX_HUB_API_KEY support in dx registry publish (edge-client: authenticate registry uploads with DX_HUB_API_KEY dxos#12528), so a real Version-Packages release with it would still 401 on the upload.
  • Add setup-publisher.yml — a one-time, dispatch-only bootstrap for the publisher account's ATProto records (publisher.profile + optional self-authored publisher.verification). Changing the publisher becomes: rotate the ATPROTO_* secrets, dispatch once. Clearly labeled as not part of the release flow; the self-verification note explains it only affects discovery where the publisher account is the configured curator (REGISTRY_CURATOR_DID — currently true in production only).

Changeset

None — CI-only change.

claude added 5 commits August 8, 2026 23:01
The registry publish 401s at the edge upload: it authenticates with a
hub-identity verifiable presentation, and CI holds no HALO identity to produce
one. The CLI (dxos/dxos) now accepts DX_HUB_API_KEY and sends it as X-Admin-Key
in place of the VP flow, so the release passes the secret through.

Also lets a dispatch override the pinned CLI (`cli_package`), so a pkg.pr.new
branch build can be tested against the real edge before landing in dxos, and
teaches the debug workflow to probe /registry/upload with the key — whether the
server honors X-Admin-Key on that route is not observable from this repo.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SZ4ZdaPo9erkh5yF4eXh3Z
The auth question the debug workflow existed to answer is settled: edge accepts
the admin key on /registry/upload (dxos/edge#822) and the full registry publish
succeeded with it. The CLI pin moves to a build that sends DX_HUB_API_KEY
(dxos/dxos#12528); the previous pin predates that support and would still 401.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SZ4ZdaPo9erkh5yF4eXh3Z
Bootstraps the ATProto publisher account's records — publisher.profile and an
optional self-authored publisher.verification — so a publisher change is a
secrets rotation plus one dispatch. Not part of the release flow; the
verification only affects discovery where this account is the configured
curator (currently production).

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SZ4ZdaPo9erkh5yF4eXh3Z
@wittjosiah wittjosiah changed the title ci: remove the registry-auth debug workflow, pin a CLI with upload auth ci: registry ops — drop the debug workflow, pin an auth-capable CLI, add publisher setup Aug 9, 2026
@wittjosiah
wittjosiah marked this pull request as ready for review August 9, 2026 12:29
@wittjosiah
wittjosiah added this pull request to the merge queue Aug 9, 2026
Merged via the queue into main with commit e6626ec Aug 9, 2026
3 checks passed
@wittjosiah
wittjosiah deleted the claude/plugin-excalidraw-pr8-cleanup-hb0ebu branch August 9, 2026 12:31
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.

2 participants