@kaddo/cli 3.124.3 → 3.124.4
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 +121 -38
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21850,16 +21850,25 @@ import matter19 from "gray-matter";
|
|
|
21850
21850
|
// src/core/reporting-evidence.ts
|
|
21851
21851
|
function graphHintFinding(hint) {
|
|
21852
21852
|
const affected = [hint.artifact_id, ...hint.path ? [hint.path] : []];
|
|
21853
|
+
const semantics = {
|
|
21854
|
+
"work-item": { classification: "coverage_gap", priority: "medium", action: "Review whether the active Work Item needs the missing declared relationship." },
|
|
21855
|
+
decision: { classification: "coverage_gap", priority: "low", action: "Review whether this decision should declare governed code paths." },
|
|
21856
|
+
capability: { classification: "coverage_gap", priority: "low", action: "Review whether this capability should connect to existing Work Items; the relationship is optional." },
|
|
21857
|
+
"knowledge-capsule": { classification: "review_hint", priority: "low", action: "Confirm whether this capsule is intended for direct contextual use or Work Item relationships." }
|
|
21858
|
+
};
|
|
21859
|
+
const semantic = semantics[hint.artifact_type];
|
|
21853
21860
|
return {
|
|
21854
21861
|
id: `graph-hint:${hint.artifact_id}:${hint.missing.join(",")}`,
|
|
21855
21862
|
category: "topology",
|
|
21863
|
+
classification: semantic.classification,
|
|
21864
|
+
resolution_status: "open",
|
|
21856
21865
|
source: "graph-hints",
|
|
21857
21866
|
affected_artifacts: affected,
|
|
21858
|
-
// Graph Hints are intentionally
|
|
21859
|
-
priority:
|
|
21867
|
+
// Graph Hints are intentionally non-blocking; their type determines priority and meaning.
|
|
21868
|
+
priority: semantic.priority,
|
|
21860
21869
|
evidence: hint.reason,
|
|
21861
21870
|
explanation: hint.message,
|
|
21862
|
-
suggested_action:
|
|
21871
|
+
suggested_action: semantic.action
|
|
21863
21872
|
};
|
|
21864
21873
|
}
|
|
21865
21874
|
function reportingProjectContext(dir) {
|
|
@@ -22079,9 +22088,11 @@ function buildImpactReport(dir, opts = {}, now = /* @__PURE__ */ new Date()) {
|
|
|
22079
22088
|
findings.push({
|
|
22080
22089
|
id: `knowledge-health:${layer2.toLowerCase()}`,
|
|
22081
22090
|
category: "knowledge",
|
|
22091
|
+
classification: "coverage_gap",
|
|
22092
|
+
resolution_status: "open",
|
|
22082
22093
|
source: "knowledge-health",
|
|
22083
22094
|
affected_artifacts: [layer2],
|
|
22084
|
-
priority: status === "Missing" ? "
|
|
22095
|
+
priority: status === "Missing" ? "medium" : "low",
|
|
22085
22096
|
evidence: `${layer2} knowledge maturity is ${status}.`,
|
|
22086
22097
|
explanation: `This assesses documented ${layer2} knowledge, not the quality of the product or implementation.`,
|
|
22087
22098
|
suggested_action: `Review ${layer2} knowledge coverage and the artifacts or relationships available for it.`
|
|
@@ -22091,12 +22102,29 @@ function buildImpactReport(dir, opts = {}, now = /* @__PURE__ */ new Date()) {
|
|
|
22091
22102
|
findings.push({
|
|
22092
22103
|
id: `ownership:${gap.id}`,
|
|
22093
22104
|
category: "delivery",
|
|
22105
|
+
classification: "coverage_gap",
|
|
22106
|
+
resolution_status: "open",
|
|
22094
22107
|
source: "work-item-ownership",
|
|
22095
22108
|
affected_artifacts: [gap.id, gap.path],
|
|
22096
22109
|
priority: "medium",
|
|
22097
22110
|
evidence: "A corrective Work Item has no declared code ownership.",
|
|
22098
22111
|
explanation: gap.title,
|
|
22099
|
-
suggested_action:
|
|
22112
|
+
suggested_action: "Review and add relevant code ownership declarations."
|
|
22113
|
+
});
|
|
22114
|
+
}
|
|
22115
|
+
for (const wi of completedWis) {
|
|
22116
|
+
if (!wi.validationStatus || !["not-started", "in-progress", "partial", "failed", "blocked"].includes(wi.validationStatus)) continue;
|
|
22117
|
+
findings.push({
|
|
22118
|
+
id: `completion-validation:${wi.id || wi.title}`,
|
|
22119
|
+
category: "delivery",
|
|
22120
|
+
classification: "review_hint",
|
|
22121
|
+
resolution_status: "open",
|
|
22122
|
+
source: "work-item-lifecycle",
|
|
22123
|
+
affected_artifacts: [wi.id || wi.title, wi.relPath],
|
|
22124
|
+
priority: "medium",
|
|
22125
|
+
evidence: `Lifecycle is completed while persisted validation is ${wi.validationStatus}.`,
|
|
22126
|
+
explanation: "This requires review against the Work Item completion contract; it is not automatically a failed or invalid completion.",
|
|
22127
|
+
suggested_action: "Review the validation evidence and confirm whether the completed lifecycle state is consistent with the Work Item completion contract."
|
|
22100
22128
|
});
|
|
22101
22129
|
}
|
|
22102
22130
|
findings.push(...graphHintEntries.map(graphHintFinding));
|
|
@@ -22139,7 +22167,6 @@ function buildImpactReport(dir, opts = {}, now = /* @__PURE__ */ new Date()) {
|
|
|
22139
22167
|
else if (g.scope === "active" && g.quality === "empty") actions.push("Run `kaddo impact --scope all` to measure accumulated knowledge impact.");
|
|
22140
22168
|
if (exp.roadmap.remaining > 0) actions.push(`Materialize the ${exp.roadmap.remaining} remaining roadmap candidate(s) with \`kaddo create --from roadmap\`.`);
|
|
22141
22169
|
for (const a of [
|
|
22142
|
-
groupedAction(gaps.missing_code_ownership, "Add `code:` ownership to"),
|
|
22143
22170
|
groupedAction(gaps.missing_source, "Add `source`/`source_id` to")
|
|
22144
22171
|
]) if (a) actions.push(a);
|
|
22145
22172
|
if (gaps.broad_ownership_globs.length > 0) actions.push(`Narrow ${gaps.broad_ownership_globs.length} broad ownership glob(s) into specific paths.`);
|
|
@@ -22227,7 +22254,7 @@ function buildImpactReport(dir, opts = {}, now = /* @__PURE__ */ new Date()) {
|
|
|
22227
22254
|
function ratio(have, total) {
|
|
22228
22255
|
return `${have}/${total}`;
|
|
22229
22256
|
}
|
|
22230
|
-
function renderImpactMarkdown(r) {
|
|
22257
|
+
function renderImpactMarkdown(r, opts = {}) {
|
|
22231
22258
|
const L = [];
|
|
22232
22259
|
L.push("# Kaddo Knowledge Impact Report", "");
|
|
22233
22260
|
L.push(`Generated at: ${r.generated_at}`);
|
|
@@ -22249,10 +22276,10 @@ function renderImpactMarkdown(r) {
|
|
|
22249
22276
|
if (r.findings.length === 0) L.push("No current findings detected by the executed deterministic checks.");
|
|
22250
22277
|
if (r.findings.length > 0) {
|
|
22251
22278
|
const cell = (value) => value.replace(/\|/g, "\\|").replace(/\r?\n/g, " ");
|
|
22252
|
-
L.push("| Priority | Source | Affected | Finding | Suggested action |");
|
|
22253
|
-
L.push("
|
|
22279
|
+
L.push("| Classification | Priority | Status | Source | Affected | Finding | Suggested action |");
|
|
22280
|
+
L.push("|---|---|---|---|---|---|---|");
|
|
22254
22281
|
for (const finding of r.findings) {
|
|
22255
|
-
L.push(`| ${finding.priority} | ${cell(finding.source)} | ${cell(finding.affected_artifacts.join(", ") || "not available")} | ${cell(finding.explanation)} Evidence: ${cell(finding.evidence)} | ${cell(finding.suggested_action)} |`);
|
|
22282
|
+
L.push(`| ${finding.classification} | ${finding.priority} | ${finding.resolution_status} | ${cell(finding.source)} | ${cell(finding.affected_artifacts.join(", ") || "not available")} | ${cell(finding.explanation)} Evidence: ${cell(finding.evidence)} | ${cell(finding.suggested_action)} |`);
|
|
22256
22283
|
}
|
|
22257
22284
|
}
|
|
22258
22285
|
L.push("");
|
|
@@ -22364,9 +22391,9 @@ function renderImpactMarkdown(r) {
|
|
|
22364
22391
|
}
|
|
22365
22392
|
L.push("");
|
|
22366
22393
|
};
|
|
22367
|
-
gapSection("Work Items missing source", gp.missing_source);
|
|
22368
|
-
gapSection("Work Items missing code ownership", gp.missing_code_ownership);
|
|
22369
|
-
if (gp.broad_ownership_globs.length > 0) {
|
|
22394
|
+
if (opts.details) gapSection("Work Items missing source", gp.missing_source);
|
|
22395
|
+
if (opts.details) gapSection("Work Items missing code ownership", gp.missing_code_ownership);
|
|
22396
|
+
if (opts.details && gp.broad_ownership_globs.length > 0) {
|
|
22370
22397
|
L.push("### Broad ownership globs", "");
|
|
22371
22398
|
for (const b of gp.broad_ownership_globs) {
|
|
22372
22399
|
L.push(`- ${b.id} \u2014 ${b.title}`);
|
|
@@ -22377,16 +22404,26 @@ function renderImpactMarkdown(r) {
|
|
|
22377
22404
|
}
|
|
22378
22405
|
if (gp.ownership_overlaps.length > 0) {
|
|
22379
22406
|
L.push("### Shared code-path history (review only)", "");
|
|
22380
|
-
|
|
22381
|
-
|
|
22382
|
-
|
|
22383
|
-
|
|
22407
|
+
if (opts.details) {
|
|
22408
|
+
for (const o of gp.ownership_overlaps) {
|
|
22409
|
+
L.push(`- \`${o.code_path}\``);
|
|
22410
|
+
L.push(` - Owned by: ${o.work_items.join(", ")}`);
|
|
22411
|
+
L.push(` - Suggested action: ${o.suggested_action}`);
|
|
22412
|
+
}
|
|
22413
|
+
} else {
|
|
22414
|
+
L.push(`- ${gp.ownership_overlaps.length} shared path declaration(s) detected. These are historical relationships, not necessarily ownership conflicts.`);
|
|
22415
|
+
const areas = gp.ownership_overlaps.slice(0, 3).map((o) => `\`${o.code_path}\``);
|
|
22416
|
+
if (areas.length > 0) L.push(`- Most involved paths: ${areas.join(", ")}.`);
|
|
22417
|
+
L.push("- Run `kaddo impact --details` for the complete shared-path inventory.");
|
|
22384
22418
|
}
|
|
22385
22419
|
L.push("");
|
|
22386
22420
|
}
|
|
22387
22421
|
const anyGaps = gp.missing_source.length + gp.missing_code_ownership.length + gp.broad_ownership_globs.length;
|
|
22388
22422
|
if (anyGaps === 0) {
|
|
22389
22423
|
L.push("No actionable knowledge gaps detected. \u{1F389}", "");
|
|
22424
|
+
} else if (!opts.details) {
|
|
22425
|
+
L.push("- Current actionable items are listed in Key Findings. Run `kaddo impact --details` for the full artifact inventory.");
|
|
22426
|
+
L.push("");
|
|
22390
22427
|
}
|
|
22391
22428
|
const historical = [
|
|
22392
22429
|
["knowledge level", gp.missing_knowledge_level],
|
|
@@ -22430,7 +22467,7 @@ function runReportImpact(opts = {}) {
|
|
|
22430
22467
|
requireConfig(dir);
|
|
22431
22468
|
const scope = opts.scope === "active" ? "active" : opts.scope === "all" ? "all" : void 0;
|
|
22432
22469
|
const report = buildImpactReport(dir, { scope });
|
|
22433
|
-
const content = opts.json ? serializeImpactJson(report) : renderImpactMarkdown(report);
|
|
22470
|
+
const content = opts.json ? serializeImpactJson(report) : renderImpactMarkdown(report, { details: opts.details });
|
|
22434
22471
|
if (opts.output) {
|
|
22435
22472
|
intro("kaddo report impact");
|
|
22436
22473
|
const rel = opts.output;
|
|
@@ -22692,7 +22729,7 @@ function renderSavingsMarkdown(r) {
|
|
|
22692
22729
|
L.push("");
|
|
22693
22730
|
L.push("## Evidence Used", "");
|
|
22694
22731
|
const e = r.evidence;
|
|
22695
|
-
L.push(`- Knowledge Impact Score: ${e.knowledge_impact_score ?? "not available"}${e.knowledge_impact_score !== null ? "/100" : ""}`);
|
|
22732
|
+
L.push(`- Legacy Knowledge Impact Score: ${e.knowledge_impact_score ?? "not available"}${e.knowledge_impact_score !== null ? "/100" : ""} (deprecated; informational only and not used for confidence)`);
|
|
22696
22733
|
L.push(`- Completed Work Items: ${e.completed_work_items}`);
|
|
22697
22734
|
L.push(`- Ownership coverage: ${e.ownership_coverage_percent}%`);
|
|
22698
22735
|
L.push(`- Work Items with Acceptance Criteria: ${e.work_items_with_acceptance_criteria}`);
|
|
@@ -22801,7 +22838,15 @@ function buildDriftReport(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
22801
22838
|
const workItems = discoverWorkItems(dir);
|
|
22802
22839
|
const verificationEvidence = workItems.filter((wi) => wi.validationStatus && wi.validationStatus !== "not-started");
|
|
22803
22840
|
const plans = getDeprecationPlans(dir);
|
|
22804
|
-
const
|
|
22841
|
+
const planDetails = plans.map((plan) => getDeprecationPlan(dir, plan.id)).filter((plan) => plan !== null);
|
|
22842
|
+
const plansWithoutTargets = planDetails.filter((plan) => plan.targets.length === 0);
|
|
22843
|
+
const plansWithTargets = planDetails.filter((plan) => plan.targets.length > 0);
|
|
22844
|
+
const targetFindingsByPlan = new Map(plansWithTargets.map((plan) => [
|
|
22845
|
+
plan.id,
|
|
22846
|
+
plan.targets.flatMap(validateTarget)
|
|
22847
|
+
]));
|
|
22848
|
+
const deprecationFindings = [...targetFindingsByPlan.values()].flat();
|
|
22849
|
+
const plansWithoutStructuralFindings = plansWithTargets.filter((plan) => (targetFindingsByPlan.get(plan.id) ?? []).length === 0);
|
|
22805
22850
|
const config = loadConfig(dir);
|
|
22806
22851
|
const topology = config ? buildGraph(dir, config, { scope: "all" }, now) : null;
|
|
22807
22852
|
const graphHints = topology ? buildGraphHints(dir, topology, now) : null;
|
|
@@ -22811,13 +22856,27 @@ function buildDriftReport(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
22811
22856
|
...deprecationFindings.map((finding, index) => ({
|
|
22812
22857
|
id: `deprecation-target:${index + 1}`,
|
|
22813
22858
|
category: "consistency",
|
|
22859
|
+
classification: "consistency_violation",
|
|
22860
|
+
resolution_status: "open",
|
|
22814
22861
|
source: "deprecation-target-validation",
|
|
22815
|
-
affected_artifacts: [],
|
|
22816
|
-
priority: "medium",
|
|
22817
|
-
evidence:
|
|
22862
|
+
affected_artifacts: finding.target ? [finding.target] : [],
|
|
22863
|
+
priority: finding.severity === "error" ? "high" : "medium",
|
|
22864
|
+
evidence: finding.message,
|
|
22818
22865
|
explanation: "A deterministic deprecation target consistency check reported a finding.",
|
|
22819
22866
|
suggested_action: "Review the affected deprecation target and its declared lifecycle evidence."
|
|
22820
|
-
}))
|
|
22867
|
+
})),
|
|
22868
|
+
...h.available && h.total_runs >= 2 ? h.threads.filter((thread) => thread.status === "open").map((thread) => ({
|
|
22869
|
+
id: `guard-history:${thread.code_path}`,
|
|
22870
|
+
category: "consistency",
|
|
22871
|
+
classification: "historical_drift",
|
|
22872
|
+
resolution_status: "open",
|
|
22873
|
+
source: "guard-history",
|
|
22874
|
+
affected_artifacts: [thread.code_path, ...thread.related_artifacts],
|
|
22875
|
+
priority: "medium",
|
|
22876
|
+
evidence: `Recorded Guard observations from ${thread.first_detected} through ${thread.last_seen} remain unresolved.`,
|
|
22877
|
+
explanation: "Comparable Guard runs observed a possible code/knowledge drift thread over time.",
|
|
22878
|
+
suggested_action: "Review the recorded drift thread and update the relevant knowledge or ownership evidence."
|
|
22879
|
+
})) : []
|
|
22821
22880
|
];
|
|
22822
22881
|
const actions = [];
|
|
22823
22882
|
if (!h.available) {
|
|
@@ -22834,12 +22893,17 @@ function buildDriftReport(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
22834
22893
|
consistency_evidence: [
|
|
22835
22894
|
{ id: "guard-current-consistency", label: "Current Guard consistency", classification: h.available ? "observed" : "unknown", reason: h.available ? `${h.total_runs} recorded Guard run(s) provide deterministic consistency evidence.` : "No recorded Guard history is available." },
|
|
22836
22895
|
{ id: "lifecycle-consistency", label: "Lifecycle evidence consistency", classification: verificationEvidence.length > 0 ? "observed" : "unknown", reason: verificationEvidence.length > 0 ? `${verificationEvidence.length} Work Item(s) persist an implementation validation status.` : "No persisted Work Item validation status is available." },
|
|
22837
|
-
{ id: "deprecation-consistency", label: "Deprecation consistency", classification: plans.length === 0 ? "not_applicable" : deprecationFindings.length === 0 ? "derived" : "observed", reason: plans.length === 0 ? "No deprecation plans exist in this project." : deprecationFindings.length === 0 ? `${
|
|
22896
|
+
{ id: "deprecation-consistency", label: "Deprecation consistency", classification: plans.length === 0 ? "not_applicable" : plansWithTargets.length === 0 ? "unknown" : deprecationFindings.length === 0 ? "derived" : "observed", reason: plans.length === 0 ? "No deprecation plans exist in this project." : plansWithTargets.length === 0 ? `${plansWithoutTargets.length} plan(s) have no targets, so target consistency was not evaluated.` : deprecationFindings.length === 0 ? `${plansWithTargets.length} plan(s) with targets passed deterministic target consistency checks; ${plansWithoutTargets.length} plan(s) remain unevaluated because they have no targets.` : `${deprecationFindings.length} deterministic deprecation consistency finding(s) were detected.` },
|
|
22838
22897
|
{ id: "topology-consistency", label: "Knowledge topology consistency", classification: topology === null ? "unknown" : topologyHints === 0 ? "derived" : "observed", reason: topology === null ? "No project configuration is available to construct the topology." : topologyHints === 0 ? `The in-memory topology has ${topology.nodes.length} node(s) and no open deterministic hints.` : `The in-memory topology has ${topologyHints} open deterministic hint(s).` }
|
|
22839
22898
|
],
|
|
22840
22899
|
current_consistency_findings: currentConsistencyFindings,
|
|
22841
22900
|
structural_consistency: {
|
|
22842
|
-
deprecation_target_checks: plans.length === 0 ? "not_applicable" : deprecationFindings.length === 0 ? "passed" : "findings_detected",
|
|
22901
|
+
deprecation_target_checks: plans.length === 0 ? "not_applicable" : plansWithTargets.length === 0 ? "not_evaluated" : deprecationFindings.length === 0 ? "passed" : "findings_detected",
|
|
22902
|
+
plans_discovered: plans.length,
|
|
22903
|
+
plans_without_targets: plansWithoutTargets.length,
|
|
22904
|
+
plans_with_targets_evaluated: plansWithTargets.length,
|
|
22905
|
+
structural_findings: deprecationFindings.length,
|
|
22906
|
+
plans_without_structural_findings: plansWithoutStructuralFindings.length,
|
|
22843
22907
|
note: plans.length === 0 ? "No deprecation plans exist in this project." : "Target consistency checks validate declared structural state only; they do not verify operational removal from infrastructure, production or external consumers."
|
|
22844
22908
|
},
|
|
22845
22909
|
guard_history: {
|
|
@@ -22867,22 +22931,41 @@ function renderDriftMarkdown(r) {
|
|
|
22867
22931
|
L.push("## Consistency Evidence", "");
|
|
22868
22932
|
for (const item of r.consistency_evidence) L.push(`- ${item.label}: ${item.classification} \u2014 ${item.reason}`);
|
|
22869
22933
|
L.push("");
|
|
22870
|
-
|
|
22871
|
-
|
|
22872
|
-
|
|
22873
|
-
|
|
22934
|
+
const findingGroups = [
|
|
22935
|
+
{ classification: "consistency_violation", title: "Consistency Violations" },
|
|
22936
|
+
{ classification: "coverage_gap", title: "Coverage Gaps" },
|
|
22937
|
+
{ classification: "review_hint", title: "Review Hints" },
|
|
22938
|
+
{ classification: "historical_drift", title: "Historical Drift" }
|
|
22939
|
+
];
|
|
22940
|
+
L.push("## Current Findings Summary", "");
|
|
22941
|
+
for (const group of findingGroups) {
|
|
22942
|
+
const count = r.current_consistency_findings.filter((finding) => finding.classification === group.classification).length;
|
|
22943
|
+
const unavailable = group.classification === "historical_drift" && !r.guard_history.available;
|
|
22944
|
+
L.push(`- ${group.title}: ${unavailable ? "not available \u2014 no recorded Guard runs" : count}`);
|
|
22874
22945
|
}
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22946
|
+
L.push("");
|
|
22947
|
+
L.push("## Current Consistency Findings", "");
|
|
22948
|
+
if (r.current_consistency_findings.length === 0) L.push("No findings detected by the executed consistency checks.", "");
|
|
22949
|
+
const cell = (value) => value.replace(/\|/g, "\\|").replace(/\r?\n/g, " ");
|
|
22950
|
+
for (const group of findingGroups) {
|
|
22951
|
+
const findings = r.current_consistency_findings.filter((finding) => finding.classification === group.classification);
|
|
22952
|
+
if (findings.length === 0) continue;
|
|
22953
|
+
L.push(`### ${group.title}`, "");
|
|
22954
|
+
L.push("| Classification | Priority | Status | Source | Affected | Finding | Suggested action |");
|
|
22955
|
+
L.push("|---|---|---|---|---|---|---|");
|
|
22956
|
+
for (const finding of findings) {
|
|
22957
|
+
L.push(`| ${finding.classification} | ${finding.priority} | ${finding.resolution_status} | ${cell(finding.source)} | ${cell(finding.affected_artifacts.join(", ") || "not available")} | ${cell(finding.explanation)} Evidence: ${cell(finding.evidence)} | ${cell(finding.suggested_action)} |`);
|
|
22881
22958
|
}
|
|
22882
22959
|
L.push("");
|
|
22883
22960
|
}
|
|
22884
22961
|
L.push("## Structural Consistency Boundaries", "");
|
|
22885
22962
|
L.push(`- Deprecation target checks: ${r.structural_consistency.deprecation_target_checks}`);
|
|
22963
|
+
L.push(`- Plans discovered: ${r.structural_consistency.plans_discovered}`);
|
|
22964
|
+
L.push(`- Plans without targets: ${r.structural_consistency.plans_without_targets}`);
|
|
22965
|
+
L.push(`- Plans with targets evaluated: ${r.structural_consistency.plans_with_targets_evaluated}`);
|
|
22966
|
+
L.push(`- Structural findings: ${r.structural_consistency.structural_findings}`);
|
|
22967
|
+
L.push(`- Plans without structural findings: ${r.structural_consistency.plans_without_structural_findings}`);
|
|
22968
|
+
if (r.structural_consistency.plans_without_targets > 0) L.push("- Target consistency for plans without targets: not evaluated \u2014 no targets defined.");
|
|
22886
22969
|
L.push(`- Note: ${r.structural_consistency.note}`);
|
|
22887
22970
|
L.push("");
|
|
22888
22971
|
if (!r.guard_history.available) {
|
|
@@ -25928,10 +26011,10 @@ workItemCmd.command("import [file]").description("Import a Work Item from text o
|
|
|
25928
26011
|
await runWorkItemImport(cwd(), file, opts);
|
|
25929
26012
|
});
|
|
25930
26013
|
var reportCmd = program.command("report").description("Generate Kaddo reports");
|
|
25931
|
-
reportCmd.command("impact").description("Knowledge Impact Report: knowledge health, coverage, traceability, readiness (deterministic, no LLM)").option("--json", "Output JSON instead of Markdown").option("--scope <scope>", "Scope: all (default \u2014 accumulated impact) or active").option("--output <path>", "Write the report to a file (e.g. .kaddo/reports/impact-report.md)").action((opts) => {
|
|
26014
|
+
reportCmd.command("impact").description("Knowledge Impact Report: knowledge health, coverage, traceability, readiness (deterministic, no LLM)").option("--json", "Output JSON instead of Markdown").option("--scope <scope>", "Scope: all (default \u2014 accumulated impact) or active").option("--details", "Include the complete Markdown inventory").option("--output <path>", "Write the report to a file (e.g. .kaddo/reports/impact-report.md)").action((opts) => {
|
|
25932
26015
|
runReportImpact(opts);
|
|
25933
26016
|
});
|
|
25934
|
-
program.command("impact").description("Alias for `kaddo report impact`").option("--json", "Output JSON instead of Markdown").option("--scope <scope>", "Scope: all (default \u2014 accumulated impact) or active").option("--output <path>", "Write the report to a file").action((opts) => {
|
|
26017
|
+
program.command("impact").description("Alias for `kaddo report impact`").option("--json", "Output JSON instead of Markdown").option("--scope <scope>", "Scope: all (default \u2014 accumulated impact) or active").option("--details", "Include the complete Markdown inventory").option("--output <path>", "Write the report to a file").action((opts) => {
|
|
25935
26018
|
runReportImpact(opts);
|
|
25936
26019
|
});
|
|
25937
26020
|
reportCmd.command("savings").description("Estimated Savings Report: evidence-based time/effort/value estimates (deterministic, no LLM)").option("--json", "Output JSON instead of Markdown").option("--scope <scope>", "Scope: all (default) or active").option("--output <path>", "Write the report to a file (e.g. .kaddo/reports/savings-report.md)").action((opts) => {
|