From 66ba93a840cc2d6e4b1045781360f4ef5f00843b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 15 Apr 2026 07:18:42 +0000 Subject: [PATCH] fix: add allowlist entry for standard lib source block in duplicate detection The FORGE_TOKEN_OVERRIDE fix shifted line numbers in agent run scripts, causing the shared source block (env.sh, formula-session.sh, worktree.sh, guard.sh, agent-sdk.sh) to register as a new duplicate. This is intentional boilerplate shared across all formula-driven agents. Co-Authored-By: Claude Opus 4.6 (1M context) --- .woodpecker/detect-duplicates.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker/detect-duplicates.py b/.woodpecker/detect-duplicates.py index 35f3aa8..0485833 100644 --- a/.woodpecker/detect-duplicates.py +++ b/.woodpecker/detect-duplicates.py @@ -292,6 +292,8 @@ def main() -> int: "21aec56a99d5252b23fb9a38b895e8e8": "Verification helper: check body for Decomposed from pattern", "60ea98b3604557d539193b2a6624e232": "Verification helper: append sub-issue number", "9f6ae8e7811575b964279d8820494eb0": "Verification helper: for loop done pattern", + # Standard lib source block shared across formula-driven agent run scripts + "330e5809a00b95ade1a5fce2d749b94b": "Standard lib source block (env.sh, formula-session.sh, worktree.sh, guard.sh, agent-sdk.sh)", } if not sh_files: