Repository navigation
Suppress RGS-018 false positive in pinned TLA+ setup - #74741
Conversation
Co-authored-by: gh-aw-bot <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. Caution agentic threat detected DetailsPotential security threats were detected in the agent output. Review the workflow run logs for details.
|
There was a problem hiding this comment.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
Potential security threats were detected in the agent output.
Review the workflow run logs for details.
Reviewed the changed workflow source and regenerated locks. I found no actionable correctness, security, or maintainability issues in the patch; the checksum verification remains in place and the suppression is scoped to the intended shared setup step.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs to this 9-line suppression. The change is correct and in scope, with two small gaps to close before merge.
📋 Key Themes & Highlights
Key Themes
- Regression guard missing: nothing asserts the directive survives compilation into the two
.lock.ymlfiles. - Rationale missing: the directive has no
-- <reason>suffix, unlike the other RGS directives in the repo.
Positive Highlights
- ✅ Placing the directive inside the script body, after the shell line, is the right location. It survives compilation, and the committed
run:strings in both lock files contain it. - ✅ The suppression is scoped to one rule ID (
RGS-018) on one step, not a file-wide or workflow-wide disable. - ✅ The checksum verification already in the step is the real mitigation, and the PR description states it accurately.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~4 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again
| - name: Prepare pinned TLA+ runtime | ||
| shell: bash | ||
| run: | | ||
| # runner-guard:ignore RGS-018 |
There was a problem hiding this comment.
[/tdd] Nothing guards this suppression. The only existing shared/tla-plus test in pkg/workflow/compiled_lock_files_test.go reads the source .md, so a regeneration or template change could drop the directive from the compiled .lock.yml files and silently re-enable RGS-018.
💡 Suggested test
Add a case that reads daily-tlc-test-expert.lock.yml and daily-workflow-security-model.lock.yml and asserts each contains # runner-guard:ignore RGS-018 in the Prepare pinned TLA+ runtime step. The compiled form is a single-line quoted string, so a plain substring check is enough.
@copilot please address this.
| - name: Prepare pinned TLA+ runtime | ||
| shell: bash | ||
| run: | | ||
| # runner-guard:ignore RGS-018 |
There was a problem hiding this comment.
[/diagnosing-bugs] Add the rationale that the other RGS directives in this repo carry (-- <reason>). Without it, a reviewer cannot tell why the suppression is safe without reading the PR. The filter matches on the rule-ID substring, so the suffix does not change behavior.
💡 Suggested line
# runner-guard:ignore RGS-018 -- pinned Temurin JRE and TLC jar are SHA-256 verified before extraction or use.The existing RGS-018 directive in daily-byok-ollama-test.md follows the same pattern.
@copilot please address this.
There was a problem hiding this comment.
🟡 Changes recommended
The shared TLA+ workflow’s security-rule suppression lacks a rationale explaining SHA-256 verification of both pinned downloads, and both importing workflows need recompilation after it is added.
1 open issue
What changed in this PR
Addresses #73436 by adding a targeted RGS-018 suppression to gh-aw’s shared TLA+ runtime setup. Download pinning and SHA-256 verification remain unchanged.
Changes:
- Places the suppression inside the script body so it survives workflow compilation.
- Regenerates both importing workflows, including metadata and admission hashes.
| File | Description |
|---|---|
.github/workflows/shared/tla-plus.md |
Adds the suppression before the runtime setup commands. |
.github/workflows/daily-workflow-security-model.lock.yml |
Includes the suppression and refreshed workflow hashes. |
.github/workflows/daily-tlc-test-expert.lock.yml |
Includes the suppression and refreshed workflow hashes. |
Review effort: Max (auto)
| - name: Prepare pinned TLA+ runtime | ||
| shell: bash | ||
| run: | | ||
| # runner-guard:ignore RGS-018 |
|
Note The pull request was not created — a fallback review issue was created instead due to protected file changes: #74774 PR finisherSubmitted for publication (staged, not yet confirmed pushed):
Validation: PR finisher dispatch requested for the following outstanding work (see items above). Sous-chef head: e92473d
|
|
🎉 This pull request is included in a new release. Release: |

Runner-guard flagged the TLA+ runtime setup because a verified SHA-256 checksum coincidentally matched a payload-decoding signature. The downloads are checksum-verified before extraction or use.