Skip to content

fix(attribution): recognize inline "recheck when" and "Recheck:" triggers in check-stamps - #8165

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8004-39106025958-1
Oct 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-8004-39106025958-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8004

Summary

Opened by the work-resolve-issue lane. The run's own summary:

check-stamps.sh --trigger-less now treats an inline recheck when <condition> clause and a Recheck: label (bold or plain) followed by a condition as a stated trigger. A bare recheck still does not count, and existing forms and file-level clearing are unchanged.

Not verified

  • Placeholder values after the label (Recheck: none) and multi-line conditions are not special-cased; the issue only asks for 'a condition after it'.
  • build/lint beyond the test file and cant-fail scan was not run (no separate shell lint wrapper named for this run).

Fix

  • plugins/attribution/skills/audit/scripts/check-stamps.sh: added a trigger rule for recheck when &lt;cond&gt; and Recheck: <cond>
  • plugins/attribution/skills/audit/scripts/check-stamps.test.sh: added three fixtures and cases (inline recheck when, bold Recheck: label, bare recheck still flagged)
  • .changes/attribution/fix-8004-recheck-when-trigger-3f9a2c1e.md: patch fragment for attribution (written by hand: new-changelog-fragment refused on a detached HEAD)

Verification

The run reports:

  • run-test-file on check-stamps.test.sh: 92 passed, 0 failed, including the new cases
  • check-changelog-fragments: all 146 fragments valid
  • cant-fail-scan --file on the test file --check: no gating findings
  • fresh-context subagent review of the diff: no correctness bug confirmed; its notes were that Recheck: none or n/a counts as a condition, that a condition on the next line is not seen, and that re-check is not accepted. Those are outside the issue's stated behavior, so I made no change for them
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/39106025958

Left out: the items under Not verified.

Related

#8004

…gers in check-stamps

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed d350b300569cc726b2e31640580e54838289cd1c: 0 finding(s), 0 as inline comments.

No security issues found in PR #8165 at head d350b30.

The PR changes 3 files:

  • A changelog fragment.
  • One awk regex addition in plugins/attribution/skills/audit/scripts/check-stamps.sh that adds recognition of recheck when <condition> and Recheck: as stated triggers.
  • Matching tests in check-stamps.test.sh.

The regex is a static pattern matched against local file content. It adds no command execution, no path or input handling, and no token or secret handling. It does not touch a trust boundary, workflow, permission or instruction surface. The only effect is that fewer stamps are reported as trigger-less in an advisory audit, and that effect is intended.

I deleted or softened no standing instructions, so I did not read the instruction exception register.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed d350b300569cc726b2e31640580e54838289cd1c: 0 finding(s), 0 as inline comments.

No findings on #8165 at d350b30.

What I checked. I read the three changed files against the closing issue #8004.

  • The new rule. The awk rule at plugins/attribution/skills/audit/scripts/check-stamps.sh:498 is tolower($0) ~ /recheck[ \t]+when[ \t]+[^ \t]|recheck\**:\**[ \t]*[^ \t*]/. I traced it by hand against these lines:
    • recheck when the hooks page renames this section matches.
    • **Recheck:** when the CLI ships… matches.
    • A trailing Recheck: or **Recheck:** with nothing after it does not match, so a bare label stays flagged.
    • We should recheck. and rechecked: do not match.
  • Behaviour preserved. The rule sets the same file-level has_trigger flag as the existing rule, so the one-trigger-clears-the-file behaviour is unchanged. It avoids {n,m} interval expressions, which the comment at line 488 warns break mawk, and uses only \t and [^…].
  • Acceptance criteria.
    • The three new test cases cover the issue's repro line, the bold **Recheck:** line, and the bare-recheck case, which is still flagged.
    • The changelog fragment is present, with bump: patch and a ### Fixed section.

Not verified. I could not run check-stamps.test.sh or check-changelog-fragments.sh here, because the sandbox blocked them. The PR's "92 passed" and "all 146 fragments valid" are the author's own claims, and I did not confirm them.

Minor, not blocking.

  • The plain, non-bold Recheck: <condition> form has no test case. The issue's acceptance criteria name only the bold one, but the regex clearly handles both.
  • The author already notes that placeholders like Recheck: none count as a condition. The issue's scope allows that.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head d350b300569cc726b2e31640580e54838289cd1c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(attribution): recognize inline "recheck when" and "Recheck:" triggers in check-stamps

0 participants