From ae4b65ff5c17b98722dd37df50e067fee1d05fd9 Mon Sep 17 00:00:00 2001 From: gastown/polecats/slit Date: Tue, 30 Dec 2025 22:26:18 -0800 Subject: [PATCH] mol-sync-workspace: Add build/test command variables (gt-muwit) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add configurable build_command and test_command variables to the mol-sync-workspace formula. Previously hardcoded to Go commands, now supports any project type via variable configuration. - Add build_command variable (default: go build ./...) - Add test_command variable (default: go test ./...) - Update verify-build step to use {{ build_command }} - Update run-tests step to use {{ test_command }} 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .beads/formulas/mol-sync-workspace.formula.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.beads/formulas/mol-sync-workspace.formula.toml b/.beads/formulas/mol-sync-workspace.formula.toml index 0415d6ab..8a691c95 100644 --- a/.beads/formulas/mol-sync-workspace.formula.toml +++ b/.beads/formulas/mol-sync-workspace.formula.toml @@ -30,6 +30,8 @@ Polecats can file a bead and delegate. Refinery must resolve inline. | Variable | Source | Description | |----------|--------|-------------| | role | auto-detected | Agent role (crew/polecat/refinery/witness) | +| build_command | config or default | Build command (default: `go build ./...`) | +| test_command | config or default | Test command (default: `go test ./...`) | ## Failure Modes @@ -246,8 +248,9 @@ description = """ Ensure the codebase compiles. ```bash -go build ./... -# Or appropriate build command for the project +{{ build_command }} +# Default: go build ./... +# Configure via build_command variable for non-Go projects ``` **If build succeeds:** Continue to next step. @@ -281,7 +284,9 @@ description = """ Verify tests pass on current baseline. ```bash -go test ./... +{{ test_command }} +# Default: go test ./... +# Configure via test_command variable for non-Go projects ``` **If tests pass:** Continue to next step.