meetsoma 0.28.0 → 0.31.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/dist/thin-cli.js +18 -0
- package/package.json +1 -1
package/dist/thin-cli.js
CHANGED
|
@@ -1720,6 +1720,24 @@ async function healthCheck() {
|
|
|
1720
1720
|
} catch {
|
|
1721
1721
|
check(false, "", "git not found");
|
|
1722
1722
|
}
|
|
1723
|
+
try {
|
|
1724
|
+
const projSoma = join3(process.cwd(), ".soma");
|
|
1725
|
+
const hasCadenceProto = existsSync3(join3(projSoma, "amps", "protocols", "meta-workflow.md"));
|
|
1726
|
+
const hasCadenceInstance = [
|
|
1727
|
+
join3(projSoma, "META_WORKFLOW.md"),
|
|
1728
|
+
// default (docs)
|
|
1729
|
+
join3(projSoma, "cycles", "META_WORKFLOW.md"),
|
|
1730
|
+
// board convention
|
|
1731
|
+
join3(projSoma, "releases", "META_WORKFLOW.md")
|
|
1732
|
+
// release-ledger convention
|
|
1733
|
+
].some((p) => existsSync3(p));
|
|
1734
|
+
if (hasCadenceProto && !hasCadenceInstance) {
|
|
1735
|
+
console.log("");
|
|
1736
|
+
console.log(` ${cyan("\u2139")} meta-workflow protocol installed, but no cadence instance yet.`);
|
|
1737
|
+
console.log(` ${dim('Ask Soma "set up the meta-workflow cadence" \u2014 or see')} ${green("docs/meta-workflow.md")}`);
|
|
1738
|
+
}
|
|
1739
|
+
} catch {
|
|
1740
|
+
}
|
|
1723
1741
|
console.log("");
|
|
1724
1742
|
if (issues === 0 && warnings === 0) {
|
|
1725
1743
|
console.log(` ${green("\u2713 All checks passed")}`);
|