feat(sources): MP-aligned TMDB recall, alias registration guard, re-resolve on retitle (ID-2)
recallTmdbCandidates searches cn then en names in the preferred language by type and fetches details for a bounded set of candidates (MP alias fallback); translations become aliases; bindAuto no longer registers generic or alias-only site titles; snapshot/feed title changes reparse and force a re-resolve that unbinds when it can no longer confirm. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f6ec993b5f
commit
387f7931e0
9 files changed
+269
-39
No files matched your search
@@ -230,9 +230,15 @@ export const sourcesOutboxRoutes: Record<string, OutboxRouteFn> = {
|
||||
},
|
||||
"release.observed": (ev) => {
|
||||
const p = ev.payload as P;
|
||||
// 标题更新(isNew=false):按新标题重新解析并重新评估,已识别的也不短路(ID-2);触发来源仍是 observed(DEC-1 不变)
|
||||
const retitled = p.isNew === false;
|
||||
return {
|
||||
task: "resolveObservation",
|
||||
input: { sourceReleaseId: p.sourceReleaseId, observationId: p.observationId },
|
||||
input: {
|
||||
sourceReleaseId: p.sourceReleaseId,
|
||||
observationId: p.observationId,
|
||||
...(retitled ? { force: true, trigger: "observed" } : {}),
|
||||
},
|
||||
};
|
||||
},
|
||||
"feed.gap_suspected": (ev) => {
|
||||
|
||||
Reference in new issue
Block a user