Record Class McpCodingPartnerPlan
java.lang.Object
java.lang.Record
com.shaft.mcp.McpCodingPartnerPlan
- Record Components:
schemaVersion- response schema versionworkingSetSummary- concise summary of current user intent, source context, and evidencebackend- normalized SHAFT backendreuseMatches- ranked existing Java classes and anchors to reusestepPlan- deterministic user-step plan with reuse and proof guidancerecommendedTargetSourcePath- preferred repository-relative Java source pathrecommendedInsertionAnchor- preferred existing method or textual anchormissingCodeItems- code the caller may still need to create after reuse is exhaustedsuggestedMcpCalls- next MCP calls that can prove locators, gather evidence, or verify codenextActions- structured next MCP actions that IntelliJ and agents can prefillverificationCommand- smallest useful local verification commandevidencePaths- user-supplied evidence paths echoed for PR/review workflowwarnings- 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 Summary
ConstructorsConstructorDescriptionMcpCodingPartnerPlan(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, String verificationCommand, List<String> evidencePaths, List<String> warnings) Compatibility constructor for callers compiled against schema 1.1 fields.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) Creates an immutable coding partner plan.McpCodingPartnerPlan(String schemaVersion, String workingSetSummary, String backend, List<com.shaft.mcp.McpJavaTargetScanner.Candidate> reuseMatches, List<String> missingCodeItems, List<String> suggestedMcpCalls, String verificationCommand, List<String> evidencePaths, List<String> warnings) Compatibility constructor for callers compiled against schema 1.0 fields. -
Method Summary
Modifier and TypeMethodDescriptionbackend()Returns the value of thebackendrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidencePathsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themissingCodeItemsrecord component.Returns the value of thenextActionsrecord component.Returns the value of therecommendedInsertionAnchorrecord component.Returns the value of therecommendedTargetSourcePathrecord component.List<com.shaft.mcp.McpJavaTargetScanner.Candidate> Returns the value of thereuseMatchesrecord component.Returns the value of theschemaVersionrecord component.stepPlan()Returns the value of thestepPlanrecord component.Returns the value of thesuggestedMcpCallsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverificationCommandrecord component.warnings()Returns the value of thewarningsrecord component.Returns the value of theworkingSetSummaryrecord component.
-
Constructor Details
-
McpCodingPartnerPlan
public 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) Creates an immutable coding partner plan. -
McpCodingPartnerPlan
public 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, String verificationCommand, List<String> evidencePaths, List<String> warnings) Compatibility constructor for callers compiled against schema 1.1 fields. -
McpCodingPartnerPlan
public McpCodingPartnerPlan(String schemaVersion, String workingSetSummary, String backend, List<com.shaft.mcp.McpJavaTargetScanner.Candidate> reuseMatches, List<String> missingCodeItems, List<String> suggestedMcpCalls, String verificationCommand, List<String> evidencePaths, List<String> warnings) Compatibility constructor for callers compiled against schema 1.0 fields.
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
workingSetSummary
Returns the value of theworkingSetSummaryrecord component.- Returns:
- the value of the
workingSetSummaryrecord component
-
backend
-
reuseMatches
Returns the value of thereuseMatchesrecord component.- Returns:
- the value of the
reuseMatchesrecord component
-
stepPlan
-
recommendedTargetSourcePath
Returns the value of therecommendedTargetSourcePathrecord component.- Returns:
- the value of the
recommendedTargetSourcePathrecord component
-
recommendedInsertionAnchor
Returns the value of therecommendedInsertionAnchorrecord component.- Returns:
- the value of the
recommendedInsertionAnchorrecord component
-
missingCodeItems
Returns the value of themissingCodeItemsrecord component.- Returns:
- the value of the
missingCodeItemsrecord component
-
suggestedMcpCalls
Returns the value of thesuggestedMcpCallsrecord component.- Returns:
- the value of the
suggestedMcpCallsrecord component
-
nextActions
Returns the value of thenextActionsrecord component.- Returns:
- the value of the
nextActionsrecord component
-
verificationCommand
Returns the value of theverificationCommandrecord component.- Returns:
- the value of the
verificationCommandrecord component
-
evidencePaths
Returns the value of theevidencePathsrecord component.- Returns:
- the value of the
evidencePathsrecord component
-
warnings
-