Skip to content

PK-06 Expand the manifest contract for multi-kit alpha #2

Closed as not planned

Description

@Ducksss

Summary

Expand the current POC manifest contract into a reusable alpha contract that can support multiple installable kits instead of a single one-off hero-basic manifest.

Parent issue: #1
Blocked by: none

Scope

  • Expand the JSON schema, TypeScript types, and manifest loader/validator used by payload-kit.
  • Keep the existing POC fields, but add the alpha fields needed for a multi-kit catalog:
    • dependencies as an object map of package name to semver range
    • peerDependencies as an object map of package name to semver range
    • recovery metadata that clearly distinguishes owned files from patched target files
  • Keep supportedTargets, supports.payloadMajors, and supports.nextMajors as the compatibility contract.
  • Keep files, payloadFragments, postInstall, preview, and sampleContent as required manifest sections for shipped alpha kits.
  • Update validation errors so failures tell the author exactly which field is missing or malformed.
  • Normalize hero-basic to the expanded contract.
  • Confirm that a second kit manifest can be authored against the same schema without adding one-off fields.

Non-Goals

  • Pro/private auth
  • Hosted registry concerns
  • Supporting repo shapes beyond the current alpha target

Acceptance Criteria

  • hero-basic validates against the expanded alpha schema.
  • The manifest contract supports at least one additional kit manifest without schema changes.
  • Invalid manifests fail with actionable errors that name the invalid field.
  • The manifest contract is documented well enough for subsequent kit tickets to follow without ambiguity.

Test Plan

  • Add validation coverage for missing required sections, malformed dependency maps, and malformed fragment definitions.
  • Validate the normalized hero-basic manifest.
  • Validate at least one additional alpha manifest authored against the same contract.

Activity

  1. added
    enhancement
    on Apr 16, 2026
  2. Ducksss commented on May 13, 2026

    @Ducksss
    OwnerAuthor

    Closing as superseded by the 2026-05-14 Payload Kits v1 roadmap refresh: #33.

    This old alpha ticket was either shipped, renamed, or replaced by more detailed agent-ready roadmap issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions