Skip to content

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Jan 20, 2026

This was written entirely using SpecKit. Human+AI collaboration went into the specification; the code produced was 99 % done by Claude Sonnet 4.5.

Important pieces:

  • The actual code and docs.
  • spec.md contains the specification of the feature
  • plan.md (and accompanying data model + API) contains the AI's implementation plan
  • constitution.md - I drafted some amendments as I was watching AI produce code that didn't look like "our" code.

I'm asking both @Christopher-Chianelli and @zepfred for a very careful code review. I have two reasons for that:

  • We should all be aware of what is possible with today's tools, what are its good sides and what are its limitations.
  • We need to pay extra attention to code like this, because it was not produced by any of us.

I do not recommend reviewing commit-by-commit. Review the final product, if you wish to keep your sanity.

* This class is an internal detail and must not be exposed to the user.
*/
@NullMarked
static final class DummyConstraintProvider implements ConstraintProvider {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This forces some changes to Quarkus/Spring.
I made these manually, as I didn't trust the agent to figure it out without all the speccing and planning prerequisites.

@triceo triceo marked this pull request as ready for review January 20, 2026 11:15
@triceo triceo requested a review from TomCools as a code owner January 20, 2026 11:15
Copilot AI review requested due to automatic review settings January 20, 2026 11:15
Copy link
Contributor

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 pull request adds a new MoveRunner API for testing move implementations during development. The feature was implemented using AI assistance (Claude Sonnet 4.5) based on specifications created through human-AI collaboration.

Changes:

  • Added new testing API (MoveRunner and MoveRunContext) for executing moves with automatic undo support
  • Updated Spring Boot and Quarkus auto-configuration to filter out internal test classes
  • Enhanced configuration utilities to support non-public inner static classes
  • Added comprehensive test coverage using the new API with builtin moves
  • Updated documentation with usage examples and best practices

Reviewed changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
MoveRunner.java New API entry point providing fluent interface for move execution with resource management
MoveRunContext.java New execution context for permanent and temporary move execution
InnerScoreDirector.java Added executeTemporarily variant accepting consumer callback
AbstractScoreDirector.java Implemented new executeTemporarily method delegating to move director
ConfigUtils.java Enhanced to support non-public inner static class instantiation
TimefoldSolverAutoConfiguration.java Added UNIQUENESS_PREDICATE to filter internal classes and abstract types
IncludeAbstractClassesEntityScanner.java Updated to use shared UNIQUENESS_PREDICATE
TimefoldProcessor.java Added UNIQUENESS_PREDICATE and renamed logger constant
Moves.java Updated swap methods with proper type parameterization
neighborhoods.adoc Added comprehensive MoveRunner API documentation
*MoveTest.java (6 files) New test classes demonstrating MoveRunner usage with builtin moves
MoveRunnerTest.java Unit tests for MoveRunner API
Specification files Complete feature specification, design, and implementation plan

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant