Skip to content

docs(cr-checklist): task #31 Phase A close-out sediment fold-in 子 PR 2#1943

Merged
earayu merged 2 commits into
mainfrom
huangheng/task-31-cr-checklist-sediment-fold-2
Apr 30, 2026
Merged

docs(cr-checklist): task #31 Phase A close-out sediment fold-in 子 PR 2#1943
earayu merged 2 commits into
mainfrom
huangheng/task-31-cr-checklist-sediment-fold-2

Conversation

@earayu
Copy link
Copy Markdown
Collaborator

@earayu earayu commented Apr 30, 2026

Summary

task #31 Phase A 4/4 全闭环 (A1+A2+A3+A4) + task #33 P3 PR #1933 codify 累计实证后 huangheng follow-up 子 PR 2 — docs/zh-CN/architecture/task-17-cr-review-checklist.md 1 文件 docs-only / +159 / 0 deletions / 0 production code 改动 / 0 risk。

per architect dispatch:

  • msg=b6726ac9 (task support pagination #31 Phase A 4/4 done sediment trigger A 满足)
  • msg=420ca548 (Phase B B1 lane huangheng owner)

§ 四 新增 6 lesson sediment

Lesson first-application demo
Lesson #12 v9 third + fourth + fifth-application demos PR #1935 ziang DISMISSED enum impl-side catch + dongdong response_model legacy field filter BLOCKER 双 same-PR multi-source / PR #1938 Weston worker fail-safe BLOCKER upstream raise points trace / PR #1940 Weston SuggestionActionResponse.message required field shape miss catch — sediment 升级 systemic 信号
Migration chain 时序 second-application demo PR #1935 task #76 A2 commit 6fc6f64f 复用 graph_curation_suggestions table extend pattern 跟 PR #1910 新建 enum hard-cut migration 时序约束不同
Lesson #17 second-application demo PR #1935 commit 3b447dfe backend 收敛 canonical contract 时同 PR fold-in legacy projection layer 保 backward-compat
Lesson #18 (formally established): lesson sediment + mechanical gate 双 layer codification first-app PR #1933 4-source default value parity / second-app PR #1941 description-free read scope + service.py:845 bonus catch / third-app PR #1941 fix-forward sister tests 防 「whole-file exclude 静默削弱 gate」回潮
mini-pattern 19 spec lock pre-check grep main 实证 enum/contract assumption (架构师 own-up 升级版三层 grep verify 边界)
mini-pattern 20 PR adds response_model wire-up 必跑 model_validate(actual_handler_return_shape) boundary gate (PR #1940 first-application demo)

§ 六 sediment 引用追加 5 PR commit cross-link

PR #1933 / #1935 / #1938 / #1940 / #1941 全 commit hash 入仓 + PR #1932 (上轮 fold) reference。

§ 八 修订记录追加本 PR fold-in 完整 trail

architect msg=420ca548 commitment cross-link

architect spec v1.1 amend (PR #1942 上行 in flight) cite 本 PR 6 lesson sediment 实证作为 spec lock invariants — 双 PR (本 huangheng cr-checklist doc layer + 架构师 task #31 spec v1.1 doc layer) 0 路径交集 parallel merge。

scope NOT in this PR

CR

  • @符炫炜 ratify
  • @weston cross-link sediment framing verify (per msg=0f544c29 + msg=14774b99 explicit feedback fold pattern)
  • 任意 lane reviewer LGTM 即可 squash merge

Test plan

🤖 Generated with Claude Code

earayu and others added 2 commits April 30, 2026 17:28
§ 四 加 6 lesson sediment(task #31 Phase A 4 PR + task #33 P3 PR #1933 codify
累计实证 + multi-PR same-hour multi-source first-principles catch trust-framing
miss)+ § 六 sediment 引用追加 5 PR commit cross-link + § 八 修订记录追加本 PR
fold-in 完整 trail。

新增 lesson:
- Lesson #12 v9 third + fourth + fifth-application demos (PR #1935 ziang
  DISMISSED enum impl-side catch + dongdong response_model legacy field filter
  BLOCKER 双 same-PR / PR #1938 Weston worker fail-safe BLOCKER upstream raise
  points trace / PR #1940 Weston SuggestionActionResponse.message required
  field catch) — sediment 升级 systemic 信号 reviewer chain 必独立 first-
  principles re-verify
- Migration chain 时序 second-application demo (PR #1935 复用 table extend
  pattern 跟 PR #1910 新建 enum hard-cut migration 时序约束不同; 5 new enum
  value APPLY_PENDING/APPLYING/APPLIED/APPLY_FAILED/DISMISSED + evidence_refs
  JSON column + ACCEPTED legacy zero-write grep gate)
- Lesson #17 second-application demo (PR #1935 backend 收敛 canonical contract
  时同 PR fold-in legacy projection layer 保 backward-compat - suggestion_
  batch_id=run_id alias 等 - 跟 deprecation marker Lesson #14 family 配)
- Lesson #18 formally established: lesson sediment + mechanical gate 双 layer
  codification 「一记一 enforce」(first-app PR #1933 4-source default value
  parity / second-app PR #1941 description-free read scope + service.py:845
  bonus catch / third-app PR #1941 fix-forward sister tests 防 whole-file
  exclude 静默削弱 gate)
- mini-pattern 19: spec lock pre-check grep main 实证 enum/contract assumption
  (architect own-up 升级版三层: spec→impl / impl→response_model / impl catch
  path→upstream raise points)
- mini-pattern 20: PR adds response_model wire-up 必跑 model_validate(actual_
  handler_return_shape) boundary gate (PR #1940 first-application demo)

per architect dispatch msg=b6726ac9 + msg=420ca548 sediment trigger A 满足
(task #31 Phase A 4/4 done) 启动 + Phase B B1 lane huangheng owner.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 cite accuracy fixes (Weston framing CR catch):

1. response_model validation failure 状态码: 422 -> 500
   - response_model validation fails 抛 FastAPI ResponseValidationError
   - 通常映射到 HTTP 500,不是 request body 校验的 422
   - 影响 line 745 + line 850 描述 PR #1940 BLOCKER 时的状态码引用

2. GraphMergeSuggestionItem canonical schema 字段实证修正
   - 原写: ... / observed_types / type_conflict / suggested_entity_type
   - 实际 main aperag/domains/knowledge_graph/schemas.py::GraphMergeSuggestionItem
     不含这三字段
   - A4 (PR #1940) 这些字段是 FE-derived display (FE 从 entities /
     suggested_target_entity / evidence_refs 推导),不是 PR #1935 backend
     projection
   - 影响 line 781 sect 4 Lesson #17 second-application demo 描述

per Weston PR #1943 framing CR (msg=7690b723) - sediment cite accuracy
要求把事实漂移修干净,避免 future onboarding reference 时 confuse
422/500 状态码语义 + backend/FE field source attribution。

不阻塞 main fold-in scope - 6 lesson sediment + 5 PR commit cross-link
其他 framing 全 accurate (Weston verified)。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@earayu earayu merged commit ef1bf59 into main Apr 30, 2026
10 checks passed
@earayu earayu deleted the huangheng/task-31-cr-checklist-sediment-fold-2 branch April 30, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant