Record Class McpCodingPartnerPlan

java.lang.Object
java.lang.Record
com.shaft.mcp.McpCodingPartnerPlan
Record Components:
schemaVersion - response schema version
workingSetSummary - concise summary of current user intent, source context, and evidence
backend - normalized SHAFT backend
reuseMatches - ranked existing Java classes and anchors to reuse
stepPlan - deterministic user-step plan with reuse and proof guidance
recommendedTargetSourcePath - preferred repository-relative Java source path
recommendedInsertionAnchor - preferred existing method or textual anchor
missingCodeItems - code the caller may still need to create after reuse is exhausted
suggestedMcpCalls - next MCP calls that can prove locators, gather evidence, or verify code
nextActions - structured next MCP actions that IntelliJ and agents can prefill
verificationCommand - smallest useful local verification command
evidencePaths - user-supplied evidence paths echoed for PR/review workflow
warnings - guardrails and approval reminders

public record McpCodingPartnerPlan(String schemaVersion, String workingSetSummary, String backend, List<com.shaft.mcp.McpJavaTargetScanner.Candidate> reuseMatches, List<McpCodingPartnerStep> stepPlan, String recommendedTargetSourcePath, String recommendedInsertionAnchor, List<String> missingCodeItems, List<String> suggestedMcpCalls, List<McpCodingPartnerNextAction> nextActions, String verificationCommand, List<String> evidencePaths, List<String> warnings) extends Record
Preview-only coding partner plan for IntelliJ and MCP clients.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • schemaVersion

      public String schemaVersion()
      Returns the value of the schemaVersion record component.
      Returns:
      the value of the schemaVersion record component
    • workingSetSummary

      public String workingSetSummary()
      Returns the value of the workingSetSummary record component.
      Returns:
      the value of the workingSetSummary record component
    • backend

      public String backend()
      Returns the value of the backend record component.
      Returns:
      the value of the backend record component
    • reuseMatches

      public List<com.shaft.mcp.McpJavaTargetScanner.Candidate> reuseMatches()
      Returns the value of the reuseMatches record component.
      Returns:
      the value of the reuseMatches record component
    • stepPlan

      public List<McpCodingPartnerStep> stepPlan()
      Returns the value of the stepPlan record component.
      Returns:
      the value of the stepPlan record component
    • recommendedTargetSourcePath

      public String recommendedTargetSourcePath()
      Returns the value of the recommendedTargetSourcePath record component.
      Returns:
      the value of the recommendedTargetSourcePath record component
    • recommendedInsertionAnchor

      public String recommendedInsertionAnchor()
      Returns the value of the recommendedInsertionAnchor record component.
      Returns:
      the value of the recommendedInsertionAnchor record component
    • missingCodeItems

      public List<String> missingCodeItems()
      Returns the value of the missingCodeItems record component.
      Returns:
      the value of the missingCodeItems record component
    • suggestedMcpCalls

      public List<String> suggestedMcpCalls()
      Returns the value of the suggestedMcpCalls record component.
      Returns:
      the value of the suggestedMcpCalls record component
    • nextActions

      public List<McpCodingPartnerNextAction> nextActions()
      Returns the value of the nextActions record component.
      Returns:
      the value of the nextActions record component
    • verificationCommand

      public String verificationCommand()
      Returns the value of the verificationCommand record component.
      Returns:
      the value of the verificationCommand record component
    • evidencePaths

      public List<String> evidencePaths()
      Returns the value of the evidencePaths record component.
      Returns:
      the value of the evidencePaths record component
    • warnings

      public List<String> warnings()
      Returns the value of the warnings record component.
      Returns:
      the value of the warnings record component