fix(site-import): crawl 层注记并入草稿包 warnings(Task8 评审折入,spec §3.1)
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -402,7 +402,9 @@ def build(gen: dict, analysis: dict, crawl: dict, source_text: str) -> dict:
|
||||
gen = dict(gen or {})
|
||||
analysis = dict(analysis or {})
|
||||
crawl = dict(crawl or {})
|
||||
warnings: list[str] = []
|
||||
# crawl 层注记(logo 格式/大小跳过、薄子页跳过——Task 8 评审折入:
|
||||
# spec §3.1 要求 logo 跳过进 warnings 注记,此前被静默丢弃)
|
||||
warnings: list[str] = [str(w) for w in (crawl.get("warnings") or []) if w]
|
||||
src = source_text or crawl.get("pages_text") or ""
|
||||
missing: list[str] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user