HEL-869: read-only remediation evidence per manager independent review of 81d50f2 - recheck869.py reproduces the upstream rolling 10-message window from the fixed mem0 storage source (SHA256 5f5ecdad, byte-identical to the isolated venv install) in an independent in-memory SQLite with zero LLM zero embedding zero network (single 15-message batch truncates to 10; the real 9,1,1,2,2 add pattern keeps batch1 first-4 + later-6, dropping batch1 last-5) and verifies read-only that this round's mem0 messages hold 10/15 missing exactly t3 user/companion, t4 user/companion, t5 user with the restored public copy identical at 10, while the baseline main archive chat_message keeps all 15 verbatim per-role rows and the original calls inputs still carry all 15 - SDK messages is a rolling window, not a permanent quote archive, and no real user data was lost; erratum_HEL-869.json records six report-corrections without touching any original JSON (E1 S1 frozen criterion sampled only mem0 t1 so full-15 retention cannot be claimed, E2 this round used 46004 tokens = 44735+1269 while 163041 is the cumulative 39-call total, E3 raw QA6-13 map in order to plan QA1-8, E4 calls headline 'answered blue' is a stale run2 note vs this round's honest unknown answer, E5 in-process llm_calls_real=0/embed 39 are not authoritative vs persistent ledgers' 13 sent/40 dense, E6 S9 re-verified only the public instance with full private+public recovery reused from gate2 P5); README HEL-868 record annotated in place at the three corrected conclusions plus a HEL-869 section; plan-next-HEL-869.md delivers the decision-only minimal follow-up (main archive stays the permanent quote layer with reread via turn_ids anchors, mem0 interfaces reused, no upstream fork; batch-extraction line-level provenance proven by input-side pre-grouping where each add's anchor equals its actual input set with gate-side sha256 recompute - no gate bypass, no anchor trimming, no prompt-only promises; S6 verified via explicit-status questioning under the same frozen bounded grammar with no wording amnesty; Chinese custom_instructions deferred; upstream/ours responsibilities, risks incl. embed budget 498/500 remaining 2 as the hard blocker, and a staged minimal retest: stage0 offline zero-cost audit then stage1 ~14 requests/~40-46 embeddings pending quota decision); all three ledgers byte-identical before/after (03f92557/c9871277/9716c722), every e06dcaf result blob unchanged, no criteria/fixtures/orchestration edits, no real requests, no embeddings, no merge, no deploy; dual-target requirement checks 4/4 pass vs origin/main and origin/agent/agent/de8874a3803b with/without handoff-HEL-869.json

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
zonggong
2026-10-26 04:09:58 +08:00
co-authored by multica-agent
parent 81d50f28af
commit 5671946267
6 changed files with 660 additions and 3 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"baseline_version": "1.11",
"read_commit": "81d50f28afdc4fa511854b0a540339b027e8c0d1",
"task": "HEL-869 按总管《HEL-868-独立复核》完成原授权实验的准确交付补证:原话滚动窗口独立重现+只读核实、报告口径勘误与 README/handoff 结论修订、可供白栖知拍板的最小后续方案(仅方案,零功能代码、零真实请求、零嵌入、零网络)",
"requirement_ids": [
"CG-008",
"CG-009",
"CG-011",
"CG-013",
"CG-014",
"CG-015",
"CG-016",
"CG-021",
"AM-001",
"UX-004",
"UX-006",
"GOV-001",
"GOV-002",
"GOV-003",
"GOV-004",
"GOV-005",
"GOV-006",
"DEL-001"
],
"deliverable": "在原实验分支 81d50f2 之上追加补证提交(81d50f2 及全部历史原样保留):1) spike/hel857/recheck869.py 于原隔离环境(零网络 socket 硬拒绝+HF 离线、零模型、零嵌入)退出码 0——固定上游 storage.py(SHA256 5f5ecdad,与隔离 venv 安装件逐字节相同)在独立内存 SQLite 重现滚动 10 条窗口(单批 15 条即截 10;按真实批次 9,1,1,2,2 保留批1前4条+后6条),并只读核实本轮 Mem0 messages 10/15(缺 t3 双角色、t4 双角色、t5 用户共 5 条)、恢复库同 10 条、主档案 chat_message 15 条逐字逐角色完整、原始 calls 输入含全部 15 条;2) results/recheck_HEL-869_rawretention.json(18 项检查全过)与 results/erratum_HEL-869.json(E1–E6 六项口径勘误:S1 抽查边界、本轮 46004/累计 163041 分列、QA6–13↔QA1–8 映射、headline 旧说明、进程内计数非权威 13 真实/40 嵌入、S9 公开实例边界);3) README HEL-868 记录三处结论就地勘误标注+新增 HEL-869 勘误与补证记录节;4) spike/hel857/plan-next-HEL-869.md 最小后续方案(主档案为永久原话层+Mem0 现成接口;批提取行级来源以输入侧预分组证明,锚点=实际输入集且 sha256 门内重算,拒删锚点/绕门/提示词承诺;S6 显式状态提问+同一冻结有界语法、无措辞豁免;中文提取定制暂缓;上游/我方职责与维护量;嵌入额度 498/500 余 2 为硬障碍需拍板;阶段 0 零资源离线审计+阶段 1 有界复测 14 请求/约 40–46 嵌入逐笔用途)。",
"acceptance": [
"滚动窗口独立重现成立且零嵌入零模型:固定源码 LIMIT 10 截断在全新合成消息上复现,结构(批1前4+后6,缺批1后5)与本轮真实缺失清单一致;本轮 Mem0 侧 10/15、恢复库同 10、主档案 15 条与原始输入 15 条全部只读核实——明确 SDK 滚动窗口≠永久原话档案,不声称真实用户资料丢失",
"勘误六项逐条以可复现事实核对(用量 44735+1269=46004、累计 158918/4123/163041;QA6–13 顺序对应方案 QA1–8 且逐笔用途一致;S3 Mem0 实答『不知道。』与 headline『答出蓝色』冲突坐实;持久账 13 次全 sent/40 密集嵌入 vs 进程内 llm_calls_real=0/嵌入39;S9 restore_public 仅公开件、完整私密恢复证据为 gate2 P5 复用),原 JSON/账本/结果一律不改,不放宽判据把本轮变成通过",
"资源零新增:真实请求 +0、本地嵌入 +0、网络出站 0;原 26 行账(03f92557…)、续账 39/60(c9871277…)、嵌入账 498/500(9716c722…)运行前后逐行摘要不变;e06dcaf 既有全部结果文件 Git blob 零改动,新证据独立命名;余 21 真实/余 2 嵌入与 HEL-835 额度冻结状态不变",
"最小后续方案仅方案不含功能代码:优先沿用已有主档案与 Mem0 现成接口、无上游 fork、不回自研底座(GOV-006),列明上游/我方职责与维护量、待解决风险(嵌入额度硬障碍、预分组对同批合并的影响、滚动窗上下文、S6 真实失败仍如实判负)与阶段 0/阶段 1 逐笔用途及数量,待白栖知决定",
"四项双目标需求结构检查通过(origin/main 与 origin/agent/agent/de8874a3803b 各含/不含本 handoff),退出码 0"
],
"deferred": [
"批提取行级来源证明适配(P1 输入侧预分组)与阶段 0 离线审计——功能实现待方案经白栖知批准后另卡执行",
"阶段 1 有界真实复测(约 14 请求/40–46 嵌入):受嵌入账 498/500 余 2 硬约束,需白栖知决定提额或另批独立账本后方可排期",
"S6 显式状态问答提示词重设计(正式接线设计一部分)与中文提取 custom_instructions 定制评估(触发条件见方案 §4)——均待批准",
"正式采用/迁移/部署 Mem0 或回自研底座:待白栖知决定;完整真实功能、八字情绪、生活连续、主动联系仍按 R1–R7 及既有承接卡落实,本实验不替代任何产品要求验收"
],
"requirement_changes": [],
"verification": [
"spike/hel857/results/recheck_HEL-869_rawretention.json(recheck869.py 退出码 0,18 项检查全过,含三账前后摘要与既有结果 blob 不变断言)",
"spike/hel857/results/erratum_HEL-869.json(六项勘误各带位置、原口径、勘误口径与证据指针)",
"spike/hel857/README.md(HEL-868 记录三处就地勘误标注+HEL-869 勘误与补证记录节)与 spike/hel857/plan-next-HEL-869.md(最小后续方案)",
"python3 scripts/check_requirements.py --base-ref origin/main [--handoff docs/requirements/handoff-HEL-869.json] 与 --base-ref origin/agent/agent/de8874a3803b [--handoff …] 四项退出码 0;未合并未部署,现网 8300–8350 与真实档案未触碰"
]
}