Compile unified AWF enclaves through mcpg - #50920
Conversation
Compile AWF-owned script and agent enclaves through mcpg with run-scoped capability handoff, timeout derivation, network validation, schemas, tests, and documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Note
This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.
|
@copilot Please refresh this PR branch if needed and run the
|
PR finisher complete. Local validation passed ( |
|
Nice work on the enclave compiler integration! 🎯 This PR looks solid: ✅ Focused scope — all changes align with unified AWF enclave compilation through mcpg The PR properly addresses the AWF integration prerequisite per the firewall schema alignment, and the inline agentic workflow attribution is noted. Ready for review! 🚀
|
|
@copilot Please triage this PR and run the Refresh the branch if needed.
|
PR finisher complete.
Actions taken: Local validation confirmed green. No code changes needed. |
|
@copilot Please triage this PR and run the Refresh the branch if needed.
|
PR finisher complete (second pass, no changes needed).
Hand-off: A maintainer needs to approve the pending deployment gates (CGO/CWI/Doc Build) to unblock merge. |
|
@copilot Please triage this PR, refresh the branch if needed, and run the Branch refresh was requested. Copilot review appears to have errored earlier, so please re-check reviewer feedback state as part of triage. Run context: https://github.com/github/gh-aw/actions/runs/31146242452
|
Branch has been refreshed (merged with
Hand-off: A maintainer needs to approve the pending deployment gates (CGO/CWI/Doc Build) to unblock merge. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state, confirm whether anything remains beyond the deployment-approval/CI re-trigger gates, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher complete.
Actions taken: Local validation confirmed; no file changes were necessary. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state on the latest head, confirm whether anything remains beyond the approval/CI re-trigger gates, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher complete on HEAD
Actions taken: Local validation confirmed; no file changes were necessary. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state on the latest head, confirm whether anything remains beyond approval/CI re-trigger gates, and run the
Reference: workflow run https://github.com/github/gh-aw/actions/runs/31342923495
|
PR finisher complete on HEAD
Actions taken: Local validation confirmed; no file changes were necessary. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state on the latest head, confirm whether anything remains beyond approval / CI re-trigger / deployment-approval gates, and run the
No failed checks were listed in the compact candidate snapshot.
|
PR finisher complete on HEAD
Actions taken: Local validation confirmed on updated HEAD; no file changes were necessary. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state, confirm whether anything remains beyond the deployment-approval or CI re-trigger gates, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher confirmed on HEAD
Actions taken: Local state re-confirmed; no file changes were necessary. |
|
@copilot Quick triage nudge for this PR. Please re-check the current maintainer-facing state, confirm whether anything remains beyond the deployment-approval or CI re-trigger gates, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher confirmed on HEAD
No code changes are needed. The only remaining gates are maintainer approval and a CI re-trigger (prior runs showed only deployment-approval jobs at |
|
@copilot Quick triage nudge for this PR. Please refresh the branch if GitHub can update it cleanly, review any outstanding maintainer-facing feedback, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher confirmed on HEAD
No code changes are needed. Remaining gates: maintainer approval and a CI re-trigger. |
|
@copilot Quick triage nudge for this PR. Please refresh the branch if GitHub can update it cleanly, re-check the current maintainer-facing state, confirm whether anything remains beyond deployment-approval or CI re-trigger gates, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher confirmed on HEAD
No code changes are needed. Remaining gates: maintainer approval and a CI re-trigger. |
|
@copilot Quick triage nudge for this PR. Please refresh the branch if GitHub can update it cleanly, re-check the current maintainer-facing state, and run the Open review context (newest first):
Branch refresh was requested.
|
PR finisher confirmed on HEAD
No code changes are needed. Remaining gates: maintainer approval and a CI re-trigger. |
|
@copilot PR sous-chef triage: please refresh this branch if needed, review current PR status, and run the pr-finisher skill before handing back to maintainers. Run details: https://github.com/github/gh-aw/actions/runs/31382838939
|
PR finisher confirmed on HEAD
No code changes are needed. Remaining gates: maintainer approval and a CI re-trigger. |
|
@copilot PR sous-chef triage: please refresh the current maintainer-facing state on the latest head, resolve any addressed unresolved review threads, refresh the branch if GitHub can update it cleanly, and run the No failed checks were listed in the compact candidate snapshot.
|
PR finisher confirmed on HEAD
No code changes are needed. Remaining gates: maintainer approval and a CI re-trigger. |
|
@copilot PR sous-chef triage: please refresh the current maintainer-facing state on the latest head, re-check reviewer feedback state, refresh the branch if GitHub can update it cleanly, and run the The earlier copilot review errored and later passes reported no unresolved review threads; please confirm the maintainer-facing state on the current head.
|
PR finisher confirmed on HEAD
No code changes needed. Remaining gates: maintainer approval and a CI re-trigger. |
Summary
enclavescompiler/frontmatter support aligned with the unified firewall schemaenclave_run_script/enclave_run_agenttools on the syntheticawf-enclaveHTTP upstreamExample
This produces the
awf-enclaveupstream athttp://awf-enclave-mcp:8080/mcp,connectTimeout: 120, andtoolTimeout: 210.Dependency
This is the gh-aw compiler prerequisite for github/gh-aw-firewall#6992. The current default AWF release (
v0.27.44) predates unified enclaves; firewall final removal ofboundedQueries/boundedAgentsmust wait for this compiler PR, and enclave workflows require the release containing #6992.The integration targets mcpg
v0.4.8. Its HTTP transport connects lazily, does not cache failed connection attempts, and retries on later readiness requests, so mcpg may start before the AWF-owned enclave upstream without compiler-owned restart logic.Validation
make agent-report-progressgo test ./pkg/parser ./pkg/workflow -count=1@copilotPlease triage this PR, refresh the branch if possible, and run thepr-finisherskill before handing back to maintainers.Branch refresh is requested if GitHub can update it cleanly.
Run context: https://github.com/github/gh-aw/actions/runs/31183485569> Generated by 👨🍳 PR Sous Chef · gpt54 · 11.6 AIC · ⊞ 5.9K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31240022087> Generated by 👨🍳 PR Sous Chef · gpt54 · 17 AIC · ⌖ 5.44 AIC · ⊞ 6.1K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31243800835> Generated by 👨🍳 PR Sous Chef · gpt54 · 25.5 AIC · ⌖ 6.69 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31248214015> Generated by 👨🍳 PR Sous Chef · gpt54 · 19.2 AIC · ⌖ 6.73 AIC · ⊞ 6.1K · ◷
Run context: https://github.com/github/gh-aw/actions/runs/31250442499> Generated by 👨🍳 PR Sous Chef · gpt54 · 10.2 AIC · ⌖ 5.36 AIC · ⊞ 6.1K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31251975204> Generated by 👨🍳 PR Sous Chef · gpt54 · 16.7 AIC · ⌖ 5.39 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31255838666> Generated by 👨🍳 PR Sous Chef · gpt54 · 9.08 AIC · ⌖ 5.36 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31257633580> Generated by 👨🍳 PR Sous Chef · gpt54 · 8.32 AIC · ⌖ 5.34 AIC · ⊞ 6.1K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31262341296> Generated by 👨🍳 PR Sous Chef · gpt54 · 10 AIC · ⌖ 5.39 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31310371321> Generated by 👨🍳 PR Sous Chef · gpt54 · 4.98 AIC · ⌖ 5.48 AIC · ⊞ 6.1K · ◷
Requested branch update from PR Sous Chef run https://github.com/github/gh-aw/actions/runs/31336577085> Generated by 👨🍳 PR Sous Chef · gpt54 · 10.2 AIC · ⌖ 5.19 AIC · ⊞ 8.5K · ◷
Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/31338952148> Generated by 👨🍳 PR Sous Chef · gpt54 · 27.7 AIC · ⌖ 5.43 AIC · ⊞ 6.1K · ◷
Requested branch update from PR Sous Chef run https://github.com/github/gh-aw/actions/runs/31339757619> Generated by 👨🍳 PR Sous Chef · gpt54 · 10.8 AIC · ⌖ 5.2 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31341574451> Generated by 👨🍳 PR Sous Chef · gpt54 · 20.6 AIC · ⌖ 5.23 AIC · ⊞ 6.1K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31354788221> Generated by 👨🍳 PR Sous Chef · gpt54 · 39.6 AIC · ⌖ 6.68 AIC · ⊞ 8.5K · ◷
Run: https://github.com/github/gh-aw/actions/runs/31375792022> Generated by 👨🍳 PR Sous Chef · gpt54 · 17.8 AIC · ⌖ 5.46 AIC · ⊞ 8.5K · ◷