判据 ⑨⑩ 收口:确定性蒸馏 —— 零 LLM 也留得下事实

终态封卷的蒸馏钩子原先「模型不可用就整次返回空」,活动记忆一条也留不下。
按「结构化部分零 LLM,叙述是视图不是事实」拆成两段:

  · 先落**确定性骨架**:这一单确实发生了什么 —— 终态、几步转了人兜底、
    放行被驳回几次 —— 全写在归侧条目里,不需要模型来讲。每条带证据链。
  · 模型可用时在其上补模式层 / 裁决层的归纳;归纳不出来也不丢掉整次蒸馏。

实测(A1 一单):3 条 fact 候选,各带证据链。

至此 MVP 十条判据:① ② ③ ⑥ ⑦ ⑧ ⑨ ⑩ 在真实系统上端到端跑通;
④ ⑤ 的 loop 机制(CMMN 装载 / Enabled 集 / 断点判定 / 回路调人)跑通,
余下部分受限于 LLM 端点 —— loop 的 Agent 每一轮决断都要模型。

gates: tsc / eslint / depcruise(317 模块)/ api-report / 402 测试 全绿

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeDBx2PHLavbURXB8LJJ7m
This commit is contained in:
2026-07-27 05:58:43 +08:00
co-authored by Claude Opus 5
parent c3cb82ef64
commit bfe7828380
8 changed files with 156 additions and 25 deletions
@@ -23,6 +23,8 @@ export type AdvanceOutcome = {
};
/** finished 时:末步验收工单的裁决决定终态 */
readonly released?: boolean;
/** 选择组的出口选择:恰发一口,随放行一并确认 */
readonly selectedPorts?: Record<string, string>;
readonly blockedReason?: string;
};
export type FlowEngineService = {
+4
View File
@@ -52,6 +52,8 @@ export type EngineOutcome = {
readonly reason?: string;
/** 谱走完时:放行是否通过 —— **完成只出自放行通过**,引擎不自行宣布完成 */
readonly released?: boolean;
/** 选择组的出口选择:恰发一口,随放行一并确认 */
readonly selectedPorts?: Record<string, string>;
};
/**
* 落地收敛 —— app 注入 `release`(L4)。
@@ -62,6 +64,8 @@ export type LandingGateway = {
taskId: TaskId;
ownerId: StaffId;
humanCallCap: number;
/** 选择组的出口选择 —— 恰发一口,由放行时的确认给定 */
selectedPorts: Readonly<Record<string, string>>;
}): Promise<{
converged: boolean;
emittedPorts: readonly string[];