@mutmutco/cli 4.3.41 → 4.3.42
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/dist/main.cjs +23 -11
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -13692,8 +13692,10 @@ function walk(dir, root, out) {
|
|
|
13692
13692
|
return out;
|
|
13693
13693
|
}
|
|
13694
13694
|
function defaultListDocs(root) {
|
|
13695
|
-
const
|
|
13696
|
-
|
|
13695
|
+
const docs = ["docs", "skills/org-guide", "skills/mmi-help"].flatMap((path2) => {
|
|
13696
|
+
const directory = (0, import_node_path12.join)(root, path2);
|
|
13697
|
+
return (0, import_node_fs14.existsSync)(directory) ? walk(directory, root, []) : [];
|
|
13698
|
+
}).filter(
|
|
13697
13699
|
(rel) => !SKIP_WALK.some((skip) => rel.startsWith(skip))
|
|
13698
13700
|
);
|
|
13699
13701
|
return [...ROOT_DOCS.filter((rel) => (0, import_node_fs14.existsSync)((0, import_node_path12.join)(root, rel))), ...docs];
|
|
@@ -15708,10 +15710,10 @@ var rollout_plan_default = {
|
|
|
15708
15710
|
note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
|
|
15709
15711
|
},
|
|
15710
15712
|
baseline: {
|
|
15711
|
-
version: "4.3.
|
|
15712
|
-
tag: "v4.3.
|
|
15713
|
-
commit: "
|
|
15714
|
-
npm: "@mutmutco/cli@4.3.
|
|
15713
|
+
version: "4.3.42",
|
|
15714
|
+
tag: "v4.3.42",
|
|
15715
|
+
commit: "d890700b4096",
|
|
15716
|
+
npm: "@mutmutco/cli@4.3.42"
|
|
15715
15717
|
},
|
|
15716
15718
|
exitCriterion: "fleet-n-of-n",
|
|
15717
15719
|
hubOnlyShortcut: "forbidden",
|
|
@@ -15728,14 +15730,14 @@ var rollout_plan_default = {
|
|
|
15728
15730
|
repo: "mutmutco/mmi-hub",
|
|
15729
15731
|
role: "canary",
|
|
15730
15732
|
schedule: "train",
|
|
15731
|
-
v3Target: "v4.3.
|
|
15733
|
+
v3Target: "v4.3.42"
|
|
15732
15734
|
}
|
|
15733
15735
|
],
|
|
15734
15736
|
rollbackTrigger: "Any red inside the post-contract soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a pre-v4 client admitted instead of receiving actionable HTTP 426, or npm consumer install/doctor failure on the v4-only dist.",
|
|
15735
15737
|
rollback: {
|
|
15736
15738
|
independent: true,
|
|
15737
|
-
mechanism: "npm dist-tag latest -> 4.3.
|
|
15738
|
-
v3Target: "v4.3.
|
|
15739
|
+
mechanism: "npm dist-tag latest -> 4.3.42 and redeploy the Hub Lambda from tag v4.3.42 (d890700b4096); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
15740
|
+
v3Target: "v4.3.42 (@mutmutco/cli@4.3.42, tag commit d890700b4096 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
15739
15741
|
}
|
|
15740
15742
|
},
|
|
15741
15743
|
{
|
|
@@ -31054,7 +31056,16 @@ async function collectOnboardStatus(opts = {}) {
|
|
|
31054
31056
|
readKnown: () => readFileSyncSafe((0, import_node_path28.join)(home, ...KNOWN_MARKETPLACES_RELATIVE), import_node_fs30.readFileSync),
|
|
31055
31057
|
readSettings: () => readFileSyncSafe((0, import_node_path28.join)(home, ".claude", "settings.json"), import_node_fs30.readFileSync)
|
|
31056
31058
|
});
|
|
31057
|
-
return {
|
|
31059
|
+
return {
|
|
31060
|
+
guide: "Read the MMI org-guide skill before project work; load only the relevant topic. Use mmi-help for a short introduction.",
|
|
31061
|
+
track,
|
|
31062
|
+
board,
|
|
31063
|
+
registry: registry2,
|
|
31064
|
+
secrets,
|
|
31065
|
+
plugin,
|
|
31066
|
+
doors: opts.doors ?? [],
|
|
31067
|
+
nextCommand
|
|
31068
|
+
};
|
|
31058
31069
|
}
|
|
31059
31070
|
function registerDiscoveryCommands(program3) {
|
|
31060
31071
|
program3.command("status").description("unified repo snapshot: branch, worktrees, open PRs (yours), claimed board items, stage state").option("--json", "machine-readable output").action(async (o) => {
|
|
@@ -31104,6 +31115,7 @@ function registerDiscoveryCommands(program3) {
|
|
|
31104
31115
|
if (o.json) {
|
|
31105
31116
|
console.log(JSON.stringify(report, null, 2));
|
|
31106
31117
|
} else {
|
|
31118
|
+
console.log(`Guide: ${report.guide}`);
|
|
31107
31119
|
console.log(`Track: ${report.track}`);
|
|
31108
31120
|
console.log(`Board: ${report.board.ok ? "\u2713" : "\u2717"} ${report.board.detail}`);
|
|
31109
31121
|
console.log(`Registry: ${report.registry.ok ? "\u2713" : "\u2717"} ${report.registry.detail}`);
|
|
@@ -42221,7 +42233,7 @@ function registerDeveloperCommands(program3) {
|
|
|
42221
42233
|
await failGraceful(e.message);
|
|
42222
42234
|
}
|
|
42223
42235
|
});
|
|
42224
|
-
docs.command("refs").description("deterministic doc reference gate:
|
|
42236
|
+
docs.command("refs").description("deterministic doc reference gate: repo paths, markdown links, mmi-cli command refs, and pins across docs, org-guide, mmi-help, README and architecture must resolve, or exit 1").option("--json", "machine-readable findings list: { ok, docCount, findings[], warnings[] }").addOption(new Option("--repo <owner/repo>", "not accepted \u2014 docs refs reads the current checkout").hideHelp()).action(async (o) => {
|
|
42225
42237
|
try {
|
|
42226
42238
|
if (o.repo) {
|
|
42227
42239
|
const guard = planTrainApplyRepoGuard(o.repo, await resolveRepo(), `mmi-cli oracle docs refs${o.json ? " --json" : ""}`, "docs refs");
|
package/package.json
CHANGED