feat(aipro): implement bind, review, decide with gateway guardrail and <150 chars opinion validation

This commit is contained in:
gitea committed 2026-09-06 23:54:36 +08:00
1 parent 7e39d95b36
commit ca00e9a2cc
3 files changed
+412 -66

No files matched your search

+3
View File
@@ -444,6 +444,9 @@ export class ApprovalRepository {
throw new Error(`审批运行记录不存在: ${runId}`);
}
// 重新挂载时清空旧要点
this.db.run("DELETE FROM approval_findings WHERE run_id = ?", [runId]);
const now = Date.now();
const insertStmt = this.db.prepare(`
INSERT INTO approval_findings (