Files
cflmy 155a5fa347
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
feat: add candidate AI-U1 document read closed-loop case
Add the candidate-input closed loop unlocked by marqdo-cli#24 (CLI afea4f9):
the program selects the unit/anchor outline with document.outline, reads the
exact knowledge section with document.read, feeds that exact source text to
ai.classify and returns the structured identity/result.

The default component CI image still ships a CLI without document.*, so this is
a separate candidate lane (scripts/candidate_document_cycle.sh +
MARQDO_AI_CASES_DIR); the default scripts/ci.sh and 39-case suite are unchanged
and stay green. Fixture server gains a deterministic valid_yes scenario.

STATUS updates AI-U1 resolved, C01/C03 candidate PASS, I08 PARTIAL
(select->read->classify->structured result closed; compute/explain and real
model continue). Evidence: docs/evidence/2026-11-30-ai-u1-document-cycle.md.

No release, no new cross-repo dependency, no CLI/other component change.
2026-11-30 15:59:17 +08:00
..

验收测试

  • unit/internal.mq.md:白盒回归,直接导入本包 lib/ 模块;返回失败名称列表,空列表表示通过。离线,不联网、不写文件。
  • integration/*.mq.md:消费者侧入口(import: ai: "@ai"),由 scripts/run_cases.py 复制进临时消费者工程后执行。
  • cases/*.json:候选 case 清单(marqdo.ai-test-case v1):fixture 场景、真实 CLI 参数/授权、期望 Observation 值、请求计数与请求体断言。

运行方式见仓库根 README 的「独立验收」;必须显式提供 MARQDO_BIN 与 MARQDO_STDLIB_DIR,不得读取父仓或兄弟仓。修改期望值等于声明公开行为变化,需同时更新 docs/STATUS.md 与证据。