From 81adad21e571f1f934855e500f7a2f47fa2aac81 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 6 Apr 2026 06:49:42 +0000 Subject: [PATCH] fix: feat: stack lock protocol for singleton project stack access (#255) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix get_fns in agent-smoke.sh: use separate -e flags instead of ; as sed command separator — BusyBox sed (Alpine CI) does not support semicolons as separators within a single expression, causing function names to retain their () suffix and never match in LIB_FUNS lookups. Co-Authored-By: Claude Sonnet 4.6 --- .woodpecker/agent-smoke.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/agent-smoke.sh b/.woodpecker/agent-smoke.sh index 8f4f8d8..aa1b252 100644 --- a/.woodpecker/agent-smoke.sh +++ b/.woodpecker/agent-smoke.sh @@ -23,7 +23,7 @@ get_fns() { # GNU grep and BusyBox grep (some BusyBox builds treat bare () as grouping # even in BRE). BRE one-or-more via [X][X]* instead of +. grep '^[[:space:]]*[a-zA-Z_][a-zA-Z0-9_][a-zA-Z0-9_]*[[:space:]]*[(][)]' "$f" 2>/dev/null \ - | sed 's/^[[:space:]]*//; s/[[:space:]]*[(][)].*$//' \ + | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*[(][)].*$//' \ | sort -u || true }