@groundctl/cli 0.2.1 → 0.2.2
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/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -274,7 +274,7 @@ function generateProjectState(db, projectName) {
|
|
|
274
274
|
md += "\n";
|
|
275
275
|
}
|
|
276
276
|
if (decisions.length > 0) {
|
|
277
|
-
md += "##
|
|
277
|
+
md += "## Architecture log\n";
|
|
278
278
|
for (const d of decisions) {
|
|
279
279
|
md += `- ${d.session_id}: ${d.description}`;
|
|
280
280
|
if (d.rationale) md += ` \u2014 ${d.rationale}`;
|
|
@@ -1444,7 +1444,7 @@ ${sessionRow.summary}
|
|
|
1444
1444
|
md += "\n";
|
|
1445
1445
|
}
|
|
1446
1446
|
if (decisions.length > 0) {
|
|
1447
|
-
md += "##
|
|
1447
|
+
md += "## Architecture log\n";
|
|
1448
1448
|
for (const d of decisions) {
|
|
1449
1449
|
md += `- ${d.description}`;
|
|
1450
1450
|
if (d.rationale) md += ` \u2014 ${d.rationale}`;
|
|
@@ -1569,7 +1569,7 @@ async function reportCommand(options) {
|
|
|
1569
1569
|
console.log(chalk9.green(`
|
|
1570
1570
|
\u2713 SESSION_REPORT.md written (session ${session.id})
|
|
1571
1571
|
`));
|
|
1572
|
-
console.log(chalk9.gray(` ${files.length} files \xB7 ${decisions.length}
|
|
1572
|
+
console.log(chalk9.gray(` ${files.length} files \xB7 ${decisions.length} arch log entries \xB7 ${completedFeatures.length} features completed`));
|
|
1573
1573
|
console.log("");
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
@@ -1640,7 +1640,7 @@ async function healthCommand() {
|
|
|
1640
1640
|
const decMark = decisionCount > 0 ? "\u2705" : "\u26A0\uFE0F ";
|
|
1641
1641
|
const decColor = decisionCount > 0 ? chalk10.green : chalk10.yellow;
|
|
1642
1642
|
console.log(
|
|
1643
|
-
` ${decMark}
|
|
1643
|
+
` ${decMark} Arch log ${decColor(decisionCount + " entries")}` + chalk10.gray(` +${decisionScore}pts`)
|
|
1644
1644
|
);
|
|
1645
1645
|
const claimMark = staleClaims === 0 ? "\u2705" : "\u26A0\uFE0F ";
|
|
1646
1646
|
const claimColor = staleClaims === 0 ? chalk10.green : chalk10.red;
|
|
@@ -1656,7 +1656,7 @@ async function healthCommand() {
|
|
|
1656
1656
|
const recommendations = [];
|
|
1657
1657
|
if (testFiles === 0) recommendations.push("Write tests before your next feature (0 test files found).");
|
|
1658
1658
|
if (staleClaims > 0) recommendations.push(`Release ${staleClaims} stale claim(s) with groundctl complete <feature>.`);
|
|
1659
|
-
if (decisionCount === 0) recommendations.push("
|
|
1659
|
+
if (decisionCount === 0) recommendations.push("Log architecture decisions during sessions so agents understand the why.");
|
|
1660
1660
|
if (featurePct < 0.5 && total > 0) recommendations.push(`${counts.pending} features pending \u2014 run groundctl next to pick one.`);
|
|
1661
1661
|
if (recommendations.length > 0) {
|
|
1662
1662
|
console.log(chalk10.bold(" Recommendations:"));
|
|
@@ -1795,7 +1795,7 @@ body{background:var(--bg);color:var(--tx);font-family:var(--mo);font-size:13px;l
|
|
|
1795
1795
|
<div class="hi">
|
|
1796
1796
|
<div><span class="${meta.done > 0 ? "ok" : "warn"}">${meta.done > 0 ? "\u2713" : "\u26A0"}</span><span>Features ${meta.done}/${meta.total}</span></div>
|
|
1797
1797
|
<div><span class="${meta.testFiles > 0 ? "ok" : "bad"}">${meta.testFiles > 0 ? "\u2713" : "\u2717"}</span><span>Tests ${meta.testFiles} files</span></div>
|
|
1798
|
-
<div><span class="${meta.decCount > 0 ? "ok" : "warn"}">${meta.decCount > 0 ? "\u2713" : "\u26A0"}</span><span>
|
|
1798
|
+
<div><span class="${meta.decCount > 0 ? "ok" : "warn"}">${meta.decCount > 0 ? "\u2713" : "\u26A0"}</span><span>Architecture log ${meta.decCount} entries</span></div>
|
|
1799
1799
|
<div><span class="${meta.stale === 0 ? "ok" : "bad"}">${meta.stale === 0 ? "\u2713" : "\u2717"}</span><span>Claims ${meta.stale > 0 ? meta.stale + " stale" : "healthy"}</span></div>
|
|
1800
1800
|
</div></div>
|
|
1801
1801
|
<div class="rn">auto-refresh 10s<br><span style="color:var(--br)">${esc(dbPath.split("/").slice(-3).join("/"))}</span></div>
|