pan-wizard 3.36.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 +36 -48
- 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 +1 -2
- package/agents/pan-document_code.md +1 -2
- package/agents/pan-hardener.md +2 -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 +79 -488
- package/agents/pan-plan-checker.md +12 -2
- package/agents/pan-planner.md +10 -6
- package/agents/pan-previewer.md +1 -2
- package/agents/pan-project-researcher.md +70 -499
- package/agents/pan-release.md +1 -1
- package/agents/pan-reviewer.md +9 -3
- package/agents/pan-roadmapper.md +12 -7
- package/agents/pan-verifier.md +7 -2
- 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/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/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 +31 -2
- package/pan-wizard-core/bin/lib/constants.cjs +27 -1
- package/pan-wizard-core/bin/lib/core.cjs +22 -10
- package/pan-wizard-core/bin/lib/cost.cjs +14 -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/failure-class.cjs +81 -0
- package/pan-wizard-core/bin/lib/findings.cjs +34 -4
- package/pan-wizard-core/bin/lib/focus.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 +16 -5
- 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.cjs +48 -4
- package/pan-wizard-core/bin/lib/plan-lint.cjs +150 -1
- package/pan-wizard-core/bin/lib/preview.cjs +23 -4
- package/pan-wizard-core/bin/lib/requirements-lint.cjs +130 -0
- package/pan-wizard-core/bin/lib/research-lint.cjs +150 -3
- 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/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/uat.cjs +149 -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 +37 -1
- package/pan-wizard-core/bin/lib/verify-retro.cjs +3 -2
- package/pan-wizard-core/bin/lib/verify.cjs +59 -4
- package/pan-wizard-core/bin/lib/worktree.cjs +70 -0
- package/pan-wizard-core/bin/pan-tools.cjs +168 -27
- package/pan-wizard-core/learnings/universal/autonomous-loop.md +2 -2
- package/pan-wizard-core/references/continuation-format.md +3 -3
- package/pan-wizard-core/references/guardrails.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 +5 -1
- package/pan-wizard-core/templates/debug.md +1 -0
- package/pan-wizard-core/templates/discovery.md +2 -2
- package/pan-wizard-core/templates/requirements.md +9 -0
- 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 +36 -8
- 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 +31 -53
- 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 +86 -43
- 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/research-phase.md +118 -40
- package/pan-wizard-core/workflows/resume-project.md +18 -2
- package/pan-wizard-core/workflows/settings.md +21 -24
- 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 +2 -2
- package/scripts/build-agent-plugin.js +35 -15
- 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/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 +9 -2
- 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 -210
- package/pan-wizard-core/templates/research-project/features.md +0 -153
- package/pan-wizard-core/templates/research-project/pitfalls.md +0 -206
- package/pan-wizard-core/templates/research-project/stack.md +0 -126
- package/pan-wizard-core/templates/research-project/summary.md +0 -170
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# PAN Wizard Improvement TODO
|
|
2
|
+
|
|
3
|
+
This document turns the April 2026 project review into an actionable improvement backlog. It focuses on release safety, documentation trust, installer reliability, and long-term maintainability.
|
|
4
|
+
|
|
5
|
+
> **June 2026 update:** a follow-up ecosystem review with time-critical items (Gemini→Antigravity transition, model-table staleness, runtime format migrations, skills-standard convergence) lives in [ECOSYSTEM-REVIEW-2026-06.md](ECOSYSTEM-REVIEW-2026-06.md). Items there are proposals until promoted into this backlog or an ADR.
|
|
6
|
+
|
|
7
|
+
> **September 2026 update:** an interim market-delta scan (checked on `2026-09-10`, four weeks after the August ecosystem review) found one standard the August review missed — Agent Plugins, a vendor-neutral plugin bundle that Copilot CLI, Codex and Antigravity now load natively — plus a stale rate row for the current default Claude model and a plugin build that omits the native workflows. The prioritised queue lives in [specs/market-delta-2026-09-superplan.md](specs/market-delta-2026-09-superplan.md); items there are proposals until executed.
|
|
8
|
+
|
|
9
|
+
> **September 2026 reality check (`2026-09-10`):** the first run of the `/reality-check` dev skill re-verified the same-day scan against primary sources and a packed install into all five runtimes. It found the scan's "no release since May" claim wrong for BMAD and for GSD (which continues as gsd-core and is PAN's closest peer), a wrong rationale for the flagship bump (the newest Fable-tier model is what the `fable` and `best` aliases resolve to, not any plan's default), a `validate health` verdict that exits 0 when broken, and a comparison matrix whose "no competitor" claims no longer hold. Findings and the sized queue live in the addendum of [specs/market-delta-2026-09-superplan.md](specs/market-delta-2026-09-superplan.md); the narrative is section 9 of [ECOSYSTEM-REVIEW-2026-08.md](ECOSYSTEM-REVIEW-2026-08.md), and the detailed execution plan is [specs/reality-check-2026-09-superplan.md](specs/reality-check-2026-09-superplan.md).
|
|
10
|
+
|
|
11
|
+
> **September 2026 market idea scan (`2026-09-21`):** the first run of the `/market-ideas` dev skill swept the five host tools, the direct peers, new entrants and the standards for ideas PAN should take, and triaged them against the code and a new ideas ledger so no idea is proposed twice and no rejected idea returns without a new fact. The ledger is [specs/market-ideas-ledger.md](specs/market-ideas-ledger.md); the sized queue for this run is [specs/market-ideas-2026-09.md](specs/market-ideas-2026-09.md). Items there are proposals until executed.
|
|
12
|
+
|
|
13
|
+
> **September 2026 reality check (`2026-09-22`, executed `2026-09-23`):** the second run of `/reality-check` found the default Claude model priced at its predecessor's rate, Gemini and OpenAI rate rows that had never matched their pricing pages, routing tiers that named no real model, Gemini CLI hooks registered under event names Gemini does not have, and a unified-skills install that left Claude Code with no commands. The queue that fixed them, and the follow-ups it found, are the second addendum of [specs/market-delta-2026-09-superplan.md](specs/market-delta-2026-09-superplan.md); the narrative is section 10 of [ECOSYSTEM-REVIEW-2026-08.md](ECOSYSTEM-REVIEW-2026-08.md).
|
|
14
|
+
|
|
15
|
+
> **October 2026 market idea scan (`2026-10-03`):** the second run of `/market-ideas` covered the window since the first. Its highest-leverage finding is that Codex's source cuts any skill delivered through an Agent Plugin to a fixed byte budget, and many of PAN's bundled skill bodies were longer; the queue confirmed it live (M25) and the bundle now splits long skills (S8). Peers also shipped fixes for gaps PAN had when the scan ran, all closed the same day (M21, M22, M23, M27, M28): decision checkpoints that auto-pick the first option, a skipped test gate that still reads as a pass, free text that can break a planning table, no stale-verification check, and dependent plans that run after a failed one. The ledger is [specs/market-ideas-ledger.md](specs/market-ideas-ledger.md); the sized queue is [specs/market-ideas-2026-10.md](specs/market-ideas-2026-10.md), and path changes found on the way are handed to `/reality-check` there. Items are proposals until executed.
|
|
16
|
+
|
|
17
|
+
> **October 2026 (`2026-10-11`):** a market idea scan with a feature-level read of Superpowers, a full doc audit (fixes plus code fixes found by the prompt sweeps), and a reality check ran the same day. The reality check found OpenCode 2 applies PAN's config as written but does not load its plugin, and that the verifier's test gate is enforced by prompt only. The queue is the Addendum of [market-ideas-2026-10.md](specs/market-ideas-2026-10.md); the delta is §11 of [ECOSYSTEM-REVIEW-2026-08.md](ECOSYSTEM-REVIEW-2026-08.md).
|
|
18
|
+
|
|
19
|
+
> **October 2026 (`2026-10-12`), realigned:** the owner set feature excellence first and exposure later. The program is [product_excellence_program_2026_q4_featureai.md](specs/product_excellence_program_2026_q4_featureai.md): code-enforced gates for every guarantee, a measured review and verification stack, a deterministic autonomy loop, harness v2 (model doubles, record/replay, statistics, seeded-defect scoreboards), product hygiene, and PAN developing PAN. The session order, and what has landed, is in [product-excellence-superplan.md](specs/product-excellence-superplan.md).
|
|
20
|
+
|
|
21
|
+
> **October 2026 market idea scan (`2026-10-19`):** a delta run of `/market-ideas`. Its highest-leverage finding is a live defect: Claude Code refuses a subagent's write to a file named like a report (`summary.md` and a few others), and PAN's research synthesizer writes exactly such a file, so research synthesis fails at its write step there. A live probe on this machine confirmed it. Also queued: recommended-model names that Copilot is deprecating, a rate row for a new Gemini flagship, truncated-plan detection, baselining a plan's own gates, and a "pre-existing" class for review findings. The queue is the `2026-10-19` Addendum of [market-ideas-2026-10.md](specs/market-ideas-2026-10.md), with path changes handed to `/reality-check` there; the ledger is [specs/market-ideas-ledger.md](specs/market-ideas-ledger.md). Items are proposals until executed.
|
|
22
|
+
|
|
23
|
+
> **October 2026 reality check (`2026-10-19`):** a delta run the same day. The suite, the release gates, CI and harness tier 0 pass, and a packed five-runtime install writes every claimed surface. Several recorded statuses lag the tree (work described as open shipped in the last two releases). The changelog's OpenCode 2 claim rests on a simulated loader while Homebrew now installs OpenCode 2. The native exec-waves script lacks gates its markdown twin runs. The Copilot double-hook concern is refuted (PAN's Copilot hook copies defer to the Claude registration). The delta is §12 of [ECOSYSTEM-REVIEW-2026-08.md](ECOSYSTEM-REVIEW-2026-08.md); the queue is the reality-check Addendum of [market-ideas-2026-10.md](specs/market-ideas-2026-10.md).
|
|
24
|
+
|
|
25
|
+
Do not duplicate filesystem-derived counts here. `CLAUDE.md` remains the single source of truth for command, agent, module, workflow, test, hook, spec, and ADR counts.
|
|
26
|
+
|
|
27
|
+
## Goals
|
|
28
|
+
|
|
29
|
+
- Make releases harder to publish in a broken or partially validated state.
|
|
30
|
+
- Keep documentation accurate without manually chasing drift.
|
|
31
|
+
- Make installer failures visible and diagnosable.
|
|
32
|
+
- Reduce maintenance risk in the largest CLI and core modules.
|
|
33
|
+
- Preserve the current strengths: zero runtime dependencies, broad tests, and multi-runtime support.
|
|
34
|
+
|
|
35
|
+
## Priority Work
|
|
36
|
+
|
|
37
|
+
### P0: Release Gate Hardening — DONE
|
|
38
|
+
|
|
39
|
+
> **Status:** shipped. `scripts/release-check.js` runs as `npm run release:check` and as `prepublishOnly`, and the tag-triggered release workflow reruns it before publishing. The gate has since grown past this list: `doc-lint counts` over `docs/`, the doc↔code link graph, a zero-runtime-dependency assertion inside the pack gate, both distribution bundles with a stale-`dist/` digest check (`2026-09-10`), and a coverage gate that fails when a dispatcher arm never ran, overall line or function coverage drops below its floor, or a module group drops below its line floor (skipped on Node < 22). The flow is documented under "Release Process" in [DEVELOPMENT.md](DEVELOPMENT.md). Original task list retained.
|
|
40
|
+
|
|
41
|
+
Current issue: `prepublishOnly` only runs the hook build step. That is too light for a CLI installer that ships commands, agents, workflows, hooks, runtime adapters, and generated install layouts.
|
|
42
|
+
|
|
43
|
+
Tasks:
|
|
44
|
+
|
|
45
|
+
- Add a release validation script, for example `npm run release:check`.
|
|
46
|
+
- Include these checks in the release gate:
|
|
47
|
+
- `npm run build:hooks`
|
|
48
|
+
- `npm run test:all`
|
|
49
|
+
- `npm audit --omit=dev`
|
|
50
|
+
- `npm pack --dry-run --json`
|
|
51
|
+
- A packed-tarball install smoke test in a temp directory.
|
|
52
|
+
- Update `prepublishOnly` to call the release validation script.
|
|
53
|
+
- Document the release flow in `docs/DEVELOPMENT.md` or a dedicated `docs/RELEASE.md`.
|
|
54
|
+
|
|
55
|
+
Acceptance criteria:
|
|
56
|
+
|
|
57
|
+
- A publish attempt fails before upload if tests, hook build, audit, package dry-run, or smoke install fails.
|
|
58
|
+
- The release process can be run locally with one command.
|
|
59
|
+
- The release document names the required commands but does not duplicate test counts.
|
|
60
|
+
|
|
61
|
+
### P0: Installer Manifest Verification — partially DONE
|
|
62
|
+
|
|
63
|
+
> **Status:** per-file write failures in the installer's copy paths are collected as warnings instead of swallowed, `verifyInstalled()` checks each required install directory after the copy, the installer then runs `verifyInstall()` over its manifest and exits 1 on a missing or empty tracked file, `pan-tools validate deployment` verifies an install against its manifest after the fact, and `verifyInstall()` has unit tests for missing and 0-byte tracked files, a missing or empty dispatcher, and a missing or file-less manifest. Still open: a regression test that makes a copy or write fail mid-install and checks the installer reports it. Original task list retained.
|
|
64
|
+
|
|
65
|
+
Current issue: parts of `bin/install.js` swallow copy/write errors. Some later checks prove that directories exist, but not that every expected file landed correctly.
|
|
66
|
+
|
|
67
|
+
Tasks:
|
|
68
|
+
|
|
69
|
+
- Replace empty `catch {}` blocks in installer copy paths with warning collection or explicit failure where the file is required.
|
|
70
|
+
- Add a manifest verification pass after install.
|
|
71
|
+
- Verify all required commands, agents, hooks, core files, references, templates, and workflows expected for the selected runtime are present.
|
|
72
|
+
- Report optional failures as warnings and required failures as fatal errors.
|
|
73
|
+
- Add regression tests for partial copy failure behavior.
|
|
74
|
+
|
|
75
|
+
Acceptance criteria:
|
|
76
|
+
|
|
77
|
+
- A missing required installed file causes a clear installer failure.
|
|
78
|
+
- Optional cleanup failures do not hide required install failures.
|
|
79
|
+
- Tests cover at least one simulated copy/write failure.
|
|
80
|
+
|
|
81
|
+
### P1: Documentation Drift Guard — DONE
|
|
82
|
+
|
|
83
|
+
> **Status:** shipped. `pan-tools doc-lint counts <dir>` flags filesystem-derived counts outside `CLAUDE.md`, runs over `docs/` as release Gate 4 and in `tests/doc-lint.test.cjs` (`ATTRIBUTION.md`, which the task list names, and `README.md` sit at the repo root, outside both scans), and `tests/claude-md-counts.test.cjs` pins the counts table's own contract. Historical changelog entries keep their snapshots by design.
|
|
84
|
+
|
|
85
|
+
Current issue: the project rule says counts live only in `CLAUDE.md`, but other docs and specs still contain count-like values. This makes docs look authoritative after they have gone stale.
|
|
86
|
+
|
|
87
|
+
Tasks:
|
|
88
|
+
|
|
89
|
+
- Add a doc-lint rule that flags filesystem-derived counts outside `CLAUDE.md`.
|
|
90
|
+
- Allow historical changelog entries only if the team wants changelog snapshots to remain as release history.
|
|
91
|
+
- Clean current docs and specs by replacing numeric counts with qualitative language or links to `CLAUDE.md`.
|
|
92
|
+
- Include attribution and architecture docs in the drift scan.
|
|
93
|
+
|
|
94
|
+
Acceptance criteria:
|
|
95
|
+
|
|
96
|
+
- CI or `npm run test:all` catches new duplicated count drift.
|
|
97
|
+
- Current user-facing docs no longer embed mutable project counts.
|
|
98
|
+
- `CLAUDE.md` remains the only active count table.
|
|
99
|
+
|
|
100
|
+
### P1: Test Result Artifact Cleanup — DONE
|
|
101
|
+
|
|
102
|
+
> **Status:** resolved as generated artifacts: `test-results/` is gitignored and nothing under it is tracked.
|
|
103
|
+
|
|
104
|
+
Current issue: `test-results/latest.txt` and `test-results/scenarios.txt` can become stale and misleading.
|
|
105
|
+
|
|
106
|
+
Tasks:
|
|
107
|
+
|
|
108
|
+
- Decide whether test result files are generated artifacts or release evidence.
|
|
109
|
+
- If generated, remove tracked stale files and keep `test-results/` ignored.
|
|
110
|
+
- If release evidence, add `npm run refresh:test-results` and call it during release prep.
|
|
111
|
+
- Ensure output encoding is readable on Windows and Unix terminals.
|
|
112
|
+
|
|
113
|
+
Acceptance criteria:
|
|
114
|
+
|
|
115
|
+
- The repository no longer contains stale test output from old package versions.
|
|
116
|
+
- The policy for test-result files is documented.
|
|
117
|
+
|
|
118
|
+
### P1: Runtime Artifact Ignore Rules — DONE
|
|
119
|
+
|
|
120
|
+
> **Status:** shipped. `.gitignore` carries `.claude/*.lock` and `.claude/scheduled_tasks.lock` alongside the self-install artifact rules; the dev `.claude/commands`, `.claude/agents` and `.claude/workflows` stay trackable.
|
|
121
|
+
|
|
122
|
+
Current issue: local runtime files can still appear in the source worktree, such as `.claude/*.lock` files.
|
|
123
|
+
|
|
124
|
+
Tasks:
|
|
125
|
+
|
|
126
|
+
- Add ignore rules for local Claude runtime lock files.
|
|
127
|
+
- Audit `.gitignore` for other runtime-local files that should never be committed.
|
|
128
|
+
- Keep development-only `.claude/commands`, `.claude/agents`, and `.claude/workflows` available as intended.
|
|
129
|
+
|
|
130
|
+
Acceptance criteria:
|
|
131
|
+
|
|
132
|
+
- Local scheduler/lock artifacts no longer show up as untracked source changes.
|
|
133
|
+
- Existing dev command and agent files remain trackable.
|
|
134
|
+
|
|
135
|
+
### P2: Large Module Decomposition — module half DONE (2026-06-11)
|
|
136
|
+
|
|
137
|
+
The lib-module half shipped behind a compatibility harness (`tests/module-surface.test.cjs` pins every module's export surface against a committed fixture; behavior stays pinned by the rest of the suite):
|
|
138
|
+
|
|
139
|
+
- `verify.cjs` decomposed by validation domain: drift detection, retrospective, deployment validation, and pre-execution gates each extracted to a focused `verify-*.cjs` submodule, re-exported through the facade.
|
|
140
|
+
- `commands.cjs`: error-pattern/session-history/learnings lifecycle extracted to `commands-learnings.cjs` (with the shared phase-summary collector, keeping dependencies one-directional).
|
|
141
|
+
- `phase.cjs`: removal + renumbering cascade extracted to `phase-remove.cjs`.
|
|
142
|
+
- Public CLI behavior unchanged throughout — every consumer goes through the original facades, and the harness fails any extraction that drops or mutates an export.
|
|
143
|
+
|
|
144
|
+
Remaining (open):
|
|
145
|
+
|
|
146
|
+
- Split the central `pan-tools.cjs` switch into command-family routers or a table-driven dispatcher. Lower urgency now that the implementation modules are focused; do it behind the same harness plus dispatch-level contract tests.
|
|
147
|
+
|
|
148
|
+
### P2: Hook Build Naming and Dependency Cleanup — DONE
|
|
149
|
+
|
|
150
|
+
> **Status:** copy-only chosen. `build:hooks` copies the hooks listed in `HOOKS_TO_COPY` (`scripts/build-hooks.js`) to `hooks/dist/`; ARCHITECTURE, DEVELOPMENT, HOOKS and CONTRIBUTING all say so; no bundler remains in `devDependencies` (only `@playwright/test` and `@vscode/test-electron`).
|
|
151
|
+
|
|
152
|
+
Current issue: docs and dependencies imply hooks are compiled with esbuild, but the build script currently copies pure Node.js files.
|
|
153
|
+
|
|
154
|
+
Tasks:
|
|
155
|
+
|
|
156
|
+
- Choose one direction:
|
|
157
|
+
- Keep copy-only hooks and rename/document the command accordingly, or
|
|
158
|
+
- Implement actual esbuild bundling if bundling is still desired.
|
|
159
|
+
- Align `docs/ARCHITECTURE.md`, `docs/DEVELOPMENT.md`, `docs/HOOKS.md`, `ATTRIBUTION.md`, and `package.json` with the chosen direction.
|
|
160
|
+
- Remove unused development dependencies if copy-only remains the design.
|
|
161
|
+
|
|
162
|
+
Acceptance criteria:
|
|
163
|
+
|
|
164
|
+
- Build docs, script behavior, and dependencies agree.
|
|
165
|
+
- Contributors do not need to infer whether hook files are copied or bundled.
|
|
166
|
+
|
|
167
|
+
### P2: Package Documentation Policy — DONE
|
|
168
|
+
|
|
169
|
+
> **Status:** decided yes (`2026-10-22`): the `files` allowlist in `package.json` now ships `docs/` (minus the brand images under `docs/branding/assets/`) and `CHANGELOG.md` beside `bin`, `commands`, `agents`, `pan-wizard-core` (minus internal learnings), `hooks/dist`, `scripts`, `assets` and `pan-zcode`, so the README's relative `docs/` links resolve in an installed package too. `tests/package-contract.test.cjs` asserts that `files` is an explicit allowlist that keeps `dist`, `harness`, `marketplace` and `tests` out, and that `docs/` and `CHANGELOG.md` ship without the brand images.
|
|
170
|
+
|
|
171
|
+
Current issue: the npm package includes `README.md` automatically, but not the full `docs/` directory. That may be intentional, but the policy should be explicit.
|
|
172
|
+
|
|
173
|
+
Tasks:
|
|
174
|
+
|
|
175
|
+
- Decide whether user-facing docs should ship in the npm package.
|
|
176
|
+
- If yes, add selected docs or the full docs directory to the package files list.
|
|
177
|
+
- If no, document that npm installs rely on GitHub for full documentation.
|
|
178
|
+
- Keep package size checked with `npm pack --dry-run --json`.
|
|
179
|
+
|
|
180
|
+
Acceptance criteria:
|
|
181
|
+
|
|
182
|
+
- The package contents match the intended user experience.
|
|
183
|
+
- Package-size changes are visible in release review.
|
|
184
|
+
|
|
185
|
+
### P2: Optional LLM Evaluator for Self-Improvement Runner — ADR WRITTEN, awaiting review
|
|
186
|
+
|
|
187
|
+
> **Status (2026-06-11):** the design spike shipped as [ADR-0029](decisions/ADR-0029-experiment-evaluator.md) — pluggable evaluator, host-CLI backend (no SDK dependency), off by default, runner-scoped with a hard "one stop authority" fence. Implementation stays blocked until the maintainer accepts the ADR. Original task list retained below for review context.
|
|
188
|
+
|
|
189
|
+
Current issue: the v3.7.0 self-improvement loop (`runner.cjs`, `experiment.cjs`, ADR-0026) stops experiments on deterministic signals: the session's exit, a timeout, and milestone-completion detection in the experiment's `state.md`. For experiments whose success criterion is genuinely qualitative ("did this prompt variant produce a better outcome?"), a deterministic stop is a blunt condition. Claude Code's built-in `/goal` command demonstrates the worker/evaluator-split pattern (separate small model judges completion after every turn), but it is Claude-only and outside PAN's surface.
|
|
190
|
+
|
|
191
|
+
The case for adopting this pattern in PAN is narrow and specific to the experiment runner. The rest of PAN (phase, focus, verify, retro) has been deliberately moving toward deterministic gates; reintroducing LLM-as-judge there would be regression. Inside `runner.cjs`, where the work being evaluated is itself probabilistic, an evaluator model is the right tool.
|
|
192
|
+
|
|
193
|
+
Tasks:
|
|
194
|
+
|
|
195
|
+
- Write an ADR before any code, capturing why the experiment runner is the only place this exception applies and what would have to change for the scope to grow.
|
|
196
|
+
- Specify the evaluator contract: input is experiment transcript plus a goal condition string, output is a yes/no decision plus a short reason recorded to the experiment log.
|
|
197
|
+
- Decide model access without breaking the zero-runtime-dependency posture. Options to evaluate: opt-in Anthropic SDK behind a config flag, shelling to the host runtime's CLI, or a pluggable evaluator interface that ships with no default backend.
|
|
198
|
+
- Identify which experiment shapes benefit (prompt-variant comparison, output-quality judgment) and which must remain deterministic (anything wired to phase or verify state).
|
|
199
|
+
- Specify failure modes: missing credentials, evaluator timeout, ambiguous response. Decide whether each fails the experiment, falls back to deterministic stop, or warns and continues.
|
|
200
|
+
- Confirm cross-runtime behavior: the runner is the only consumer, so non-Claude runtimes should degrade gracefully when the feature is off.
|
|
201
|
+
|
|
202
|
+
Acceptance criteria:
|
|
203
|
+
|
|
204
|
+
- ADR shipped and reviewed before any implementation work.
|
|
205
|
+
- Feature lives behind an explicit config flag, off by default.
|
|
206
|
+
- No change to phase, focus, verify, or retro code paths.
|
|
207
|
+
- Behavior documented in `commands/pan/experiment.md` and `pan-wizard-core/workflows/` only after the ADR lands.
|
|
208
|
+
|
|
209
|
+
Reference: Claude Code's `/goal` ([docs](https://code.claude.com/docs/en/goal)) introduced the worker/evaluator-split pattern. This item adopts the pattern in one subsystem where probabilistic judgment is appropriate, without adopting the Claude-Code-specific implementation.
|
|
210
|
+
|
|
211
|
+
## Suggested Execution Order
|
|
212
|
+
|
|
213
|
+
> Shipped except: the dispatcher split (P2 decomposition), the copy-failure regression test (P0 manifest verification) and the optional LLM evaluator (P2, ADR awaiting review) — see the statuses above. Kept for the record.
|
|
214
|
+
|
|
215
|
+
1. Add runtime artifact ignore rules and clean stale local artifacts.
|
|
216
|
+
2. Fix or remove stale test-result files.
|
|
217
|
+
3. Add `release:check` and wire it into `prepublishOnly`.
|
|
218
|
+
4. Add package dry-run and packed-install smoke validation.
|
|
219
|
+
5. Add doc drift linting and clean current duplicated counts.
|
|
220
|
+
6. Harden installer manifest verification.
|
|
221
|
+
7. Align hook build naming, docs, and dependencies.
|
|
222
|
+
8. Begin large-module decomposition behind compatibility tests.
|
|
223
|
+
|
|
224
|
+
Deferred (not on the critical path): the LLM evaluator design spike for the self-improvement runner. ADR first, scoped strictly to `runner.cjs`.
|
|
225
|
+
|
|
226
|
+
## Verification Commands
|
|
227
|
+
|
|
228
|
+
Use these during implementation and before release:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
npm run build:hooks
|
|
232
|
+
npm test
|
|
233
|
+
npm run test:scenarios
|
|
234
|
+
npm run test:all
|
|
235
|
+
npm audit --omit=dev
|
|
236
|
+
npm pack --dry-run --json
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
For manual installation testing, use a separate test directory. Do not install PAN into the source repository.
|
|
240
|
+
|
|
241
|
+
## Notes
|
|
242
|
+
|
|
243
|
+
- Preserve the zero-runtime-dependency posture unless there is a strong reason to change it.
|
|
244
|
+
- Keep installer changes conservative; installation failures should become clearer, not noisier.
|
|
245
|
+
- Prefer automated drift checks over periodic manual cleanup.
|
|
246
|
+
- Treat docs as product surface. For this project, stale docs are a real reliability bug because agents and users both consume them.
|