Class ArchitectureCheckerAgent


public class ArchitectureCheckerAgent extends DefaultSubAgent
  • Constructor Details

    • ArchitectureCheckerAgent

      public ArchitectureCheckerAgent(ProgressReporter orchestrator, com.anthropic.client.AnthropicClient client)
  • Method Details

    • buildPrompt

      protected String buildPrompt(AgentContext context)
      Description copied from class: SubAgent
      A string that defines the role and behavior of the agent. For example for SecurityAuditorAgent:
      
             "You are a security auditor specialized in Jakarta EE applications. 
              Analyze the provided Java code for security vulnerabilities. 
             Focus on: SQL injection, hardcoded secrets, missing authorization... 
      
             Respond ONLY in this JSON format: 
             [{ "ruleId": "SEC-001", "severity": "CRITICAL", ... }]"
             
      That string goes to the Claude API call as a system parameter.
      Specified by:
      buildPrompt in class SubAgent
      Parameters:
      context - - Some agents may use this parameter, SecurityAuditorAgent ignores it.
      Returns:
    • getAgentName

      protected String getAgentName()
      Specified by:
      getAgentName in class SubAgent