Repository navigation
Add a read-only operational value report for workflows - #79042
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
✅ 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.
|
|
✅ 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.
|
This comment has been minimized.
This comment has been minimized.
|
✅ PR Specification Reviewer completed successfully!
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ 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.
|
🏗️ Design Decision Gate: ADR requiredThis PR adds about 3,877 lines in business-logic directories ( Decision captured: Next action: review the draft, fill the This builds on ADR-55155 and ADR-60682.
|
There was a problem hiding this comment.
Specification review
Reviewed PR head 82e841a747e9319c36e3a908dc4d99209ba63c14 against docs/src/content/docs/specs/graders-specification.md v0.8.0, docs/src/content/docs/specs/operational-value-specification.md v1.0.0, and the affected unified-agent-session contract.
No actionable contract regressions or eligible synchronization proposals found. The changes preserve the existing grader/session boundaries, keep reporting read-only and outcome-blind, retain unavailable/zero/error distinctions, and document the new report-side evidence and attribution limits. Review was static; no tests or conformance scripts were run.
Generated by PR Specification Reviewer for #79042 · copilot · gpt50 · ~7 AIC · ⌖ ~1 AIC · ⊞ 1.7K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Found two actionable correctness issues in the new operational-value report path.
Blocking findings
sanitizeGraderReasonForDisplaypasses an odd argument count tostrings.NewReplacer, causing a runtime panic when rendering a non-empty grader reason.- Run identity validation occurs before status/window filtering, so unrelated malformed records can abort valid reports.
The existing sensitive-output concern is already covered by an earlier review comment; I did not duplicate it.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~10 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs and /tdd. Requesting changes because the grader-reason redaction does not remove secret values.
📋 Key Themes and Highlights
Key Themes
- Redaction leak (blocking):
sanitizeGraderReasonForDisplayswaps the key name but keeps the value, sotoken=ghp_ABC123becomestoken=[REDACTED]ghp_ABC123. I confirmed this by calling the function directly. The inline comment includes a regex fix. - JSON bypass:
--jsonserializes raw gradermessageanderrorfields, so the text-only sanitizer never runs on that path. - Test gap: no test covers the sanitizer, so the leak passed the suite.
Positive Highlights
- ✅ Recorded grades are read without regrading, aggregation, or mutation. The test checks that
summary.jsonis unchanged. - ✅ Run identity checks (repository, host, canonical URL, attempt, clock) reject conflicting records explicitly.
- ✅ Missing grades are reported as
unavailablerather than zero.
Review Scope
The pre-fetched diff was capped at 3000 lines and cuts off after operational_value_graders_test.go, so the later JSON-number and evidence files were not reviewed. The gosec alert on operational_value_graders.go:196 is already covered by an existing thread and is not repeated here.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
@copilot Resolve merge conflicts, address all open review comments and fix failing checks. |
Visual Regression CheckCaptured the built docs at
AccessibilityPartial snapshot review, not an exhaustive compliance check:
ConsoleNo errors. Three to four WebGL GPU performance warnings (ReadPixels stalls) were logged. These are not accessibility issues. ArtifactsScreenshots were saved in the sandbox under Cleanup: Browser closed and preview server stopped.
|
Visual regression check: docs homepagePreview served on loopback (127.0.0.1:4321). Checked page: /gh-aw/.
Visual comparison is unavailable: no baseline is provisioned for this workflow, so no page is reported as unchanged. Accessibility (desktop snapshot only; mobile and tablet were not snapshotted)
Screenshots were saved to /tmp/gh-aw/agent/ on the runner.
|
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Updated the branch from |
…tion Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Visual regression check (partial)
Comparison: No authorized baseline is provisioned for this run, so no visual comparison was performed. Results are unavailable, not unchanged. Accessibility: A snapshot was captured (page title GitHub Agentic Workflows, 0 console errors, 4 warnings). Analysis of the snapshot was blocked by a workflow tool permission denial, so no accessibility findings are reported. Cleanup: Browser closed. Preview server stopped and no longer listed as active.
|
|
🍳 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": "2fef5f87b9bcd746583a5828be47b743bdf8aaf5",
"kind": "requested",
"schema_version": "1",
"state": "09f8b34c3c6bccdc954b19af4438c85eea61639a46849e366ab71943c0c739b4",
"work": [
"51e2287c3d1ee41b7e13769862add61dcd292a623cf943abc5968c984e246bcf"
],
"workflow": "pr-sous-chef"
}
|
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Merged latest |
gh aw value WORKFLOW: a read-only report over native delivery/adoption, recorded primary grades, Git snapshots or caller-supplied typed measurements. Freeze the goal and window policy before seeing cohort outcomes. Missing evidence is unavailable, not zero; only verified direct PR windows can contribute to the subtotal.Checks
make fmt BASE_REF=origin/mainandgo test ./pkg/cli -run '^TestOperationalValue' -count=1go test -tags integration ./cmd/gh-aw -run '^TestCommandGroupAssignments$' -count=1make check-instruction-prefixes,bash .github/skills/operational-value-designer/tests/test.sh,npm --prefix docs run test:titlesmake agent-report-progress BASE_REF=origin/main(passed; 366 workflow locks in sync)