fix: Convert mol-polecat-arm variables to correct schema (gt-8tmz.3)

The formula used "variables" as an array, but the schema expects
"vars" as a map. This prevented variable metadata (required, default)
from being parsed by bd cook.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-25 11:57:10 -08:00
parent 95d14d3fe2
commit eaffc26fc4

View File

@@ -2,24 +2,20 @@
"formula": "mol-polecat-arm", "formula": "mol-polecat-arm",
"description": "Single polecat inspection and action cycle.\n\nThis molecule is bonded dynamically by mol-witness-patrol's survey-workers step. Each polecat being monitored gets one arm that runs in parallel with other arms.\n\n## Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| polecat_name | Yes | Name of the polecat to inspect |\n| rig | Yes | Rig containing the polecat |\n| nudge_text | No | Text to send when nudging (default: \"How's progress?...\") |", "description": "Single polecat inspection and action cycle.\n\nThis molecule is bonded dynamically by mol-witness-patrol's survey-workers step. Each polecat being monitored gets one arm that runs in parallel with other arms.\n\n## Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| polecat_name | Yes | Name of the polecat to inspect |\n| rig | Yes | Rig containing the polecat |\n| nudge_text | No | Text to send when nudging (default: \"How's progress?...\") |",
"version": 1, "version": 1,
"variables": [ "vars": {
{ "polecat_name": {
"name": "polecat_name",
"required": true, "required": true,
"description": "Name of the polecat to inspect" "description": "Name of the polecat to inspect"
}, },
{ "rig": {
"name": "rig",
"required": true, "required": true,
"description": "Rig containing the polecat" "description": "Rig containing the polecat"
}, },
{ "nudge_text": {
"name": "nudge_text",
"required": false,
"default": "How's progress? Need any help?", "default": "How's progress? Need any help?",
"description": "Text to send when nudging the polecat" "description": "Text to send when nudging the polecat"
} }
], },
"steps": [ "steps": [
{ {
"id": "capture", "id": "capture",