第 4 批:丢题可观测、契约 golden、工具表与提示词瘦身 #42

Closed
opened 2026-08-28 17:34:40 +08:00 by jesse · 1 comment
Owner

Part of #38

Blocked by: #41

范围

  1. completeStyleOptions / isRenderableProbe 返回 { ok, reason };receipt 写 dropped_probes
  2. GET 可回答态:current_question 或明确终态必有其一;schema 不可渲染时返回 { unrenderable: true, reason }
  3. uniquify 用序号,不用 answer_class
  4. contracts/probe-question-v1.json,TS/Python golden 逐字节相等;engine-client 校验 version。
  5. createRectificationV9AgentTools(ctx, decision)decision.phase 过滤工具。
  6. 提示词删掉已在代码里的财务/健康、外貌、第 9/11 条工具禁令。
  7. grep 确认 app/components/ 无引用后,删除无用的 lib/birth-time-*。只删不改。

不要等「3 天数据」才开始;丢题 reason 落地即可查个案。

Part of #38 Blocked by: #41 ## 范围 1. `completeStyleOptions` / `isRenderableProbe` 返回 `{ ok, reason }`;receipt 写 `dropped_probes`。 2. GET 可回答态:`current_question` 或明确终态必有其一;schema 不可渲染时返回 `{ unrenderable: true, reason }`。 3. `uniquify` 用序号,不用 `answer_class`。 4. `contracts/probe-question-v1.json`,TS/Python golden 逐字节相等;engine-client 校验 version。 5. `createRectificationV9AgentTools(ctx, decision)` 按 `decision.phase` 过滤工具。 6. 提示词删掉已在代码里的财务/健康、外貌、第 9/11 条工具禁令。 7. grep 确认 `app/`、`components/` 无引用后,删除无用的 `lib/birth-time-*`。只删不改。 不要等「3 天数据」才开始;丢题 reason 落地即可查个案。
jesse added the ready-for-agentwayfinder:task labels 2026-08-28 17:34:40 +08:00
Author
Owner

已快进 origin/staging = 63b4591a(BUG-422)。

  • completeStyleOptions / isRenderableProbe 返回 { ok, reason }dropped_probes 写入 receipt 与工具投影。
  • 坏选择题 GET/turn_decision 返回 { unrenderable: true, reason },不再变成 null。采集类 Focus 仍为 null
  • 重复标签 uniquify 用 ·2,不用 answer_class
  • contracts/probe-question-v1.json TS/Python golden 逐字节相等;错误 question_contract_version fail-closed。
  • Agent 工具按 proposeAllowed / selectionAllowed / canConfirmExactMinute 过滤。
  • Mastra 提示词去掉已由代码执行的外貌/财务/工具禁令;Skill 仍是 10.0.13。
  • lib/birth-time-* 仍被 journey/guide/intake 引用,本批不删。

聚焦测试 206 通过;Python test_probe_question_contract 7 通过。

已快进 `origin/staging` = `63b4591a`(BUG-422)。 - `completeStyleOptions` / `isRenderableProbe` 返回 `{ ok, reason }`;`dropped_probes` 写入 receipt 与工具投影。 - 坏选择题 GET/`turn_decision` 返回 `{ unrenderable: true, reason }`,不再变成 `null`。采集类 Focus 仍为 `null`。 - 重复标签 uniquify 用 `·2`,不用 `answer_class`。 - `contracts/probe-question-v1.json` TS/Python golden 逐字节相等;错误 `question_contract_version` fail-closed。 - Agent 工具按 `proposeAllowed` / `selectionAllowed` / `canConfirmExactMinute` 过滤。 - Mastra 提示词去掉已由代码执行的外貌/财务/工具禁令;Skill 仍是 10.0.13。 - `lib/birth-time-*` 仍被 journey/guide/intake 引用,本批不删。 聚焦测试 206 通过;Python `test_probe_question_contract` 7 通过。
jesse closed this issue 2026-08-28 20:32:46 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/Jyotisha#42