Move location registry reconciliation into shared operations
This commit is contained in:
@@ -26,6 +26,19 @@ type Finding struct {
|
||||
Message string
|
||||
}
|
||||
|
||||
// ReconciliationFallback describes the final omitted proposal groups without
|
||||
// changing the family-owned scope or reason classification.
|
||||
func ReconciliationFallback(scope, reason string, omitted int, details ...string) Finding {
|
||||
message := "semantic reconciliation did not obtain ordinary acceptance; using supported fallback output"
|
||||
if omitted > 0 {
|
||||
message = fmt.Sprintf("%d proposal group(s) omitted from the final semantic proposal; all affected candidates were preserved separately", omitted)
|
||||
}
|
||||
if len(details) > 0 {
|
||||
message = Aggregate(message, details)
|
||||
}
|
||||
return Finding{Scope: scope, ReasonCode: reason, Message: message}
|
||||
}
|
||||
|
||||
// Corrections collects domain-owned model instructions and contextual record
|
||||
// descriptions without coupling them to operator-facing diagnostics. Rules are
|
||||
// emitted before affected records so the bounded result remains useful even
|
||||
|
||||
Reference in New Issue
Block a user