Fix vars format in shiny and towers-of-hanoi formulas (gt-8tmz)

This commit is contained in:
Steve Yegge
2025-12-25 02:03:59 -08:00
parent 2f8bc581a6
commit 62402bd4bd
2 changed files with 23 additions and 6 deletions

View File

@@ -3,8 +3,13 @@
"description": "Engineer in a Box - the canonical right way. Design before you code. Review before you ship. Test before you submit.",
"version": 1,
"vars": {
"feature": "{{feature}}",
"assignee": "{{assignee}}"
"feature": {
"description": "The feature being implemented",
"required": true
},
"assignee": {
"description": "Who is assigned to this work"
}
},
"steps": [
{

View File

@@ -3,10 +3,22 @@
"description": "Solve Towers of Hanoi for {disks} disks. Generates 2^{disks} - 1 steps, each a trivial move operation. Demonstrates mechanical structure generation for arbitrarily long workflows.",
"version": 1,
"vars": {
"disks": "{{disks}}",
"source_peg": "A",
"target_peg": "C",
"auxiliary_peg": "B"
"disks": {
"description": "Number of disks to solve",
"required": true
},
"source_peg": {
"description": "Starting peg",
"default": "A"
},
"target_peg": {
"description": "Target peg",
"default": "C"
},
"auxiliary_peg": {
"description": "Helper peg",
"default": "B"
}
},
"generate": {
"for-each": {