Тест существующей системы перед дальнейшей разработкой D30
Нужно доказать, что заявленные компоненты реально существуют и работают.
Не считать доказательством наличие файла, класса, функции, mock/fixture или фразы «готово». Доказательство = реальный запуск + вход + фактический выход + артефакт/лог + статус.
| Статус | Значение |
|---|---|
| PASS | Реальный тест выполнен, ожидаемый результат получен, доказательства есть. |
| FAIL | Реальный тест выполнен, но результат неверен. |
| REAL_BUT_ISOLATED | Компонент реально работает, но не подключён к D30 E2E. |
| FIXTURE_ONLY | Работа доказана только на mock/fixture/demo. |
| NOT_VERIFIED | Заявление не удалось проверить. |
| MISSING | Компонент/возможность отсутствует. |
TEST ID: COMPONENT: STATUS: WHAT WAS TESTED: COMMAND / ENTRYPOINT: INPUT: EXPECTED RESULT: ACTUAL RESULT: ARTIFACTS CREATED: LOG / EVIDENCE: ERRORS: INTEGRATION STATUS: CONCLUSION:
Создать реальный новый run/workspace.
Проверить уникальный run_id и реальные state/manifest/source-файлы. Показать фактические пути и содержимое ключевых полей.
TEST ID: T-001 COMPONENT: Workspace / Run STATUS: PASS WHAT WAS TESTED: create_workspace() + validate_workspace() on one real saved article HTML. COMMAND / ENTRYPOINT: python -X utf8 - < diagnostic script; d30_pipeline.workspace.create_workspace; d30_pipeline.workspace.validate_workspace INPUT: d30-workspaces/article-001-best-woodworking-tools/input/source.html EXPECTED RESULT: new isolated workspace, unique run_id, source copy, state.json, run-manifest.json and all required contract files. ACTUAL RESULT: PASS. New workspace created; validation returned PASS with missing_or_invalid=[]; run status READY; stage INTAKE; production_changed=false. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/ REQUIRED FILES: 16/16 present, including input/source.html, source.json, all ledgers/maps, draft.html, receipts, run-manifest.json, state.json and output/article.html. RUN_ID: d30-test-00-t001-36f0e4cc7c5c PIPELINE_VERSION: d30-article-reconstruction-0.1 SOURCE_SHA256: 36f0e4cc7c5c85b0925db93ee05568bf6f2a7ce50c017115f9ca6ca1d38d7c4e SOURCE_BYTES: 222790 LOG / EVIDENCE: create_workspace returned status=PASS; validate_workspace returned status=PASS. ERRORS: none. INTEGRATION STATUS: REAL_BUT_ISOLATED. Workspace creation works, but this test does not prove the complete D30 E2E pipeline. CONCLUSION: Run/workspace contract is executable locally. The created files are initialized artifacts; later stages remain PENDING/empty until separate code runs.
T001_RESULT_RECORDED ? saved after real execution ? next allowed test: T-002
Взять реальный HTML-материал и выполнить extraction.
Проверить title, paragraphs, headings, links, images и очистку навигационного мусора. Сохранить вход и результат.
TEST ID: T-002 COMPONENT: HTML Extraction STATUS: FAIL WHAT WAS TESTED: extract_cascade() on the real HTML copied into the T-001 workspace. COMMAND / ENTRYPOINT: python -X utf8 - < diagnostic script; d30_pipeline.extract.extract_cascade() INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html EXPECTED RESULT: extracted title, paragraphs, headings, links, images and cleaned visible text. ACTUAL RESULT: title PASS; headings PASS (73); text blocks PASS (130); images PASS (25); text chars 20985; boilerplate words found in extracted text: none. LINK CHECK: source contains 217 links, including 97 links inside nav elements. extract_cascade() result has no links field, so links are not preserved in the extraction artifact. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/extraction-result.json LOG / EVIDENCE: extractor=stdlib-visible-blocks-v1; metrics.boilerplate_rate_percent=0.0; links_in_extractor_output=false. ERRORS: link preservation failed. Navigation cleanup passed, but the extraction result loses all links. INTEGRATION STATUS: REAL_BUT_ISOLATED. The extractor runs locally, but it is not a complete article extraction contract and is not connected to a D30 E2E runner. CONCLUSION: partial extraction is real; full T-002 requirement is FAIL because links are not returned.
T002_RESULT_RECORDED · saved after real execution · next allowed test: T-003
Проверить реальные source-map, image-map и knowledge-map. Не только наличие файлов, но и соответствие входной статье.
TEST ID: T-003 COMPONENT: source-map / image-map / knowledge-map STATUS: FAIL WHAT WAS TESTED: real map files in the newly created T-001 workspace and correspondence with the same input article. COMMAND / ENTRYPOINT: python -X utf8 - < diagnostic script; JSON inspection against extraction-result.json INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html EXPECTED RESULT: maps populated and corresponding to source fragments, extracted images and knowledge items. ACTUAL RESULT: all three JSON files exist, but all have items_count=0. source-map.json: items=0; no source fragments mapped. image-map.json: items=0; extraction found 25 images. knowledge-map.json: items=0; no knowledge items. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/maps-result.json LOG / EVIDENCE: source-map.json, image-map.json and knowledge-map.json contain schema_version/pipeline_version/input_hashes but empty items arrays. ERRORS: map construction was not executed by the T-001 workspace creation path. INTEGRATION STATUS: MISSING in the tested D30 path. The files are initialized contract placeholders, not populated map artifacts. CONCLUSION: T-003 FAIL. Presence of map files does not prove source/image/knowledge mapping.
T003_RESULT_RECORDED · saved after real execution · next allowed test: T-004
На статье с конкретными утверждениями, числами, размерами и действиями проверить реальное создание claim ledger и сохранение контекста.
TEST ID: T-004 COMPONENT: Claim Ledger STATUS: PASS WHAT WAS TESTED: real claim-ledger generation for the T-001 article, including concrete source fragments, measurements, procedures and warnings/limits. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_parser_benchmark.py --input-root d30-runs/d30-test-00-t001-workspace/input --output-root d30-runs/d30-test-00-t004-extraction-01 --limit 1; python -X utf8 tools/d30_build_evidence.py --extraction-root d30-runs/d30-test-00-t004-extraction-01 --output-root d30-runs/d30-test-00-t001-workspace INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html; SHA-256 36f0e4cc7c5c85b0925db93ee05568bf6f2a7ce50c017115f9ca6ca1d38d7c4e EXPECTED RESULT: claim ledger is created from the real article, claims retain source context, and concrete values/actions are represented. ACTUAL RESULT: PASS. Generated 130 claims from 130 source fragments. All 130 claims have matching source_id/fragment_id context; 0 context mismatches; 7 measurement claims; 29 procedure claims; 8 warning/limit claims; 0 unsupported claims. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/claim-ledger.json; source-map.json; knowledge-map.json; receipt.json; t004-claim-ledger-result.json LOG / EVIDENCE: receipt.json reports stage D30-003, status PASS, documents=1, sources=1, fragments=130, claims=130, unsupported_claims=0. Direct comparison of claim text with source-map fragments returned linked_claims=130 and context_preserved=130. ERRORS: none in the executed test. INTEGRATION STATUS: REAL_BUT_ISOLATED. The existing D30 workspace creation path initially created an empty claim-ledger placeholder; the ledger was populated by the separate existing D30-002/D30-003 tools during this test. CONCLUSION: T-004 PASS for the existing claim-ledger builder and context linkage. This is not proof of automatic claim-ledger generation during every new workspace creation.
T004_RESULT_RECORDED · saved after real execution · next allowed test: T-005
Задать конкретный research-вопрос. Проверить реальный поиск, источники, новые факты, сохранение результатов и связь факта с источником. Отдельно проверить отличие новой информации от подтверждения старой.
TEST ID: T-005 COMPONENT: Research Ledger STATUS: NOT_VERIFIED WHAT WAS TESTED: existing research-ledger stage against the T-001 article, using a concrete question about adding current source-backed guidance. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_stage06_research_ledger.py d30-runs/d30-test-00-t005-research-01 INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html plus the T-004 claim ledger copied into the temporary diagnostic directory. EXPECTED RESULT: a real research query produces fetched source evidence, new facts, and links from each fact to its source. ACTUAL RESULT: the tool completed with status NO_NEW_EXTERNAL_FACTS, records=0 and new_facts=0. It only searches the source HTML for existing woodmagazine.com URLs for provenance; this Bob Vila source contains none. No web fetch, research-question execution, source comparison or new-fact capture occurred. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/research-ledger.json; d30-runs/d30-test-00-t005-research-01/research-ledger.json; t005-research-ledger-result.json LOG / EVIDENCE: the generated ledger contains schema d30-research-ledger-v1, status NO_NEW_EXTERNAL_FACTS, records=0 and questions_from_gap_analysis=6. ERRORS: first invocation failed because the existing script requires fact-ledger.json in its input root. One local retry supplied the existing T-004 ledger in the temporary directory; the script then completed, but still did not perform external research. INTEGRATION STATUS: REAL_BUT_ISOLATED. A research-ledger writer exists, but the tested path does not connect a question to a live source acquisition and does not create new source-backed facts. CONCLUSION: T-005 NOT_VERIFIED. The repository contains research-related code, but this test does not prove real research execution or Research → Article evidence linkage.
T005_RESULT_RECORDED · saved after real execution · next allowed test: T-006
article → indexing → FTS5 → query → correct fragment
Сделать минимум три запроса: точная фраза, редкое слово, технический термин. Показать фактические результаты.
TEST ID: T-006 COMPONENT: SQLite / FTS5 STATUS: PASS WHAT WAS TESTED: real indexing and retrieval of the T-001 article's 130 source fragments. COMMAND / ENTRYPOINT: d30_pipeline.local_index.build_index() and d30_pipeline.local_index.retrieve() INPUT: d30-runs/d30-test-00-t001-workspace/source-map.json EXPECTED RESULT: SQLite FTS5 index is created and three query types return the correct source fragments. ACTUAL RESULT: PASS. One document and 130 fragments were indexed. Exact phrase "limited reach" returned one matching fragment. Rare word DEWALT returned three source fragments. Technical term miter returned three source fragments. ARTIFACTS CREATED: d30-runs/d30-test-00-t001-workspace/t006-fts5.sqlite3; t006-fts5-result.json LOG / EVIDENCE: exact phrase matched fragment source:36f0e4cc7c5c85b0:fragment:0021 with text "Miter saws are great for cutting boards and posts, but can have limited reach."; all query results include fragment_id, source_id, title and source text. ERRORS: the first diagnostic exact query used the repeated document title and returned several rows; it was replaced with an exact phrase from fragment text and then passed. INTEGRATION STATUS: REAL_BUT_ISOLATED. The local_index module works on populated evidence, but automatic indexing is not part of the T-001 workspace creation path. CONCLUSION: T-006 PASS for SQLite / FTS5 indexing and retrieval.
T006_RESULT_RECORDED · saved after real execution · next allowed test: T-007
job → start → checkpoint → принудительная остановка → restart → resume
Нужно реально прервать процесс и показать, откуда он продолжился.
TEST ID: T-007 COMPONENT: Queue / Checkpoint / Recovery STATUS: PASS WHAT WAS TESTED: real queue execution with checkpoint persistence, bounded interruption and resume on three queue items. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_queue_smoke.py --queue d30-runs/d30-test-00-t007-queue-03/queue.jsonl --output-root d30-runs/d30-test-00-t007-queue-03 --stop-after 1; then the same command without --stop-after. INPUT: queue.jsonl with t007-article-01, t007-article-02 and t007-article-03. EXPECTED RESULT: first run stops after one item and persists a checkpoint; second run skips the completed item and completes the remaining items. ACTUAL RESULT: first run PARTIAL, completed=1, checkpoint contained article-01. Second run DONE, processed_this_run=2, checkpoint contained all three article IDs. Completed article-01 was not processed again. ARTIFACTS CREATED: d30-runs/d30-test-00-t007-queue-03/queue.jsonl; checkpoint.json; receipt.json; t007-queue-result.json LOG / EVIDENCE: first receipt reported total=3/completed=1; second receipt reported total=3/completed=3. production_changed=false. ERRORS: the first test input was written with a UTF-8 BOM and the strict loader rejected it. A second input was written as UTF-8 without BOM and passed. INTEGRATION STATUS: REAL_BUT_ISOLATED. Queue/checkpoint/resume works in the D30 smoke runner. The run is admission/checkpoint only; article stages remain external. CONCLUSION: T-007 PASS for bounded queue checkpoint and resume. The test did not prove OS-level process-kill recovery, stale-worker recovery, lease or heartbeat behavior.
T007_RESULT_RECORDED · saved after real execution · next allowed test: T-008
real input → adapter → HTTP → actual model → response → parser → validation
Зафиксировать HTTP status, время, размер ответа, валидность результата и artifact. Секреты/токены не показывать.
TEST ID: T-008 COMPONENT: D15 / Hermes / Qwen live call STATUS: FAIL WHAT WAS TESTED: one real request through the server2 Hermes D15 route to the loaded local Qwen3-30B model, followed by the existing D15 checkpoint parser. COMMAND / ENTRYPOINT: POST http://127.0.0.1:3000/hermes/d15-writer on server2; validation with services.d15_writer.hermes_adapter.parse_checkpoint() INPUT: real D15 documents skill request generated from docs/d15-skill-test-matrix.json; no publication, queue claim or production write. EXPECTED RESULT: HTTP response from the actual model, valid JSON checkpoint, parser acceptance and saved artifact. ACTUAL RESULT: HTTP 200; request_id=284b01d5-cd9b-4cd5-b19d-b40b5d9e8784; route=d15_writer; model=qwen3-30b-a3b-instruct-2507; finish_reason=stop; response_bytes=4364. The route returned a model reply, but the checkpoint parser rejected it: missing artifact, claim_refs, decisions, evidence_refs, limitations, next_step_id, open_questions and source_refs. ARTIFACTS CREATED: d30-runs/d30-test-00-t008-live-01/request.json; response.json; t008-live-result.json LOG / EVIDENCE: t008-live-result.json records HTTP 200, the real request_id/model and parser error AgentResponseViolation. ERRORS: the first transport attempt had malformed shell header quoting and was rejected before model processing. The corrected retry reached Hermes and Qwen successfully, but the returned D15 checkpoint contract was invalid. INTEGRATION STATUS: REAL_BUT_ISOLATED. The live Hermes route and Qwen model are reachable, but this test did not pass the canonical D15 checkpoint and is not connected to the D30 article pipeline. CONCLUSION: T-008 FAIL. Live model reachability is proven; valid D15 response parsing is not.
T008_RESULT_RECORDED · saved after real execution · next allowed test: T-009
Выполнить реальный Writer на одной DIY-статье. Сохранить исходник и фактический draft.
TEST ID: T-009 COMPONENT: Writer on real article STATUS: FAIL WHAT WAS TESTED: live Writer request using the real T-001 article text, sent through Hermes to the loaded Qwen3-30B model. COMMAND / ENTRYPOINT: POST http://127.0.0.1:3000/hermes/d15-writer on server2 with the extracted 20,985-character source text. INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html; the source text was included in the writer request. EXPECTED RESULT: a valid draft artifact containing the Writer output, with the original source and the generated draft saved for comparison. ACTUAL RESULT: HTTP 200; request_id=a7c086f5-eb7c-4221-adb9-65477d789867; model=qwen3-30b-a3b-instruct-2507; finish_reason=length. The model produced a partial draft inside raw_reply, but raw_reply was truncated and invalid JSON. The outer validator returned REVIEW_REQUIRED and no valid draft artifact was accepted. ARTIFACTS CREATED: d30-runs/d30-test-00-t009-writer-01/request.json; response.json; t009-writer-result.json LOG / EVIDENCE: t009-writer-result.json records HTTP 200, the model, finish_reason=length and raw_reply_json_valid=false. The original source remains in the T-001 workspace. ERRORS: the first stdin transport attempt did not produce a response file because of shell/timeout handling. The retry via scp reached Hermes and Qwen, but the response was truncated at the model token limit and rejected by the checkpoint validator. INTEGRATION STATUS: REAL_BUT_ISOLATED. Live Writer and Qwen were reached with real article content, but no accepted D30 draft artifact was produced and the Writer is not connected to the D30 workspace stages. CONCLUSION: T-009 FAIL. Real model execution is proven; usable Writer draft output is not.
T009_RESULT_RECORDED · saved after real execution · next allowed test: T-010
ARTICLE + RESEARCH LEDGER → WRITER → NEW ARTICLE
Показать минимум три новых факта и где они появились в результате.
TEST ID: T-010 COMPONENT: Research → Writer STATUS: NOT_VERIFIED WHAT WAS TESTED: whether the real article, a research ledger and the Writer are connected strongly enough to insert and show at least three new facts. COMMAND / ENTRYPOINT: inspection of T-005 research-ledger.json and T-009 Writer result. INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html; d30-runs/d30-test-00-t001-workspace/research-ledger.json. EXPECTED RESULT: ARTICLE + RESEARCH LEDGER → WRITER → NEW ARTICLE, with at least three new facts traceable into the result. ACTUAL RESULT: the research ledger status is NO_NEW_EXTERNAL_FACTS with records=0 and new_facts=0. T-009 produced no accepted Writer draft artifact. There are therefore no three new facts and no resulting article locations to verify. ARTIFACTS CREATED: d30-runs/d30-test-00-t010-research-writer-01/t010-research-writer-result.json LOG / EVIDENCE: t010-research-writer-result.json records research_records=0, new_facts=0 and writer_artifact=null. ERRORS: the prerequisite research stage did not produce new source-backed facts; the prerequisite Writer stage did not produce a valid draft artifact. INTEGRATION STATUS: MISSING in the tested D30 path. Research and Writer exist as separate pieces, but their real article handoff was not demonstrated. CONCLUSION: T-010 NOT_VERIFIED. No synthetic facts were inserted to manufacture a passing result.
T010_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-011
40 mm → 50 mm 2 слоя → 3 слоя 20 °C → 200 °C
Audit должен обнаружить изменения. Если нет — соответствующий контроль FAIL.
TEST ID: T-011 COMPONENT: Intentional Corruption / Audit STATUS: PASS WHAT WAS TESTED: the existing automated audit was given a source with 40 mm, 2 layers and 20 °C, then a test article with 50 mm, 3 layers and 200 °C. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_automated_quality_audits.py d30-runs/d30-test-00-t011-audit-02 INPUT: source-clean.md, public_article.md and fact-ledger.json in the isolated diagnostic directory. EXPECTED RESULT: audit detects all three changed values and blocks the quality gate. ACTUAL RESULT: PASS. Number audit detected three values with status UNSOURCED. The quality gate returned FAIL. All three corruptions were therefore detected and prevented from passing. ARTIFACTS CREATED: source-clean.md; public_article.md; fact-ledger.json; number-audit.json; quality-gate.json; t011-audit-result.json LOG / EVIDENCE: number-audit.json contains three detected numbers, all UNSOURCED; quality-gate.json contains NUMBER_AUDIT=FAIL and overall status FAIL. ERRORS: none in the final diagnostic run. INTEGRATION STATUS: REAL_BUT_ISOLATED. The audit tool detects deliberate number corruption in an isolated package; this test does not prove automatic audit invocation from a D30 Writer run. CONCLUSION: T-011 PASS. The audit caught 40 mm → 50 mm, 2 layers → 3 layers and 20 °C → 200 °C.
T011_RESULT_RECORDED · saved after real execution · next allowed test: T-012
Материал с inch, feet, Fahrenheit и metric. Проверить извлечение, преобразование и сохранение контекста каждого числа.
TEST ID: T-012 COMPONENT: Number / Unit Audit STATUS: FAIL WHAT WAS TESTED: source material containing inch, feet, gallons, pounds, Fahrenheit and metric values; then a metric article copy and the existing conversion/number audit stages. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_stage01_fact_ledger.py d30-runs/d30-test-00-t012-units-02; python -X utf8 tools/d30_stage03_unit_conversion.py d30-runs/d30-test-00-t012-units-02; python -X utf8 tools/d30_automated_quality_audits.py d30-runs/d30-test-00-t012-units-02 INPUT: source.html with 12 inch, 3 feet, 2 gallons, 8 pounds, 68 °F and 20 °C; converted public_article.md. EXPECTED RESULT: units and values are extracted, conversions are checked, and the final audit preserves the context of each number. ACTUAL RESULT: source extraction found 3 measurement fragments. Unit conversion detected 5 source units and the target unit types cm, m, l, kg and °C, but returned PASS_WITH_REVIEW_REQUIRED and stored formulas without calculated target values. Final number audit returned FAIL: four converted values were UNSOURCED; only the unchanged 20 °C values were MATCH. ARTIFACTS CREATED: source.html; fact-ledger.json; unit-conversion-report.json; public_article.md; number-audit.json; quality-gate.json; t012-units-result.json LOG / EVIDENCE: t012-units-result.json records conversions=5, number_audit_status=FAIL and number statuses UNSOURCED/UNSOURCED/UNSOURCED/UNSOURCED/MATCH/MATCH. ERRORS: none in the final diagnostic run. INTEGRATION STATUS: REAL_BUT_ISOLATED. Unit detection and formula classification exist, but verified conversion values and number-role preservation are not connected to a passing final audit. CONCLUSION: T-012 FAIL. The current pipeline detects units but does not automatically verify converted values through the final number audit.
T012_RESULT_RECORDED · saved after real execution · next allowed test: T-013
Использовать три изображения: фото без текста, фото с надписью, чертёж/схему с размерами.
has_text detected_text confidence classification
TEST ID: T-013 COMPONENT: Image / OCR STATUS: MISSING WHAT WAS TESTED: availability of the image inventory, local image inputs and OCR/image classification path for the T-001 article. COMMAND / ENTRYPOINT: repository inspection of D30 image/OCR modules; inspection of d30-runs/d30-test-00-t001-workspace/image-receipt.json. INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html, which contains 25 image references. EXPECTED RESULT: three image inputs are processed and return has_text, detected_text, confidence and classification. ACTUAL RESULT: the HTML has 25 image references, but the T-001 workspace contains 0 local image files. image-receipt.json has status NOT_RUN and items=[]. No OCR or image-analysis module exists in the tested D30 path. ARTIFACTS CREATED: d30-runs/d30-test-00-t013-image-01/t013-image-result.json LOG / EVIDENCE: t013-image-result.json records html_image_count=25, local_image_files=0 and all four requested checks as NOT_VERIFIED. ERRORS: no executable OCR/image-analysis entrypoint was available. INTEGRATION STATUS: MISSING. Image extraction and OCR are not connected to the D30 workspace. CONCLUSION: T-013 MISSING. The three-image OCR test cannot be executed without an image extraction/OCR component and local image inputs.
T013_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-014
Проверить существующие инженерные возможности на реальной статье про дерево, металл, CNC или 3D-печать.
material → tool → dimensions → sequence → limitations → safety
Если отдельного Engineering-модуля нет — честно поставить NOT_VERIFIED или MISSING.
TEST ID: T-014 COMPONENT: Engineering / Technical Check STATUS: MISSING WHAT WAS TESTED: whether a real woodworking article is passed through an engineering checker for material, tool, dimensions, sequence, limitations and safety. COMMAND / ENTRYPOINT: repository inspection of D30 engineering entrypoints; existing extraction and claim ledger were inspected for relation fields. INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html, title "The Best Woodworking Tools", 20,985 extracted characters. EXPECTED RESULT: an Engineering artifact validates the technical relations and safety constraints. ACTUAL RESULT: no Engineering module or executable technical relation checker exists. The claim ledger stores source fragments and heuristic labels; relation fields remain REVIEW_REQUIRED and no engineering artifact is produced. ARTIFACTS CREATED: d30-runs/d30-test-00-t014-engineering-01/t014-engineering-result.json LOG / EVIDENCE: t014-engineering-result.json records engineering_entrypoint=null and fact_ledger_relation_state=REVIEW_REQUIRED. ERRORS: no executable Engineering / Technical Check entrypoint was available. INTEGRATION STATUS: MISSING. The required technical validation stage is absent from the tested D30 path. CONCLUSION: T-014 MISSING. The real article cannot pass this test because material/tool/dimension/sequence/limitation/safety relations are not automatically checked.
T014_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-015
Проверить реальное построение outline из статьи. Проверить цель, ключевые факты, последовательность, жанр и новые research-данные.
TEST ID: T-015 COMPONENT: Outline STATUS: FAIL WHAT WAS TESTED: outline generation from the real T-001 article after running the existing fact-ledger stage. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_stage01_fact_ledger.py d30-runs/d30-test-00-t015-outline-01; python -X utf8 tools/d30_stage07_outline.py d30-runs/d30-test-00-t015-outline-01 INPUT: source.html copied from the T-001 real article; 136 extracted fact fragments. EXPECTED RESULT: outline contains article goal, key facts, sequence, genre and available research data. ACTUAL RESULT: stage-07 returned READY_FOR_SECTIONAL_WRITING with seven sections and source_fact_count=136. It contains allowed_facts rules and a procedure section, but no explicit article goal, key-fact list, genre field or research-ledger integration. ARTIFACTS CREATED: d30-runs/d30-test-00-t015-outline-01/fact-ledger.json; outline.json; t015-outline-result.json LOG / EVIDENCE: t015-outline-result.json records goal_present=false, key_facts_present=false, sequence_present=true, genre_present=false and research_data_present=false. ERRORS: none in the final diagnostic run. INTEGRATION STATUS: REAL_BUT_ISOLATED. Outline generation runs on real extracted material, but it uses a fixed seven-section template and does not consume research data. CONCLUSION: T-015 FAIL. The outline stage exists, but it is not yet article-specific enough for the required D30 contract.
T015_RESULT_RECORDED · saved after real execution · next allowed test: T-016
Запустить существующий quality-контур на реальном draft:
REAL DRAFT → QUALITY → RECEIPT / REPORT
Не ограничиваться unit-test.
TEST ID: T-016 COMPONENT: Quality / Audit Integration STATUS: NOT_VERIFIED WHAT WAS TESTED: existing D30 quality gate on the current T-001 workspace draft. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_article_quality_gate.py --workspace d30-runs/d30-test-00-t001-workspace --source-html d30-runs/d30-test-00-t001-workspace/input/source.html INPUT: d30-runs/d30-test-00-t001-workspace; draft.html exists but is only 110 bytes. EXPECTED RESULT: REAL DRAFT → QUALITY → RECEIPT / REPORT. ACTUAL RESULT: the command stopped before auditing with FileNotFoundError: article-anchors.json. No quality receipt or audit report was created. The current draft.html is the workspace placeholder; T-009 did not produce an accepted Writer draft. ARTIFACTS CREATED: d30-runs/d30-test-00-t016-quality-01/t016-quality-result.json LOG / EVIDENCE: t016-quality-result.json records draft_bytes=110, quality_receipt_present=false and audit_report_present=false. ERRORS: missing article-anchors.json. INTEGRATION STATUS: MISSING in the tested D30 path. Quality code exists, but it cannot run on the current workspace without provenance anchors and a real draft. CONCLUSION: T-016 NOT_VERIFIED. The quality contour was not proven on a real draft.
T016_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-017
Проверить реальный release-контур. Ожидаются article.html и соответствующие отчёты/receipts.
TEST ID: T-017 COMPONENT: Release / Final Output STATUS: NOT_VERIFIED WHAT WAS TESTED: D30 T-001 workspace final output and release receipts. COMMAND / ENTRYPOINT: Read-only inspection of d30-runs/d30-test-00-t001-workspace and services/release. INPUT: d30-runs/d30-test-00-t001-workspace EXPECTED RESULT: article.html plus release receipt/report. ACTUAL RESULT: output/article.html exists but is a 112-byte Pending placeholder; qa-receipt.json has status PENDING; run-manifest.json is READY with EXTRACT, WRITE and QA still PENDING; no D30 release receipt or final publication artifact. Existing services/release modules are a separate D18 release path and are not connected to this D30 workspace. ARTIFACTS CREATED: d30-runs/d30-test-00-t017-release-01/t017-release-result.json LOG / EVIDENCE: output/article.html = 112 bytes; qa-receipt.json = PENDING; run-manifest.json stages: INTAKE PASS, EXTRACT PENDING, WRITE PENDING, QA PENDING. ERRORS: No executable D30 release entrypoint was found for this workspace. INTEGRATION STATUS: MISSING CONCLUSION: T-017 NOT_VERIFIED. No production publication was attempted.
T017_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-018
REAL ARTICLE ↓ WORKSPACE ↓ EXTRACTION ↓ FACTS ↓ RESEARCH ↓ OUTLINE ↓ WRITER / QWEN ↓ AUDIT ↓ RELEASE ↓ FINAL ARTICLE
Для каждого перехода показать фактический artifact. Если этап отсутствует — не симулировать его.
TEST ID: T-018 COMPONENT: Full E2E STATUS: FAIL WHAT WAS TESTED: Real article through the available D30 chain from source to final output. COMMAND / ENTRYPOINT: d30_pipeline.extract.extract_cascade(...) and tools/d30_article_quality_gate.py on the real T-001 workspace; previously recorded live Writer result was included as the actual writer transition. INPUT: d30-runs/d30-test-00-t001-workspace/input/source.html EXPECTED RESULT: source → workspace → extraction → facts → research → outline → writer/Qwen → audit → release → final article, with an artifact at every transition. ACTUAL RESULT: source, workspace, extraction and fact artifacts exist. Extraction returned 130 blocks, 73 headings, 25 image references and 20,985 characters; the fact ledger contains 130 facts. Research produced 0 new facts. The live Writer call returned HTTP 200 but finish_reason=length, invalid/truncated JSON and no accepted draft. Quality gate stopped with FileNotFoundError: article-anchors.json. Release was not verified and no final article was published. ARTIFACTS CREATED: d30-runs/d30-test-00-t018-e2e-01/extraction-live.json; d30-runs/d30-test-00-t018-e2e-01/quality-gate-live.json; d30-runs/d30-test-00-t018-e2e-01/quality-gate-command-output.txt; d30-runs/d30-test-00-t018-e2e-01/t018-e2e-result.json LOG / EVIDENCE: T-009 live Writer request a7c086f5-eb7c-4221-adb9-65477d789867; T-015 outline result; T-016 quality result; T-017 release result. ERRORS: Writer response was truncated and rejected by the checkpoint contract. Quality gate required missing article-anchors.json. INTEGRATION STATUS: FAIL CONCLUSION: T-018 FAIL. The chain breaks before an accepted draft and therefore does not reach audit, release or a final article. No production publication was attempted.
T018_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-019
Намеренно сломать один промежуточный этап, перезапустить и показать recovery/state history.
TEST ID: T-019 COMPONENT: Failure Recovery STATUS: FAIL WHAT WAS TESTED: Intentional failure of the queue input, followed by correction and restart in an isolated test workspace. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_queue_smoke.py --queue d30-runs/d30-test-00-t019-recovery-02/queue.jsonl --output-root d30-runs/d30-test-00-t019-recovery-02 INPUT: First queue contained one valid record and one malformed record without article_id. EXPECTED RESULT: Failure is recorded in state history/checkpoint and restart resumes from the saved checkpoint. ACTUAL RESULT: First run failed with KeyError: article_id before checkpoint creation. After correcting the queue, the second run completed both records from the beginning. It did not resume from a failure checkpoint. ARTIFACTS CREATED: d30-runs/d30-test-00-t019-recovery-02/first-run-output.txt; second-run-output.txt; checkpoint.json; receipt.json; t019-recovery-result.json LOG / EVIDENCE: first run exit code 1; checkpoint did not exist after failure; retry exit code 0 with status DONE, completed=2, failed=0. ERRORS: No failed-stage record or recovery state was created. INTEGRATION STATUS: REAL_BUT_ISOLATED CONCLUSION: T-019 FAIL. T-007 demonstrated bounded checkpoint/resume, but failure recovery from an interrupted/broken stage was not demonstrated. No production data changed.
T019_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-020
| Тип | Пример | Проверка |
|---|---|---|
| WOOD | дерево / столярка | материалы, размеры, соединения |
| CNC | обработка на станке | режимы, инструмент, ограничения |
| 3D/METAL | 3D-печать или металл | материалы, параметры, безопасность |
TEST ID: T-020 COMPONENT: Three article types STATUS: PASS WHAT WAS TESTED: Real WOOD, CNC and METAL HTML inputs through d30_pipeline.extract.extract_cascade. COMMAND / ENTRYPOINT: python -X utf8 d30-runs/d30-test-00-t020-types-01/run_types.py INPUT: WOOD — The Best Woodworking Tools; CNC — Is DeWalt's Cordless 20V MAX the Best Compact Router?; METAL — 6 Things to Know Before Cutting Metal. EXPECTED RESULT: All three real article types are accepted and their type-relevant content is extracted. ACTUAL RESULT: WOOD PASS — 130 blocks, 73 headings, 25 images, 20,985 chars; CNC PASS — 40 blocks, 25 headings, 21 images, 7,833 chars; METAL PASS — 37 blocks, 21 headings, 19 images, 8,030 chars. Relevant terms were found for each type. ARTIFACTS CREATED: d30-runs/d30-test-00-t020-types-01/t020-type-extraction.json; t020-types-result.json. LOG / EVIDENCE: All three source files were read and extracted with stdlib-visible-blocks-v1. ERRORS: None in extraction. INTEGRATION STATUS: REAL_BUT_ISOLATED CONCLUSION: T-020 PASS for real input coverage. This does not prove a specialized Engineering module or a complete type-specific E2E path; T-014 recorded Engineering as missing. No production data changed.
T020_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-021
Если batch заявлен как рабочий — обработать минимум пять статей. Проверить изоляцию run_id, artifacts, checkpoint и поведение при ошибке одной статьи.
TEST ID: T-021 COMPONENT: Batch Smoke STATUS: FAIL WHAT WAS TESTED: Five real archived HTML source records were admitted to the D30 queue, followed by a malformed-input failure case. COMMAND / ENTRYPOINT: python -X utf8 tools/d30_queue_smoke.py --queue d30-runs/d30-test-00-t021-batch-01/queue.jsonl --output-root d30-runs/d30-test-00-t021-batch-01 INPUT: Five real source records from the Bob Vila archive, with unique article IDs and source hashes. EXPECTED RESULT: Five isolated article runs/artifacts, checkpointing and failure isolation when one article fails. ACTUAL RESULT: Queue receipt status DONE, total=5, completed=5, failed=0. Five unique article IDs were checkpointed, but no run_id, per-article workspace or article artifact was created; the queue only performs admission/checkpoint bookkeeping. A separate malformed queue failed with JSONDecodeError before checkpoint creation, so unaffected-article isolation was not demonstrated. ARTIFACTS CREATED: d30-runs/d30-test-00-t021-batch-01/input-manifest.json; queue.jsonl; checkpoint.json; receipt.json; t021-batch-result.json; d30-runs/d30-test-00-t021-batch-failure/failure-output.txt LOG / EVIDENCE: Five IDs are present in checkpoint.completed; article pipeline execution count is zero. ERRORS: Batch processing is not connected to article extraction/writer/audit/release. Malformed input aborts before checkpointing. INTEGRATION STATUS: REAL_BUT_ISOLATED CONCLUSION: T-021 FAIL. Queue smoke works for five-record admission, but batch article processing and per-article failure recovery/isolation are not verified. No production data changed.
T021_RESULT_RECORDED · saved after diagnostic execution · next allowed test: T-022
| Компонент | Статус | Доказательство | Что требуется |
|---|---|---|---|
| Extraction | |||
| Claims | |||
| Research | |||
| Engineering | |||
| Writer | |||
| Audit | |||
| Release | |||
| Orchestrator | |||
| E2E |
TEST ID: T-022 COMPONENT: Existing system map STATUS: PASS WHAT WAS TESTED: Factual map assembled from T-001 through T-021 evidence. COMMAND / ENTRYPOINT: python -X utf8 d30-runs/d30-test-00-t022-system-map-01/build_map.py EXPECTED RESULT: Component-by-component map with evidence, actual status and missing integration. ACTUAL RESULT: Extraction — PASS / REAL_BUT_ISOLATED: real HTML extraction works; no connected downstream E2E. Claims — PASS / REAL_BUT_ISOLATED: claim ledger with source context works as a separate tool. Research — NOT_VERIFIED / REAL_BUT_ISOLATED: ledger path exists; live research and new facts were not verified. Engineering — MISSING: no Engineering/Technical Check module. Writer — FAIL / REAL_BUT_ISOLATED: live Qwen route responds, but no accepted draft is produced. Audit — NOT_VERIFIED / MISSING: isolated synthetic audit works; real quality integration is blocked by missing article-anchors.json. Release — NOT_VERIFIED / MISSING: no D30 release entrypoint or final publication artifact. Orchestrator — MISSING: no connected source-to-release orchestrator. E2E — FAIL: chain reaches source, workspace, extraction and facts, then breaks before accepted Writer draft. ARTIFACTS CREATED: d30-runs/d30-test-00-t022-system-map-01/t022-system-map.json LOG / EVIDENCE: PASS=2, FAIL=2, NOT_VERIFIED=3, MISSING=2 in the component map. ERRORS: The map records system gaps; it does not repair or hide them. INTEGRATION STATUS: REAL_BUT_ISOLATED CONCLUSION: T-022 PASS as a factual inventory. The system has working isolated components, but no verified connected D30 article-production E2E. No production data changed.
T022_RESULT_RECORDED · saved after diagnostic execution · test series complete: T-001 through T-022
TEST ID: T-032 COMPONENT: Writer section live call STATUS: PASS A short section was sent through the existing Hermes/Qwen route on server2. The normalized checkpoint had status READY. The local parser accepted it after the contract fix, and writer-output-v1 validation passed. finish_reason=stop. No queue claim and no publication were performed. ARTIFACTS: d30-runs/d30-test-00-t032-writer-section-01/ CONCLUSION: One bounded section works end to end.
T032_RESULT_RECORDED · follow-up result added after T-022
TEST ID: T-034 COMPONENT: Sequential section Writer STATUS: FAIL Seven sections were sent one by one. After retrying only failed sections, 2 of 7 sections passed writer-output-v1 validation: sections 03 and 04. Sections 01, 02, 05, 06 and 07 remained blocked by malformed pack_ref, missing schema, invalid status, task_id mismatch or truncated JSON. No draft was assembled because the pipeline refuses to combine an incomplete section set. ARTIFACTS: d30-runs/d30-test-00-t034-section-batch-01/ CONCLUSION: Section-by-section execution works as a bounded mechanism, but the model output contract is not yet stable across all sections.
T034_RESULT_RECORDED · follow-up result added after T-022
FINAL SYSTEM VERDICT REAL_AND_WORKING: - HTML extraction: real source extraction works. - Claim ledger: 130 source-linked claims were produced in the isolated pilot. - SQLite/FTS5: real indexing and retrieval passed. - Queue checkpoint smoke: five-record admission/checkpoint passed. - Synthetic audit: intentional number corruption was detected. REAL_BUT_ISOLATED: - Research ledger path exists, but live research produced no new facts. - Live Qwen endpoint exists, but its writer output was not accepted. - Outline generation exists as a separate tool. - Queue accepts five real records, but does not run article stages. - Three article input types were extracted successfully. FIXTURE_ONLY: - No final D30 article-production path was proven on fixture-only output. NOT_VERIFIED: - Live Research → Writer with three new facts. - Real draft quality/audit integration. - D30 release/final output. - Failure recovery from a broken intermediate stage. - Per-article batch failure isolation. MISSING: - Engineering/Technical Check module. - Connected D30 orchestrator from source to release. - Accepted Writer draft contract in the tested live path. - D30 release entrypoint and final publication receipt. - Recovery state for a failed intermediate stage. E2E_STATUS: FAIL — the real chain reaches source, workspace, extraction and facts, then breaks before an accepted Writer draft. BIGGEST_GAPS: - Writer response contract/truncation. - Missing article-anchors.json for quality gate. - No connected Research, Writer, Audit and Release path. - Queue is admission/checkpoint bookkeeping only. WHAT_SHOULD_NOT_BE_REBUILT: - Working extraction, claim ledger, SQLite/FTS5 index and queue checkpoint primitives. WHAT_MUST_BE_INTEGRATED: - Source/workspace → extraction → facts → research → outline → writer → audit → release. WHAT_MUST_BE_IMPLEMENTED: - Validated Writer artifact contract, article anchors, connected quality gate, D30 release path, and failure-aware recovery. RECOMMENDED_NEXT_STEP: - Repair the Writer output contract and run a new isolated E2E test; do not treat the current batch queue as article production.POST-TEST FOLLOW-UP: - T-032 bounded section Writer: PASS. - T-034 seven-section article run: FAIL; 2/7 sections passed validation. - No final draft or publication was created. - The next blocker is stable writer-output-v1 normalization and retry behavior across all sections.
Вернуть этот же HTML-файл, дополненный фактическими результатами всех выполнимых тестов.
Не заменять доказательство словами «реализовано», «готово», «работает». Секреты, токены и пароли не включать.
СНАЧАЛА ДОКАЖИ. ПОТОМ ОБЪЯСНЯЙ. ПОТОМ ПРЕДЛАГАЙ, ЧТО МЕНЯТЬ.