# D30 ? Article Reconstruction: 50 ?????? ? ???? **??????:** PLAN_PREPARED ? ????????? ????????? ????????????? ? skill v0.1 ?????? **????:** ??????? ??????????????? ??????, ??????? ????????? ??? ??????????? HTML-?????? ? ????????????? ? ????????? ?? 50 ????? ????????????? HTML-??????? ? ????? ??? ?????????? ???????? ????, ?????? ? ???????????. **?????:** Luna/Codex. **??????????????? ??????:** Qwen3-30B ?? `server2`; ?????? extraction, classification, search expansion, summaries ? batch triage. ????????? ????? ? ???????????? ??????? Qwen ?? ?????????. **????????:** ??? ?????? ?????? ????????? JSON/HTML/receipt; production ?????????? ??????????? ?????? ????? ???? gates. ## [1] ??? ?? ?????? ??? ??????? ?????????????? ?????????????. ??? ?? ?????? ???????????????? ??????? ??? ?????? ????. ??? ????????? ??????????? ????, ??????????? ?????, ????????? ? ??????????? ?????????, ?? ????????? ??????????? ??????????, ?????? ?????? ??? ???????????? ?????? ? ???????? ??????????????? ?????????. ?????????????? ??????????? ???????? ????? ???????????? ???????: ????????? ?????????????? ????????????, gap-driven research, ??????????? ??????????????????? ??????????, ?????? ??????? ????? ???????, ?????????? ????????????? ??????????? ? ???????????????? ?????????????/?????????. ?????? ??????? ????? ?????????? Google ??? ???????. ????? ??????? ????????, ??????? ???????? ??????????????? ????????? ?? ?????????? ? ?????????, ? ?? ????????? ????????. ## [2] ???????? ??????????? | ??????????? | ????????? | ??????? | |---|---|---| | ????? HTML ? ??????????? | ???? | ???????????? ??? immutable source workspace | | `d29-article-author` | ???? | ????????? ?????????? reconstruction | | `d29-article-qa` | ???? | ??????? ???????????? ????????? gate | | SRV1 / ComfyUI | ???? ????????? skill ? workflow-?????? | ???????? ?????? ????? `d26-image-quality` | | Qwen3-30B | ???? ?? `server2` | ?? ?????? ????????? ??????; ???????? ???????????? research-??????? | | D29 prototype | ???? | ???????????? ????????? ? failure states; synthetic mock ?? ??????? production | | Batch/checkpoint | ???? ??? ???????? ???????????? | ????????? ?? article queue | | `article-reconstruction` skill | ??? | ??????? ? ?????? D30 | | ?????? production runner | ??? | ??????? ????? smoke-?????? | | Human review ????? ?????? | ?????????? ??? ?????????? ?????? | ???????? ?????? ??????????? ? ?????????? ???????? | ## [3] ?????????????????? skill ? tools ### [3.1] Intake ? ????? `article-intake` ??????? ????????? workspace: `source.html`, `assets/`, `source.json`, `state.json`, `run-manifest.json`. ??????????? URL, ????, ????????, ???? ? ?????? ???????????? ?????????????. ??????? ????? ? `BLOCKED`. ### [3.2] HTML extraction ???????? ????: ??????????? parser ?? `lxml`/`BeautifulSoup` ? ??????????? DOM, ??????????, ???????, ??????, ??????????? ? provenance. ??? ??????? ??????? ???????????? Trafilatura ??? extraction candidate: ?? ????? ???????? ?????, metadata ? JSON/XML/Markdown, ? ????? ????? fallback-?????? extraction. ?????????? fallback ????????? ?? ???????????? browser contour/Playwright. MarkItDown ???????????? ?????? ??? ?????????????? ???????? ????????? ? ?????????, ?????? ??? ??????? HTML ????? ???????????????? ?????????. Unstructured ???????? ????????????: ?? ??????? ??? element-level partitioning, ?? ??? ?????? ??????? ????????? ??? ? ????? ????? ??????. ### [3.3] Knowledge map `knowledge-extraction` ?????????? ???????? ? claims, procedures, measurements, warnings, conditions, examples, unresolved points ? image facts. ?????? ??????? ???????? `source_id`, `fragment_id`, ??????? ? ???. ?????? ?????? ?????? ?? ??????? ????????? ?????? ??? knowledge-map. ### [3.4] Gap-driven research Luna ????????? 5?12 ?????????? research questions. ????????? ?????? ???? ?? ???; web research ??????????? ?????? ??? ????????, ?????????? ? ?????? ?????????. Qwen ?? server2 ???????? ????????? ???????, ???????????????? ?????????? ? ?????? ??????? ?????. ??? ?????????? ???????? source-quality ? provenance gates. ### [3.5] Outline ? utility design ?? ????????? ????????? `reader-task.json`, `utility-gap.json` ? `outline.json`. ????? ????????? ??????? ???????? ?? reader task ? ????????? ????? ?????????. ???? ?+30% ??????????? ??????? ?????????? ?????????, ???? ??? ?? ???????????? ???????????; ? ???????????? gate ???????????? ?????????? ??????????: coverage, clarity, procedure completeness, warnings, source traceability ? image relevance. ### [3.6] Writing Luna ????? ?????? ?? ??????? ?? claims ? outline. Qwen ?? ????????? ????????? ?????. ?????? ????????? ????, ?????, ????? ??? safety instruction ??? evidence ??? ?????? ??????? `INFERENCE`. ???????????????? ??????????? claim ????????? ??????. ### [3.7] Images ??????? ??????????? ???????? ??????????? ? ?? ???????. ????????? ??????????? ???????? SRV1 ????? approved workflow `work_comfyUI_q`, ????? ????????????, ??????????? ? WebP ? ????????? ????, ???????? alt/caption/provenance ? ???????? ???????????? ? ??????. ???????? ????? ?? ????????. ### [3.8] QA ? originality ???????????? ????????: claims/numbers, source anchors, HTML, links, assets, boilerplate, near-duplicate, structural similarity, prompt-injection contamination, safety status, generated receipt. ???? gate ?? ???????? ??? ???? ? `MANUAL_REVIEW_REQUIRED` ??? `BLOCKED`. ### [3.9] Queue ? release ???? ?????? ? ???? workspace ? ???? state machine: `READY ? RUNNING ? RETRY ? REVIEW ? DONE/FAILED/BLOCKED`. ??????? ????? durable checkpoint, lease/lock, heartbeat, retry budget, idempotent artifact writes ? resume ????? ????. ## [4] ??? ????? ? GitHub | ????????? | ??????? | ??????? | |---|---|---| | [Trafilatura](https://github.com/adbar/trafilatura) | ???????????? ?????? | ?????????? main text, metadata ? ????????????????? ????????; ???? fallback extraction | | [Playwright](https://github.com/microsoft/playwright-python) | ???????????? ???????????? ?????????? ?????? | ???????? rendered DOM ? fallback ??? ?????/JS | | [RapidFuzz](https://github.com/rapidfuzz/RapidFuzz) | ???????? | ??????? lexical/near-duplicate comparison | | [Sentence Transformers](https://github.com/UKPLab/sentence-transformers) | ?????? ????? baseline | Embeddings/reranking ???????, ?? ??????? ???????? ??????, CPU/GPU ? ???????? ?? ????? ??????? | | [Unstructured](https://github.com/Unstructured-IO/unstructured) | ???????? ????? | Element-level HTML partitioning, ?? ????? ??????? runtime | | [MarkItDown](https://github.com/microsoft/markitdown) | ?? ?????? ???????? parser | ?????? ??? fallback, ?? ????? ??????? output sanity check | ?? ????????? ??????? ???????????: ????????? ????????, pinned version, transitive dependencies, ????????????????? ? ?????????? ???????? ?????????? ?????? retrieved content. ## [5] ??????? ?????????? | ??? | ???? | ???????? | ???????? | ????? | |---|---|---|---|---| | D30-001 | ??????? repo ? archive | ????????????? contracts ? workspace schema | schema + fixture | ??????? ?????? ????? isolated package | | D30-002 | 10 ???????? HTML | ??????? parser/extractor cascade | extraction comparison ? boilerplate rate | ??????? ??????????? parser | | D30-003 | source map | ??????? knowledge-map ? claim ledger | coverage/no invented claims | ??????????? draft | | D30-004 | local archive | ??????? ?????? ? gap retrieval | provenance ? duplicate checks | lexical-only mode | | D30-005 | 3 ?????? | ????????? Luna writing | claim anchors + QA | ????????? draft, ?? ????????? | | D30-006 | 3 ?????? + assets | ?????????? SRV1 image route | WebP/bytes/hash/alt | ???????? original asset | | D30-007 | 10 ?????? | ????????? queue/resume/retry | checkpoint recovery drill | ?????????? ??????? | | D30-008 | 10 outputs | ???????? originality/utility/QA | report PASS/PARTIAL/BLOCKED | ????????? auto-release | | D30-009 | 50 inputs/day | Capacity benchmark | throughput, latency, failure rate | ??????? concurrency | | D30-010 | Accepted benchmark | ???????? controlled batch mode | 3 ??? ?????????? ?????? | ????????? ? 10/day | ## [6] ???????????? ?????????????????? 50 ?????? ? ???? ? ??? ?? ??????? ??????, ? ???????????????? ???????? ???? ???????. ??? ?????? ????? ??? ? ??????? 6 ????? ?? ?????? ? ????????? ?? ???? ???? workers. ??????? ????? ???????????? pipeline: extraction ? QA ????? ???? ???????????, research ? image processing ?????? ????? ????????? ???????, ? Luna-writing ? ???????????? ????? ????????????? ????? ?? ???????????? ?????? API. ???? ?????? ??????? ?? ???????. ????? benchmark ?? 10, ????? 25 ? 50 ??????. PASS ????????: ?? ????? 90% ?? ??????????????? ??????? ??????? ?? QA ??? ??????? ???????, unsupported central claims = 0, ????? assets/links = 0, checkpoint resume ????????, ? ??????? ????? ? ????????? ???????????? ? ???????? ?????. ## [7] ??? ???? ??????? ???? ????? ? ?????????? ???????: ???? ? ?? ?? ???????????? ??????, ?????? ??????? ??????, ??????????? ???????, ?????? ??????, ??????????????? ??????????? ? ???????? ??????? ??????????. ??????? ?? ?????? ????????????? ?????????? ??????????????? ???????, ?? ?????? ???? ??????????????? ????????? ? ????????? ??????????? ? ?????????????? ??????. ## [8] ???????, ??????? ?????? ?? ????????? ???????????? 1. ??? ?50 ?????? ? ????? ?????????? 50 ????????? ??????? `READY`, ??? 50 ?????????? ??? ??????????? ????????? ? ????? ?? ????????? ??????? 50 ????????? ???????. 2. ??? ????????? ??? ????????? ? ??????????? ????????? ??????, ??? ??????? ?????? ???? ???????? ? ????????? ????? ??????? ? ????? ?? ????????? ??????? ??? ??????????? ?????????. 3. ?????? ????? ???????? ?????? woodworking/DIY, ??? ????? ???????? ???????, ??????? ? ?????? ????? ??? ??????? benchmark ?????? ???? ?????????? ?????, ?????? ??? ??? ????? ???????? ???????? ? ????????????. ## [9] ?????????? ?????? ?? ??????? parser ? ??????? ?????????? [D30 taxonomy: 20 ????????](d30-archive-taxonomy-20-sections.md). ???????? ????? ?? ??????????: ??????? ??????? ? ????? ???????? ??????????, ??????, confidence ? provenance. ## [10] Definition of Done D30 ?? ????????? ??????? ?? ??????? skill-??????. ?????: 10 ???????? end-to-end ????????, 3 ???????? resume ????? ?????????????? ????, 0 unsupported central claims ? READY, 0 broken asset/link errors, ??????????? receipts, ??????????? SRV1 ???????, ?????????? throughput ? ????????? ?????? ??????????. ?? ????? ??????? ????? ?????? `PILOT` ??? `PARTIAL`.