Core

From package token to connector

How the shared GitHub Packages read token became per-project Core identity and the /npm/* proxy.

From package token to connector

Status: local Core implements the package-install proxy (packages:read + GET /npm/*). Production Core URL is not live yet. This page is the design history.

Previously, every consumer that installed @ziteox/ui from GitHub Packages needed a long-lived read credential: GITHUB_PACKAGES_TOKEN. That approach is deprecated for client installs — use Core instead: Install packages through Core and Connect a project.

Where we landed

The Connector & Registry shape:

  • Each project gets its own project token (zxcore_…) with scope packages:read, not a shared GitHub PAT in every host.
  • Core holds the upstream Packages token and proxies packuments/tarballs for @ziteox/* only.
  • Staff mint tokens through the admin portal; Core trusts short-lived portal assertions.

Tie to the design doc

TopicWhere
Project token on the data plane; GitHub credential stays in Core§1 Goals and non-goals
Registry, project tokens, grants§3 Data model
Install proxy (shipped locally)Install packages through Core
Deprecated shared PAT path§8 Relationship to later work

Still open

Tracking which Forge package versions each project uses, and when production Core is cut over, remain open questions until Laki decides.