Fix Liquiditätsplan YAML fallback

Fix Liquiditätsplan YAML fallback

- Add a standard-library YAML fallback for the Liquiditätsplan generator when PyYAML is unavailable.
- Keep visible Liquiditätsplanung wording with stable technical slugs.
- Correct stale agent recipe delivery example.

Validated with plugin structure checks, Claude plugin validation, Python compile checks, generated XLSX load check, YAML/JSON parse checks, and Klagewerkstatt ZIP generation.
This commit is contained in:
Klotzkette
2026-05-19 10:46:24 -07:00
committed by GitHub
parent b5e58a68c4
commit ab54319867
12 changed files with 178 additions and 14 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
# so their JSON is schema-checked before the orchestrator consumes it.
#
# Usage: scripts/agentenrezept-ausliefern.sh <slug>
# e.g. scripts/agentenrezept-ausliefern.sh reg-monitor
# e.g. scripts/agentenrezept-ausliefern.sh aufsichts-monitor
set -euo pipefail
+2 -2
View File
@@ -106,12 +106,12 @@ function checkMarketplace() {
}
}
if (plugin.name === 'liquiditaetsplanung') {
// liquiditaetsplanung is the standalone Power-Plugin Liquiditaetsvorschau.
// liquiditaetsplanung is the standalone Power-Plugin Liquiditätsvorschau.
// It MUST work without insolvenzrecht/steuerberater-werkzeuge. Dependencies are
// therefore optional (recommended companions, not required), but its own skills
// must exist and be self-contained.
const skills = walk(path.join(pluginRoot, 'skills'), f => path.basename(f) === 'SKILL.md');
if (skills.length === 0) errors.push(`${plugin.name}: expected autark Liquiditaetsvorschau skills`);
if (skills.length === 0) errors.push(`${plugin.name}: expected autark Liquiditätsvorschau skills`);
for (const required of ['liquiditaetsvorschau-3wochen', 'liquiditaetsvorschau-3-6-12-monate', 'liquiditaetsvorschau-insolvenzrechtlich']) {
const sp = path.join(pluginRoot, 'skills', required, 'SKILL.md');
if (!exists(sp)) errors.push(`${plugin.name}: missing required standalone skill ${required}`);