HEL-892: document Qwen background removal and simplify eleven workflow summaries
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -155,6 +155,7 @@ export interface WorkflowDocument {
|
||||
fixed_version?: {
|
||||
matched: boolean;
|
||||
notice: string;
|
||||
user_overview?: string;
|
||||
source_path?: string;
|
||||
source_sha1?: string;
|
||||
source_sha256?: string;
|
||||
|
||||
@@ -76,19 +76,26 @@
|
||||
{/if}
|
||||
<Card title="用途与来源">
|
||||
<p>
|
||||
{doc?.purpose ||
|
||||
{(fixed?.matched &&
|
||||
(fixed.user_overview ||
|
||||
"这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。")) ||
|
||||
doc?.purpose ||
|
||||
wf.description ||
|
||||
"此旧工作流尚无详细说明,保留现有输入输出供核对。"}
|
||||
</p>
|
||||
{#if doc?.source_path || wf.source_repo_path}<p>
|
||||
源文件:{doc?.source_path || wf.source_repo_path}
|
||||
</p>{/if}
|
||||
{#if review?.scope?.length}<p>
|
||||
已审范围:{review.scope.join(";")}
|
||||
</p>{/if}
|
||||
{#each review?.semantic_review?.conclusions ?? [] as conclusion}<p>
|
||||
{conclusion}
|
||||
</p>{/each}
|
||||
<details>
|
||||
<summary>源图与审校记录</summary>
|
||||
{#if doc?.purpose}<p>{doc.purpose}</p>{/if}
|
||||
{#if doc?.source_path || wf.source_repo_path}<p>
|
||||
源文件:{doc?.source_path || wf.source_repo_path}
|
||||
</p>{/if}
|
||||
{#if review?.scope?.length}<p>
|
||||
已审范围:{review.scope.join(";")}
|
||||
</p>{/if}
|
||||
{#each review?.semantic_review?.conclusions ?? [] as conclusion}<p>
|
||||
{conclusion}
|
||||
</p>{/each}
|
||||
</details>
|
||||
</Card>
|
||||
<Card title="素材要求与输入输出">
|
||||
{#each doc?.materials ?? [] as material}
|
||||
@@ -118,37 +125,48 @@
|
||||
</Card>
|
||||
{#if fixed}
|
||||
<Card title="固定版本参数说明">
|
||||
<p>{fixed.notice}</p>
|
||||
{#if fixed.matched}
|
||||
<p>
|
||||
保存字段 {fixed.counts?.saved_fields} 项;固定参考执行标量 {fixed
|
||||
.counts?.final_scalars} 项;被连线覆盖 {fixed.counts
|
||||
?.linked_saved_fields} 项;仅前端控制 {fixed.counts
|
||||
?.frontend_only} 项。
|
||||
</p>
|
||||
{#each fixed.flow ?? [] as line}<p>{line}</p>{/each}
|
||||
<p>依据固定版本整理,目标环境与实际效果未核对。</p>
|
||||
<details>
|
||||
<summary>版本、源图与连线依据</summary>
|
||||
{#each fixed.versions ?? [] as version}<p>{version}</p>{/each}
|
||||
<p>源图 SHA256:{fixed.source_sha256}</p>
|
||||
{#each fixed.flow_evidence ?? [] as index}
|
||||
{@const evidence = fixed.sources?.[index]}
|
||||
{#if evidence}
|
||||
<p>
|
||||
{evidence.claim}:{evidence.file},第 {evidence.lines.join(
|
||||
"~",
|
||||
)} 行;提交 {evidence.commit};原文件 SHA256:{evidence.sha256}
|
||||
</p>
|
||||
{/if}
|
||||
{/each}
|
||||
</details>
|
||||
{#each fixed.fields ?? [] as field}
|
||||
<summary>核对范围与来源依据</summary>
|
||||
<p>{fixed.notice}</p>
|
||||
<p>
|
||||
保存字段 {fixed.counts?.saved_fields} 项;固定参考执行标量 {fixed
|
||||
.counts?.final_scalars} 项;被连线覆盖 {fixed.counts
|
||||
?.linked_saved_fields} 项;仅前端控制 {fixed.counts
|
||||
?.frontend_only} 项。
|
||||
</p>
|
||||
{#each fixed.flow ?? [] as line}<p>{line}</p>{/each}
|
||||
<details>
|
||||
<summary
|
||||
>节点 {field.node_id} · {field.label}({field.field})</summary
|
||||
>
|
||||
<summary>版本、源图与连线依据</summary>
|
||||
{#each fixed.versions ?? [] as version}<p>{version}</p>{/each}
|
||||
<p>源图 SHA256:{fixed.source_sha256}</p>
|
||||
{#each fixed.flow_evidence ?? [] as index}
|
||||
{@const evidence = fixed.sources?.[index]}
|
||||
{#if evidence}
|
||||
<p>
|
||||
{evidence.claim}:{evidence.file},第 {evidence.lines.join(
|
||||
"~",
|
||||
)} 行;提交 {evidence.commit};原文件 SHA256:{evidence.sha256}
|
||||
</p>
|
||||
{/if}
|
||||
{/each}
|
||||
</details>
|
||||
</details>
|
||||
{#each fixed.fields ?? [] as field, fieldIndex}
|
||||
<details data-fixed-field={field.pointer}>
|
||||
<summary>
|
||||
节点 {field.node_id} · {field.label}{#if (fixed.fields ?? []).filter((f) => f.node_id === field.node_id && f.label === field.label).length > 1}(同名第{(
|
||||
fixed.fields ?? []
|
||||
)
|
||||
.slice(0, fieldIndex + 1)
|
||||
.filter(
|
||||
(f) =>
|
||||
f.node_id === field.node_id &&
|
||||
f.label === field.label,
|
||||
).length}项){/if}
|
||||
</summary>
|
||||
<p>{field.effect}</p>
|
||||
<p>定义类型:{field.type};源 JSON 类型:{field.json_type}</p>
|
||||
<p>源现值(非定义默认值):</p>
|
||||
<pre>{value(field.value)}</pre>
|
||||
{#if field.schema_default}<p>
|
||||
@@ -157,7 +175,7 @@
|
||||
<p>单位:{field.unit ?? "待确认"}</p>
|
||||
<p>范围与限定:{field.limits}</p>
|
||||
<p>
|
||||
执行取值:{field.execution_note ??
|
||||
当前取值说明:{field.execution_note ??
|
||||
(field.role === "frontend"
|
||||
? "仅保存,不进入执行输入"
|
||||
: field.role === "linked"
|
||||
@@ -166,7 +184,8 @@
|
||||
</p>
|
||||
<details>
|
||||
<summary>来源依据</summary>
|
||||
<p>源节点类型:{field.class_type}</p>
|
||||
<p>源节点类型:{field.class_type};字段:{field.field}</p>
|
||||
<p>定义类型:{field.type};源 JSON 类型:{field.json_type}</p>
|
||||
<p>
|
||||
源取值指针:{field.pointer}{#if field.named_pointer};具名保存互证:{field.named_pointer}{/if}
|
||||
</p>
|
||||
@@ -183,6 +202,8 @@
|
||||
</details>
|
||||
</details>
|
||||
{/each}
|
||||
{:else}
|
||||
<p>{fixed.notice}</p>
|
||||
{/if}
|
||||
</Card>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user