Overview
Update gateway command (commands/kleene.md) to use yq for registry and save operations.
Tasks
Templates
# Scenario Menu Data
yq '.scenarios | to_entries | .[] | select(.value.enabled) | {id: .key, name: .value.name, description: .value.description, path: .value.path}' registry.yaml
# Save Metadata Batch
for f in ./saves/scenario/*.yaml; do
yq --arg file "$f" '{file: $file, turn: .turn, node: .current_node, saved: .last_saved}' "$f"
done
Acceptance Criteria
References
- Plan:
kleene/docs/plans/yq-scenario-optimization.md (Phase 4, lines 437-479)
Overview
Update gateway command (commands/kleene.md) to use yq for registry and save operations.
Tasks
Templates
Acceptance Criteria
References
kleene/docs/plans/yq-scenario-optimization.md(Phase 4, lines 437-479)