docs: context boundary + real-model acceptance (AI-U2 pin) (#3/#4) #5

Merged
cflmy merged 1 commits from codex/issue-3-4-context-and-real-model into main 2026-11-30 12:29:03 +08:00
Owner

概述

交付 marqdo-ext-ai#3 P1 上下文边界契约与 marqdo-ext-ai#4 真实模型验收记录,并把 AI-U2(HTTP 字节预算)修复候选固定到本包 lock;无新增索引/解析/文档规范/Agent Loop。

交付

  1. 上下文边界 docs/CONTEXT-BOUNDARY.md:职责表(谁选择锚点/构造上下文/读取正文/控制流程)、必选 vs 参考、与 CLI#24/Knowledge 组合约定、预算/失败语义、安全负例清单、状态边界。一次调用至多 1 次模型请求、无自动重试/多轮/静默截断;网络/环境必须显式授权。
  2. 真实模型验收(#4):
    • 真实端点 llm.cflmy.cn:443、deepseek-flash,凭据只经 CFLMY_API_KEY 环境名传入,报告不含凭据。
    • 4 次尝试:3 次瞬时 tls read failed: Resource temporarily unavailable (os error 11),1 次 PASS(reported_model=deepseek-flash、finish=stop、本地标签校验通过)。
    • 证据 docs/evidence/2026-11-30-real-model-and-context.md 与 docs/evidence/real-model-2026-11-30/real-model-smoke.json;瞬时失败如实保留,不靠重试伪装稳定 PASS。
  3. 上游闭合:marqdo.yaml/marqdo.lock 固定 marqdo-ext-http candidate d0d6541(#13 修复;合并后改 pin 合并提交并重跑);std-data 严格入口候选记录为 AI-U2b 解除路径。
  4. docs/STATUS.md 更新真实模型状态、上游候选闭合与 AI-U3 传输稳定性观察。

验证

MARQDO_BIN=<rc.6 candidate> MARQDO_STDLIB_DIR=<0.2.0 Bundle> sh scripts/ci.sh test
39 cases passed (marqdo 3.0.0-rc.6)

未验证:结构化输出/工具调用数据的真实请求(当前不声明支持)、主仓库受保护 Secrets 工作流、401/403/超时/5xx 真实证据、Beta/Stable 联动;C01/C03/I08 仍由 CLI #24 阻塞。

未创建 release/tag;未提交凭据。

refs #3 #4 #1

## 概述 交付 `marqdo-ext-ai#3` P1 上下文边界契约与 `marqdo-ext-ai#4` 真实模型验收记录,并把 AI-U2(HTTP 字节预算)修复候选固定到本包 lock;无新增索引/解析/文档规范/Agent Loop。 ## 交付 1. **上下文边界** `docs/CONTEXT-BOUNDARY.md`:职责表(谁选择锚点/构造上下文/读取正文/控制流程)、必选 vs 参考、与 CLI#24/Knowledge 组合约定、预算/失败语义、安全负例清单、状态边界。一次调用至多 1 次模型请求、无自动重试/多轮/静默截断;网络/环境必须显式授权。 2. **真实模型验收**(#4): - 真实端点 `llm.cflmy.cn:443`、`deepseek-flash`,凭据只经 `CFLMY_API_KEY` 环境名传入,报告不含凭据。 - 4 次尝试:3 次瞬时 `tls read failed: Resource temporarily unavailable (os error 11)`,1 次 PASS(reported_model=deepseek-flash、finish=stop、本地标签校验通过)。 - 证据 `docs/evidence/2026-11-30-real-model-and-context.md` 与 `docs/evidence/real-model-2026-11-30/real-model-smoke.json`;瞬时失败如实保留,不靠重试伪装稳定 PASS。 3. **上游闭合**:`marqdo.yaml`/`marqdo.lock` 固定 `marqdo-ext-http` candidate `d0d6541`(#13 修复;合并后改 pin 合并提交并重跑);std-data 严格入口候选记录为 AI-U2b 解除路径。 4. `docs/STATUS.md` 更新真实模型状态、上游候选闭合与 AI-U3 传输稳定性观察。 ## 验证 ```text MARQDO_BIN=<rc.6 candidate> MARQDO_STDLIB_DIR=<0.2.0 Bundle> sh scripts/ci.sh test 39 cases passed (marqdo 3.0.0-rc.6) ``` 未验证:结构化输出/工具调用数据的真实请求(当前不声明支持)、主仓库受保护 Secrets 工作流、401/403/超时/5xx 真实证据、Beta/Stable 联动;C01/C03/I08 仍由 CLI #24 阻塞。 未创建 release/tag;未提交凭据。 refs #3 #4 #1
cflmy added 1 commit 2026-11-30 12:27:41 +08:00
Deliver the P1 slice of marqdo-ext-ai#3 and the real-model acceptance record
for marqdo-ext-ai#4, and pin the AI-U2 HTTP byte-budget fix candidate.

- `docs/CONTEXT-BOUNDARY.md`: responsibility table (who selects anchors,
  constructs context, reads documents, controls flow), required vs reference
  context, CLI#24/Knowledge composition rules, budget/failure semantics,
  security-negative inventory and status boundaries. No new index, parser,
  document metadata or agent loop.
- Real-model smoke against `llm.cflmy.cn:443` / `deepseek-flash` with the
  maintainer credential supplied only by environment name: 4 attempts produced
  3 transient `tls read failed: Resource temporarily unavailable (os error 11)`
  failures and 1 PASS (reported model + finish=stop + local label validation).
  The report and both facts are archived under docs/evidence; the transient
  failures are recorded as an upstream stability item, not hidden by retries.
- `marqdo.yaml`/`marqdo.lock` pin `marqdo-ext-http` candidate
  `d0d654179e921b91fe2cfb9a47b0215202076a36` (#13 byte budget); after that PR
  merges, re-pin the merged commit and re-run the smoke.
- docs/STATUS.md records the new real-model status, upstream AI-U2/AI-U2b
  candidate closures and the AI-U3 transport-stability observation.

`scripts/ci.sh test` passes 39 fixture cases with the candidate lock.
No release/tag; no credential is committed.
cflmy merged commit ac77e9aad9 into main 2026-11-30 12:29:03 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cflmy/marqdo-ext-ai#5