mirror of
https://github.com/Klotzkette/claude-fuer-deutsches-recht
synced 2026-06-09 10:03:19 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user