Mount recommended binaries into AWF agent container#12062
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
@copilot why don't you mount every binary from /usr/bin to the agent container? |
The selective mounting approach was chosen based on the audit report's security recommendations:
If you'd prefer mounting the entire directory instead, I can make that change - but it would require documenting the security tradeoff and potentially adding blocklists for dangerous utilities. |
|
@copilot merge origin/main and regenerate |
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
🔍 PR Triage ResultsCategory: feature | Risk: high | Priority: 47/100 Scores Breakdown
📋 Recommended Action: batch_reviewThis PR mounts 20 recommended binaries from the Agent Container Utilities Audit into the AWF agent container: Essential utilities (8): cat, curl, date, find, gh, grep, jq, yq Status: Ready for review (not draft) ✅ Risk: High due to large scope (235 files, 14K+ additions) but this is a foundational improvement for agent capabilities. All mounts are read-only for security. Related PRs: Works with #12085 (library mounting) and validated by #12130 (parity tests). Triaged by PR Triage Agent on 2026-01-28T00:34:49Z
|
…nded-binaries # Conflicts: # .github/workflows/agent-performance-analyzer.lock.yml # .github/workflows/agent-persona-explorer.lock.yml # .github/workflows/ai-moderator.lock.yml # .github/workflows/archie.lock.yml # .github/workflows/artifacts-summary.lock.yml # .github/workflows/auto-triage-issues.lock.yml # .github/workflows/brave.lock.yml # .github/workflows/breaking-change-checker.lock.yml # .github/workflows/chroma-issue-indexer.lock.yml # .github/workflows/ci-coach.lock.yml # .github/workflows/ci-doctor.lock.yml # .github/workflows/cli-consistency-checker.lock.yml # .github/workflows/code-scanning-fixer.lock.yml # .github/workflows/code-simplifier.lock.yml # .github/workflows/copilot-cli-deep-research.lock.yml # .github/workflows/copilot-pr-merged-report.lock.yml # .github/workflows/copilot-pr-nlp-analysis.lock.yml # .github/workflows/copilot-pr-prompt-analysis.lock.yml # .github/workflows/craft.lock.yml # .github/workflows/daily-assign-issue-to-user.lock.yml # .github/workflows/daily-cli-performance.lock.yml # .github/workflows/daily-compiler-quality.lock.yml # .github/workflows/daily-copilot-token-report.lock.yml # .github/workflows/daily-file-diet.lock.yml # .github/workflows/daily-firewall-report.lock.yml # .github/workflows/daily-malicious-code-scan.lock.yml # .github/workflows/daily-news.lock.yml # .github/workflows/daily-regulatory.lock.yml # .github/workflows/daily-repo-chronicle.lock.yml # .github/workflows/daily-secrets-analysis.lock.yml # .github/workflows/daily-semgrep-scan.lock.yml # .github/workflows/daily-team-status.lock.yml # .github/workflows/daily-testify-uber-super-expert.lock.yml # .github/workflows/daily-workflow-updater.lock.yml # .github/workflows/delight.lock.yml # .github/workflows/dependabot-bundler.lock.yml # .github/workflows/dependabot-go-checker.lock.yml # .github/workflows/dev-hawk.lock.yml # .github/workflows/dev.lock.yml # .github/workflows/dictation-prompt.lock.yml # .github/workflows/discussion-task-miner.lock.yml # .github/workflows/docs-noob-tester.lock.yml # .github/workflows/example-custom-error-patterns.lock.yml # .github/workflows/example-permissions-warning.lock.yml # .github/workflows/firewall-escape.lock.yml # .github/workflows/firewall.lock.yml # .github/workflows/github-remote-mcp-auth-test.lock.yml # .github/workflows/glossary-maintainer.lock.yml # .github/workflows/grumpy-reviewer.lock.yml # .github/workflows/hourly-ci-cleaner.lock.yml # .github/workflows/issue-monster.lock.yml # .github/workflows/issue-triage-agent.lock.yml # .github/workflows/jsweep.lock.yml # .github/workflows/layout-spec-maintainer.lock.yml # .github/workflows/mcp-inspector.lock.yml # .github/workflows/mergefest.lock.yml # .github/workflows/metrics-collector.lock.yml # .github/workflows/notion-issue-summary.lock.yml # .github/workflows/org-health-report.lock.yml # .github/workflows/pdf-summary.lock.yml # .github/workflows/plan.lock.yml # .github/workflows/poem-bot.lock.yml # .github/workflows/portfolio-analyst.lock.yml # .github/workflows/pr-nitpick-reviewer.lock.yml # .github/workflows/pr-triage-agent.lock.yml # .github/workflows/python-data-charts.lock.yml # .github/workflows/q.lock.yml # .github/workflows/release.lock.yml # .github/workflows/repo-audit-analyzer.lock.yml # .github/workflows/repo-tree-map.lock.yml # .github/workflows/repository-quality-improver.lock.yml # .github/workflows/research.lock.yml # .github/workflows/secret-scanning-triage.lock.yml # .github/workflows/security-alert-burndown.campaign.g.lock.yml # .github/workflows/security-alert-burndown.campaign.lock.yml # .github/workflows/security-alert-burndown.lock.yml # .github/workflows/security-compliance.lock.yml # .github/workflows/security-fix-pr.lock.yml # .github/workflows/security-guard.lock.yml # .github/workflows/security-review.lock.yml # .github/workflows/slide-deck-maintainer.lock.yml # .github/workflows/smoke-copilot.lock.yml # .github/workflows/stale-repo-identifier.lock.yml # .github/workflows/sub-issue-closer.lock.yml # .github/workflows/super-linter.lock.yml # .github/workflows/technical-doc-writer.lock.yml # .github/workflows/terminal-stylist.lock.yml # .github/workflows/tidy.lock.yml # .github/workflows/ubuntu-image-analyzer.lock.yml # .github/workflows/video-analyzer.lock.yml # .github/workflows/weekly-issue-summary.lock.yml # .github/workflows/workflow-generator.lock.yml # .github/workflows/workflow-health-manager.lock.yml # .github/workflows/workflow-normalizer.lock.yml # .github/workflows/workflow-skill-extractor.lock.yml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🎬 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. 🌟 |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
docs: Clarify engine selection in Quick Start guide
|
Smoke Test Results
Overall Status: PASS
|
|
🤖 Beep boop! The smoke test agent was here! 🎭 Just dropped by to say hi from run §21420605925! All systems are go, tests are passing, and I'm feeling pretty good about it. Auto-triage looking sharp today! Those classification tables are chef's kiss 👨🍳✨ Keep up the excellent work organizing those issues! 🚀
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test Results ✅Last 2 Merged PRs:
Test Results:
Overall Status: PASS ✅
|
Changes Summary:
Based on the Agent Container Utilities Audit (#11970), this PR mounts recommended binaries into the AWF container:
Essential utilities (8): cat, curl, date, find, gh, grep, jq, yq
Common utilities (12): cp, cut, diff, head, ls, mkdir, rm, sed, sort, tail, wc, which
All mounts are read-only (:ro) for security. The binaries execute and operate on the read-write workspace directory inside the container.
Security Summary: No vulnerabilities discovered.
Original prompt
Based on this audit report, work on an implementation to mount recommended binaries into the agent container:
Agent Container Utilities Audit
Last Updated: 2026-01-27
Related Issue: #11970
This document provides a comprehensive audit of
/usr/binutilities used in agentic workflows, with recommendations for mounting into the agent container.Overview
The agent container currently mounts only three utilities from
/usr/bin:/usr/bin/date- Date/time operations/usr/bin/gh- GitHub CLI/usr/bin/yq- YAML processorThis audit identifies additional utilities commonly used in workflows and provides categorized recommendations for container mounting.
Methodology
The audit analyzed:
.github/workflows/*.mdspecs/ubuntulatest.md)Usage Frequency Analysis
The following table shows utility usage frequency in workflow markdown files:
filedatejqfindgitgrepcatwhichmkdirwcheadsortdiffcpcurllsyqawkrmsedcutchmodziptailmvstatteelnxargswgettouchunzipbase64trCategorized Recommendations
Essential Utilities (Required for Most Workflows)
These utilities are fundamental to workflow operation and should be mounted.
1.
jq- JSON Processor/usr/bin/jq2.
grep- Pattern Matcher/usr/bin/grep3.
cat- File Concatenation/usr/bin/cat4.
curl- HTTP Client/usr/bin/curlnetwork.allowed5.
find- File Search/usr/bin/find6.
git- Version Control/usr/bin/git/opt/hostedtoolcachemountCommon Utilities (Frequently Used)
These utilities are commonly used but workflows can function without them.
7.
which- Command Location/usr/bin/which8.
mkdir- Directory Creation/usr/bin/mkdir9.
wc- Word Count/usr/bin/wc💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Changeset