From 883dcb90a84a756a8341682397cc1a0f49cdd6fb Mon Sep 17 00:00:00 2001 From: Edouard Gouilliard Date: Fri, 17 Apr 2026 18:16:37 +0100 Subject: [PATCH] =?UTF-8?q?fix(workflow):=20remove=20hooks=20from=20prompt?= =?UTF-8?q?=20nodes=20=E2=80=94=20Archon=20crashes=20on=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Archon throws 'undefined is not an object (evaluating options.hooks[event])' when hooks are placed on prompt nodes. Removed from implement and implement-fix nodes. The prompts already instruct the agent to validate. Co-Authored-By: Claude Opus 4.6 (1M context) --- .archon/workflows/dev-pipeline.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.archon/workflows/dev-pipeline.yaml b/.archon/workflows/dev-pipeline.yaml index 6fd86db..a808cfc 100644 --- a/.archon/workflows/dev-pipeline.yaml +++ b/.archon/workflows/dev-pipeline.yaml @@ -256,11 +256,6 @@ nodes: 4. Fix any failures before moving to the next task After ALL tasks are done, output a summary of what was implemented. - hooks: - PostToolUse: - - matcher: "Write|Edit" - response: - systemMessage: "Run byte-compile and tests NOW to catch errors early." # ═══════════════════════════════════════════════════════════════ # Step 5: Review (MANDATORY — separate node guarantees it runs) @@ -473,11 +468,6 @@ nodes: REPO=$(git rev-parse --show-toplevel) cd "$REPO/codegraph" python -m compileall codegraph/ -q 2>&1 && .venv/bin/python -m pytest tests/ -q 2>&1 - hooks: - PostToolUse: - - matcher: "Write|Edit" - response: - systemMessage: "Run byte-compile and tests NOW to catch errors early." # ═══════════════════════════════════════════════════════════════ # Final gate — independent verification (fan-in from both paths)