Skip to content

PK-08 Productize payload-kit doctor #4

Closed as not planned
Closed as not planned

Description

@Ducksss

Summary

Replace the current placeholder doctor command with a real compatibility and drift checker for the alpha catalog.

Parent issue: #1
Blocked by: #2, #3

Scope

  • Replace placeholder output with real checks for:
    • supported target detection
    • manifest/state mismatch
    • missing installed files
    • missing Payload registrations in patched target files
    • stale generated artifacts after installs
  • Use stable exit codes for automation:
    • 0 = healthy
    • 1 = drift or recoverable warnings
    • 2 = unsupported repo or fatal command failure
  • Report findings in actionable language that tells the operator what to fix.
  • Limit alpha support to the current repo shape.

Non-Goals

  • Making doctor a full migration engine
  • Supporting private registry auth
  • Expanding init

Acceptance Criteria

  • doctor distinguishes a healthy install from at least these failures:
    • unsupported repo shape
    • removed installed file
    • removed layout registration
    • stale state entry
  • Exit codes are stable and documented.
  • doctor output is useful enough to debug a broken alpha install without reading implementation code.

Test Plan

  • Add coverage for healthy state, unsupported target shape, removed file, removed registration, and stale state entry.
  • Verify exit codes for healthy, drift, and fatal states.

Activity

  1. added
    enhancement
    on Apr 16, 2026
  2. changed the title [-]PK-08 Productize \[/-] [+]PK-08 Productize `payload-kit doctor`[/+] on Apr 16, 2026
  3. 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