Skip to content

pm validate: Missing acceptance_criteria and estimated_minutes should trigger warnings for all open/in_progress items #153

Closed

Description

@unbraind

Issue

Currently, pm validate reports missing acceptance_criteria and estimated_minutes but only surfaces 7 and 17 items respectively (truncated). This makes it hard to systematically fix these gaps.

Suggested Improvements

  1. Full list output: When validate finds missing fields, provide an option to output the complete list of items with missing metadata, not just the first 5 with truncation. Something like --no-truncate or --all flag.
  2. Auto-fix mode: Add a pm validate --fix or pm fix-metadata command that can interactively prompt for missing required fields on open/in_progress items.
  3. Batch metadata backfill: Add pm update-many support for setting default acceptance_criteria and estimated_minutes across items matching a filter (e.g., all open Tasks).
  4. Resolution backfill for closed items: The 26 closed items missing resolution metadata should have a streamlined backfill path. Add pm close-many --resolution-template or similar.

Context

During a comprehensive PM audit of a project with 1,230 items, we found 7 items missing acceptance_criteria, 17 missing estimates, and 26 closed items missing resolution. The truncated output made it hard to fix all of them efficiently.

Activity

  1. unbraind commented on Jun 10, 2026

    @unbraind
    OwnerAuthor

    Partial on @unbrained/pm-cli 2026.6.9:

    Remaining: an interactive pm validate --fix prompt mode (#2) and a close-many --resolution-template style path. Leaving open for those.

  2. unbraind commented on Jun 12, 2026

    @unbraind
    OwnerAuthor

    All four asks are now shipped as of v2026.6.12 (tracked as pm-c3sz and earlier releases): (1) full untruncated lists — pm validate --verbose-diagnostics includes the complete diagnostic item-ID lists (plus per-list *_truncated flags so truncation is always explicit); (2) auto-fix — pm validate --auto-fix with --dry-run and --fix-scope metadata|resolution|lifecycle; (3) batch backfill — pm update-many (filter- or --ids-based, dry-run plans, rollback checkpoints); (4) resolution backfill for closed items — pm close-many --resolution <text> applies a shared resolution, and pm validate --auto-fix --fix-scope resolution backfills missing resolution metadata. Verified live on v2026.6.12.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions