Revert "feat: reconcile timed questions with legacy default"

This commit is contained in:
Turtle authored and GitHub committed 2026-09-24 20:06:09 +08:00
1 parent 6e45fd5bea
commit 32905d5ab5
101 files changed
+40579 -59074

No files matched your search

@@ -1,28 +0,0 @@
# Bilingual-pair consistency record for 2026-09-21-user-question-reply.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/persistence-changes/2026-09-21-user-question-reply.md
/:
en: 3d5a424ae7d7e46b
zh: c22a8e4a62d8cc1a
/2026-09-21-user-question-reply:
en: de475e4778124528
zh: 2b619b0c0f3a6a6e
/2026-09-21-user-question-reply/summary:
en: 1c7af44ba7eb2983
zh: 05ae869290bb641d
/2026-09-21-user-question-reply/table-of-contents:
en: 6cf314a069ceb451
zh: 9adff678e9ecab3b
/2026-09-21-user-question-reply/declaration:
en: 6907136f28e48c90
zh: 02f8298485f3d8e7
/2026-09-21-user-question-reply/compatibility:
en: 48563f61d63b6259
zh: da7dbdc92f73fed3
/2026-09-21-user-question-reply/verification:
en: c66824c0cdb87d86
zh: d88c29df87fc607b
/2026-09-21-user-question-reply/dev-note:
en: b75c8458928b72b9
zh: 003ba4e17b4b5269
@@ -1,60 +0,0 @@
---
description: "Records a persistence type transition and its compatibility acknowledgement."
kind: persistence-change
---
# 2026-09-21-user-question-reply
English | [中文](2026-09-21-user-question-reply.zh.md)
## Summary
Adds the qualified user-question-reply message source that carries a late answer or dismissal of a continued ask_user_question call into the agent inbox.
## Table of Contents
- [Declaration](#declaration)
- [Compatibility](#compatibility)
- [Verification](#verification)
- [Dev Note](#dev-note)
<a id="declaration"></a>
## Declaration
```yaml persistence-change
schemaVersion: 1
id: 2026-09-21-user-question-reply
baseline: false
changes:
- root: "event:agent/inbox/spliced"
previous: "2026-09-16-session-format-v4"
after: "99a3e14f0b0ff0e38d345e7cb7d8d81ee8d11c51d611d9f91b1a82c8ea481fc4"
decision: same-version
- root: "event:developer/message"
previous: "2026-09-16-session-format-v4"
after: "5d588f99e950c42bdd55a27fa41e98f5c86db5b0523622d85b99604c7ddb0107"
decision: same-version
- root: "event:session/title-llm-request"
previous: "2026-09-16-session-format-v4"
after: "64170a859320a56b572372f9ab16e31c4ae9c62454a31418e900ebbf90053c68"
decision: same-version
- root: "event:user/message"
previous: "2026-09-16-session-format-v4"
after: "1d1697092d04c08f9fcb99015ac082e58b01b7de9e41611fa6aebf2879c3d083"
decision: same-version
```
<a id="compatibility"></a>
## Compatibility
Existing logs contain no such source and remain valid. The kind is a qualified attribution: a reader without dsh-user-questions preserves the user message and its callId and outcome metadata unchanged and derives history from the message content alone. Only the producer's userQuestions projection reads the kind, to close the question it names; it imposes no validation, replay, or authority requirement. No event type is added and the Session header is unchanged.
<a id="verification"></a>
## Verification
pnpm run typecheck: Host and Client faces pass. pnpm --silent run verify-persistence-changes --json: the four affected roots classify as attribution-kind-added without a version bump. Projection and Remote behavior tests are pending.
<a id="dev-note"></a>
## Dev Note
None.
File diff suppressed because it is too large. Load diff
@@ -1,60 +0,0 @@
---
description: "记录持久化类型更改及其兼容性确认。"
kind: persistence-change
---
# 2026-09-21-user-question-reply
[English](2026-09-21-user-question-reply.md) | 中文
## 概述
新增受限定的 user-question-reply 消息来源,把已继续的 ask_user_question 调用的迟到回答或放弃送入 agent inbox。
## 目录
- [声明](#declaration)
- [兼容性](#compatibility)
- [验证](#verification)
- [开发备注](#dev-note)
<a id="declaration"></a>
## 声明
```yaml persistence-change
schemaVersion: 1
id: 2026-09-21-user-question-reply
baseline: false
changes:
- root: "event:agent/inbox/spliced"
previous: "2026-09-16-session-format-v4"
after: "99a3e14f0b0ff0e38d345e7cb7d8d81ee8d11c51d611d9f91b1a82c8ea481fc4"
decision: same-version
- root: "event:developer/message"
previous: "2026-09-16-session-format-v4"
after: "5d588f99e950c42bdd55a27fa41e98f5c86db5b0523622d85b99604c7ddb0107"
decision: same-version
- root: "event:session/title-llm-request"
previous: "2026-09-16-session-format-v4"
after: "64170a859320a56b572372f9ab16e31c4ae9c62454a31418e900ebbf90053c68"
decision: same-version
- root: "event:user/message"
previous: "2026-09-16-session-format-v4"
after: "1d1697092d04c08f9fcb99015ac082e58b01b7de9e41611fa6aebf2879c3d083"
decision: same-version
```
<a id="compatibility"></a>
## 兼容性
已有日志不含该来源,仍然有效。该类型是受限定的归属:没有 dsh-user-questions 的读取方原样保留这条用户消息及其 callId 与 outcome 元数据,仅凭消息内容推导历史。只有生产方的 userQuestions projection 读取该类型,用来关闭它指名的问题;它不施加任何校验、回放或权限要求。不新增事件类型,Session header 不变。
<a id="verification"></a>
## 验证
pnpm run typecheck:Host 与 Client 两个 face 通过。pnpm --silent run verify-persistence-changes --json:四个受影响的根均判为 attribution-kind-added,无需版本升级。projection 与 Remote 的行为测试待补。
<a id="dev-note"></a>
## 开发备注
无。
@@ -15,8 +15,8 @@
en: 14c57f30e676f6e3
zh: b1a0ccf26fab3727
/session-persistence-formats/format-references:
en: 289041c0dac8994b
zh: a18be2ba190635d4
en: 45dba01dd6d69c80
zh: c366d1a3991118c9
/session-persistence-formats/scope-and-evidence:
en: b220062139ddac1e
zh: 7c4c0efe05dafa9c
@@ -32,7 +32,7 @@ The index is generated from validated snapshots and the current writer constant.
| 1 | PR #3349 | [V1](v1.md) | [JSON](v1.schema.json) | 54 / 415 |
| 2 | `dsh-v0.1.3-alpha.2` | [V2](v2.md) | [JSON](v2.schema.json) | 56 / 435 |
| 3 | PR #4320 | [V3](v3.md) | [JSON](v3.schema.json) | 60 / 467 |
| 4 | Current checkout | [Current catalog](../../persistence-catalog.md) | [JSON](../../persistence-schema.json) | 62 / 592 |
| 4 | Current checkout | [Current catalog](../../persistence-catalog.md) | [JSON](../../persistence-schema.json) | 62 / 587 |
<!-- persistence-format-index:end -->
@@ -32,7 +32,7 @@ description: "查找从 V0 到工作区写入器版本的每个 Session 格式
| 1 | PR #3349 | [V1](v1.zh.md) | [JSON](v1.schema.json) | 54 / 415 |
| 2 | `dsh-v0.1.3-alpha.2` | [V2](v2.zh.md) | [JSON](v2.schema.json) | 56 / 435 |
| 3 | PR #4320 | [V3](v3.zh.md) | [JSON](v3.schema.json) | 60 / 467 |
| 4 | 当前工作树 | [当前目录](../../persistence-catalog.zh.md) | [JSON](../../persistence-schema.json) | 62 / 592 |
| 4 | 当前工作树 | [当前目录](../../persistence-catalog.zh.md) | [JSON](../../persistence-schema.json) | 62 / 587 |
<!-- persistence-format-index:end -->