Skip to content

Java: Remove SK planners from codebase #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Jun 13, 2025

Following the same pattern as the .NET version where SK planners were first stopped from being published and later removed from the codebase, this PR removes all planner-related references and artifacts from the Java Semantic Kernel codebase.

Changes Made

Removed Dependencies:

  • Removed semantickernel-sequentialplanner-extension and semantickernel-actionplanner-extension dependency references from main POM.xml

Removed Files:

  • Deleted planner test resource directory: /semantickernel-api/src/test/resources/com/microsoft/semantickernel/planner/
  • Removed 4 stepwise planner response test files
  • Removed planner prompt template file from samples (118 lines)

Updated Documentation:

  • Updated main README.md to remove planner references while maintaining the essence of SK's orchestration capabilities
  • Updated samples README.md to remove link to planner documentation blog post
  • Updated InputParameter.java comment to remove planner reference

Verification

  • ✅ Build passes successfully with ./mvnw clean package -Pbug-check
  • ✅ All existing tests continue to pass
  • ✅ No remaining planner references found in codebase
  • ✅ Changes are minimal and surgical (4 insertions, 143 deletions across 9 files)

The removal is clean and comprehensive, ensuring no orphaned references remain while preserving all other functionality.

Fixes #323.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] Java: Remove SK planners Java: Remove SK planners from codebase Jun 13, 2025
@Copilot Copilot AI requested a review from karianna June 13, 2025 04:30
Copilot finished work on behalf of karianna June 13, 2025 04:30
@karianna karianna requested a review from johnoliver June 13, 2025 04:36
@karianna karianna marked this pull request as ready for review June 13, 2025 04:39
@Copilot Copilot AI review requested due to automatic review settings June 13, 2025 04:39
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes all Semantic Kernel Java planner components and related references, aligning with the .NET version removal.

  • Removed planner extension dependencies from pom.xml
  • Deleted planner test resource files and sample prompt templates
  • Updated Javadoc and README files to drop planner mentions

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
semantickernel-api/src/test/resources/com/microsoft/semantickernel/planner/stepwiseplanner/response*.txt Deleted obsolete planner test response fixtures
semantickernel-api/src/main/java/com/microsoft/semantickernel/semanticfunctions/InputParameter.java Removed “planner” from parameter description in Javadoc
samples/semantickernel-concepts/semantickernel-syntax-examples/.../require_context_variable_planner_prompt.txt Deleted planner sample prompt file
samples/semantickernel-concepts/README.md Removed link to Handlebars planner blog post
pom.xml Removed semantickernel-sequentialplanner-extension and semantickernel-actionplanner-extension dependencies
README.md Cleaned up planner references and updated infographic caption

@karianna
Copy link
Member

@johnoliver Might need to elevate me to a full reviewer

@johnoliver johnoliver requested a review from karianna June 23, 2025 18:04
@karianna
Copy link
Member

@johnoliver - looks like I'm still not a qualifying reviewer

@karianna karianna self-requested a review June 25, 2025 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java: Remove SK planners
3 participants