Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Summary
Make registry build correctness a CI-enforced release gate instead of a manual local convention.
For agentic workers: Use @superpowers. Start in an isolated worktree, use
superpowers:writing-plansfor multi-file work, prefersuperpowers:subagent-driven-developmentfor implementation, and usesuperpowers:verification-before-completionbefore claiming completion.
Phase
Release reliability
Current Baseline
payload-kit init,payload-kit add, andpayload-kit doctorexist in the alpha CLI.- Five public starter kits exist:
hero-basic,feature-proof-grid,cta-split,faq-simple, andtestimonial-quote. - The site has public
/kitsand/docs/payload-kitssurfaces. - The repo can emit flat public registry JSON into
public/withpnpm registry:build.
Scope
- Add CI coverage that runs the public registry build and verifies generated artifact shape.
- Check that every manifest-backed public kit has a matching registry item and generated item JSON.
- Check that root
registry.jsondoes not embed file content while item JSON files do include installable content. - Fail CI on stale generated registry output, missing items, malformed JSON, or manifest/registry drift.
Out Of Scope
- Deploying registry artifacts to production.
- Changing kit schemas or kit visual design.
- Private registry release automation.
Implementation Guidance
- Prefer a small script or test that can run locally and in CI with the same command.
- Keep the check deterministic: it should not depend on network access except for dependency installation already required by the project.
- Wire the check into the existing test or CI style used by the repository.
Acceptance Criteria
- A CI run fails if a public manifest lacks a registry item.
- A CI run fails if an item JSON file is missing after registry build.
- A CI run fails if root
registry.jsoncontains embedded file content. - The local verification command is documented for maintainers.
Test Plan
-
pnpm registry:build. - The new registry integrity check command.
-
pnpm lintandpnpm exec tsc --noEmitif code is added. - A negative local smoke, if practical, by temporarily breaking a copied fixture rather than mutating tracked files.
Definition Of Done
- Acceptance criteria are satisfied and checked off.
- Test plan has been run or any skipped test has a concrete reason.
- Public docs or runbooks are updated when behavior changes.
- The implementation notes mention any follow-up issue that should be created.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
Ducksss commentedon Jun 12, 2026
PR #57 advances registry reliability by keeping
pnpm test:registrygreen and fixing the scheduled/manual fresh-smoke workflow argument form frompnpm test:fresh -- --...topnpm test:fresh --....Validation on 2026-06-12:
pnpm test:registrypassed.pnpm test:releasepassed.pnpm test:fresh --registry-url 'https://payload-components.xyz/r/{name}.json'passed.Ducksss commentedon Jun 15, 2026
Closing as completed on the current dev baseline.
Evidence:
tests(test): add Linux visual baselines