Repository navigation
Prevent PureLock incomplete reports for unavailable lint tooling - #78085
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
The pure log should fail if linting is unavailable. Figure out why linting isn’t available in the workflow and fix it. |
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ 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.
|
|
✅ PR Specification Reviewer completed successfully!
|
There was a problem hiding this comment.
Reviewed the changed PureLock validation guidance and regenerated lock metadata. I found no actionable correctness, security, or maintainability issues in the changed lines.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
There was a problem hiding this comment.
Overview
Reviewed PR head fa18f2c4622381ef3ca9700f75f53f0b6d9de6b9. The generated lock hash matches the workflow-source change, but the new validation instruction conflicts with the repository’s mandatory publication gates.
Key issue
.github/workflows/purelock.md:352: the prompt forbidsmake agent-report-progressand declares focused checks the complete gate. The trusted developer contract requiresmake recompilefor workflow Markdown changes andmake agent-report-progressbefore finalreport_progress; focused checks cannot replace those gates.
Please revise the wording to preserve the focused checks while requiring the repository publication gates, or report an actual unavailable-tool blocker rather than redefining the contract.
Contract scope
No dedicated formal specification document was applicable to this prompt-only validation change; review was against the repository’s mandatory developer validation contract and generated-lock consistency. No tests were run in this static review.
Generated by PR Specification Reviewer for #78085 · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review-specs to run again
|
|
||
| ### E. Validate | ||
|
|
||
| Use the focused checks below as the complete validation gate for this test-only change. Do not run `make agent-report-progress` or other repository-wide lint targets: they invoke Go lint tooling, including `golangci-lint`, which is not installed in the agent sandbox. |
There was a problem hiding this comment.
This instruction conflicts with the repository's mandatory validation contract: workflow-source changes must still run make agent-report-progress before the final report_progress (and make recompile after Markdown changes). The focused checks are useful inner-loop checks, but they cannot be declared the complete gate or forbid the final gate. Please retain the focused checks and state that the repository-wide gate is required for publication; if golangci-lint is unavailable, the run should report the concrete environment blocker rather than redefine the contract.
Comment MemoryPeek at saved memory (review-history)History |
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs to this small prompt and lock change. The root-cause fix is sound; one wording gap is raised inline.
📋 Key Themes & Highlights
Key Themes
- Validation gate gap: the new "complete validation gate" text omits the Testify rules that
.golangci.ymlenforces throughtestifylint(enable-all: true). See the inline comment.
Positive Highlights
- ✅ Root cause verified:
lint_go_packagesinscripts/agent-report-progress.shreturns 1 whengolangci-lintis missing, so the generic gate fails in the sandbox. - ✅ Lock regeneration verified: compiling the PR-head
purelock.mdwith a locally builtgh-awgivesbody_hash3ae1370e..., matching the committedpurelock.lock.yml. The lock diff is only the header hash and the two matchingGH_AW_ADMISSION_WORKFLOW_HASHlines. - ✅ Scope is tight: one added paragraph and its matching lock update.
Notes
- Skill selection was done directly from the 13-line diff; the
pr-triageagent was not invoked. golangci-lintis not installed in this review environment, so lint was not run.
@copilot please address the review comment above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~6 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
|
|
||
| ### E. Validate | ||
|
|
||
| Use the focused checks below as the complete validation gate for this test-only change. Do not run `make agent-report-progress` or other repository-wide lint targets: they invoke Go lint tooling, including `golangci-lint`, which is not installed in the agent sandbox. |
There was a problem hiding this comment.
[/grill-with-docs] The new text calls the listed checks the "complete validation gate", but they do not cover the Testify rules above (lines 324-332). .golangci.yml enables testifylint with enable-all: true, so tests that pass this gate can still fail lint.
💡 Suggested wording
Keep the Go-lint exclusion, but add a manual self-check for the Testify rules, since golangci-lint cannot run in this sandbox:
Before finishing, self-check the Testify lint rules above by hand, because golangci-lint (testifylint) enforces them and is unavailable here.Also state the sandbox limit conditionally ("if golangci-lint is unavailable") so the prompt stays accurate if the sandbox changes. To keep the ban narrow, point to make agent-report-progress-no-test, which skips the Go-lint job and still runs compile checks.
@copilot please address this.
There was a problem hiding this comment.
🔵 Needs a closer look
Because the change modifies an agentic workflow’s completion gate and generated admission lock without available automated validation, a human should verify the source-lock pair and runtime completion behavior.
No open issues 🎉
What changed in this PR
This PR prevents PureLock from reporting incomplete results when focused validation passes but unavailable repository-wide Go lint tooling cannot run.
Changes:
- Defines focused formatting, vet, race-test, coverage, and changed-file checks as the completion gate.
- Excludes repository-wide lint targets requiring unavailable tooling.
- Regenerates the compiled lock metadata and admission hashes.
| File | Description |
|---|---|
| .github/workflows/purelock.md | Clarifies PureLock’s focused validation criteria and excludes unavailable repository-wide lint targets. |
| .github/workflows/purelock.lock.yml | Regenerates compiled workflow metadata and admission hashes to match the updated source workflow. |
Review effort: Lite (dynamic)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Fixed in |
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "8c8bb20747d9159b026ece91d94f870225732e31",
"kind": "requested",
"schema_version": "1",
"state": "4db80badc007eb7b441054421cff7bbaa97dcd5d8e888cfa613df180b973c6c8",
"work": [
"113bfa20600dfce62a1bf85b2f54ec747cb498fb81208b1227a50d382a35c46f",
"f01c430ea6edee2686769660a0341cd1305f4ba88652bbe655fe2dd7e1947d27"
],
"workflow": "pr-sous-chef"
}
|
…lete-result Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
🎉 This pull request is included in a new release. Release: |
PureLock reported an incomplete result after its required package checks passed because an additional progress gate required sandbox-unavailable
golangci-lint.