From b1be6cebc85df0b7c76c8ca50797d038624a429c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Mar 2026 01:24:44 +0000 Subject: [PATCH] chore: sync workflow templates from Workflows repo Automated sync from stranske/Workflows Template hash: fc69344fa9aa Changes synced from sync-manifest.yml --- .github/scripts/agents_verifier_context.js | 5 ++++- scripts/langchain/pr_verifier.py | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/scripts/agents_verifier_context.js b/.github/scripts/agents_verifier_context.js index e2e8195a..2d808c16 100644 --- a/.github/scripts/agents_verifier_context.js +++ b/.github/scripts/agents_verifier_context.js @@ -482,7 +482,10 @@ async function buildVerifierContext({ github, context, core, ciWorkflows }) { // Also check for follow-up label on linked issues as a depth-1 indicator if (chainDepth === 0) { for (const issue of closingIssues) { - if (issue.labels && issue.labels.some((l) => l.name === 'follow-up')) { + const hasFollowupLabel = issue.labels && issue.labels.some((l) => l.name === 'follow-up'); + const hasFollowupTitle = /follow-?up/i.test(String(issue.title || '')); + const hasSourceRef = /source\s+(issue|pr)\s*:\s*#\d+/i.test(String(issue.body || '')); + if (hasFollowupLabel || hasFollowupTitle || hasSourceRef) { chainDepth = Math.max(chainDepth, 1); } } diff --git a/scripts/langchain/pr_verifier.py b/scripts/langchain/pr_verifier.py index c8095689..f558b0a1 100755 --- a/scripts/langchain/pr_verifier.py +++ b/scripts/langchain/pr_verifier.py @@ -162,6 +162,15 @@ - At chain depth {depth}, focus strictly on whether THIS iteration resolves its targeted concerns. Avoid raising new concerns that were not part of the original feedback. +- Treat the original source issue/PR scope as baseline context that may + already be satisfied by earlier merged work. Do NOT re-grade the full + original issue checklist unless this iteration explicitly reopens it. +- If acceptance criteria require out-of-band GitHub metadata actions + (for example: comments/labels/body updates on already merged PRs/issues), + do not treat missing evidence in THIS diff as a hard completeness failure. + Call these out as "external evidence required" and keep verdict focused on + whether code/disposition artifacts in this iteration address the targeted + verifier concerns. """.strip() # File path patterns considered infrastructure/platform rather than application