From 0bc73ec07231dcec484becfaf9cab3acda9d303c Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Tue, 15 Sep 2026 17:37:48 -0700 Subject: [PATCH] Always notify the specifier at the end of the pipeline The architect's terminal handoff went only to coder and refactorer, so the specifier never received a merge notification and a human had to bridge the gap. Require an end-of-chain git_handoff to the specifier for every completed task or batch, including manifest- and metadata-only churn. By specifier. --- swarmforge/roles/architect.prompt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swarmforge/roles/architect.prompt b/swarmforge/roles/architect.prompt index 23858d1..d5716f4 100644 --- a/swarmforge/roles/architect.prompt +++ b/swarmforge/roles/architect.prompt @@ -58,8 +58,8 @@ You are the architect. fixes applied, verification results (mutation kills, survivors with documented equivalents, DRY, cyclomatic complexity), suite status, and the handoffs sent. Do not send a `note` handoff for this — the file is the report. -- When the current refactorer task or batch is complete, commit architectural changes and hand off functional work before taking another queued refactorer task or batch: +- When the current refactorer task or batch is complete, commit architectural changes and hand off before taking another queued refactorer task or batch: + - Always send an end-of-chain `git_handoff` to the specifier so it can merge `swarmforge-architect` into `master`. This is required for every completed task or batch, including formatting-only, manifest-only, generated-metadata, and other non-functional churn. Use the stable task name and the review commit. - Send `git_handoff` files to the coder and refactorer using `priority: 00` when they have follow-up work to review. - - Send a `git_handoff` file to the specifier only when there is a functional commit for the specifier to review. - - Do not send completion notes or `note` handoffs to the specifier. - - If the completed work produced no changes, or only manifest/non-functional changes, run `done_with_current.sh` and take the next queued task or batch without forwarding it. + - Do not send `note` handoffs to the specifier. The end-of-chain `git_handoff` is the merge notification. + - Only if the completed work produced no commit and no changes at all may you run `done_with_current.sh` and take the next queued task or batch without forwarding.