@brucewaynedecoy/make-docs 2.0.8 → 2.0.9

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.
Files changed (62) hide show
  1. package/dist/{backup-BLN6XCAS.js → backup-EBZZZL74.js} +4 -4
  2. package/dist/{chunk-MUQ2KL22.js → chunk-2Z7KRD4H.js} +2 -2
  3. package/dist/{chunk-XGTKLLI3.js → chunk-5XKMSGMS.js} +428 -29
  4. package/dist/{chunk-XGTKLLI3.js.map → chunk-5XKMSGMS.js.map} +1 -1
  5. package/dist/{chunk-G5BT3GGK.js → chunk-ABKEBYCF.js} +3 -3
  6. package/dist/{chunk-I3BO4LEF.js → chunk-DZ3SA3JA.js} +18 -5
  7. package/dist/{chunk-I3BO4LEF.js.map → chunk-DZ3SA3JA.js.map} +1 -1
  8. package/dist/{chunk-ILII44MP.js → chunk-HZ4QLB7L.js} +3 -3
  9. package/dist/{chunk-4OMXLXXY.js → chunk-KKXJTVMH.js} +3 -3
  10. package/dist/{chunk-L7UI56GS.js → chunk-MESLJI5A.js} +2 -2
  11. package/dist/{chunk-ANZ4AJG7.js → chunk-USVCSYS5.js} +2 -2
  12. package/dist/{chunk-EZ7FEZTG.js → chunk-VCC4D5I3.js} +2 -2
  13. package/dist/{chunk-GMIVJ7MS.js → chunk-X6TAWRTO.js} +147 -127
  14. package/dist/chunk-X6TAWRTO.js.map +1 -0
  15. package/dist/index.js +41 -24
  16. package/dist/index.js.map +1 -1
  17. package/dist/{registry-7TE6OMSU.js → registry-XNCQALXP.js} +7 -7
  18. package/dist/{self-DIK2M5CA.js → self-LDLIIKFW.js} +7 -7
  19. package/dist/{server-IEI2UXRK.js → server-G2UO2NOT.js} +10 -10
  20. package/dist/{server-IEI2UXRK.js.map → server-G2UO2NOT.js.map} +1 -1
  21. package/dist/{setup-system-SPZE6PYP.js → setup-system-2MZMQ3MX.js} +7 -7
  22. package/dist/{skills-command-ZPQG23OM.js → skills-command-VE4GRWI2.js} +53 -17
  23. package/dist/skills-command-VE4GRWI2.js.map +1 -0
  24. package/dist/{uninstall-BMDNLD6L.js → uninstall-EJF6HCYI.js} +7 -7
  25. package/dist/virtual_make-docs-first-party-skills-CLTQEIKC.js +11 -0
  26. package/dist/virtual_make-docs-first-party-skills-CLTQEIKC.js.map +1 -0
  27. package/package.json +1 -1
  28. package/template/.make-docs/system/contracts/design-contract.md +1 -1
  29. package/template/.make-docs/system/contracts/output-contract.md +3 -2
  30. package/template/.make-docs/system/prompts/designs-to-plan-change.prompt.md +2 -2
  31. package/template/.make-docs/system/prompts/prd-change-to-work.prompt.md +2 -2
  32. package/template/.make-docs/system/references/execution-workflow.md +5 -5
  33. package/template/.make-docs/system/references/lifecycle.md +3 -0
  34. package/template/.make-docs/system/references/planning-workflow.md +8 -8
  35. package/template/.make-docs/system/references/prd-change-management.md +2 -2
  36. package/template/.make-docs/system/references/wave-model.md +126 -14
  37. package/template/.make-docs/system/templates/plan-overview.md +17 -2
  38. package/template/.make-docs/system/templates/plan-prd-change.md +21 -6
  39. package/template/.make-docs/system/templates/plan-prd-decompose.md +17 -2
  40. package/template/.make-docs/system/templates/plan-prd.md +17 -2
  41. package/template/.make-docs/system/templates/work-index.md +15 -0
  42. package/template/.make-docs/system/templates/work-phase.md +3 -0
  43. package/template/docs/plans/AGENTS.md +1 -1
  44. package/template/docs/plans/CLAUDE.md +1 -1
  45. package/template/docs/work/AGENTS.md +1 -0
  46. package/template/docs/work/CLAUDE.md +1 -0
  47. package/dist/chunk-GMIVJ7MS.js.map +0 -1
  48. package/dist/skills-command-ZPQG23OM.js.map +0 -1
  49. package/dist/virtual_make-docs-first-party-skills-BGO3TGHN.js +0 -11
  50. package/dist/virtual_make-docs-first-party-skills-BGO3TGHN.js.map +0 -1
  51. /package/dist/{backup-BLN6XCAS.js.map → backup-EBZZZL74.js.map} +0 -0
  52. /package/dist/{chunk-MUQ2KL22.js.map → chunk-2Z7KRD4H.js.map} +0 -0
  53. /package/dist/{chunk-G5BT3GGK.js.map → chunk-ABKEBYCF.js.map} +0 -0
  54. /package/dist/{chunk-ILII44MP.js.map → chunk-HZ4QLB7L.js.map} +0 -0
  55. /package/dist/{chunk-4OMXLXXY.js.map → chunk-KKXJTVMH.js.map} +0 -0
  56. /package/dist/{chunk-L7UI56GS.js.map → chunk-MESLJI5A.js.map} +0 -0
  57. /package/dist/{chunk-ANZ4AJG7.js.map → chunk-USVCSYS5.js.map} +0 -0
  58. /package/dist/{chunk-EZ7FEZTG.js.map → chunk-VCC4D5I3.js.map} +0 -0
  59. /package/dist/{registry-7TE6OMSU.js.map → registry-XNCQALXP.js.map} +0 -0
  60. /package/dist/{self-DIK2M5CA.js.map → self-LDLIIKFW.js.map} +0 -0
  61. /package/dist/{setup-system-SPZE6PYP.js.map → setup-system-2MZMQ3MX.js.map} +0 -0
  62. /package/dist/{uninstall-BMDNLD6L.js.map → uninstall-EJF6HCYI.js.map} +0 -0
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ import {
3
3
  COMPLETE_PROJECT_CAPABILITIES,
4
4
  describeHarnessSupport,
5
5
  resolveUnifiedSetupState
6
- } from "./chunk-L7UI56GS.js";
6
+ } from "./chunk-MESLJI5A.js";
7
7
  import {
8
8
  classifyCompatibilityState,
9
9
  formatCompatibilityClassification,
10
10
  importLegacyInstallationState,
11
11
  previewLegacyInstallationState,
12
12
  scopeCompatibilityToInstallPlan
13
- } from "./chunk-4OMXLXXY.js";
13
+ } from "./chunk-KKXJTVMH.js";
14
14
  import {
15
15
  Checkpoint9ReceiptProjectionError,
16
16
  MigrationSafetyError,
@@ -25,8 +25,11 @@ import {
25
25
  operationCliPath,
26
26
  operationCliProjection,
27
27
  resolveCliOperationLaunch,
28
- serializeOperationError
29
- } from "./chunk-XGTKLLI3.js";
28
+ serializeOperationError,
29
+ setupFollowUpAction,
30
+ skillChangesLeftForSkillsSetup,
31
+ skillChangesNextAction
32
+ } from "./chunk-5XKMSGMS.js";
30
33
  import {
31
34
  MCP_SERVER_PROFILES,
32
35
  applyInstallPlan,
@@ -40,12 +43,12 @@ import {
40
43
  planInstall,
41
44
  planProjectHarnessIntegrationWrite,
42
45
  registerSkillAdoptionRecovery
43
- } from "./chunk-I3BO4LEF.js";
46
+ } from "./chunk-DZ3SA3JA.js";
44
47
  import {
45
48
  runBackupCommand
46
- } from "./chunk-G5BT3GGK.js";
47
- import "./chunk-ANZ4AJG7.js";
48
- import "./chunk-EZ7FEZTG.js";
49
+ } from "./chunk-ABKEBYCF.js";
50
+ import "./chunk-USVCSYS5.js";
51
+ import "./chunk-VCC4D5I3.js";
49
52
  import {
50
53
  S_BAR,
51
54
  S_BAR_END,
@@ -69,7 +72,7 @@ import {
69
72
  previewStoreCompatibilityBridge,
70
73
  resolveProjectIdentity,
71
74
  writeGlobalConfig
72
- } from "./chunk-ILII44MP.js";
75
+ } from "./chunk-HZ4QLB7L.js";
73
76
  import {
74
77
  HARNESS_CALLER_IDENTITY_ARG,
75
78
  HARNESS_CALLER_IDENTITY_ENV,
@@ -84,7 +87,7 @@ import {
84
87
  redactMcpNativeValue,
85
88
  sha256,
86
89
  verifyMakeDocsExecutable
87
- } from "./chunk-MUQ2KL22.js";
90
+ } from "./chunk-2Z7KRD4H.js";
88
91
  import {
89
92
  CAPABILITIES,
90
93
  CAPABILITY_DEPENDENCIES,
@@ -116,7 +119,7 @@ import {
116
119
  validateAndMigrateManifest,
117
120
  withStoreDatabase,
118
121
  writeTextFile
119
- } from "./chunk-GMIVJ7MS.js";
122
+ } from "./chunk-X6TAWRTO.js";
120
123
  import "./chunk-D4HDZEJT.js";
121
124
 
122
125
  // src/cli.ts
@@ -2693,12 +2696,12 @@ async function runCli(argv = process.argv.slice(2), priorProjectRecovery = null,
2693
2696
  return;
2694
2697
  }
2695
2698
  if (parsed.command === "mcp") {
2696
- const { runMcpServer } = await import("./server-IEI2UXRK.js");
2699
+ const { runMcpServer } = await import("./server-G2UO2NOT.js");
2697
2700
  await runMcpServer({ profile: parsed.mcpProfile ?? "all" });
2698
2701
  return;
2699
2702
  }
2700
2703
  if (parsed.command === "update") {
2701
- const { runToolUpdateCommand } = await import("./self-DIK2M5CA.js");
2704
+ const { runToolUpdateCommand } = await import("./self-LDLIIKFW.js");
2702
2705
  await runToolUpdateCommand({
2703
2706
  yes: parsed.yes,
2704
2707
  ...parsed.targetDir ? { targetDir: path4.resolve(parsed.targetDir) } : {}
@@ -2706,13 +2709,13 @@ async function runCli(argv = process.argv.slice(2), priorProjectRecovery = null,
2706
2709
  return;
2707
2710
  }
2708
2711
  if (parsed.command === "uninstall") {
2709
- const { runToolUninstallCommand } = await import("./self-DIK2M5CA.js");
2712
+ const { runToolUninstallCommand } = await import("./self-LDLIIKFW.js");
2710
2713
  await runToolUninstallCommand({ yes: parsed.yes, removeStore: parsed.removeStore });
2711
2714
  return;
2712
2715
  }
2713
2716
  validateParsedArgs(parsed);
2714
2717
  if (parsed.setupSubcommand === "system") {
2715
- const { runSystemSetupCommand } = await import("./setup-system-SPZE6PYP.js");
2718
+ const { runSystemSetupCommand } = await import("./setup-system-2MZMQ3MX.js");
2716
2719
  const result = await runSystemSetupCommand({
2717
2720
  dryRun: parsed.dryRun,
2718
2721
  yes: parsed.yes,
@@ -3100,7 +3103,7 @@ Current path: ${checkoutMove.targetRoot}
3100
3103
  });
3101
3104
  }
3102
3105
  if (!freshInstallTarget) {
3103
- const { detectPreV2Install, promptPreV2Choice } = await import("./self-DIK2M5CA.js");
3106
+ const { detectPreV2Install, promptPreV2Choice } = await import("./self-LDLIIKFW.js");
3104
3107
  const preV2 = detectPreV2Install({
3105
3108
  targetDir,
3106
3109
  classification: compatibilityClassification
@@ -3169,7 +3172,7 @@ Current path: ${checkoutMove.targetRoot}
3169
3172
  }
3170
3173
  let interactiveMethodSelections = {};
3171
3174
  if (interactive) {
3172
- const { inspectSystemHarnesses, promptForSystemSetupMethods } = await import("./setup-system-SPZE6PYP.js");
3175
+ const { inspectSystemHarnesses, promptForSystemSetupMethods } = await import("./setup-system-2MZMQ3MX.js");
3173
3176
  const harnessSupport = inspectSystemHarnesses();
3174
3177
  const afterHarnessSelection = async (wizardSelections) => {
3175
3178
  interactiveMethodSelections = await promptForSystemSetupMethods({
@@ -3247,7 +3250,7 @@ Current path: ${checkoutMove.targetRoot}
3247
3250
  applyPreparedSystemSetup,
3248
3251
  prepareSystemSetupCommand,
3249
3252
  resumePendingSystemSetupCommand
3250
- } = await import("./setup-system-SPZE6PYP.js");
3253
+ } = await import("./setup-system-2MZMQ3MX.js");
3251
3254
  const savedMethods = Object.fromEntries(
3252
3255
  makeDocsConfig.harnessIntegrations.filter((record) => record.mode === "narrow" && record.method && (record.harness === "codex" || record.harness === "claude-code" || record.harness === "github-copilot")).map((record) => [record.harness, record.method])
3253
3256
  );
@@ -3545,8 +3548,14 @@ ${nextAction}
3545
3548
  output.write(`Next: ${storeBridgePreview.nextAction}
3546
3549
  `);
3547
3550
  }
3551
+ const skillChangesLeftNow = () => !parsed.adopt && !freshInstallTarget && hasInstallMutation && completedRemovalHandoff.status !== "ready" ? skillChangesLeftForSkillsSetup(plan) : [];
3552
+ const skillRouteTarget = parsed.targetDir;
3553
+ const skillChangesLeft = skillChangesLeftNow();
3554
+ const shownProjectActions = skillChangesLeft.length === 0 ? plan.actions : plan.actions.map(
3555
+ (action) => skillChangesLeft.includes(action) ? { ...action, type: "skip", reason: skillChangesNextAction(skillChangesLeft.length, skillRouteTarget) } : action
3556
+ );
3548
3557
  if (!jsonOutput) printPlan({
3549
- actions: plan.actions,
3558
+ actions: shownProjectActions,
3550
3559
  dryRun: parsed.dryRun,
3551
3560
  existingManifest: planningManifest,
3552
3561
  installIntent,
@@ -3565,8 +3574,11 @@ ${nextAction}
3565
3574
  }
3566
3575
  const unresolvedManagedFileConflicts = findReviewableManagedFileConflicts(plan);
3567
3576
  if (parsed.dryRun && unresolvedManagedFileConflicts.length === 0) {
3568
- if (jsonOutput) writeCanonicalSetupResult({ status: "planned", dryRun: true, targetRoot: targetDir, prepared: preparedSystemSetup, genericMcp: genericMcpPlan, storeBridge: storeBridgePreview, projectRecovery: priorProjectRecovery, projectChanged: hasInstallMutation, projectActions: plan.actions, failedCondition: null, nextAction: hasInstallMutation || hasMachineMutation ? "Run setup with the same choices and --yes to apply this plan." : null });
3569
- else output.write("\nDry run complete.\n");
3577
+ const skillRoute = skillChangesLeft.length > 0 ? ` ${skillChangesNextAction(skillChangesLeft.length, skillRouteTarget)}` : "";
3578
+ if (jsonOutput) writeCanonicalSetupResult({ status: "planned", dryRun: true, targetRoot: targetDir, prepared: preparedSystemSetup, genericMcp: genericMcpPlan, storeBridge: storeBridgePreview, projectRecovery: priorProjectRecovery, projectChanged: hasInstallMutation, projectActions: shownProjectActions, failedCondition: null, nextAction: hasInstallMutation || hasMachineMutation ? `Run setup with the same choices and --yes to apply this plan.${skillRoute}` : null });
3579
+ else output.write(`
3580
+ Dry run complete.${skillRoute}
3581
+ `);
3570
3582
  return;
3571
3583
  }
3572
3584
  if (unresolvedManagedFileConflicts.length > 0) {
@@ -3989,6 +4001,11 @@ Next: ${nextAction}
3989
4001
  targetDir
3990
4002
  });
3991
4003
  }
4004
+ const appliedSkillChangesLeft = skillChangesLeftNow();
4005
+ if (appliedSkillChangesLeft.length > 0 && !jsonOutput) {
4006
+ output.write(`${skillChangesNextAction(appliedSkillChangesLeft.length, skillRouteTarget)}
4007
+ `);
4008
+ }
3992
4009
  if (applied.conflictFiles.length > 0 && !jsonOutput) {
3993
4010
  output.write("Conflicts were staged for manual review:\n");
3994
4011
  for (const conflictFile of applied.conflictFiles) {
@@ -4010,7 +4027,7 @@ Next: ${nextAction}
4010
4027
  projectMutationState: projectPrerequisiteChanged || applied.mutationApplied ? "applied" : "none",
4011
4028
  projectActions: applied.appliedActions,
4012
4029
  failedCondition: null,
4013
- nextAction: systemSetup.blocked[0]?.nextAction ?? null
4030
+ nextAction: setupFollowUpAction(systemSetup.blocked[0]?.nextAction, appliedSkillChangesLeft.length, skillRouteTarget)
4014
4031
  });
4015
4032
  } else if (systemSetup.status === "partial") {
4016
4033
  output.write("Project setup: ready. MCP setup still needs manual work for these platforms:\n");
@@ -4309,7 +4326,7 @@ async function loadUninstallCommand() {
4309
4326
  if (uninstallCommandLoaderOverride) {
4310
4327
  return uninstallCommandLoaderOverride();
4311
4328
  }
4312
- const uninstallModule = await import("./uninstall-BMDNLD6L.js");
4329
+ const uninstallModule = await import("./uninstall-EJF6HCYI.js");
4313
4330
  if (typeof uninstallModule.runUninstallCommand !== "function") {
4314
4331
  throw new Error(
4315
4332
  "The `uninstall` command module must export `runUninstallCommand(options)`."
@@ -4322,7 +4339,7 @@ async function runSkillsCommand(options) {
4322
4339
  await skillsCommandRunnerOverride(options);
4323
4340
  return;
4324
4341
  }
4325
- const skillsModule = await import("./skills-command-ZPQG23OM.js");
4342
+ const skillsModule = await import("./skills-command-VE4GRWI2.js");
4326
4343
  await skillsModule.runSkillsCommand(options);
4327
4344
  }
4328
4345
  function getSelectionOverrideFlags(parsed) {