pan-wizard 3.35.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3645 -0
- package/README.md +46 -52
- package/agents/pan-conductor.md +2 -3
- package/agents/pan-counterfactual.md +1 -2
- package/agents/pan-debugger.md +14 -3
- package/agents/pan-design-checker.md +1 -2
- package/agents/pan-designer.md +2 -3
- package/agents/pan-document_code.md +1 -2
- package/agents/pan-executor.md +25 -0
- package/agents/pan-hardener.md +4 -3
- package/agents/pan-integration-checker.md +1 -2
- package/agents/pan-knowledge.md +1 -2
- package/agents/pan-meta-reviewer.md +3 -3
- package/agents/pan-optimizer.md +4 -4
- package/agents/pan-phase-researcher.md +80 -475
- package/agents/pan-plan-checker.md +40 -3
- package/agents/pan-planner.md +21 -7
- package/agents/pan-previewer.md +3 -2
- package/agents/pan-project-researcher.md +72 -493
- package/agents/pan-release.md +1 -1
- package/agents/pan-reviewer.md +14 -3
- package/agents/pan-roadmapper.md +12 -7
- package/agents/pan-verifier.md +9 -4
- package/bin/install-lib.cjs +134 -14
- package/bin/install.js +59 -12
- package/commands/pan/army.md +1 -1
- package/commands/pan/autodev.md +76 -0
- package/commands/pan/cost.md +21 -1
- package/commands/pan/exec-phase.md +3 -4
- package/commands/pan/focus-auto.md +14 -7
- package/commands/pan/focus-design.md +4 -5
- package/commands/pan/focus-docs.md +24 -0
- package/commands/pan/learn.md +13 -6
- package/commands/pan/milestone-audit.md +8 -1
- package/commands/pan/milestone-done.md +10 -5
- package/commands/pan/milestone-new.md +2 -2
- package/commands/pan/new-project.md +15 -12
- package/commands/pan/plan-phase.md +15 -9
- package/commands/pan/preview.md +1 -1
- package/commands/pan/quick.md +1 -1
- package/commands/pan/review-deep.md +11 -5
- package/commands/pan/settings.md +6 -0
- package/commands/pan/verify-phase.md +6 -2
- package/docs/AGENTS.md +917 -0
- package/docs/ARCHITECTURE.md +1054 -0
- package/docs/CLI-REFERENCE.md +4582 -0
- package/docs/COMPARISON.md +116 -0
- package/docs/DEVELOPMENT.md +490 -0
- package/docs/ECOSYSTEM-REVIEW-2026-06.md +107 -0
- package/docs/ECOSYSTEM-REVIEW-2026-08.md +349 -0
- package/docs/EXAMPLES.md +584 -0
- package/docs/FAQ.md +254 -0
- package/docs/FIELD-HARVEST-2026-07.md +88 -0
- package/docs/FIELD-REPORT-army-2026-06.md +121 -0
- package/docs/HOOKS.md +638 -0
- package/docs/IMPROVEMENT-TODO.md +246 -0
- package/docs/INTERNALS.md +485 -0
- package/docs/MIGRATION-v2-to-v3.md +258 -0
- package/docs/SECURITY-HARDENING.md +230 -0
- package/docs/SKILLS-ENHANCEMENT-PLAN-V2.md +122 -0
- package/docs/SKILLS-FULL-TEXT.md +9685 -0
- package/docs/SKILLS-REFERENCE.md +1037 -0
- package/docs/TROUBLESHOOTING.md +1084 -0
- package/docs/USER-GUIDE.md +1437 -0
- package/docs/archive/SKILLS-ENHANCEMENT-PLAN.md +230 -0
- package/docs/audits/AUDIT-2026-08-e2e-ROADMAP.md +117 -0
- package/docs/audits/AUDIT-2026-08-e2e-VERIFICATION.md +693 -0
- package/docs/audits/AUDIT-2026-08-e2e.md +1546 -0
- package/docs/audits/OUTSTANDING-2026-08.md +275 -0
- package/docs/audits/STABILITY-TEST-2026-08.md +640 -0
- package/docs/branding/README-brand-draft.md +119 -0
- package/docs/branding/handoff/IMPLEMENTATION.md +205 -0
- package/docs/branding/handoff/README-brand-draft.md +119 -0
- package/docs/branding/handoff/image-prompts.md +46 -0
- package/docs/branding/image-prompts.md +46 -0
- package/docs/branding/nano-banana-prompts.txt +60 -0
- package/docs/context-monitor.md +13 -0
- package/docs/decisions/ADR-0001-strategic-feature-prioritization.md +83 -0
- package/docs/decisions/ADR-0002-copilot-cli-runtime.md +71 -0
- package/docs/decisions/ADR-0003-smart-execution.md +84 -0
- package/docs/decisions/ADR-0004-copilot-cli-interaction.md +89 -0
- package/docs/decisions/ADR-0005-command-naming.md +80 -0
- package/docs/decisions/ADR-0006-focus-commands.md +101 -0
- package/docs/decisions/ADR-0007-ship-v1.md +73 -0
- package/docs/decisions/ADR-0008-map-codebase-mermaid-togaf.md +80 -0
- package/docs/decisions/ADR-0009-production-deployment-checklist.md +68 -0
- package/docs/decisions/ADR-0010-standards-integration.md +79 -0
- package/docs/decisions/ADR-0011-help-commands-rewrite.md +64 -0
- package/docs/decisions/ADR-0012-contributors-attribution-index.md +42 -0
- package/docs/decisions/ADR-0013-strategic-feature-additions.md +53 -0
- package/docs/decisions/ADR-0014-internal-cleanup-code-quality.md +53 -0
- package/docs/decisions/ADR-0015-focus-auto-runner.md +296 -0
- package/docs/decisions/ADR-0016-enhanced-doc-sync.md +54 -0
- package/docs/decisions/ADR-0017-enhanced-focus-design.md +69 -0
- package/docs/decisions/ADR-0018-user-reality-testing.md +84 -0
- package/docs/decisions/ADR-0019-end-to-end-user-acceptance-testing.md +113 -0
- package/docs/decisions/ADR-0020-ai-drift-prevention.md +55 -0
- package/docs/decisions/ADR-0021-codebase-mapper-v2.md +76 -0
- package/docs/decisions/ADR-0022-lifecycle-completeness.md +63 -0
- package/docs/decisions/ADR-0023-opus-4-7-adoption.md +89 -0
- package/docs/decisions/ADR-0024-spec-b-v2-completion.md +137 -0
- package/docs/decisions/ADR-0025-behavioral-guardrails-layer.md +129 -0
- package/docs/decisions/ADR-0026-self-improvement-loop.md +171 -0
- package/docs/decisions/ADR-0027-doc-code-link-graph.md +164 -0
- package/docs/decisions/ADR-0028-unified-agents-skills-target.md +46 -0
- package/docs/decisions/ADR-0029-experiment-evaluator.md +76 -0
- package/docs/decisions/ADR-0030-planning-concurrency.md +37 -0
- package/docs/decisions/ADR-0031-focus-auto-backlog-source.md +47 -0
- package/docs/decisions/ADR-0032-squad-model.md +64 -0
- package/docs/decisions/ADR-0033-army-campaign.md +40 -0
- package/docs/decisions/ADR-0034-scheduled-campaigns.md +57 -0
- package/docs/decisions/ADR-0035-army-hud-dashboard.md +40 -0
- package/docs/decisions/ADR-0036-agentic-memory-architecture.md +106 -0
- package/docs/decisions/ADR-0037-pin-security-agents-to-opus.md +51 -0
- package/docs/decisions/ADR-0038-skill-aligned-decomposition.md +41 -0
- package/docs/decisions/ADR-0039-worktree-as-project-variant.md +37 -0
- package/docs/decisions/ADR-0040-memory-injection-defense.md +55 -0
- package/docs/decisions/ADR-0041-mcp-dual-era-bridge.md +47 -0
- package/docs/decisions/ADR-0042-design-parity-both-flows.md +45 -0
- package/docs/decisions/ADR-0043-addressable-planning-roots.md +56 -0
- package/docs/decisions/ADR-0044-bound-the-cached-context.md +104 -0
- package/docs/decisions/ADR-0045-agent-plugins-bundle.md +76 -0
- package/docs/decisions/ADR-0046-subagent-frontmatter-decisions.md +39 -0
- package/docs/decisions/ADR-0047-pan-harness.md +76 -0
- package/docs/decisions/ADR-0048-one-core-per-project.md +43 -0
- package/docs/decisions/ADR-0049-machine-verdicts-and-findings-ledger.md +116 -0
- package/docs/specs/ai_drift_prevention_featureai.md +286 -0
- package/docs/specs/codebase_mapper_v2_featureai.md +930 -0
- package/docs/specs/command_naming_optimization_featureai.md +930 -0
- package/docs/specs/comp_analysis_markdown_v1.md +149 -0
- package/docs/specs/continuous_autonomous_execution_featureai.md +304 -0
- package/docs/specs/contributors_attribution_index_featureai.md +476 -0
- package/docs/specs/copilot_cli_interaction_featureai.md +868 -0
- package/docs/specs/copilot_cli_runtime_featureai.md +647 -0
- package/docs/specs/custom-skills-assessment.md +461 -0
- package/docs/specs/deployment_audit_findings_featureai.md +243 -0
- package/docs/specs/doc_code_link_graph_featureai.md +253 -0
- package/docs/specs/documentation_alignment_cleanup_featureai.md +69 -0
- package/docs/specs/e2e_visual_testing_featureai.md +615 -0
- package/docs/specs/end_to_end_user_acceptance_testing_featureai.md +810 -0
- package/docs/specs/evidence-loop-plan.md +76 -0
- package/docs/specs/evidence_loop_featureai.md +497 -0
- package/docs/specs/focus-auto-optimize-category.md +449 -0
- package/docs/specs/focus-auto-optimize-superplan.md +188 -0
- package/docs/specs/focus_auto_runner_featureai.md +1102 -0
- package/docs/specs/focus_design_v2_featureai.md +197 -0
- package/docs/specs/focus_sync_v2_featureai.md +202 -0
- package/docs/specs/git_integration_overhaul_featureai.md +326 -0
- package/docs/specs/glm_zai_provider_featureai.md +200 -0
- package/docs/specs/googlecli_adoption_featureai.md +661 -0
- package/docs/specs/help_commands_rewrite_featureai.md +860 -0
- package/docs/specs/industry_analysis_strategic_additions_featureai.md +231 -0
- package/docs/specs/industry_comparison_and_feature_gaps_featureai.md +674 -0
- package/docs/specs/internal_cleanup_code_quality_featureai.md +486 -0
- package/docs/specs/investigations/README.md +31 -0
- package/docs/specs/investigations/digests/2026-09-28.md +47 -0
- package/docs/specs/investigations/digests/2026-10-08.md +62 -0
- package/docs/specs/investigations/digests/2026-10-10.md +61 -0
- package/docs/specs/investigations/features/debugger-red-loop-first.md +55 -0
- package/docs/specs/investigations/features/harness-cross-host-behaviour.md +93 -0
- package/docs/specs/investigations/features/optimize-apply-regression-gate.md +66 -0
- package/docs/specs/investigations/features/reviewer-smell-baseline.md +57 -0
- package/docs/specs/investigations/features/trace-failure-capture.md +69 -0
- package/docs/specs/lifecycle_completeness_featureai.md +754 -0
- package/docs/specs/local-first-ci.md +42 -0
- package/docs/specs/map_codebase_mermaid_togaf_featureai.md +805 -0
- package/docs/specs/market-delta-2026-09-superplan.md +310 -0
- package/docs/specs/market-ideas-2026-09.md +131 -0
- package/docs/specs/market-ideas-2026-10.md +428 -0
- package/docs/specs/market-ideas-ledger.md +177 -0
- package/docs/specs/memory-optimization-2026-10.md +285 -0
- package/docs/specs/multi-track-planning-roots.md +143 -0
- package/docs/specs/multi_model_routing_featureai.md +687 -0
- package/docs/specs/multi_model_routing_superplan.md +197 -0
- package/docs/specs/opus_47_existing_enhancements_featureai.md +247 -0
- package/docs/specs/opus_47_extended_features_featureai.md +363 -0
- package/docs/specs/opus_47_extended_features_v2_featureai.md +397 -0
- package/docs/specs/pan_focus_commands_featureai.md +2336 -0
- package/docs/specs/pan_zcode_mcp_bridge_featureai.md +120 -0
- package/docs/specs/product-excellence-superplan.md +315 -0
- package/docs/specs/product_excellence_program_2026_q4_featureai.md +365 -0
- package/docs/specs/production_deployment_readiness_featureai.md +433 -0
- package/docs/specs/production_readiness_ship_v1_featureai.md +698 -0
- package/docs/specs/real_test_enforcement_featureai.md +213 -0
- package/docs/specs/reality-check-2026-09-superplan.md +362 -0
- package/docs/specs/right-sized-ceremony.md +74 -0
- package/docs/specs/roadmap_and_competition_2026_q4_featureai.md +390 -0
- package/docs/specs/self_improvement_loop_featureai.md +875 -0
- package/docs/specs/skill-aligned-decomposition.md +155 -0
- package/docs/specs/standards_integration_featureai.md +833 -0
- package/docs/specs/testing-system-redesign-2026-09.md +267 -0
- package/docs/specs/user_reality_testing_system_featureai.md +788 -0
- package/docs/specs/watch-triggers.json +22 -0
- package/docs/specs/workflow-integration-redesign.md +742 -0
- package/docs/specs/workflow_state_consistency_featureai.md +183 -0
- package/hooks/dist/pan-context-monitor.js +9 -2
- package/hooks/dist/pan-cost-logger.js +5 -0
- package/hooks/dist/pan-guard.js +28 -5
- package/hooks/dist/pan-stop-guard.js +9 -9
- package/hooks/dist/pan-trace-logger.js +5 -0
- package/package.json +10 -2
- package/pan-wizard-core/bin/lib/agents-md.cjs +57 -8
- package/pan-wizard-core/bin/lib/autodev-report.cjs +180 -0
- package/pan-wizard-core/bin/lib/autodev.cjs +642 -0
- package/pan-wizard-core/bin/lib/ci.cjs +143 -0
- package/pan-wizard-core/bin/lib/commands.cjs +1 -1
- package/pan-wizard-core/bin/lib/config.cjs +41 -5
- package/pan-wizard-core/bin/lib/constants.cjs +27 -1
- package/pan-wizard-core/bin/lib/core.cjs +31 -14
- package/pan-wizard-core/bin/lib/cost.cjs +160 -4
- package/pan-wizard-core/bin/lib/cross-family.cjs +164 -0
- package/pan-wizard-core/bin/lib/debug-cases.cjs +104 -0
- package/pan-wizard-core/bin/lib/doc-lint.cjs +5 -3
- package/pan-wizard-core/bin/lib/failure-class.cjs +81 -0
- package/pan-wizard-core/bin/lib/findings.cjs +148 -9
- package/pan-wizard-core/bin/lib/focus.cjs +1 -1
- package/pan-wizard-core/bin/lib/git.cjs +1 -1
- package/pan-wizard-core/bin/lib/hosts.cjs +88 -0
- package/pan-wizard-core/bin/lib/init.cjs +7 -2
- package/pan-wizard-core/bin/lib/knowledge.cjs +2 -0
- package/pan-wizard-core/bin/lib/merge.cjs +50 -0
- package/pan-wizard-core/bin/lib/mutate.cjs +268 -0
- package/pan-wizard-core/bin/lib/next-action.cjs +112 -0
- package/pan-wizard-core/bin/lib/optimize.cjs +2 -2
- package/pan-wizard-core/bin/lib/phase-gate.cjs +15 -9
- package/pan-wizard-core/bin/lib/phase-remove.cjs +91 -11
- package/pan-wizard-core/bin/lib/phase.cjs +85 -13
- package/pan-wizard-core/bin/lib/plan-lint.cjs +310 -0
- package/pan-wizard-core/bin/lib/preview.cjs +26 -4
- package/pan-wizard-core/bin/lib/requirements-lint.cjs +130 -0
- package/pan-wizard-core/bin/lib/research-lint.cjs +268 -0
- package/pan-wizard-core/bin/lib/review-deep.cjs +14 -22
- package/pan-wizard-core/bin/lib/review-vote.cjs +105 -0
- package/pan-wizard-core/bin/lib/roadmap.cjs +1 -0
- package/pan-wizard-core/bin/lib/runner.cjs +2 -16
- package/pan-wizard-core/bin/lib/sizing.cjs +356 -0
- package/pan-wizard-core/bin/lib/squads.cjs +1 -1
- package/pan-wizard-core/bin/lib/state-write.cjs +247 -0
- package/pan-wizard-core/bin/lib/test-gate.cjs +433 -0
- package/pan-wizard-core/bin/lib/uat.cjs +149 -0
- package/pan-wizard-core/bin/lib/usage.cjs +104 -0
- package/pan-wizard-core/bin/lib/verdict.cjs +26 -3
- package/pan-wizard-core/bin/lib/verify-plan-set.cjs +30 -1
- package/pan-wizard-core/bin/lib/verify-preflight.cjs +2 -2
- package/pan-wizard-core/bin/lib/verify-red.cjs +174 -0
- package/pan-wizard-core/bin/lib/verify-retro.cjs +3 -2
- package/pan-wizard-core/bin/lib/verify-scope.cjs +143 -2
- package/pan-wizard-core/bin/lib/verify.cjs +86 -31
- package/pan-wizard-core/bin/lib/worktree.cjs +70 -0
- package/pan-wizard-core/bin/pan-tools.cjs +257 -28
- package/pan-wizard-core/learnings/universal/autonomous-loop.md +2 -2
- package/pan-wizard-core/mcp/orchestrator.cjs +4 -1
- package/pan-wizard-core/references/continuation-format.md +3 -3
- package/pan-wizard-core/references/design-methodology.md +1 -1
- package/pan-wizard-core/references/guardrails.md +1 -1
- package/pan-wizard-core/references/handoff-decisions.md +1 -1
- package/pan-wizard-core/references/model-profiles.md +2 -3
- package/pan-wizard-core/references/questioning.md +24 -0
- package/pan-wizard-core/references/ui-brand.md +4 -6
- package/pan-wizard-core/references/verdict-contract.md +2 -1
- package/pan-wizard-core/templates/config.json +10 -2
- package/pan-wizard-core/templates/debug.md +1 -0
- package/pan-wizard-core/templates/design.md +5 -4
- package/pan-wizard-core/templates/discovery.md +2 -2
- package/pan-wizard-core/templates/phase-prompt.md +7 -0
- package/pan-wizard-core/templates/requirements.md +9 -0
- package/pan-wizard-core/templates/research.md +10 -0
- package/pan-wizard-core/templates/summary-complex.md +5 -1
- package/pan-wizard-core/templates/summary-minimal.md +4 -0
- package/pan-wizard-core/templates/summary-standard.md +5 -1
- package/pan-wizard-core/templates/summary.md +8 -1
- package/pan-wizard-core/workflows/add-phase.md +4 -6
- package/pan-wizard-core/workflows/assumptions.md +19 -1
- package/pan-wizard-core/workflows/diagnose-issues.md +2 -0
- package/pan-wizard-core/workflows/discuss-phase.md +4 -2
- package/pan-wizard-core/workflows/exec-lean.md +69 -0
- package/pan-wizard-core/workflows/exec-phase.md +79 -15
- package/pan-wizard-core/workflows/execute-plan.md +3 -1
- package/{commands/pan → pan-wizard-core/workflows}/focus-doc-audit.md +13 -29
- package/{commands/pan → pan-wizard-core/workflows}/focus-drift-walking.md +3 -18
- package/{commands/pan → pan-wizard-core/workflows}/focus-exec.md +8 -23
- package/{commands/pan → pan-wizard-core/workflows}/focus-plan.md +6 -20
- package/{commands/pan → pan-wizard-core/workflows}/focus-scan.md +3 -16
- package/{commands/pan → pan-wizard-core/workflows}/focus-sync.md +7 -21
- package/pan-wizard-core/workflows/health.md +6 -0
- package/pan-wizard-core/workflows/help.md +114 -77
- package/pan-wizard-core/workflows/insert-phase.md +4 -6
- package/pan-wizard-core/workflows/learn.md +3 -3
- package/pan-wizard-core/workflows/milestone-audit.md +2 -2
- package/pan-wizard-core/workflows/milestone-new.md +38 -95
- package/pan-wizard-core/workflows/new-project.md +96 -258
- package/pan-wizard-core/workflows/optimize.md +107 -5
- package/pan-wizard-core/workflows/phase-tests.md +10 -0
- package/pan-wizard-core/workflows/plan-phase.md +106 -45
- package/pan-wizard-core/workflows/profile.md +50 -0
- package/pan-wizard-core/workflows/progress.md +10 -0
- package/pan-wizard-core/workflows/quick.md +34 -43
- package/pan-wizard-core/workflows/remove-phase.md +11 -1
- package/pan-wizard-core/workflows/research-phase.md +118 -40
- package/pan-wizard-core/workflows/resume-project.md +18 -2
- package/pan-wizard-core/workflows/settings.md +33 -19
- package/pan-wizard-core/workflows/todo-check.md +6 -2
- package/pan-wizard-core/workflows/transition.md +22 -4
- package/pan-wizard-core/workflows/uat-walkthrough.md +90 -0
- package/pan-wizard-core/workflows/update.md +1 -1
- package/pan-wizard-core/workflows/verify-phase.md +39 -46
- package/scripts/build-agent-plugin.js +35 -15
- package/scripts/build-help.cjs +106 -0
- package/scripts/build-plugin.js +10 -1
- package/scripts/deprecate-old-versions.js +70 -3
- package/scripts/generate-skills-docs.py +1 -1
- package/scripts/git-hooks/pre-push +27 -0
- package/scripts/install-git-hooks.js +7 -5
- package/scripts/install-pre-push.cjs +38 -0
- package/scripts/land.cjs +151 -0
- package/scripts/local-ci.cjs +501 -0
- package/scripts/local-schedule.cjs +277 -0
- package/scripts/mutation-probe.cjs +7 -80
- package/scripts/prompt-lint.cjs +32 -0
- package/scripts/prompt-rules.cjs +156 -0
- package/scripts/run-tests.cjs +7 -1
- package/scripts/test-quality-lint.cjs +3 -3
- package/scripts/test-surface.cjs +175 -6
- package/agents/pan-research-synthesizer.md +0 -246
- package/commands/pan/audit-deployment.md +0 -386
- package/commands/pan/dashboard.md +0 -22
- package/commands/pan/discord.md +0 -19
- package/commands/pan/mcp-bridge.md +0 -143
- package/commands/pan/milestone-cleanup.md +0 -19
- package/commands/pan/milestone-gaps.md +0 -35
- package/commands/pan/optimize.md +0 -115
- package/commands/pan/profile.md +0 -76
- package/commands/pan/research-phase.md +0 -189
- package/pan-wizard-core/bin/lib/bridge.cjs +0 -269
- package/pan-wizard-core/templates/research-project/architecture.md +0 -204
- package/pan-wizard-core/templates/research-project/features.md +0 -147
- package/pan-wizard-core/templates/research-project/pitfalls.md +0 -200
- package/pan-wizard-core/templates/research-project/stack.md +0 -120
- package/pan-wizard-core/templates/research-project/summary.md +0 -170
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
# Custom Skills Assessment — featureAI Analysis
|
|
2
|
+
|
|
3
|
+
**Generated:** 2026-03-01
|
|
4
|
+
**Scope:** 15 custom files in `.claude/` (1 agent, 12 commands, 2 workflows)
|
|
5
|
+
**Method:** Multi-discipline featureAI review — Product, Architecture, Test, Security, Code Quality
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Inventory
|
|
10
|
+
|
|
11
|
+
| # | File | Type | LOC | Purpose |
|
|
12
|
+
|---|------|------|-----|---------|
|
|
13
|
+
| 1 | `agents/panmonty.md` | Agent | 309 | Structured 10-phase development orchestrator |
|
|
14
|
+
| 2 | `commands/build.md` | Command | 22 | Build hooks and verify output |
|
|
15
|
+
| 3 | `commands/check.md` | Command | 48 | Project health check (package, deps, tests, build, structure) |
|
|
16
|
+
| 4 | `commands/commit.md` | Command | 95 | Git commit with safety checks |
|
|
17
|
+
| 5 | `commands/enhance_skill.md` | Command | 137 | Meta-skill: 5-discipline expert review of featureAI itself |
|
|
18
|
+
| 6 | `commands/execplan.md` | Command | 346 | Automated plan execution pipeline with capacity budgeting |
|
|
19
|
+
| 7 | `commands/featureAI.md` | Command | 731 | Strategic feature investigation, design, and specification |
|
|
20
|
+
| 8 | `commands/panmonty.md` | Command | 27 | Launcher for the panmonty agent workflow |
|
|
21
|
+
| 9 | `commands/quick.md` | Command | 25 | Quick test run with file filtering |
|
|
22
|
+
| 10 | `commands/review.md` | Command | 23 | Code review via git diff |
|
|
23
|
+
| 11 | `commands/session-end.md` | Command | 62 | Session wrap-up: commit, memory bank update, summary |
|
|
24
|
+
| 12 | `commands/session-start.md` | Command | 60 | Session init: load memory, check status, orient |
|
|
25
|
+
| 13 | `commands/superplan.md` | Command | 304 | Strategic work plan generator with priority/reality scoring |
|
|
26
|
+
| 14 | `commands/sync.md` | Command | 57 | Documentation synchronization |
|
|
27
|
+
| 15 | `commands/test.md` | Command | 67 | Test suite runner with filtering |
|
|
28
|
+
| 16 | `workflows/panmonty_protocol.md` | Workflow | 458 | Full 10-phase implementation protocol |
|
|
29
|
+
| 17 | `workflows/panmontytest_protocol.md` | Workflow | 164 | 9-phase test engineering protocol |
|
|
30
|
+
|
|
31
|
+
**Total:** ~2,935 LOC of custom orchestration logic
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Per-Skill Deep Dive
|
|
36
|
+
|
|
37
|
+
### 1. PanMonty Agent + Protocol + Launcher (3 files)
|
|
38
|
+
|
|
39
|
+
**Files:** `agents/panmonty.md`, `commands/panmonty.md`, `workflows/panmonty_protocol.md`
|
|
40
|
+
|
|
41
|
+
**What it does:**
|
|
42
|
+
- 10-phase structured development workflow: Batch Plan -> Init -> Understand -> Plan -> Implement -> Test Create -> Quick Test -> Full Test -> Fix -> Document -> Simplify -> Ship
|
|
43
|
+
- Adaptive tier system: MICRO (XS/S skip everything), STANDARD (skip some phases), FULL (all phases)
|
|
44
|
+
- Change category detection: DOCS_ONLY, TESTS_ONLY, LIB_CHANGE, HOOK_CHANGE, FULL_FEATURE
|
|
45
|
+
- Status tracking via `panmonty_status.md` with checkpointing and resume
|
|
46
|
+
- Rollback snapshots via git tags
|
|
47
|
+
- Memory bank integration (sessionHistory, error_patterns, context)
|
|
48
|
+
- Parallel processing for independent MICRO items
|
|
49
|
+
|
|
50
|
+
**Overlap with shipped PAN:**
|
|
51
|
+
|
|
52
|
+
| PanMonty Capability | PAN Equivalent | Gap |
|
|
53
|
+
|---------------------|----------------|-----|
|
|
54
|
+
| Phase lifecycle | `/pan:execute-phase` | PAN has wave-based parallelism; PanMonty has tier-based shortcuts |
|
|
55
|
+
| Status tracking | state.md + pan-tools state | PanMonty uses its own `panmonty_status.md` |
|
|
56
|
+
| Batch planning | None | PAN has no capacity budgeting or batch sizing |
|
|
57
|
+
| Tier assignment | None | PAN treats all work as same tier |
|
|
58
|
+
| Rollback snapshots | None | PAN has no git tag snapshots |
|
|
59
|
+
| Error pattern capture | None | PAN has no error pattern learning |
|
|
60
|
+
| Resume from checkpoint | `/pan:resume-work` | Similar, PanMonty is more granular (step-level) |
|
|
61
|
+
|
|
62
|
+
**Integration Recommendation: HIGH VALUE**
|
|
63
|
+
|
|
64
|
+
PanMonty's **adaptive tier system** and **batch capacity budgeting** are the highest-value additions. PAN's current workflow treats every task as FULL, which is wasteful for XS/S items. Adding tier detection would make PAN significantly faster for mixed-size work.
|
|
65
|
+
|
|
66
|
+
**What to build:**
|
|
67
|
+
1. **Tier detection** in `init.cjs` — classify by change category (docs-only, tests-only, lib-change, full-feature)
|
|
68
|
+
2. **Batch capacity budgeting** — new `budget` command in `commands.cjs` with XS=1/S=2/M=4/L=10/XL=20 point system
|
|
69
|
+
3. **Rollback snapshots** — `git tag` before execution, referenced in state.md
|
|
70
|
+
4. **Error pattern capture** — append to `.planning/patterns/error-patterns.md`
|
|
71
|
+
|
|
72
|
+
**What NOT to build:** The `panmonty_status.md` tracker — PAN already has state.md and plan.md doing this job.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### 2. ExecPlan (1 file)
|
|
77
|
+
|
|
78
|
+
**File:** `commands/execplan.md`
|
|
79
|
+
|
|
80
|
+
**What it does:**
|
|
81
|
+
- 6-stage automated pipeline: Session Start -> Plan Loading -> Execution -> Verification -> Sync -> Session End
|
|
82
|
+
- Reads from superplan files (`.planning/superplan_*.md`)
|
|
83
|
+
- Capacity budget system with 4 execution modes: bugfix, balanced, features, full
|
|
84
|
+
- AI behavioral rules (read-before-write, root-cause-only, one-change-one-test, revert-fast)
|
|
85
|
+
- Progress tracking via `panmonty_status.md`
|
|
86
|
+
- Flags: `--budget`, `--mode`, `--priority`, `--dry-run`, `--no-commit`, `--continue`
|
|
87
|
+
|
|
88
|
+
**Overlap with shipped PAN:**
|
|
89
|
+
|
|
90
|
+
| ExecPlan Capability | PAN Equivalent | Gap |
|
|
91
|
+
|---------------------|----------------|-----|
|
|
92
|
+
| Execute plans | `/pan:execute-phase` | PAN executes plan.md files; ExecPlan executes superplan items |
|
|
93
|
+
| Capacity budgeting | None | PAN has no budget limiting |
|
|
94
|
+
| Execution modes | None | PAN has no mode switching (bugfix vs features) |
|
|
95
|
+
| Dry-run | None | PAN has no dry-run for execution |
|
|
96
|
+
| Session lifecycle | `/pan:resume-work` + `/pan:pause-work` | ExecPlan wraps both into a single pipeline |
|
|
97
|
+
| AI behavioral rules | Agent .md prompts | PAN embeds rules in agent prompts; ExecPlan is more explicit |
|
|
98
|
+
| Doc sync stage | None | PAN relies on manual /sync |
|
|
99
|
+
|
|
100
|
+
**Integration Recommendation: MEDIUM-HIGH VALUE**
|
|
101
|
+
|
|
102
|
+
The **execution modes** and **dry-run** capability are genuinely useful. The concept of a "superplan" (prioritized work plan separate from roadmap.md) fills a gap — PAN's roadmap.md is phase-level, not item-level within a phase.
|
|
103
|
+
|
|
104
|
+
**What to build:**
|
|
105
|
+
1. **Execution modes** as a config option: `workflow.execution_mode: bugfix|balanced|features|full`
|
|
106
|
+
2. **Dry-run flag** for `/pan:execute-phase` — show what would execute without doing it
|
|
107
|
+
3. **Auto-sync stage** — run doc sync after phase execution completes
|
|
108
|
+
4. **Budget limiting** — stop execution when context or time budget is exhausted
|
|
109
|
+
|
|
110
|
+
**What NOT to build:** The superplan file format — it's redundant with plan.md. Instead, integrate budget/mode into the existing plan.md wave system.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
### 3. SuperPlan (1 file)
|
|
115
|
+
|
|
116
|
+
**File:** `commands/superplan.md`
|
|
117
|
+
|
|
118
|
+
**What it does:**
|
|
119
|
+
- Deep-dive strategic work plan generator
|
|
120
|
+
- 7-phase process: Orientation -> Priority Classification -> Strategic Context -> Item Collection -> Effort Estimation -> Plan Assembly -> Validation
|
|
121
|
+
- Priority framework: P0 (crash) through P6 (documentation)
|
|
122
|
+
- Reality Score formula: RS = (User Value + Time Criticality + Risk Reduction) / Job Size
|
|
123
|
+
- Scans codebase for TODO/FIXME, cross-references tests vs implementations
|
|
124
|
+
- Outputs `.planning/superplan_YYYY-MM-DD.md`
|
|
125
|
+
- Flags: `--focus`, `--quick`, `--refresh`, `--lean`
|
|
126
|
+
|
|
127
|
+
**Overlap with shipped PAN:**
|
|
128
|
+
|
|
129
|
+
| SuperPlan Capability | PAN Equivalent | Gap |
|
|
130
|
+
|----------------------|----------------|-----|
|
|
131
|
+
| Priority classification | None | PAN has no priority framework |
|
|
132
|
+
| Reality scoring | None | PAN has no cost-benefit analysis |
|
|
133
|
+
| TODO/FIXME scanning | `list-todos` command | PAN scans `.planning/todos/`, not codebase |
|
|
134
|
+
| Effort estimation | None | PAN has no sizing system |
|
|
135
|
+
| Work plan generation | roadmap.md + plan.md | PAN plans are per-phase, not cross-phase |
|
|
136
|
+
| Baseline snapshot | `progress health` | Similar concept, less detailed |
|
|
137
|
+
|
|
138
|
+
**Integration Recommendation: MEDIUM VALUE**
|
|
139
|
+
|
|
140
|
+
The **Reality Score** framework is intellectually interesting but adds significant complexity. The **priority framework** (P0-P6) and **TODO/FIXME scanning** are practical wins.
|
|
141
|
+
|
|
142
|
+
**What to build:**
|
|
143
|
+
1. **Codebase TODO scanning** — extend `list-todos` to also scan source files for TODO/FIXME/HACK
|
|
144
|
+
2. **Priority classification** — add optional `priority: P0-P6` to plan.md frontmatter
|
|
145
|
+
3. **Effort sizing** — add optional `effort: XS|S|M|L|XL` to plan.md frontmatter
|
|
146
|
+
|
|
147
|
+
**What NOT to build:** The Reality Score formula — it requires subjective scoring that AI agents can't reliably produce. Priority + effort is sufficient.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
### 4. FeatureAI (1 file)
|
|
152
|
+
|
|
153
|
+
**File:** `commands/featureAI.md`
|
|
154
|
+
|
|
155
|
+
**What it does:**
|
|
156
|
+
- 11-phase strategic feature specification pipeline
|
|
157
|
+
- Phase 0: Problem framing + demand validation (evidence gathering, cannibalization check, cognitive load assessment)
|
|
158
|
+
- Phase 1: Internal reconnaissance (codebase search, convention checklist)
|
|
159
|
+
- Phase 2: Competitive intelligence (6-tool deep dive, competitive matrix)
|
|
160
|
+
- Phase 3: Strategic analysis (Blue Ocean framework, Wardley mapping, moat analysis)
|
|
161
|
+
- Phase 3.5: Architecture assessment (layer violations, contract-first design, state transitions, breaking changes, performance budget)
|
|
162
|
+
- Phase 4: Design synthesis (guide-level + reference-level explanation, feature ladder v0/v1/v2)
|
|
163
|
+
- Phases 5-9: ADR, error handling, security, implementation roadmap, test plan
|
|
164
|
+
- Phase 10: Output artifacts (spec file, ADR, summary)
|
|
165
|
+
- Flags: `--gate`, `--quick`, `--audit`, `--mvp`
|
|
166
|
+
|
|
167
|
+
**Overlap with shipped PAN:**
|
|
168
|
+
|
|
169
|
+
| FeatureAI Capability | PAN Equivalent | Gap |
|
|
170
|
+
|----------------------|----------------|-----|
|
|
171
|
+
| Feature specification | `/pan:discuss-phase` + `/pan:plan-phase` | PAN does phase-level; featureAI does feature-level |
|
|
172
|
+
| Competitive research | `pan-project-researcher` agent | Agent does domain research; featureAI does competitive analysis |
|
|
173
|
+
| ADR generation | None | PAN has no ADR workflow |
|
|
174
|
+
| Security threat model | None | PAN has no security assessment |
|
|
175
|
+
| Test plan generation | `/pan:add-tests` | PAN generates tests; featureAI designs test strategy |
|
|
176
|
+
| Feature ladder (v0/v1/v2) | None | PAN has no incremental delivery planning |
|
|
177
|
+
|
|
178
|
+
**Integration Recommendation: HIGH VALUE**
|
|
179
|
+
|
|
180
|
+
FeatureAI is the most sophisticated skill in the collection. Its **demand validation**, **competitive intelligence**, **architecture assessment**, and **feature ladder** concepts fill real gaps in PAN's workflow.
|
|
181
|
+
|
|
182
|
+
**What to build:**
|
|
183
|
+
1. **`/pan:design-feature` command** — A new command that runs the featureAI pipeline adapted to PAN's file structure
|
|
184
|
+
2. **ADR generation** — new `template fill adr` command that scaffolds ADR files
|
|
185
|
+
3. **Competitive research** — enhance `pan-project-researcher` to include competitive analysis
|
|
186
|
+
4. **Feature ladder** in plan.md frontmatter — `delivery: [v0, v1, v2]` with scope per version
|
|
187
|
+
5. **Architecture assessment checklist** — new `verify architecture` command checking layer violations
|
|
188
|
+
|
|
189
|
+
**What NOT to build:** The full 11-phase pipeline as-is — too heavyweight for most features. Adapt the best parts into PAN's existing phase workflow.
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
### 5. Enhance Skill (1 file)
|
|
194
|
+
|
|
195
|
+
**File:** `commands/enhance_skill.md`
|
|
196
|
+
|
|
197
|
+
**What it does:**
|
|
198
|
+
- Meta-skill that enhances featureAI.md itself using 5 expert perspectives
|
|
199
|
+
- Product Architect: demand validation, adoption friction, cognitive load
|
|
200
|
+
- System Architect: layer violations, contract-first design, state machines, composability
|
|
201
|
+
- Test Engineer: test pyramid enforcement, mutation testing readiness, boundary value analysis
|
|
202
|
+
- Security Engineer: threat model, path traversal, deserialization safety, privilege boundaries
|
|
203
|
+
- Senior Engineer: convention enforcement, cognitive complexity budget, error message style guide
|
|
204
|
+
|
|
205
|
+
**Overlap with shipped PAN:** None — this is a meta-skill for improving other skills.
|
|
206
|
+
|
|
207
|
+
**Integration Recommendation: LOW (Meta-tool)**
|
|
208
|
+
|
|
209
|
+
This is a valuable tool for PAN Wizard's own development but shouldn't ship as a user-facing feature. Its content has already been absorbed into `featureAI.md`.
|
|
210
|
+
|
|
211
|
+
**What to build:** Nothing for users. Keep as an internal development tool.
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
### 6. Session Start + Session End (2 files)
|
|
216
|
+
|
|
217
|
+
**Files:** `commands/session-start.md`, `commands/session-end.md`
|
|
218
|
+
|
|
219
|
+
**What they do:**
|
|
220
|
+
- **session-start:** Load memory bank files (context, progress, sessionHistory, error_patterns), check project status, test baseline, suggest next actions
|
|
221
|
+
- **session-end:** Handle uncommitted work (commit/stash/wip), run final tests, update memory bank, generate session summary
|
|
222
|
+
|
|
223
|
+
**Overlap with shipped PAN:**
|
|
224
|
+
|
|
225
|
+
| Session Capability | PAN Equivalent | Gap |
|
|
226
|
+
|--------------------|----------------|-----|
|
|
227
|
+
| Load context | `/pan:resume-work` | PAN loads state.md; session-start loads broader memory bank |
|
|
228
|
+
| Save context | `/pan:pause-work` | PAN saves to state.md; session-end writes to memory bank |
|
|
229
|
+
| Error patterns | None | PAN has no error pattern learning |
|
|
230
|
+
| Session history | None | PAN tracks decisions in state.md but not session history |
|
|
231
|
+
|
|
232
|
+
**Integration Recommendation: MEDIUM VALUE**
|
|
233
|
+
|
|
234
|
+
The **memory bank** concept (context.md, progress.md, sessionHistory.md, error_patterns.md) is a lightweight alternative to PAN's state.md for projects that don't use full PAN planning. The session lifecycle wrapping is useful.
|
|
235
|
+
|
|
236
|
+
**What to build:**
|
|
237
|
+
1. **Session history** — extend `state record-session` to also append to a session history log
|
|
238
|
+
2. **Error pattern capture** — new command `state add-pattern` that records error patterns with wrong/right/root-cause
|
|
239
|
+
3. **Session summary** in `/pan:pause-work` — auto-generate a summary of what was accomplished
|
|
240
|
+
|
|
241
|
+
**What NOT to build:** Separate memory bank files — integrate into existing state.md sections.
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
### 7. Commit (1 file)
|
|
246
|
+
|
|
247
|
+
**File:** `commands/commit.md`
|
|
248
|
+
|
|
249
|
+
**What it does:**
|
|
250
|
+
- 6-step git commit workflow with safety checks
|
|
251
|
+
- Step 1: Check for deleted files (prompt user) and sensitive files (.env, .pem, .key)
|
|
252
|
+
- Step 2: Review changes (git status, diff)
|
|
253
|
+
- Step 3: Run tests (skip for .md-only changes)
|
|
254
|
+
- Step 4: Stage specific files, commit with conventional commit types
|
|
255
|
+
- Step 5: Verify commit
|
|
256
|
+
- Step 6: Push (only if asked)
|
|
257
|
+
|
|
258
|
+
**Overlap with shipped PAN:**
|
|
259
|
+
|
|
260
|
+
| Commit Capability | PAN Equivalent | Gap |
|
|
261
|
+
|-------------------|----------------|-----|
|
|
262
|
+
| Git commit | `pan-tools commit` | PAN commits `.planning/` only; this commits anything |
|
|
263
|
+
| Safety checks | None | PAN has no deleted-file or sensitive-file checks |
|
|
264
|
+
| Test-before-commit | None | PAN doesn't run tests before committing |
|
|
265
|
+
| Conventional commits | None | PAN doesn't enforce commit message types |
|
|
266
|
+
| Smart skip | None | PAN doesn't skip tests for docs-only changes |
|
|
267
|
+
|
|
268
|
+
**Integration Recommendation: MEDIUM-HIGH VALUE**
|
|
269
|
+
|
|
270
|
+
The **safety checks** (deleted files, sensitive files) and **smart test skipping** are immediately useful. The commit command enriches PAN's existing `pan-tools commit`.
|
|
271
|
+
|
|
272
|
+
**What to build:**
|
|
273
|
+
1. **Safety checks** in `commands.cjs cmdCommit()` — check for deleted files and sensitive file patterns before committing
|
|
274
|
+
2. **Smart test detection** — if only `.md` files changed, skip test requirement
|
|
275
|
+
3. **Conventional commit type** — add `--type feat|fix|docs|test|refactor|chore` flag to `pan-tools commit`
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
### 8. Check (1 file)
|
|
280
|
+
|
|
281
|
+
**File:** `commands/check.md`
|
|
282
|
+
|
|
283
|
+
**What it does:**
|
|
284
|
+
- 7-step project health check: package validity, dependencies, tests, build, file structure, cross-references, report
|
|
285
|
+
- Verifies commands/agents/modules/hooks counts match expectations
|
|
286
|
+
|
|
287
|
+
**Overlap with shipped PAN:**
|
|
288
|
+
|
|
289
|
+
| Check Capability | PAN Equivalent | Gap |
|
|
290
|
+
|------------------|----------------|-----|
|
|
291
|
+
| Project health | `validate health` | PAN checks `.planning/` only; check validates the whole project |
|
|
292
|
+
| Test run | None in validate | PAN validate doesn't run tests |
|
|
293
|
+
| Build verification | None | PAN has no build check |
|
|
294
|
+
| Cross-reference | `validate consistency` | Similar concept, different scope |
|
|
295
|
+
|
|
296
|
+
**Integration Recommendation: MEDIUM VALUE**
|
|
297
|
+
|
|
298
|
+
This is essentially a superset of `validate health` that also checks the codebase (not just `.planning/`). Merging would give PAN a single comprehensive health command.
|
|
299
|
+
|
|
300
|
+
**What to build:**
|
|
301
|
+
1. **Extended health check** — add `validate health --full` that also checks test suite, build, and file structure integrity
|
|
302
|
+
2. **Cross-reference check** — verify pan-tools.cjs routes match documented commands
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
### 9. Build, Quick, Test, Review, Sync (5 files)
|
|
307
|
+
|
|
308
|
+
**Files:** `commands/build.md`, `commands/quick.md`, `commands/test.md`, `commands/review.md`, `commands/sync.md`
|
|
309
|
+
|
|
310
|
+
**What they do:**
|
|
311
|
+
- **build:** Run `npm run build:hooks`, verify output, run tests
|
|
312
|
+
- **quick:** Quick `npm test` with file filtering
|
|
313
|
+
- **test:** Full test suite with `--file` and `--verbose` flags
|
|
314
|
+
- **review:** Code review via git diff with PAN-specific checklist
|
|
315
|
+
- **sync:** Documentation synchronization across README, commands, agents
|
|
316
|
+
|
|
317
|
+
**Overlap with shipped PAN:**
|
|
318
|
+
|
|
319
|
+
| Command | PAN Equivalent | Assessment |
|
|
320
|
+
|---------|----------------|------------|
|
|
321
|
+
| build | None | PAN has no build command |
|
|
322
|
+
| quick | `/pan:quick` | PAN's quick is a full task workflow; this is just test running |
|
|
323
|
+
| test | None | PAN has no test runner command |
|
|
324
|
+
| review | None | PAN has no code review command |
|
|
325
|
+
| sync | None | PAN has no doc sync command |
|
|
326
|
+
|
|
327
|
+
**Integration Recommendation: LOW-MEDIUM VALUE**
|
|
328
|
+
|
|
329
|
+
These are **project-specific developer tools**, not generic workflow capabilities. They're valuable for PAN Wizard development but wouldn't generalize to user projects.
|
|
330
|
+
|
|
331
|
+
**What to build:** None of these as shipped commands. They're development helpers, not workflow automation.
|
|
332
|
+
|
|
333
|
+
**Exception:** The **sync** concept (cross-referencing docs against code) could become a generic `validate docs` command, but it would need significant generalization.
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
### 10. PanMontyTest Protocol (1 file)
|
|
338
|
+
|
|
339
|
+
**File:** `workflows/panmontytest_protocol.md`
|
|
340
|
+
|
|
341
|
+
**What it does:**
|
|
342
|
+
- 9-phase test engineering workflow: Init -> Analysis -> Planning -> Audit -> Fix -> Expansion -> Verification -> Documentation -> Cleanup -> Summary
|
|
343
|
+
- Gap analysis: compares implemented features vs existing tests
|
|
344
|
+
- Test validation audit: checks if existing tests actually catch bugs (mental mutation testing)
|
|
345
|
+
- Coverage expansion: fills identified gaps
|
|
346
|
+
|
|
347
|
+
**Overlap with shipped PAN:**
|
|
348
|
+
|
|
349
|
+
| PanMontyTest Capability | PAN Equivalent | Gap |
|
|
350
|
+
|-------------------------|----------------|-----|
|
|
351
|
+
| Test gap analysis | None | PAN has no test coverage analysis |
|
|
352
|
+
| Test audit | None | PAN has no test quality verification |
|
|
353
|
+
| Coverage expansion | `/pan:add-tests` | PAN generates tests but doesn't analyze gaps first |
|
|
354
|
+
| Verification loop | `pan-verifier` agent | Similar concept, different scope |
|
|
355
|
+
|
|
356
|
+
**Integration Recommendation: MEDIUM VALUE**
|
|
357
|
+
|
|
358
|
+
The **gap analysis** and **test audit** concepts would strengthen PAN's `/pan:add-tests` command. Currently PAN generates tests blindly; PanMontyTest analyzes what's missing first.
|
|
359
|
+
|
|
360
|
+
**What to build:**
|
|
361
|
+
1. **Test gap analysis** — extend `verify phase-completeness` to also check test coverage
|
|
362
|
+
2. **Test quality audit** — new `verify test-quality` command checking assertion density
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Strategic Summary
|
|
367
|
+
|
|
368
|
+
### Tier 1: Build Into PAN (High Value, Clear Integration Path)
|
|
369
|
+
|
|
370
|
+
| Capability | Source Skill | Integration Target | Effort |
|
|
371
|
+
|------------|-------------|-------------------|--------|
|
|
372
|
+
| Adaptive tier system (MICRO/STANDARD/FULL) | PanMonty | `init.cjs` + execute-phase workflow | L |
|
|
373
|
+
| Batch capacity budgeting | PanMonty + ExecPlan | New `budget` module or extend `commands.cjs` | M |
|
|
374
|
+
| Feature design pipeline | FeatureAI | New `/pan:design-feature` command | L |
|
|
375
|
+
| ADR generation | FeatureAI | `template fill adr` + new template | S |
|
|
376
|
+
| Commit safety checks | Commit | `commands.cjs cmdCommit()` | S |
|
|
377
|
+
| Conventional commit types | Commit | `commands.cjs cmdCommit()` | XS |
|
|
378
|
+
|
|
379
|
+
**Total Tier 1:** ~2 L + 1 M + 2 S + 1 XS = significant but achievable in 2-3 phases
|
|
380
|
+
|
|
381
|
+
### Tier 2: Build Into PAN (Medium Value, Some Design Needed)
|
|
382
|
+
|
|
383
|
+
| Capability | Source Skill | Integration Target | Effort |
|
|
384
|
+
|------------|-------------|-------------------|--------|
|
|
385
|
+
| Execution modes (bugfix/balanced/features) | ExecPlan | Config option + execute-phase workflow | M |
|
|
386
|
+
| Dry-run for execution | ExecPlan | `/pan:execute-phase --dry-run` | S |
|
|
387
|
+
| Codebase TODO scanning | SuperPlan | Extend `list-todos` | S |
|
|
388
|
+
| Priority + effort in plan.md | SuperPlan | Frontmatter schema extension | XS |
|
|
389
|
+
| Session history logging | Session Start/End | Extend `state record-session` | S |
|
|
390
|
+
| Error pattern capture | PanMonty + Session End | New `state add-pattern` command | S |
|
|
391
|
+
| Extended health check | Check | `validate health --full` | M |
|
|
392
|
+
| Test gap analysis | PanMontyTest | Extend `verify phase-completeness` | M |
|
|
393
|
+
| Rollback snapshots | PanMonty | Git tag in execute-phase | S |
|
|
394
|
+
| Architecture layer checker | FeatureAI | New `verify architecture` | M |
|
|
395
|
+
|
|
396
|
+
**Total Tier 2:** ~4 M + 5 S + 1 XS
|
|
397
|
+
|
|
398
|
+
### Tier 3: Don't Ship (Internal-Only or Low Generalization)
|
|
399
|
+
|
|
400
|
+
| Capability | Reason |
|
|
401
|
+
|------------|--------|
|
|
402
|
+
| Enhance Skill | Meta-tool for PAN development, not user-facing |
|
|
403
|
+
| Build command | Project-specific (npm run build:hooks) |
|
|
404
|
+
| Quick command | Just runs npm test — too trivial to ship |
|
|
405
|
+
| Test command | Project-specific test runner |
|
|
406
|
+
| Review command | Too simple, users have their own review tools |
|
|
407
|
+
| SuperPlan Reality Score formula | Requires subjective scoring AI can't reliably produce |
|
|
408
|
+
| PanMonty status tracker file | Redundant with state.md |
|
|
409
|
+
| Separate memory bank files | Integrate into state.md instead |
|
|
410
|
+
|
|
411
|
+
---
|
|
412
|
+
|
|
413
|
+
## Cognitive Load Assessment
|
|
414
|
+
|
|
415
|
+
| Metric | Current | After Tier 1 | After Tier 1+2 |
|
|
416
|
+
|--------|---------|-------------|----------------|
|
|
417
|
+
| Commands users must learn | 32 | 34 (+2) | 37 (+5) |
|
|
418
|
+
| New concepts introduced | 0 | 3 (tiers, budgets, ADR) | 6 (+modes, patterns, priority) |
|
|
419
|
+
| Complexity score | -- | +1 (adds complexity) | +1 (adds complexity) |
|
|
420
|
+
|
|
421
|
+
**Justification:** Each addition serves a distinct workflow need. Tiers simplify the common case (MICRO skips overhead). Budgets prevent context window exhaustion. ADRs document decisions that otherwise get lost.
|
|
422
|
+
|
|
423
|
+
---
|
|
424
|
+
|
|
425
|
+
## Implementation Recommendation
|
|
426
|
+
|
|
427
|
+
### Phase 1: Low-Hanging Fruit (S-M effort, immediate value)
|
|
428
|
+
|
|
429
|
+
1. **Commit safety checks** — add deleted-file and sensitive-file detection to `cmdCommit()`
|
|
430
|
+
2. **Conventional commit types** — add `--type` flag to `pan-tools commit`
|
|
431
|
+
3. **ADR template** — add `template fill adr` command
|
|
432
|
+
4. **Priority + effort frontmatter** — extend plan.md schema with optional `priority` and `effort` fields
|
|
433
|
+
5. **Codebase TODO scanning** — extend `list-todos` to also search source for TODO/FIXME
|
|
434
|
+
|
|
435
|
+
### Phase 2: Core Workflow Enhancements (M-L effort)
|
|
436
|
+
|
|
437
|
+
6. **Adaptive tier detection** — classify work into MICRO/STANDARD/FULL based on file change scope
|
|
438
|
+
7. **Batch capacity budgeting** — budget-aware execution that stops at capacity
|
|
439
|
+
8. **Execution dry-run** — `--dry-run` flag for execute-phase
|
|
440
|
+
9. **Rollback snapshots** — git tag before execution
|
|
441
|
+
10. **Error pattern capture** — `state add-pattern` command
|
|
442
|
+
|
|
443
|
+
### Phase 3: Advanced Features (L effort)
|
|
444
|
+
|
|
445
|
+
11. **`/pan:design-feature` command** — adapted featureAI pipeline for PAN projects
|
|
446
|
+
12. **Architecture layer checker** — `verify architecture` for layer violation detection
|
|
447
|
+
13. **Test gap analysis** — coverage analysis in verify commands
|
|
448
|
+
14. **Execution modes** — bugfix/balanced/features config option
|
|
449
|
+
|
|
450
|
+
---
|
|
451
|
+
|
|
452
|
+
## Cannibalization Risk
|
|
453
|
+
|
|
454
|
+
| New Capability | Existing Command at Risk | Mitigation |
|
|
455
|
+
|----------------|-------------------------|------------|
|
|
456
|
+
| Design-feature | `/pan:discuss-phase` + `/pan:plan-phase` | Design-feature is pre-phase; discuss/plan remain for phase-level work |
|
|
457
|
+
| Extended health | `validate health` | Add as `--full` flag, not a new command |
|
|
458
|
+
| TODO scanning | `list-todos` | Extend existing command, don't create new one |
|
|
459
|
+
| None others | -- | All additions are net-new or flag extensions |
|
|
460
|
+
|
|
461
|
+
**Verdict:** Zero cannibalization risk. All Tier 1-2 items are either extensions of existing commands or genuinely new capabilities.
|