docs: record send sent diagnostic intake

This commit is contained in:
zhaoyilun
2026-07-11 00:25:54 +08:00
parent c8b619c254
commit 6164703a9a
5 changed files with 440 additions and 2 deletions

View File

@@ -752,6 +752,41 @@ git push gitea main
---
### R10a: Returned send-sent record diagnostic intake
**Purpose:** 用户在 R10 后提供了两个 `send-sent-record-diagnostic` 返回包。本插入轮次只做安全复核:判断是否能打开生产发消息门禁;不能则记录明确阻断。
**Files:**
- Create: `scripts/validate-send-sent-record-diagnostic-package.ps1`
- Create: `scripts/test-validate-send-sent-record-diagnostic-package.ps1`
- Create: `docs/source-discovery/2026-07-10-returned-send-sent-record-diagnostic.md`
- Modify: `docs/current-status-card.md`
- [x] **Step 1: Write validator test first**
Test covers a blocked fixture and a strict-pass fixture. Initial run failed before the validator existed.
- [x] **Step 2: Implement safe validator**
Validator accepts `-ZipPath`, emits booleans/counts only, and supports `-Strict` non-zero exit when strict sent-record evidence is missing.
- [x] **Step 3: Validate returned packages**
Both returned packages produced `decision="manual_success_without_machine_sent_record"` and `strict_send_record_pass=false`.
- [x] **Step 4: Document decision**
Created `docs/source-discovery/2026-07-10-returned-send-sent-record-diagnostic.md`. Production send remains blocked.
**R10a Result:**
- Package 1 and package 2 both have before/after runs and operator success.
- Neither package has machine-verifiable after sent-record/content-hash evidence.
- Both show `after_offline_blocked=true`.
- `production_send_unlock_recommended=false`; default `isphere_send_message` remains production-blocked.
---
### R11: Receive-file download preview contract
**Purpose:** 即使真实下载还不能做,也让 `isphere_receive_files` 对 download 请求返回可机器解析的 preview/blocked 结果,而不是只有泛化拒绝。