Repository navigation
Closed
Labels
Description
Summary
Finalize the public v1 manifest contract so new kit authors and agents can add kits without reverse-engineering implementation details.
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
Kit authoring
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
- Review current manifest JSON schema, TypeScript types, loader validation, and template docs.
- Lock required v1 fields for public kits: metadata, compatibility, dependencies, files, Payload fragments, post-install tasks, preview metadata, and sample content.
- Improve validation errors so authors know the exact invalid or missing field.
- Update the alpha kit template and docs to reflect the locked v1 contract.
Out Of Scope
- Private entitlement fields except as an optional future-facing field if already supported safely.
- Marketplace/user-generated kit publishing.
- Changing existing public slugs for cosmetic consistency.
Implementation Guidance
- Prefer strict, boring validation over permissive inference.
- Keep the contract narrow enough for the current Payload v3 + Next.js App Router support target.
- Ensure every existing public manifest validates without one-off exceptions.
Acceptance Criteria
- All current public kit manifests validate against the v1 schema.
- A new kit can be authored from the template without adding schema fields.
- Invalid manifests fail with actionable messages naming the invalid field.
- Docs explain naming conventions, required sections, and compatibility fields.
Test Plan
- Valid manifest tests for all public kits.
- Missing required section tests.
- Malformed dependency map tests.
- Malformed Payload fragment tests.
- Template manifest validation test.
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.
Activity
Ducksss commentedon Jun 12, 2026
PR #57 documents the Manifest v1 contract in the Fumadocs registry page and keeps strict manifest validation covered by tests.
The documented v1 contract covers identity, compatibility, dependencies, files, Payload fragments, recovery, post-install tasks, preview metadata, and sample content. Validation errors continue to name the invalid field path.
Ducksss commentedon Jun 15, 2026
Closing as completed for the current manifest v1 contract.
Evidence on dev: