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.
cflmy
merged commit 09e6eaf560 into main2026-11-30 16:06:52 +08:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
概述
利用已合并的 CLI #24(
afea4f9,document.outline/document.read)交付 ext-ai 的 AI-U1 候选闭环:选择锚点 → 精确读取知识章节 → 以读取原文作为模型上下文 → 结构化判断结果。默认组件 CI 镜像仍无该 builtin,因此该闭环放在独立候选 lane,不改变默认scripts/ci.sh与 39 cases。交付
tests/integration/document_cycle.mq.md:document.outline()取 Unit/Anchor 目录,document.read(module,"规则")读取精确章节,构造ai.classify上下文并返回 module/unit、读取长度与判断。tests/cases-candidate/document_cycle.json+scripts/candidate_document_cycle.sh:候选输入 lane(MARQDO_AI_CASES_DIR),确定性 fixture 模型valid_yes。scripts/run_cases.py支持MARQDO_AI_CASES_DIR;fixture_server.py增加valid_yes。docs/STATUS.md:AI-U1 解除;C01/C03 候选 PASS;I08 PARTIAL(选择→读取→判断闭环,计算/解释与真实模型待续)。证据docs/evidence/2026-11-30-ai-u1-document-cycle.md。验证(真实 CLI,Linux x86_64 / glibc 2.43)
document_cycle断言读取 unit 身份root:ai-acceptance-consumer@0.0.0::…/document_cycle.mq.md#规则库/规则与判断{"label":"是"}。边界 / 未验证
refs #2 #3 #4