revert(findings): reset dedup files to origin/main before Codex rewrite

Pure git restore (git checkout origin/main -- <files>) so the scheme 1+2+3
implementation can be re-authored entirely by Codex. No hand-written code.
This commit is contained in:
RuoJi6 committed 2026-10-24 21:09:20 +08:00
1 parent 0c346a7c0a
commit b0d6ad5d76
11 files changed
+108 -649

No files matched your search

+2 -5
View File
@@ -645,11 +645,8 @@ export const api = {
get<FindingCaseSuggestion[]>(
`/exploration/finding-case-suggestions${task ? `?task_id=${encodeURIComponent(task)}` : ""}`,
),
resolveFindingCaseSuggestion: (id: string, accept: boolean, excludeIds?: string[]) =>
post<{ case_id: string }>(`/exploration/finding-case-suggestions/${id}`, {
accept,
...(excludeIds?.length ? { exclude_ids: excludeIds } : {}),
}),
resolveFindingCaseSuggestion: (id: string, accept: boolean) =>
post<{ case_id: string }>(`/exploration/finding-case-suggestions/${id}`, { accept }),
reviewFindingCases: (ids: string[]) =>
post<{ runs: { conversation_id: number; task_id: string }[] }>("/exploration/finding-case-review", {
finding_ids: ids,
-1
View File
@@ -1737,7 +1737,6 @@ export interface FindingCaseSuggestion {
title: string;
reason: string;
state: string;
finding_ids: string[];
}
export interface FindingCaseReviewRun {
conversation_id: number;