Status: planned
Target version: v0.21.4
Owner: hub package and registry docs
Make Registry Hub credible as ecosystem infrastructure. It should be evidence-driven, schema-validated, and conservative about trust.
packages/hub/src/packages/hub/src/scanner.tspackages/hub/src/snapshot-playwright.tsregistry/or package index data- manifest validation tests
docs/sop/v0.22.0/
Hub can become a durable moat only if it is more than a directory of packages. It needs trustworthy admission:
- schema validation;
- package metadata checks;
- DSD/browser evidence where possible;
- manifest hashing;
- deterministic index generation;
- clear rejection reasons;
- no network or environment flakiness hidden in green gates.
Harden:
- manifest schema validation;
- strict hub validation;
- index generation;
- Playwright snapshot behavior;
- package evidence records;
- trust/rejection report output;
- docs for package authors.
- Inventory current Hub schema and validation commands.
- Define required evidence for a package:
- manifest fields;
- package source or registry URL;
- component tags;
- DSD compatibility status;
- browser snapshot status where available;
- hash or integrity metadata.
- Make
hub:validate --strict --jsonproduce actionable failures. - Make
hub:check-indexdeterministic. - Add tests for malformed packages, missing evidence, and stale index entries.
- Document what Hub does not guarantee.
- Hub validation is not a security audit.
- A passing package is compatible evidence, not a blanket endorsement.
- Network-dependent checks must be isolated or cached intentionally.
- Rejections must be reproducible from local commands.
- Any package score or label must state the evidence behind it.
- Prefer versioned schemas over loose object evolution.
- Do not mix package discovery with runtime component loading.
- Do not make Hub mandatory for local components.
- Keep trust reports machine-readable and human-readable.
- Strict Hub validation emits clear JSON with stable fields.
- Index checks fail on stale or inconsistent package data.
- At least one negative fixture proves rejection behavior.
- Docs explain the trust model and non-guarantees.
- Hub output can be referenced by v0.22.0 ecosystem/deployment docs without overstating safety.
git status --short --branch
deno task fmt:check
deno task lint
deno task typecheck
deno task hub:validate --strict --json
deno task hub:check-index
deno task test
git status --short --branchProceed to SOP-010 when Hub is a conservative evidence pipeline rather than a marketing claim.