inventory sweeps the instance — and an empty environment shouts (#22) #24

Merged
dan-claude-bot merged 2 commits from feat/inventory-sweep into main 2026-07-13 19:45:06 +00:00
Showing only changes of commit 619b94b7df - Show all commits

View file

@ -182,7 +182,7 @@ export function renderInventory(
`inventory — ${ctx.orgRepo} ${ctx.env}`,
"",
` looked in: project "${ctx.project}", environment "${ctx.environment}"`,
` found: NOTHING. Not one resource.`,
" found: NOTHING. Not one resource.",
"",
"This environment is EMPTY — so there is nothing here to reconcile, and the",
"manifest's list below would just be the manifest talking to itself.",
@ -196,9 +196,7 @@ export function renderInventory(
"",
` cast inventory --env ${ctx.env} --instance ${ctx.instance}`,
"",
"(The manifest declares: " +
rec.manifestOnly.map((m) => m.name).join(", ") +
".)",
`(The manifest declares: ${rec.manifestOnly.map((m) => m.name).join(", ")}.)`,
].join("\n");
}
const lines = [