From 3cac3729b1dd636d0f349719a1569c2a88175d4a Mon Sep 17 00:00:00 2001 From: numinousmuses <103385201+numinousmuses@users.noreply.github.com> Date: Sun, 6 Sep 2026 05:46:07 +0000 Subject: [PATCH 1/4] Document progress comments and exercise failure reporting --- .forge/README.md | 10 ++++++++++ coordinator/protocol/forge_progress_demo_test.go | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 coordinator/protocol/forge_progress_demo_test.go diff --git a/.forge/README.md b/.forge/README.md index 2a46aa4d2e..2550a05aef 100644 --- a/.forge/README.md +++ b/.forge/README.md @@ -57,3 +57,13 @@ Public receipts omit credentials and private infrastructure details. Operator ex ## Demonstrated work The examples cover coordinator and protocol improvements in this fork. Each linked result records the checks that ran and the revision they verified. Maintainers review the proposed behavior and decide what to merge. + +## Follow work on a pull request + +The Numinous Forge verification comment updates when checks are queued, running, +or complete. It identifies the revision and links to the workflow and results. +New commits trigger verification again and update the same comment. + +Engineering tasks have their own progress comment so you can distinguish an +agent preparing a change from the independent checks on the PR. The task comment +shows reproduction, implementation, verification, and review readiness. diff --git a/coordinator/protocol/forge_progress_demo_test.go b/coordinator/protocol/forge_progress_demo_test.go new file mode 100644 index 0000000000..ec5eb575e9 --- /dev/null +++ b/coordinator/protocol/forge_progress_demo_test.go @@ -0,0 +1,7 @@ +package protocol + +import "testing" + +func TestForgeProgressFailureDemonstration(t *testing.T) { + t.Fatal("intentional temporary failure to verify PR progress reporting") +} From f785a0d424c80d1450ae2149326b20ff549afacc Mon Sep 17 00:00:00 2001 From: numinousmuses <103385201+numinousmuses@users.noreply.github.com> Date: Sun, 6 Sep 2026 05:50:00 +0000 Subject: [PATCH 2/4] Finish the progress guide after verifying failure reporting --- .forge/README.md | 4 ++-- coordinator/protocol/forge_progress_demo_test.go | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 coordinator/protocol/forge_progress_demo_test.go diff --git a/.forge/README.md b/.forge/README.md index 2550a05aef..d029d5a6a7 100644 --- a/.forge/README.md +++ b/.forge/README.md @@ -64,6 +64,6 @@ The Numinous Forge verification comment updates when checks are queued, running, or complete. It identifies the revision and links to the workflow and results. New commits trigger verification again and update the same comment. -Engineering tasks have their own progress comment so you can distinguish an -agent preparing a change from the independent checks on the PR. The task comment +An engineering task attached to the PR has its own progress comment so you can +distinguish an agent preparing a change from the independent checks on the PR. The task comment shows reproduction, implementation, verification, and review readiness. diff --git a/coordinator/protocol/forge_progress_demo_test.go b/coordinator/protocol/forge_progress_demo_test.go deleted file mode 100644 index ec5eb575e9..0000000000 --- a/coordinator/protocol/forge_progress_demo_test.go +++ /dev/null @@ -1,7 +0,0 @@ -package protocol - -import "testing" - -func TestForgeProgressFailureDemonstration(t *testing.T) { - t.Fatal("intentional temporary failure to verify PR progress reporting") -} From 2a75af024c8f42a730872021e7c17cb1a3494ef7 Mon Sep 17 00:00:00 2001 From: numinousmuses <103385201+numinousmuses@users.noreply.github.com> Date: Sun, 6 Sep 2026 06:05:27 +0000 Subject: [PATCH 3/4] Explain how contributors respond to verification results --- .forge/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.forge/README.md b/.forge/README.md index d029d5a6a7..a6899d1d85 100644 --- a/.forge/README.md +++ b/.forge/README.md @@ -64,6 +64,11 @@ The Numinous Forge verification comment updates when checks are queued, running, or complete. It identifies the revision and links to the workflow and results. New commits trigger verification again and update the same comment. +If a check fails, open the linked run to see which check did not pass and why, +correct the change, and push a new commit; that pushes a fresh verification onto +the same comment. A passing check is evidence for human review, not approval to +merge — maintainers still decide what to merge and release. + An engineering task attached to the PR has its own progress comment so you can distinguish an agent preparing a change from the independent checks on the PR. The task comment shows reproduction, implementation, verification, and review readiness. From 69ebc779cbfe5a5d8845c3355330dacd20019c9c Mon Sep 17 00:00:00 2001 From: numinousmuses <103385201+numinousmuses@users.noreply.github.com> Date: Sun, 6 Sep 2026 06:05:30 +0000 Subject: [PATCH 4/4] Clarify progress outcomes and contributor next steps --- .forge/README.md | 8 ++++---- .github/workflows/forge-ci.yml | 18 ++++++++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.forge/README.md b/.forge/README.md index a6899d1d85..3dab3aea25 100644 --- a/.forge/README.md +++ b/.forge/README.md @@ -64,10 +64,10 @@ The Numinous Forge verification comment updates when checks are queued, running, or complete. It identifies the revision and links to the workflow and results. New commits trigger verification again and update the same comment. -If a check fails, open the linked run to see which check did not pass and why, -correct the change, and push a new commit; that pushes a fresh verification onto -the same comment. A passing check is evidence for human review, not approval to -merge — maintainers still decide what to merge and release. +If a check fails, open the linked run to inspect the failure, then fix the change +and push a new commit. Forge reruns verification and updates the existing comment. +A passing check provides evidence for human review; maintainers decide what to +merge and release. An engineering task attached to the PR has its own progress comment so you can distinguish an agent preparing a change from the independent checks on the PR. The task comment diff --git a/.github/workflows/forge-ci.yml b/.github/workflows/forge-ci.yml index d1794147d0..4be27db5ae 100644 --- a/.github/workflows/forge-ci.yml +++ b/.github/workflows/forge-ci.yml @@ -115,10 +115,14 @@ jobs: raise ValueError("unknown task state") title, detail = STATES[state] reason = task.get("reason", "") + if state == "verified" and task.get("lane") != "ci": + detail = "The proposed change passed its accepted checks. PR verification is reported separately." if state == "blocked": match = re.fullmatch(r"verification failed: ([a-zA-Z0-9_-]+) \([a-f0-9]{32}\)", reason) if match and match[1] in CHECKS: title, detail = "Checks failed", f"{CHECKS[match[1]]} did not pass. Open the run to inspect the failure." + elif reason == "agent produced no candidate patch": + title, detail = "No code change proposed", "The task ended without a patch. Review the request before asking for a revision." elif reason.startswith(("unsupported capability ", "no accepted CI coverage for ")): title, detail = "Coverage needed", "The changed files need checks that are not configured. This PR has not passed verification." elif reason.startswith("CI revision no longer current:"): @@ -137,7 +141,7 @@ jobs: if checks: label = "Checks passed" if state in {"verified", "published"} else "Checks reached" lines += ["", f"{label}: " + ", ".join(checks) + "."] - if state == "implementing" and task.get("agent_attempts", 0) > 1: + if state == "implementing" and task.get("agent_attempts", 0) >= 1: lines += ["", "The agent is revising its earlier candidate."] return "\n".join(lines) @@ -189,7 +193,8 @@ jobs: label = "PR verification" if self.slot == "ci" else "Engineering task" effective_state = state or task.get("state", "queued") content = f"{self.marker}\n{ownership}\n\n\n### Numinous Forge · {label}\n\n" + summary(task, state) - content += f"\n\nRevision: [`{self.head[:12]}`](https://github.com/{REPOSITORY}/commit/{self.head})." + revision_label = "Revision" if self.slot == "ci" else "Source revision" + content += f"\n\n{revision_label}: [`{self.head[:12]}`](https://github.com/{REPOSITORY}/commit/{self.head})." source = task.get("verification_source", {}).get("commit", "") if SHA.fullmatch(source): content += f" Tested merge: `{source[:12]}`." @@ -398,10 +403,14 @@ jobs: raise ValueError("unknown task state") title, detail = STATES[state] reason = task.get("reason", "") + if state == "verified" and task.get("lane") != "ci": + detail = "The proposed change passed its accepted checks. PR verification is reported separately." if state == "blocked": match = re.fullmatch(r"verification failed: ([a-zA-Z0-9_-]+) \([a-f0-9]{32}\)", reason) if match and match[1] in CHECKS: title, detail = "Checks failed", f"{CHECKS[match[1]]} did not pass. Open the run to inspect the failure." + elif reason == "agent produced no candidate patch": + title, detail = "No code change proposed", "The task ended without a patch. Review the request before asking for a revision." elif reason.startswith(("unsupported capability ", "no accepted CI coverage for ")): title, detail = "Coverage needed", "The changed files need checks that are not configured. This PR has not passed verification." elif reason.startswith("CI revision no longer current:"): @@ -420,7 +429,7 @@ jobs: if checks: label = "Checks passed" if state in {"verified", "published"} else "Checks reached" lines += ["", f"{label}: " + ", ".join(checks) + "."] - if state == "implementing" and task.get("agent_attempts", 0) > 1: + if state == "implementing" and task.get("agent_attempts", 0) >= 1: lines += ["", "The agent is revising its earlier candidate."] return "\n".join(lines) @@ -472,7 +481,8 @@ jobs: label = "PR verification" if self.slot == "ci" else "Engineering task" effective_state = state or task.get("state", "queued") content = f"{self.marker}\n{ownership}\n\n\n### Numinous Forge · {label}\n\n" + summary(task, state) - content += f"\n\nRevision: [`{self.head[:12]}`](https://github.com/{REPOSITORY}/commit/{self.head})." + revision_label = "Revision" if self.slot == "ci" else "Source revision" + content += f"\n\n{revision_label}: [`{self.head[:12]}`](https://github.com/{REPOSITORY}/commit/{self.head})." source = task.get("verification_source", {}).get("commit", "") if SHA.fullmatch(source): content += f" Tested merge: `{source[:12]}`."