feat(iit): harden QC pipeline consistency and release artifacts

Implement IIT quality workflow hardening across eQuery deduplication, guard metadata validation, timeline/readability improvements, and chat evidence fallbacks, then synchronize release and development documentation for deployment handoff.

Includes migration/scripts for open eQuery dedupe guards, orchestration/status semantics, report/tool readability fixes, and updated module status plus deployment checklist.

Made-with: Cursor
This commit is contained in:
2026-03-08 21:54:35 +08:00
parent ac724266c1
commit a666649fd4
57 changed files with 28637 additions and 316 deletions

View File

@@ -213,6 +213,17 @@ class QcReportServiceClass {
return null;
}
// 若缓存早于最新质控时间,则视为过期,触发重算
const latestQcRows = await prisma.$queryRaw<Array<{ last_qc_at: Date | null }>>`
SELECT MAX(last_qc_at) AS last_qc_at
FROM iit_schema.qc_field_status
WHERE project_id = ${projectId}
`;
const latestQcAt = latestQcRows?.[0]?.last_qc_at;
if (latestQcAt && cached.generatedAt < latestQcAt) {
return null;
}
const issuesData = cached.issues as any || {};
return {