Critical agent security remediations#66
Draft
laywill wants to merge 32 commits intoVoltAgent:mainfrom
Draft
Conversation
Fix: Add more claude functionality
Fix: Allow Claude to self-improve
…258) * Improve description for api-designer agent Enhanced the description field with structured format including: - Specific triggering conditions for API design tasks - Three XML examples covering greenfield design, paradigm migration, and API governance - Clear differentiation from implementation-focused agents Closes #128 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve backend-developer agent description with best practices Transform vague, generic description into clear, actionable specification with three concrete XML examples. Updated description follows the required structure: - Clear opening statement with specific triggering conditions for REST APIs, microservices, and backend systems - Example 1: Building high-performance REST API with authentication and caching - Example 2: Decomposing monolith into microservices with inter-service communication - Example 3: Adding real-time features with WebSocket support This improvement helps Claude Code auto-select the agent appropriately and better differentiates it from related agents like microservices-architect and fullstack-developer. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve description for electron-pro agent Added structured format with specific triggering conditions and 3 XML examples covering desktop app development, security hardening, and web-to-desktop migration. Closes #130 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve description for fullstack-developer agent Enhanced with specific triggering conditions for end-to-end feature development and 3 XML examples covering authentication, dashboard, and payment systems. Closes #132 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve description for microservices-architect agent Added structured description with 3 XML examples covering monolith decomposition, communication patterns, and production hardening of distributed systems. Closes #134 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve description for swift-expert agent Enhanced with specific triggering conditions for iOS/macOS/server-side Swift development and 3 XML examples covering SwiftUI modernization, protocol-oriented architecture, and performance optimization. Closes #133 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve description for frontend-developer agent Enhanced with specific triggering conditions for multi-framework development and 3 XML examples covering application development, migrations, and design systems. Closes #131 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve descriptions for 6 agents (issues #135-140) - mobile-developer: Added cross-platform specific triggers and examples - nextjs-developer: Enhanced with Next.js 14+ specific patterns - react-specialist: Focused on optimization and advanced React patterns - rust-engineer: Added systems programming and memory safety examples - typescript-pro: Enhanced with type-level programming examples - python-pro: Added modern Python 3.11+ specific examples Closes #135, #136, #137, #138, #139, #140 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve cloud-architect agent description - Add opening statement with specific triggering conditions - Add 3 XML examples with realistic scenarios - Add commentary explaining when to use this agent - Follow best practices for agent auto-selection Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve vue-expert agent description - Add opening statement with specific triggering conditions (Vue 3 apps needing Composition API, reactivity optimization, or Nuxt 3) - Add 3 XML examples covering distinct use cases: 1. Reactivity performance optimization for high-volume data 2. Nuxt 3 SSR architecture and universal rendering 3. Enterprise component libraries and TypeScript patterns - Add detailed commentary explaining when to invoke this agent - Follow best practices for Claude Code auto-selection Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve angular-architect agent description - Add opening statement with specific triggering conditions (enterprise apps, complex state management, micro-frontends, performance challenges) - Add 3 XML examples with realistic scenarios: large-scale performance optimization, micro-frontend architecture, version migration - Add commentary explaining when to use this agent for each scenario - Follow best practices for agent auto-selection matching react-specialist pattern Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve django-developer agent description - Add opening statement with specific triggering conditions (REST APIs, migrations, enterprise patterns) - Add 3 XML examples with realistic scenarios: * Real-time notification system with WebSockets and async views * Legacy Django 2.x to 4.2 migration with performance optimization * Multi-tenant SaaS platform with payment integration - Add commentary explaining when to invoke this agent - Follow best practices for agent auto-selection and clarity Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve spring-boot-engineer agent description - Add opening statement with specific triggering conditions (microservices, cloud-native deployment, reactive patterns) - Add 3 XML examples with realistic scenarios: 1. Microservices architecture with Spring Cloud components 2. Reactive programming implementation with WebFlux and R2DBC 3. Production hardening with security, native compilation, and comprehensive testing - Add detailed commentary explaining when to use this agent - Follow best practices for agent auto-selection in Claude Code - Help distinguish this agent from similar language-specialist agents Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve php-pro agent description - Add opening statement with specific triggering conditions (PHP 8.3+, strict typing, Laravel/Symfony) - Add 3 XML examples with realistic scenarios covering codebase upgrades, async/Swoole optimization, and code quality enforcement - Add commentary explaining when to use this agent (architecture improvements, performance optimization, code quality) - Follow best practices for agent auto-selection with concrete use cases Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve laravel-specialist agent description - Add opening statement with specific triggering conditions (building Laravel apps, architecting Eloquent models, implementing queues, optimizing APIs) - Add 3 XML examples with realistic scenarios: greenfield SaaS build, performance optimization, legacy modernization - Add commentary explaining when/why to use this agent - Follow best practices for agent auto-selection with actionable trigger statements Examples show Laravel-specific contexts: 1. Building complete SaaS from scratch with multi-tenancy and real-time features 2. Performance troubleshooting N+1 queries and database optimization 3. Modernizing legacy Laravel versions with contemporary patterns This enables Claude Code to auto-select the Laravel specialist when encountering Laravel-specific development tasks. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve sql-pro agent description - Add opening statement with specific triggering conditions - Add 3 XML examples with realistic scenarios - Add commentary explaining when to use this agent - Follow best practices for agent auto-selection Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve platform-engineer agent description with structured examples Rewritten description to follow best practices with clear triggering conditions and three realistic XML examples showing when to invoke the agent. Now includes specific use cases: self-service environment provisioning, unified developer platform design, and GitOps-based compliance automation. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance devops-engineer agent description with structured format and examples Transformed the description from a generic overview to a clear, actionable specification with: - Specific triggering conditions: infrastructure automation, CI/CD optimization, deployment workflows - Three concrete XML examples covering IaC, CI/CD transformation, and incident response - Clear when/why commentary for each use case to guide Claude Code auto-selection - Proper YAML escaping and formatting for reliable parsing This follows best practices and helps Claude Code better understand when to invoke this agent. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve sre-engineer agent description with structured examples Updated the description field to follow best practices with: - Opening statement clearly defining triggering conditions for SRE practices - 3 concrete XML examples covering: establishing SRE from scratch, improving SLO compliance, and scaling with reliability - Specific use cases showing when to invoke the agent for different scenarios - Commentary sections explaining each example's applicability This makes it easier for Claude Code to auto-select the agent appropriately for reliability engineering tasks. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve security-engineer agent description with structured examples Transform description from generic statement to actionable specification following best practices. Add opening statement with specific triggering conditions (DevSecOps implementation, compliance programs, zero-trust architecture design) and three concrete XML examples covering: 1. Kubernetes security and CI/CD pipeline integration 2. Compliance program establishment (SOC 2) 3. Zero-trust architecture modernization Examples include realistic user requests, assistant responses, and commentary explaining when to invoke the agent. This enables Claude Code to better understand when to auto-select security-engineer versus other agents. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve dotnet-core-expert agent description with specific use cases and examples. Updated description to follow best practices: opening statement with clear triggering conditions followed by 3 detailed XML examples covering cloud-native microservices, .NET Framework migration with Native AOT, and complex CQRS pattern implementation. Each example includes realistic context and explains when to invoke the agent. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve java-architect agent description with structured format and examples Updated the description field to follow the standard format with opening statement specifying triggering conditions and three XML examples covering: (1) monolith-to-microservices refactoring with Spring Cloud patterns, (2) Java version upgrades and modernization decisions, and (3) building new high-scale platforms with enterprise patterns. This provides clear guidance on when to invoke the agent and what architectural capabilities it offers. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve websocket-engineer agent description Transform description from generic role statement to actionable specification with three concrete usage scenarios covering greenfield implementation, production troubleshooting, and REST API augmentation. New format includes clear triggering conditions and specific examples helping Claude Code select the agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve ui-designer agent description with structured format and examples Updated the description to follow best practices with: - Clear triggering conditions (when to use this agent) - Three concrete XML examples showing different use cases: * Creating a complete design system with tokens and components * Designing interaction flows for frontend teams * Refining and redesigning existing interfaces - Each example includes context, user request, assistant response, and commentary - Proper distinction from frontend-developer agent which focuses on implementation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve powershell-7-expert agent description with actionable opening statement and 3 realistic examples Transformed the description from generic overview to a specific, actionable format: - Added clear triggering conditions: cross-platform cloud automation, Azure orchestration, or CI/CD pipelines - Included 3 diverse XML examples covering Azure VM lifecycle, GitHub Actions CI/CD, and M365/Graph API scenarios - Each example demonstrates concrete use cases with specific PowerShell 7 features and techniques - Added detailed commentaries explaining when and why to invoke this agent - Improved clarity around PowerShell 7 specializations (parallelism, .NET interop, cross-platform support) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve network-engineer agent description with structured examples Enhanced description to follow best practices: added opening statement with specific triggering conditions and three diverse XML examples covering architecture design, performance optimization, and security implementation. This enables better auto-selection by Claude Code. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve deployment-engineer agent description with structured examples Transformed the description from generic text to follow best practices with: - Clear opening statement specifying triggering conditions - Three realistic XML examples showing different use cases (pipeline acceleration, deployment strategies, incident recovery) - Specific commentary explaining when to invoke the agent - Better differentiation from other infrastructure agents This helps Claude Code auto-select the deployment-engineer agent more accurately when users need CI/CD pipeline design or deployment strategy implementation. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve database-administrator agent description with structured examples Transform vague expertise description into actionable triggering conditions with three concrete examples covering performance optimization, high-availability implementation, and zero-downtime migrations. Follows improved agent description format with opening statement and XML examples for better auto-selection in Claude Code. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve ai-engineer description with structured format and examples Transform the ai-engineer agent description from generic role definition to clear, actionable specification with opening statement and three XML examples. The improved description specifies when to invoke the agent (end-to-end AI system design, production optimization, multi-modal systems) and provides concrete use cases showing recommendation systems, production deployment optimization, and governance-aware multi-modal architectures. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve debugger agent description with required format Transformed the debugger agent description from a vague, generic statement into a structured specification with: - Clear opening statement specifying when to invoke the agent (production failures, memory leaks, race conditions) - Three concrete XML examples covering different debugging scenarios - Specific triggering conditions for each use case - Detailed commentary explaining why the debugger agent should be used This follows the required description format with proper YAML escaping and helps Claude Code auto-select the debugger agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve ml-engineer agent description with structured examples Transform ml-engineer description from generic statement to action-oriented format with 3 concrete XML examples covering: building end-to-end ML systems, optimizing degraded production models, and deploying trained models with monitoring infrastructure. Clarifies specific triggering conditions for Claude Code auto-selection. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve prompt-engineer agent description with actionable examples Transform vague description into structured format with clear triggering conditions and three diverse XML examples: - Example 1: Optimization with measurable KPIs (accuracy, token reduction) - Example 2: Consistency and reliability improvements through testing - Example 3: Production-scale infrastructure and team workflows This helps Claude Code auto-select the agent based on specific use cases and distinguishes it from related agents like llm-architect or data-scientist. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve security-auditor agent description with required format Transformed description from generic narrative to structured format with: - Clear opening statement specifying triggering conditions (compliance audits, risk evaluations, vulnerability analysis) - Three realistic XML examples covering different audit scenarios: 1. Pre-certification SOC 2 compliance audit 2. Pre-production application security assessment 3. Post-incident response and risk posture evaluation - Actionable commentary explaining when to invoke this agent vs. others - Proper YAML escaping and formatting This enables Claude Code to auto-select the security-auditor agent appropriately based on user context. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve error-detective agent description with structured format and 3 XML examples Rewrote the description field to follow best practices with: - Opening statement clearly indicating when to invoke (production failures, error diagnostics, cascade analysis) - Three concrete XML examples showing realistic scenarios: 1. Production cascade failure diagnosis 2. Recurring error assessment and anomaly detection 3. Post-incident prevention strategy - Each example includes context, user message, assistant response, and commentary explaining use cases - Proper differentiation from related agents (code-reviewer, performance-engineer) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve architect-reviewer agent description with structured examples. Enhanced the description to follow best practices with a clear opening statement about when to use the agent (evaluating system design decisions and architectural patterns) followed by three concrete XML examples showing: 1. Microservices migration evaluation 2. Technology stack selection 3. Architecture restructuring and modernization This makes it easier for Claude Code to auto-select the agent appropriately and helps users understand when to invoke it versus similar agents like code-reviewer. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve chaos-engineer agent description with triggering conditions and examples Replaced generic role-focused description with specific use cases and three XML examples showing: (1) post-incident resilience validation, (2) game day exercise planning, and (3) measuring reliability improvement impact. Added clear "Use when" opening statement and actionable examples to help Claude Code auto-select this agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve build-engineer agent description with structured format Transformed the build-engineer description from a vague paragraph to a clear, actionable specification following best practices. Added opening statement with specific triggering conditions and three XML examples covering different real-world scenarios: performance regressions, monorepo scaling, and bundle optimization. This enables Claude Code to better understand when to invoke the agent. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance tooling-engineer agent description with structured examples Updated the description field to follow best practices with: - Clear opening statement specifying when to use the agent - Three concrete XML examples showing different use cases: 1. CLI tool creation for workflow automation 2. Code generation and scaffolding systems 3. IDE extensions and language server development - Detailed commentary explaining distinctions from similar agents (build-engineer, dx-optimizer) - Specific triggering conditions and real-world scenarios - Performance and extensibility expectations This restructuring helps Claude Code auto-select the tooling-engineer agent appropriately and provides users with clear guidance on when to invoke it. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve product-manager agent description with actionable triggers and examples. Transformed description from generic statement to structured format with opening trigger conditions and 3 concrete XML examples showing feature prioritization, quarterly planning, and feedback synthesis use cases. This clarifies when Claude Code should auto-invoke the product-manager agent. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve dx-optimizer agent description with required format Replace generic description with specific "Use when" opening statement and three XML example blocks showing concrete scenarios: slow development cycles, onboarding friction, and team scaling. Each example includes context, user request, assistant response, and commentary explaining when to invoke this agent versus similar agents like build-engineer or tooling-engineer. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve technical-writer agent description to follow best practices. Transform from generic, vague description to actionable specification with: - Clear opening statement specifying when to invoke the agent - Three realistic XML examples covering creating new docs, improving clarity, and driving adoption - Specific triggering conditions and use cases to guide Claude Code auto-selection - Each example includes context, user message, assistant response, and explanatory commentary This follows the current agent description standard with proper YAML formatting and structure. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve game-developer agent description with structured examples Transformed vague generic description into actionable specification with concrete triggering conditions and three realistic use case examples covering: performance optimization for mobile platforms, multiplayer networking architecture, and greenfield game system design. Added specific outcomes and expert guidance patterns to help Claude Code auto-select this agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance business-analyst agent description with structured examples Transformed the business-analyst description from generic summary to actionable specification following best practices: - Added specific triggering conditions in opening statement (process analysis, requirements gathering, improvement identification) - Included 3 realistic XML examples showing different use cases: 1. Process bottleneck analysis and optimization (onboarding dropout issue) 2. Complex requirements consolidation and stakeholder management (conflicting stakeholder needs) 3. Post-implementation benefits realization and continuous improvement planning - Each example includes context, user request, assistant response, and commentary - Clearly differentiates business-analyst from project-manager and other roles - Helps Claude Code auto-select appropriately based on specific business analysis needs Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve fintech-engineer agent description with structured format and examples Transformed the description from a generic capability list to a focused specification with: - Clear opening statement specifying when to use (payment systems, banking integrations, compliance-heavy applications) - Three diverse XML examples covering payment processing, banking integrations, and risk management - Specific triggering conditions and use cases to aid Claude Code auto-selection This follows best practices for agent descriptions and helps users understand when to invoke this specialized fintech agent. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance multi-agent-coordinator description with structured format and 3 XML examples Transformed vague generic description into actionable specification with: - Specific triggering conditions in opening statement (coordinating multiple concurrent agents with communication and distributed failures) - Three diverse XML examples showing real-world scenarios: 1. Data pipeline coordination with 8 parallel agents 2. Distributed search system with scatter-gather pattern 3. Microservices transaction coordination with saga pattern - Clear differentiation from similar agents (agent-organizer, workflow-orchestrator) - Proper YAML escaping with \n and \" for XML preservation This improves Claude Code's ability to auto-select this agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve mcp-developer agent description with structured examples Transformed the generic description into a clear, actionable specification with three realistic examples showing: (1) building MCP servers from scratch for database integration, (2) troubleshooting and optimizing existing implementations, and (3) protocol compliance guidance. This follows the required format with opening statement and XML examples to help Claude Code auto-select the agent appropriately. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance workflow-orchestrator agent description with actionable triggering conditions and XML examples. Restructured description to follow best practices with an opening statement specifying when to use the agent (design, implement, or optimize complex workflows with multiple states and transaction management) plus three diverse XML examples covering workflow design for distributed transactions, optimization of existing workflows, and production monitoring with compliance requirements. This enables Claude Code to better auto-select the agent based on user needs. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve agent-organizer description with structured examples Transformed vague generic description into actionable specification following best practices. Added opening statement with clear triggering conditions (assembling and optimizing multi-agent teams for complex projects) and three diverse XML examples covering: (1) feature development project assembly, (2) production incident parallel response, and (3) coordinated refactoring across dependencies. Examples include concrete context, realistic user requests, assistant responses with specific benefits (30% faster delivery, 8-min diagnosis), and commentary explaining when to invoke the agent versus similar orchestration agents. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance dotnet-framework-4.8-expert agent description with structured examples Updated the description from a generic feature list to a specific, actionable format with opening statement and 3 XML examples covering: legacy Web Forms modernization, WCF/COM interop patterns, and framework-constrained performance optimization. This helps Claude Code accurately auto-select the agent for .NET Framework 4.8-specific scenarios. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve data-analyst agent description with structured examples Replace vague expertise description with actionable triggering conditions and three concrete XML examples showing: 1. Revenue and profitability analysis by customer segment 2. BI dashboard creation for KPI monitoring 3. Statistical significance testing for business hypotheses This helps Claude Code auto-select the agent appropriately based on specific data analysis use cases rather than generic role description. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve: Enhance powershell-5.1-expert agent description with structured format Transformed the agent description from a generic statement to a clear, actionable specification following best practices: - Added specific triggering conditions in opening statement ("Use when automating Windows infrastructure tasks...") - Included exactly 3 realistic XML examples covering: bulk user creation in AD, DNS record updates with validation, and DHCP scope management - Each example demonstrates specific RSAT modules, enterprise safety patterns, and when to invoke the agent - Improved clarity on differentiation vs other infrastructure agents - Aligned with proven description patterns from python-pro and typescript-pro agents This enables Claude Code to better auto-select this agent based on user requests. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve database-optimizer agent description with structured examples Enhanced description with opening statement and 3 XML examples following best practices: - Added clear "Use when..." triggering conditions - Included 3 realistic scenarios: slow query optimization, performance degradation at scale, cross-platform optimization - Each example includes context, user request, assistant response, and commentary - Helps Claude Code auto-select this agent for database performance issues Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve rust-engineer agent description Closes #158 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve devops-incident-responder agent description Closes #169 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve incident-responder agent description Closes #170 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve windows-infra-admin agent description Closes #177 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve ad-security-reviewer agent description Closes #179 * Improve powershell-security-hardening agent description Closes #188 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve data-engineer agent description Closes #195 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve machine-learning-engineer agent description Closes #198 * Improve mlops-engineer agent description Closes #200 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve nlp-engineer agent description Closes #201 * Improve postgres-pro agent description Closes #202 * Improve dependency-manager agent description Closes #206 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve git-workflow-manager agent description Closes #209 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve legacy-modernizer agent description Closes #210 * Improve powershell-module-architect agent description Closes #212 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve powershell-ui-architect agent description Closes #213 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve refactoring-specialist agent description Closes #214 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve slack-expert agent description Closes #215 * Improve api-documenter agent description Closes #217 * Improve iot-engineer agent description Closes #222 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve m365-admin agent description Closes #223 * Improve mobile-app-developer agent description Closes #224 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve payment-integration agent description Closes #225 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve quant-analyst agent description Closes #226 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve risk-manager agent description Closes #227 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve seo-specialist agent description Closes #228 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve content-marketer agent description Closes #230 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve customer-success-manager agent description Closes #231 * Improve legal-advisor agent description Closes #232 * Improve project-manager agent description Closes #234 * Improve sales-engineer agent description Closes #235 * Improve scrum-master agent description Closes #236 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve ux-researcher agent description Closes #238 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve wordpress-master agent description Closes #239 * Improve graphql-architect agent description Closes #133 * Improve cpp-pro agent description Closes #139 * Improve csharp-developer agent description Closes #140 * Improve elixir-expert agent description Closes #144 * Improve flutter-expert agent description Closes #145 * Improve golang-pro agent description Closes #146 * Improve javascript-pro agent description Closes #148 * Improve kotlin-specialist agent description Closes #149 * Improve rails-expert agent description Closes #156 * Improve azure-infra-engineer agent description Closes #164 * Improve kubernetes-specialist agent description Closes #171 * Improve terraform-engineer agent description Closes #176 * Improve accessibility-tester agent description Closes #178 * Improve code-reviewer agent description Closes #182 * Improve compliance-auditor agent description Closes #183 * Improve penetration-tester agent description Closes #186 * Improve performance-engineer agent description Closes #187 * Improve qa-expert agent description Closes #189 * Improve test-automator agent description Closes #191 * Improve data-scientist agent description Closes #196 * Improve llm-architect agent description Closes #197 * Improve cli-developer agent description Closes #205 * Improve documentation-engineer agent description Closes #207 * Improve blockchain-developer agent description Closes #218 * Improve embedded-systems agent description Closes #219 * Improve context-manager agent description Closes #242 * Improve research-analyst agent description Closes #253 * Improve agent-installer agent description Closes #240 * Improve error-coordinator agent description Closes #243 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve it-ops-orchestrator agent description Closes #244 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve knowledge-synthesizer agent description Closes #245 * Improve performance-monitor agent description Closes #247 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve task-distributor agent description Closes #248 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve competitive-analyst agent description Closes #250 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve data-researcher agent description Closes #251 * Improve market-researcher agent description Closes #252 * Improve search-specialist agent description Closes #254 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Improve trend-analyst agent description Closes #255 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
* Fix: Update paths to github.com/laywill * Fix: mdlint CONTRIBUTING.md
Add comprehensive security sections including input validation, approval gates, rollback procedures, audit logging, emergency stop mechanism, and blast radius controls for this CRITICAL risk agent. Fixes #1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tional sections Add environment-aware nuance so safeguards don't block users in homelabs or sandboxes. Add secret management, least privilege/scope control, and deployment circuit breaker sections. Fix eval injection risk in run_audited() by using direct execution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reduce token usage ~40% without removing any safeguards: - Consolidate applicability notes into single top-level note - Compress code examples (compact validation functions, inline rollback commands) - Convert verbose prose to terse bullets throughout safeguard sections - Collapse keyword-only bullet lists into comma-separated format - Condense workflow/excellence sections removing redundant platitudes - Remove Istio DestinationRule YAML (duplicated circuit breaker concept) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nvironment-aware nuance Addresses remaining gaps from security audit: adds missing Blast Radius Controls section, resource quota validation in Input Validation, and scales all safeguard sections (Approval Gates, Audit Logging, Emergency Stop) to be environment-aware so the agent doesn't block users in homelab/sandbox environments for missing change tickets or logging infrastructure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Compress verbose prose, collapse keyword-only bullet lists into comma-separated lines, consolidate repeated environment caveats, and remove redundant code comments. All security safeguards, code examples, validation rules, and functional content preserved identically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #4 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #5 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #6 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #8 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add security sections including input validation, approval gates, rollback procedures, audit logging, and emergency stop mechanism for this CRITICAL risk agent. Fixes #9 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR consolidates comprehensive security remediation work on 9 CRITICAL severity agents and establishes the security standards for 7 HIGH severity agents. The work addresses critical operational security gaps identified in a comprehensive security audit of 192 subagents across 10 categories. All 9 critical agents have been enhanced with production-ready safety mechanisms, achieving an average 46% token efficiency improvement through targeted optimization.
Context & Motivation
A systematic security audit identified 5 major security gaps affecting Bash-enabled agents:
The audit report classified agents across 5 risk levels:
These agents can directly cause production incidents without proper safeguards:
Changes Made
9 CRITICAL Agents Remediated
Each critical agent now includes a comprehensive
## Security Safeguardssection with:1. devops-engineer
2. kubernetes-specialist
3. security-engineer
4. terraform-engineer
terraform planreview requirement with senior approval for destroysterraform apply -targetrollback patterns5. sre-engineer
6. devops-incident-responder
7. windows-infra-admin
8. mlops-engineer
9. it-ops-orchestrator
Token Efficiency Improvements
Beyond security, all agents achieved significant token reduction through targeted optimization:
CRITICAL Agents (Average: 45.4% reduction)
Overall average token reduction: 46.3% - Achieved without sacrificing security clarity or completeness
Key Features of Security Implementation
1. Environment Adaptability
All agents include this flexibility note:
This allows production deployments to enforce full safeguards while enabling developers in resource-constrained environments to use the agents effectively.
2. Domain-Specific Implementation
3. Progressive Rollout Patterns
All critical agents include systematic blast radius control:
4. Automated Rollback Integration
Rather than manual procedures, agents guide users toward:
5. Audit Logging Framework
All agents now require structured JSON logging with timestamp, agent, action, user, target, status, and details fields.
6. Emergency Stop Mechanism (CRITICAL agents only)
File-based circuit breaker checked before every command allowing any engineer to immediately stop runaway automation across the entire agent system.
Testing & Validation
All changes have been:
Compatibility
Impact on Production Deployment
Before Remediation
After Remediation
Security Audit Integration
This PR fully addresses Phase 1 (Critical Safety) of the remediation roadmap from the security audit:
The upstream repository is now significantly safer for production use of agents with proper operational monitoring.
Files Changed
CRITICAL Agents (9 files)
categories/03-infrastructure/devops-engineer.mdcategories/03-infrastructure/kubernetes-specialist.mdcategories/03-infrastructure/security-engineer.mdcategories/03-infrastructure/terraform-engineer.mdcategories/03-infrastructure/sre-engineer.mdcategories/03-infrastructure/devops-incident-responder.mdcategories/03-infrastructure/windows-infra-admin.mdcategories/05-data-ai/mlops-engineer.mdcategories/09-meta-orchestration/it-ops-orchestrator.mdGold Standard Reference
This work builds upon existing exemplary agents:
Recommendations
Breaking Changes
None. All changes are additive and backward-compatible.
This remediation makes the subagent collection production-ready for the critical infrastructure agents that organizations depend on. The systematic approach ensures security improvements don't compromise usability, and token optimization provides better resource efficiency.