fix(confidence-engine): allow no-op episode reconsideration
This commit is contained in:
@@ -4089,7 +4089,16 @@ export async function applyValidatedProposal({
|
||||
);
|
||||
|
||||
if (!proposalGraphValidation.valid) {
|
||||
proposalCompatibilityErrors.push(...proposalGraphValidation.errors);
|
||||
const acceptsCompletedEpisodeNoOp = evidenceContext?.isCompletedEpisode === true;
|
||||
proposalCompatibilityErrors.push(
|
||||
...proposalGraphValidation.errors.filter(
|
||||
(error) =>
|
||||
!(
|
||||
acceptsCompletedEpisodeNoOp &&
|
||||
error === "Update contains no meaningful change"
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
const existingEdgeIds = new Set(situationGraph.edges.map((edge) => edge.id));
|
||||
|
||||
Reference in New Issue
Block a user