You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm validate: Missing acceptance_criteria and estimated_minutes should trigger warnings for all open/in_progress items #153
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
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.
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.
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).
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.
Full lists (chore(release): public launch hardening for @unbrained/pm-cli #1): validate output now includes complete failing-ID arrays (e.g. missing_acceptance_criteria_item_ids with an explicit _truncated indicator), and pm validate --verbose-diagnostics forces full ID lists instead of compact summaries.
Machine-executable remediation: pm validate --fix-hints adds a fix_hints[] of pm commands per failing check.
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.
Activity
unbraind commentedon Jun 10, 2026
Partial on @unbrained/pm-cli 2026.6.9:
missing_acceptance_criteria_item_idswith an explicit_truncatedindicator), andpm validate --verbose-diagnosticsforces full ID lists instead of compact summaries.pm validate --fix-hintsadds afix_hints[]of pm commands per failing check.pm update-manysets--acceptance-criteria,--estimate, and the resolution fields (--resolution,--expected,--actual) with--filter-status/--filter-typescoping,--dry-runpreview, and rollback checkpoints — including for closed items.Remaining: an interactive
pm validate --fixprompt mode (#2) and aclose-many --resolution-templatestyle path. Leaving open for those.unbraind commentedon Jun 12, 2026
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-diagnosticsincludes the complete diagnostic item-ID lists (plus per-list *_truncated flags so truncation is always explicit); (2) auto-fix —pm validate --auto-fixwith--dry-runand--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, andpm validate --auto-fix --fix-scope resolutionbackfills missing resolution metadata. Verified live on v2026.6.12.unbraind commentedon Jul 11, 2026
pm tracker item:
pm-c3sz— pm validate --auto-fix: apply safe remediations automatically (pm validate should support --auto-fix mode for bulk metadata remediation #179, pm validate: Missing acceptance_criteria and estimated_minutes should trigger warnings for all open/in_progress items #153 interactive part, pm validate should offer bulk backfill suggestion/automation for missing resolution metadata #167 backfill part)