From eaffc26fc40592cb79b40ffe978fc0c462dd9a81 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Thu, 25 Dec 2025 11:57:10 -0800 Subject: [PATCH] fix: Convert mol-polecat-arm variables to correct schema (gt-8tmz.3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .beads/formulas/mol-polecat-arm.formula.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.beads/formulas/mol-polecat-arm.formula.json b/.beads/formulas/mol-polecat-arm.formula.json index 3fa66ebe..9b033096 100644 --- a/.beads/formulas/mol-polecat-arm.formula.json +++ b/.beads/formulas/mol-polecat-arm.formula.json @@ -2,24 +2,20 @@ "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?...\") |", "version": 1, - "variables": [ - { - "name": "polecat_name", + "vars": { + "polecat_name": { "required": true, "description": "Name of the polecat to inspect" }, - { - "name": "rig", + "rig": { "required": true, "description": "Rig containing the polecat" }, - { - "name": "nudge_text", - "required": false, + "nudge_text": { "default": "How's progress? Need any help?", "description": "Text to send when nudging the polecat" } - ], + }, "steps": [ { "id": "capture",