Repository navigation
Remove AWF attestation checks; retain trusted checksum verification - #78625
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
|
✅ 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 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.
|
|
✅ 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.
|
There was a problem hiding this comment.
Overview
Reviewed PR head 3815dd3e56c35397e96a2f0b2ac063a20f2d7c13 against the applicable security contract.
Finding
The source workflow updates the trusted release_integrity.sh digest, but the four changed generated lock files still embed the previous digest 2046c21a.... Their locked jobs copy the new helper and verify it with the old hash, so they fail closed before TLA installation. Regenerate all dependent locks and confirm the embedded digest matches the new helper. This is a blocking generated-contract synchronization failure under Security Architecture Spec v1.1.10, TT-02.
No specification synchronization proposal is warranted; the intended checksum-only behavior preserves TT-02. Coverage was static only; no tests or conformance scripts were run.
Generated by PR Specification Reviewer for #78625 · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Reviewed the changed AWF installer, release-integrity helper, Docker enclave helper generation, tests, documentation, and checksum pin updates. I found no actionable correctness, regression, performance, or maintainability issues in the changed lines. The grumpy-coder specialist pass was unavailable because its diff-read tool calls were denied, so this conclusion is based on the independent static review only; no tests were run per the review instructions.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
The AWF and Docker installer steps still receive an unused GitHub token, unnecessarily exposing it to downloaded release code during rootless AWF installation.
1 open issue
What changed in this PR
Updates gh-aw’s AWF installers to avoid github.com attestation authentication failures on *.ghe.com, using trusted checksum verification without extra credentials or version overrides.
Changes:
- Removes attestation, release-identity, and quota handling while retaining manifest pins, payload checksums, and refusal to fall back after verification failure.
- Updates tests for Enterprise installation without GitHub API calls and for tampered-artifact rejection.
- Refreshes dependent workflow pins and generated locks, and documents checksum-only installation.
| File | Description |
|---|---|
pkg/workflow/copilot_engine_installation.go |
Switches Docker helper installation to checksum-only verification. |
pkg/workflow/awf_installer_integration_test.go |
Updates helper verification requirements and forbids attestation calls. |
docs/src/content/docs/reference/frontmatter.md |
Documents AWF checksum verification and Enterprise behavior. |
docs/src/content/docs/experimental/enclaves.md |
Updates enclave installer integrity documentation. |
actions/setup/sh/release_integrity.sh |
Removes attestation, identity, and quota helpers. |
actions/setup/sh/release_integrity_test.sh |
Adds Enterprise and checksum-failure regression cases. |
actions/setup/sh/install_awf_binary.sh |
Removes attestation checks while preserving checksum enforcement. |
actions/setup/sh/install_awf_binary_test.sh |
Tests installation without API access and removes quota cases. |
.github/workflows/shared/tla-plus.md |
Refreshes the integrity-helper checksum pin. |
.github/workflows/daily-workflow-security-model.lock.yml |
Refreshes the generated pin and workflow hashes. |
.github/workflows/daily-work-queue-formal-verification.md |
Refreshes the integrity-helper checksum pin. |
.github/workflows/daily-work-queue-formal-verification.lock.yml |
Synchronizes the generated pin and workflow hashes. |
.github/workflows/daily-tlc-test-expert.lock.yml |
Refreshes the generated pin and workflow hashes. |
.github/workflows/daily-formal-spec-verifier.lock.yml |
Refreshes the generated pin and workflow hashes. |
Review effort: Max (adaptive)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /codebase-design and /tdd. The attestation removal is clean and the checksum trust chain holds. Two follow-ups remain, plus one test-coverage gap.
📋 Key Themes & Highlights
Verified
- ✅ Digest migration
2046c21a...to79c19f71...matchessha256sumofrelease_integrity.shat HEAD. No lock file still embeds the old digest, so the stale bot comment ondaily-work-queue-formal-verification.mdis resolved. - ✅
install_awf_binary_test.shpasses (20/20).release_integrity_test.shpasses (exit 0) with a writableRUNNER_TEMP. An earlier failure was sandbox-only, caused by the root-owned_tempdirectory. - ✅ The checksum-verified install path asserts that
ghis never invoked (test ! -e gh.log). This is a good negative test. - ✅ The helper path now verifies
checksums.txtwithverify_release_digestagainst the pinned digest, not a release-identity attestation.
Follow-ups
- Dead quota path (not in this diff):
actions/setup/sh/conclude_threat_detection.sh(lines 50–51),pkg/cli/audit_threat_detection_logs.go(line 25), andpkg/workflow/threat_detection_conclude_script_test.go(line 480) still branch onGH_AW_GITHUB_API_QUOTA_BLOCKED. No producer sets it after this PR. Remove them, or document why they remain. The ADRdocs/adr/76583-handle-github-api-quota-exhaustion.mdstill describes the removed wait mechanism and is in Draft status. Update or supersede it. - Stale attestation references (out of scope but related):
actions/setup/sh/cloud_hypervisor_setup_enclave_artifacts.sh(lines 26 and 43) andnvx_host_preflight.sh(line 170) still usegh attestation verify. Confirm whether these are intentionally kept. - Test coverage: the
release_integrity_test.shghstub returns HTTP 401 unconditionally. A regression that reintroduces an attestation call would fail the stub rather than be detected specifically. Consider a stub that records calls and asserts zero invocations on the checksum path.
Inline comment
awf_installer_integration_test.goline 159: theGH_TOKEN/GH_HOSTenv lines are still required by the contract test and are not read by either installer script.
Process note
pr-triage was not run. Classification and high-impact files came from the direct fallback heuristic on pr-meta.json and pr-diff.patch.
@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
|
🍳 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": "3815dd3e56c35397e96a2f0b2ac063a20f2d7c13",
"kind": "requested",
"schema_version": "1",
"state": "7937c3780e2a89beb6717582b8b9a40d4766693649704b0353c7336ab33dedf8",
"work": [
"3e23293725bfd4e3d0dfafe0c319f2dbc5b6a4d16a9bcd5059dc72e9f407d48b",
"9b62775a243c31bca06b1db58ace6239635c983ca893c83ee91f87fd0615f9c4"
],
"workflow": "pr-sous-chef"
}
|
The installers no longer call gh after attestation checks were removed, so GH_TOKEN/GH_HOST only exposed the token to release code. Co-authored-by: Copilot App <[email protected]>
|
/smoke-copilot |
|
📰 BREAKING: Smoke Copilot is now investigating this issue comment. Sources say the story is developing... |
|
Smoke: FAIL. Me test.
PR author: bot. No assignees. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "host.docker.internal"See Network Configuration for more information.
|
Comment MemoryPeek at saved memory (smoke)HistoryNote This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "host.docker.internal"See Network Configuration for more information.
|
There was a problem hiding this comment.
Smoke review. Ugh.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
host.docker.internal
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "host.docker.internal"See Network Configuration for more information.
📰 BREAKING: Report filed by Smoke Copilot · copilot · auto (Claude Sonnet 5.5) · ~33 AIC · ⌖ ~1 AIC · ⊞ 8.4K
Comment /smoke-copilot to run again
Add label smoke to run again
Lock files compiled by older gh-aw versions call verify_release_identity and verify_release_attestation from inline helper steps. Keep them callable so those workflows do not fail with 'command not found'. Co-authored-by: Copilot App <[email protected]>
Accept upstream removal of the Atomic engine workflows, refresh the release_integrity.sh digest pin for the compatibility shims, and regenerate lock files. Co-authored-by: Copilot App <[email protected]>
|
🎉 This pull request is included in a new release. Release: |

AWF ≥0.29.5 installs fail on
*.ghe.combecause mandatory github.com attestation requests use an Enterprise-issued token and return 401. Rely on trusted checksums instead, without requiring additional secrets or a version workaround.