Compress AI system prompt to core protocol contract#852
Open
GVCUTV wants to merge 1 commit intoissue665-iterative-correctionfrom
Open
Compress AI system prompt to core protocol contract#852GVCUTV wants to merge 1 commit intoissue665-iterative-correctionfrom
GVCUTV wants to merge 1 commit intoissue665-iterative-correctionfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
src/main/resources/ai/system_prompt_template.txtto a compact, bullet-based prompt preserving behavior and adding a short top-level "Non-negotiable rules" section.variantsJSON contract and the required variant labelsEMPATHETIC,EFFICIENT,BALANCED, plus the schema forstatus,metadata,assignments,uncovered_shifts, anduffa_delta.STRUCTURED,SPECIALIST_JUNIOR,SPECIALIST_SENIOR) and explicit prohibition of echoing internal artifacts likerole_validation_scratchpad.src/main/resources/ai/system_prompt_template.txtand committed the change as "Compress AI system prompt to core protocol contract".Testing
org.cswteams.ms3.ai.protocol(includingAiScheduleJsonParser,AiScheduleVariantsResponseDto,AiScheduleResponseDto,AiScheduleSemanticValidator,AiRoleCoveredDeserializer, andAiUffaQueue) to confirm the compressed prompt aligns with existing expectations, and those inspections passed.mvn -q -Dtest='org.cswteams.ms3.ai.protocol.*Test' test, but the build could not complete due to external Maven parent POM resolution failing with403 Forbiddenin this environment, so automated test execution did not finish.Codex Task