remove hardcoded game scope policy from prompt

This commit is contained in:
devmrko
2026-07-27 14:33:30 +09:00
parent 10581dc605
commit 55faaa0794

View File

@@ -433,9 +433,10 @@ public class SelectAiService {
.append("matched_aliases: ").append(candidate.aliases()).append('\n') .append("matched_aliases: ").append(candidate.aliases()).append('\n')
.append("cosine_distance: ").append(candidate.similarity()).append('\n'); .append("cosine_distance: ").append(candidate.similarity()).append('\n');
} }
context.append("[GAME SCOPE POLICY]\n") context.append("[GAME SCOPE METADATA]\n")
.append("Use only DB-approved game scope when status is RESOLVED. ") .append("The following resolver facts are authoritative metadata. ")
.append("When status is NO_MATCH or UNKNOWN, do not infer a game-specific object.\n\n") .append("Apply the table and column annotations associated with these facts; ")
.append("do not invent identifiers or scope rules.\n\n")
.append(original); .append(original);
return context.toString(); return context.toString();
} }