-
Notifications
You must be signed in to change notification settings - Fork 128
Disable sandbox.agent: false in strict mode for copilot engine
#6903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This change adds validation to reject `sandbox.agent: false` in strict mode for the copilot engine because it disables the firewall, which is a security concern in production workflows. Changes: - Modified validateStrictFirewall to return an error when sandbox.agent: false is used with copilot engine in strict mode - Fixed strict mode re-evaluation ordering in compiler_parse.go - Updated tests to reflect the new behavior - Updated smoke workflows to use strict: false Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
sandbox.agent: false in strict mode for copilot engine
|
🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS. |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
💀 Blimey! Smoke Copilot Safe Inputs failed and walked the plank! No treasure today, matey! ☠️ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Overall: PASS
|
Smoke Test Results for Run 20355906441Recent PRs:
Tests:
Status: ✅ PASS CC:
|
|
PRs (last 2 merged):
|
Smoke Test Results (Claude Engine)Last 2 merged PRs:
Test Results:
Overall Status: PASS (5/6 tests successful)
|
|
@copilot strict mode should be enforced for all agents, not just copilot. |
…rict mode Per review feedback, the strict mode validation for sandbox.agent: false now applies to all engines, not just copilot. This ensures consistent security enforcement across all agent engines. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
validateStrictFirewallinpkg/workflow/strict_mode_validation.goto rejectsandbox.agent: falsein strict mode for all engines (not just copilot)compiler_parse.goto ensure strict mode is properly evaluated beforevalidateStrictFirewallis calledsmoke-copilot.md,smoke-copilot-playwright.md) that usesandbox.agent: falseto setstrict: falseOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.