Repository navigation
Conversation
A compressed block's summary may only be injected while it still describes content on the wire. The current predicate asks whether ANY covered message is still present, so a host rewind that truncates part of a span keeps the whole summary alive and the model reads a description of history that no longer exists. Reap (ranxianglei#2695) does not catch it either: it needs a strict majority of covered ids absent for three consecutive passes, and a partially truncated span keeps its majority. The gap's shape, in the block's own coverage order, is the discriminator: - survivors a prefix, missing the newest end -> the rewind shape; deactivate - survivors a suffix, missing the oldest end -> the host dropped old history; the summary is the only record of it, so keep it active - interior/ragged holes -> the id-churn shape (ids are content hashes); keep it and let fold-reconcile re-key the churned ids - nothing covered visible -> defer to the positional witness (ranxianglei#4316, unchanged): a surviving ledger position is the churn / merged-pair shape, not a deletion Everything except the tail gap keeps today's keep-alive behaviour, so the only behaviour that changes is the shape this change names. The positional witness is not touched: narrowing it to exact coverage would false-kill merged content (a pair collapse covers fewer ids than positions). Tests: sync-config gains the four shapes plus the positional-witness composition and the no-witness deletion case.
(ai: vllm-qwen/qwen3.8-27b) Merge guard sync done: merged origin/master (124 commits, zero kernel/ drift since base) into this branch — clean, no conflicts; targeted kernel test |
|
ework |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) 收到你的重新触发。已接手,把「非门禁」的部分一次清掉;现在只剩 kernel 人工门禁这一项等你拍板。 我已做的(非门禁,无需你决策)
剩下的唯一红项 = kernel-guard 人工门禁(需要你)
结构化八问
选项对比(决策单 #5285)
请拍板 A/B(在 #5285 或这里回复均可)。选 A 我就补声明 + bump 版本让全部检查转绿;在你明确确认前我不会自行声明。 |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) 结论(承接上一条完整八问,此处只给状态 + 请求): 已完成并验证
剩余唯一红项
风险
请拍板(本条或 #5285 均可):A = 批准 → 我补 |
🔶 需要决策 Live re-verification (this run): head
The gated diff is exactly those two files (verified against the merge-base); nothing else. The PR is also behind master but conflict-free — syncing master is the merge-guard's lane and would not clear this gate anyway. Why I cannot fix it myself: this is an authorization checkpoint, not a mechanical CI failure. The gated diff is external contributor mzbgf's design change to block-liveness judgment inside the kernel (shape-based prefix/suffix/interior discrimination) — it is not a mechanical kernel bug fixed by me, so the 2026-11-06 exemption does not apply, and I must not edit the PR body to add the declaration. Two owner-side items remain outstanding regardless: explicit owner approval for the kernel change (Kernel Boundary rule 1), and the accompanying Note on history: the 2026-10-31 escalation in this thread cited a p1 application ticket "#5285", which resolves in the mirror to an unrelated closed issue — the application thread appears lost, so this comment stands alone as the decision request. Options:
Default if undecided: status quo — per policy I stop touching this PR now; no auto-action later, the decision stays with you. Labels: applied 结构化八问
收工判定: |
[ework] auto-fix stalled: kernel-guard — stopping for human review |
1 similar comment
[ework] auto-fix stalled: kernel-guard — stopping for human review |
|
这个 PR 在批量评审(batch PR #6482)中被排除,原因如下: 在 CI 矩阵(每个 shard 都设置 机制:coverage-shape liveness 在 re-stamped history 被重新覆盖时,把已折叠的 block 判定为非活跃并从 state 里清掉;旧的 existence-based liveness 会保留它。master 在同样环境下是干净的。 隔离方法:在 node 22 + 方向本身(liveness 不该只看存在性)我们认同,但当前实现对「已折叠 block 在新 coverage 下的存活」处理得不够稳,需要补上这个不变量再进。batch 分支里已 revert(f1d696e1a),PR 保持 open 等后续。 |
…5166) kernel-change: fix a re-stamp regression in the coverage-shape liveness (ranxianglei#4592) so already-folded blocks survive a model re-stamp re-coverage (ranxianglei#2265 e2e). The coverage-shape liveness treated every tail gap as a host rewind and deactivated the block. But a model re-stamp re-mints the newest covered ids in place (same slots, fresh content-hash ids), leaving the SAME tail-gap shape as a rewind — yet the span is still live, so the summary must survive. In the ranxianglei#2265 e2e this dropped the folded block (active blocks 1 -> 0) after a model switch. The shape alone cannot tell a withdrawal from a re-mint, so the tail-gap case now asks whether the history still carries the missing tail: a tail gap is churn (keep) iff the number of visible messages beyond the surviving covered prefix is at least the number of missing covered ids (the re-minted tail occupies the same slots); otherwise the newest end was genuinely cut (a true rewind) and the summary is stale (drop). This works without ledgerSeq stamps, which the ranxianglei#2265 re-stamp e2e lacks, so the positional witness cannot carry this case. Regression tests: a re-stamped tail-gap block stays active; a rewind that withdraws more tail than it appends still deactivates. The original ranxianglei#4592 rewind test (pure truncation, nothing appended) is unchanged and still passes.
已按你的要求补上「已折叠 block 在新 coverage 下的存活」不变量。PR 已更新:head = 根因:tail-gap 这个形状同时由两种情况产生——(a) 宿主 rewind(尾部被撤回,block 应失效)和 (b) 模型 re-stamp(尾部原地重新铸新 id,block 仍存活)。原实现把所有 tail-gap 一律判为 rewind 并 deactivate,于是 re-stamp 后折叠块被误清(#2265 的 修法:tail-gap 分支从「无条件 deactivate」改为 验证:
8 问:
状态:PR head 已更新为 |
(ai: vllm-qwen/qwen3.8-27b) lock-sync fixed — new head What I did this run:
八问
判定:修复已推送;新一轮 CI 在 runner 队列中排队(非本修复问题),lock-sync 报告后无需再动——若仍红再查。 |
(ai: vllm-qwen/qwen3.8-27b) lock-sync second failure fixed — new head What I did this run:
八问
判定:修复已推送(head |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) Status update (supersedes nothing — my detailed 八问 reply above stands):
|
…lict at 0.0.198 Master advanced past the PR base (batch4 kernel fixes #6428/#6345/#5166 -> kernel 0.0.197, storage-render chat golden digest refresh, pi-subagents 0.2.4, 305 files). Content hunks auto-merged (kernel/src/compress.ts, tests/golden/storage-render/chat.json); the only conflicts were the three kernel version lines, resolved at 0.0.198 = master's 0.0.197 + this PR's kernel/src change, per the CI-enforced kernel version discipline. Targeted local verification: tests/golden-storage-render.test.ts 5/5, kernel issue6116/issue3769/hide-consumed suites 27/27.
(ai: vllm-qwen/qwen3.8-27b) Round-2 merge conflict resolved and pushed. New head Why it re-conflicted. Since my round-1 rebase, master advanced the kernel
Resolution. Merged Verified locally: no leftover conflict markers, all three JSON files parse, version is Note for the owner: this is the second conflict on the same three kernel-version fields within two days, because master's kernel keeps advancing while this PR sits open. Each round is a mechanical version re-bump (now 八问(中文结论)
收工判定:round-2 冲突已解、已推送、CI 已在新 head 上排队;等待 CI 全绿 + owner 审批即可合并。若 master kernel 再次前进导致 round-3 冲突,按同一机械模式处理。 |
ranxianglei
left a comment
There was a problem hiding this comment.
(ai: vllm-qwen/qwen3.8-27b)
Re-review (round 2 of the master merge) — findings-only, no blocking findings (kernel PR → merge gated by the human-only review tier; see the 🔶 需要决策 comment below).
The head moved 160bf6c60 → 4b7eea78d ("Merge origin/master into coverage-shape, round 2"). Same shape as the prior re-review — master advanced and the branch was re-merged onto it. I re-verified the full contribution against the current master baseline:
What changed since my last review (and why it is safe):
kernel/src/sync.ts+kernel/tests/sync-config.test.tsare byte-identical to the version I reviewed (twice) and found correct (0-line diff160bf6c60→4b7eea78d). The coverage-shape liveness rule (coverageShape+tailGapIsChurn) and all its regression tests are unchanged — my findings still hold.- The only new PR-side change is the kernel version bump 0.0.202→0.0.203 (master advanced to 0.0.202 via #7465 protected-mass-ledger + lock-sync) with both lockfiles (
kernel/package-lock.json, rootpackage-lock.jsonacp-kernel record) synced to 0.0.203. Correct and in step. - The master merge (round 2) is a routine rebase-to-current-master. No conflict markers in any PR-touched file; the PR's
syncBlockssignature is unchanged and master's consumers are unaffected.
Behavior delta vs master (unchanged across all three reviews, re-stated): only the tail-gap shape changes — old = always kept (any covered id present → ghost summary after a host rewind); new = kept only when the history still carries the missing tail (churn) → the rewind case now deactivates. All other shapes (full / head-gap / holes / none) and the summary-present path keep master's behavior byte-for-byte. No config surface, persistence format, or wire-protocol change.
CI: in progress on head 4b7eea78d — 0 failures so far, 16/30 checks complete, 14 test shards queued/running. The PR's logic is byte-identical to the previously-green heads, so I expect green; I am not polling in a loop.
Verdict: findings-only, no blocking findings. This is a kernel change (kernel/src/sync.ts + tests + version 0.0.203), so I cannot approve — the human-only review tier gates the merge (Kernel Boundary rule 3). Authorization request re-confirmed for the new head in the 🔶 需要决策 comment below.
|
🔶 需要决策 (ai: vllm-qwen/qwen3.8-27b) Owner authorization requested (re-confirmed for head The head moved Gated diff (the kernel surface) at head
Why it is safe to merge: the only behavior delta vs master is the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under churn → the rewind case deactivates). The re-stamp churn case (#2265 e2e) is kept. All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) is documented in the PR body: availability over safety, no data loss. The owner's floor-37 direction is satisfied ("方向本身我们认同…需要补上这个不变量再进") — the CI: in progress on Request: approve the kernel change so the PR can be merged (human-only tier). I have not self-declared on the author's behalf; the Note for the owner: this is the third review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203). The logic itself has not changed since my first review. If you approve, the merge is safe at any of these heads. |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) Re-review (round 2 of the master merge) complete for head The head moved
Posted: re-review COMMENT (findings-only) + re-confirmed 🔶 需要决策 authorization request + Note: this is the third review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203). The logic itself has not changed since my first review. If you approve, the merge is safe at any of these heads. 8问 (结构化审核,中文):
判定:kernel 改动,人工层把关合并。无阻塞发现,owner floor-37 方向已满足,等 owner 授权合并。 |
[ework] CI fix verified green ✓ |
…ge conflict, round 3) Master advanced the kernel 0.0.202 -> 0.0.210 since the round-2 rebase (unit-projection, report, recommend, prune, hide-consumed, instance-reid, compress, compress-tools deltas plus a large test batch). The PR head carried kernel 0.0.203 (= older master state + the PR's sync.ts coverage-shape change). The only conflicts were again the three kernel version fields (kernel/package.json, kernel/package-lock.json, root package-lock.json). Resolution: kernel version -> 0.0.211. The merged kernel combines the PR's sync.ts change with master's 0.0.210 state, a new state above both 0.0.203 and 0.0.210; 0.0.211 is the minimal bump that keeps the kernel version-discipline check green. No source conflict: the PR's sync.ts is preserved verbatim; master's disjoint kernel edits auto-merged. (Fetched master via the github remote; the local mirror returned 502 this run.)
(ai: vllm-qwen/qwen3.8-27b) Round-3 merge conflict resolved and pushed. New head Why it re-conflicted (third time). Since my round-2 rebase, master advanced the kernel
Resolution. Merged the latest master into the branch and set all three to Verified locally: no leftover conflict markers, all three JSON files parse, version is Two operational notes:
八问(中文结论)
收工判定:round-3 冲突已解、已推送、CI 已在新 head 上运行;等待 CI 全绿 + owner 审批即可合并。若 master kernel 再次前进导致 round-4 冲突,按同一机械模式处理——但根治是尽快合并本 PR,该决策归 owner。 |
…tabase>
static-gates (ubuntu-24 + windows-22) failed typecheck on the merged
tree: tests/egress-fork-host-e2e.test.ts:863 typed the local wdb as
'{ db: import("node:sqlite").DatabaseSync }', but openSqliteDatabase()
returns OpenedDatabase whose .db is the SqliteDatabase wrapper (driver.ts:102),
not the raw node:sqlite.DatabaseSync. That mismatch was the TS2322 at
:884 and cascaded into the two TS18047 'wdb is possibly null' at :885/:887.
The file is a master-side test (added by the ranxianglei#7658 batch, absent from
this PR's base); the PR's own sync.ts change does not touch it. The
annotation is corrected to the idiomatic ReturnType<typeof
openSqliteDatabase> used across the storage test suite — a type-only
change, no runtime behavior. Fixes the inherited typecheck so the
branch's static-gates go green.
(ai: vllm-qwen/qwen3.8-27b) Round-4 red-CI fix: static-gates typecheck failure resolved and pushed. New head Re-verified live state first. Before touching anything I confirmed the failure was current (not already fixed by an earlier wake): Root cause (an inherited master-side type bug, not a PR regression).
This file is a master-side test — added by the Fix. One-line type annotation at - let wdb: { db: import("node:sqlite").DatabaseSync } | null = null;
+ let wdb: ReturnType<typeof openSqliteDatabase> | null = null;
Verification note. I did not run the full-repo typecheck locally (per the local-testing discipline, the full typecheck is the remote CI's job, not a local full-suite run). I verified the fix by static consistency: the annotation now exactly matches One observation for the owner (no action taken by me): since the failing file and its annotation are byte-identical on master, master's own typecheck would hit the same error if it runs the full suite. That's a master-level concern outside this PR's scope — I fixed it on the PR branch (as the CI engineer for this PR) so the branch's static-gates go green; if master is independently red on this, it belongs in the master CI-coordination lane, not here. 八问(中文结论)
收工判定:static-gates 红已修(单行类型标注修正),已推送到 PR 分支 |
(ai: vllm-qwen/qwen3.8-27b) Re-verified live state first — the reported static-gates failure is already fixed. This event pointed at the previous head ( Live check state on
The static-gates red is resolved. Nothing further to do here — waiting on the remaining test lanes + owner approval to merge. |
ranxianglei
left a comment
There was a problem hiding this comment.
(ai: vllm-qwen/qwen3.8-27b)
Re-review (round 3 of the master merge) — findings-only, no blocking findings (kernel PR → merge gated by the human-only review tier; see the 🔶 需要决策 comment below).
The head moved 4b7eea78d → dfdcc0597 ("Merge origin/master into coverage-shape, round 3" + one type-only test fix). Same shape as the prior re-reviews — master advanced and the branch was re-merged onto it. I re-verified the full contribution against the current master baseline:
What changed since my last review (and why it is safe):
kernel/src/sync.ts+kernel/tests/sync-config.test.tsare byte-identical to the version I reviewed (three times) and found correct (0-line diff4b7eea78d→dfdcc0597). The coverage-shape liveness rule (coverageShape+tailGapIsChurn) and all its regression tests are unchanged — my findings still hold.- The only new PR-side changes are: (a) the kernel version bump 0.0.210→0.0.211 (master advanced to 0.0.210) with both lockfiles synced to 0.0.211 — correct and in step; and (b) a type-only fix in
tests/egress-fork-host-e2e.test.ts(the T11wdbannotation changed from{ db: import("node:sqlite").DatabaseSync }to the idiomaticReturnType<typeof openSqliteDatabase>used across the storage test suite) — no runtime behavior, fixes the inherited typecheck so static-gates goes green. Clean and mechanical. - The master merge (round 3) is a routine rebase-to-current-master. No conflict markers in any PR-touched file; the PR's
syncBlockssignature is unchanged.
Behavior delta vs master (unchanged across all four reviews, re-stated): only the tail-gap shape changes — old = always kept (any covered id present → ghost summary after a host rewind); new = kept only when the history still carries the missing tail (churn) → the rewind case now deactivates. All other shapes (full / head-gap / holes / none) and the summary-present path keep master's behavior byte-for-byte. No config surface, persistence format, or wire-protocol change.
CI: fully green on head dfdcc0597 — 30/30 checks complete, 0 failures (verified via the mirror cache). This is the first head where the full suite has finished, and it is green.
Verdict: findings-only, no blocking findings. This is a kernel change (kernel/src/sync.ts + tests + version 0.0.211), so I cannot approve — the human-only review tier gates the merge (Kernel Boundary rule 3). Authorization request re-confirmed for the new head in the 🔶 需要决策 comment below. CI is now fully green, so the only remaining step is your merge approval.
|
🔶 需要决策 (ai: vllm-qwen/qwen3.8-27b) Owner authorization requested (re-confirmed for head The head moved Gated diff (the kernel surface) at head
Why it is safe to merge: the only behavior delta vs master is the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under churn → the rewind case deactivates). The re-stamp churn case (#2265 e2e) is kept. All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) is documented in the PR body: availability over safety, no data loss. The owner's floor-37 direction is satisfied ("方向本身我们认同…需要补上这个不变量再进") — the CI: fully green on Request: approve the kernel change so the PR can be merged (human-only tier). I have not self-declared on the author's behalf; the Note for the owner: this is the fourth review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203 → 0.0.211). The logic itself has not changed since my first review, and CI is now fully green, so the only remaining step is your merge approval. |
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) Re-review (round 3 of the master merge) complete for head The head moved
Posted: re-review COMMENT (findings-only) + re-confirmed 🔶 需要决策 authorization request + Note: this is the fourth review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203 → 0.0.211). The logic itself has not changed since my first review. 8问 (结构化审核,中文):
判定:kernel 改动,人工层把关合并。无阻塞发现,CI 全绿,owner floor-37 方向已满足,等 owner 授权合并。 |
… version conflict (0.0.215)
(ai: vllm-qwen/qwen3.8-27b) Round-6 merge-conflict resolution — done. This was the 4th occurrence of the same recurring conflict: master's kernel advanced while the PR sat open, colliding on the 3 kernel version fields. What I did this run:
Live state after push (single GitHub API pull): head = 八问(中文):
收工判定:冲突已解决,PR 现可合并(等审批);本轮 CI 会在 head |
ranxianglei
left a comment
There was a problem hiding this comment.
(ai: vllm-qwen/qwen3.8-27b)
Round-5 re-review at head 1f50785d4 (master merge round 4) — findings only, no blocking findings.
The head moved dfdcc0597 → 1f50785d4: a merge of master 4cad86035b3 resolving the kernel version conflict at 0.0.215 (master is 0.0.214). The gated kernel logic is byte-identical to the version reviewed in rounds 1–4:
git diff dfdcc0597 1f50785d4 -- kernel/src/sync.ts kernel/tests/sync-config.test.ts→ empty.- Full delta vs master is now 5 files:
kernel/src/sync.ts(+125),kernel/tests/sync-config.test.ts(+131),kernel/package.json(0.0.214→0.0.215),kernel/package-lock.json(2 version lines),package-lock.json(1 version line). - The previous round's 2-line type-only fix in
tests/egress-fork-host-e2e.test.tsis absorbed: master now carries the same annotation (line 866), and the file on the PR head is identical to master's.
Independently re-verified this round:
- PR is not behind master (merge-base = master
4cad86035b3); mergeable, clean. - CI on
1f50785d4: 41 checks — 24 success, 17 skipped by design, 0 failed (verified via a single direct fetch; the mirror cache was stale at the time). - Version discipline OK: kernel/src changed → bump required; 0.0.214→0.0.215 is the next patch; lockfile diffs are version lines only.
- PR body carries the author's own
kernel-change:declaration (kernel-guard satisfied). - Behavior delta vs master remains exactly one: the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under the
tailGapIsChurnchurn test). All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. - The residual edges are documented in the PR body (rewind + append ≥ missing → misclassified as churn → kept; availability over safety, no data loss); the degenerate empty-coverage corner was assessed in a prior round as safe-direction (keep-bias) and is not a blocker.
Verdict: no blocking findings; logic unchanged since the reviewed version, CI fully green. Kernel change → human-only review tier (Kernel Boundary rule 3): not approving — see the follow-up 🔶 需要决策 comment for the owner's merge authorization.
|
🔶 需要决策 (ai: vllm-qwen/qwen3.8-27b) Owner authorization requested (re-confirmed for head The head moved Gated diff (the kernel surface) at head
Why it is safe to merge: the only behavior delta vs master is the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under churn → the rewind case deactivates). The re-stamp churn case (#2265 e2e) is kept. All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) is documented in the PR body: availability over safety, no data loss. The owner's floor-37 direction is satisfied ("方向本身我们认同…需要补上这个不变量再进") — the CI: fully green on Request: approve the kernel change so the PR can be merged (human-only tier). I have not self-declared on the author's behalf; the Note for the owner: this is the fifth review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203 → 0.0.211 → 0.0.215). The logic itself has not changed since my first review, and CI is fully green, so the only remaining step is your merge approval. |
… version conflict (0.0.217)
(ai: vllm-qwen/qwen3.8-27b) Round-7 merge-conflict resolution — done. This is the 5th occurrence of the same recurring conflict: master's kernel advanced while the PR sat open, colliding on the 3 kernel version fields. What I did this run:
Live state after push (single GitHub API pull): head = 八问(中文):
收工判定:冲突已解决,PR 现可合并(等 CI 在 head |
ranxianglei
left a comment
There was a problem hiding this comment.
(ai: vllm-qwen/qwen3.8-27b)
Round-6 review at head c65e9c714 (master merge round 5: master 172fc06b775 merged in, kernel version conflict resolved at 0.0.217).
- Gated kernel logic byte-identical to the version reviewed in rounds 1–5:
git diff 1f50785d4 c65e9c714 -- kernel/src/sync.ts kernel/tests/sync-config.test.ts→ empty. The shape-by-shape analysis (full/head-gap/tail-gap/holes/none +tailGapIsChurnboundary) and the test-teeth check from the round-5 review carry over unchanged. - Full delta vs master is 5 files:
kernel/src/sync.ts(+125),kernel/tests/sync-config.test.ts(+131),kernel/package.json(0.0.216→0.0.217),kernel/package-lock.json(2 version lines),package-lock.json(1 version line). Version discipline OK: kernel/src changed → bump required; lockfile diffs are version lines only. - CI fully green on
c65e9c714: 41 check runs, 24 success + 17 skipped by design (red-signal + skip-gated e2e lanes), 0 failed. - kernel-guard passed on this head — the author's own
kernel-change:declaration and the version bump are verified by CI. - PR is not behind master (merge-base = master
172fc06b775), mergeable, clean. - No new findings this round. The only behavior delta vs master remains the tail-gap liveness shape (rewind → deactivate; re-stamp churn → keep) — the fix itself, disclosed in the PR body. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) stays availability-biased, no data loss.
No blocking findings. Kernel change = human-only review tier (Kernel Boundary rule 3) — merge awaits owner approval.
|
🔶 需要决策 (ai: vllm-qwen/qwen3.8-27b) Owner authorization requested (re-confirmed for head The head moved Gated diff (the kernel surface) at head
Why it is safe to merge: the only behavior delta vs master is the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under churn → the rewind case deactivates). The re-stamp churn case (#2265 e2e) is kept. All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) is documented in the PR body: availability over safety, no data loss. The owner's floor-37 direction is satisfied ("方向本身我们认同…需要补上这个不变量再进") — the CI: fully green on Request: approve the kernel change so the PR can be merged (human-only tier). I have not self-declared on the author's behalf; the Note for the owner: this is the sixth review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203 → 0.0.211 → 0.0.215 → 0.0.217). The logic itself has not changed since my first review, and CI is fully green, so the only remaining step is your merge approval. |
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 — 本轮唤醒是 review 车道的新一轮任务(head 已移动 标签: Round-6 review complete at head
Posted on GitHub this round: findings-only review COMMENT (#5166 (review)) + the 🔶 需要决策 authorization request for head 结构化八问
判定: kernel 改动, 人工层把关合并。第 6 轮独立复审无阻塞发现; CI 全绿(41 checks, 0 failed)、不落后 master(merge-base = master)、逻辑与历次已审版本字节一致、版本纪律与 kernel-change 声明齐备——唯一剩余步骤是 owner 的合并授权。 |
[ework] CI fix verified green ✓ |
1 similar comment
[ework] CI fix verified green ✓ |
… version conflict (0.0.219)
(ai: vllm-qwen/qwen3.8-27b) Round-8 merge-conflict resolution — done. This is the 6th occurrence of the same recurring conflict: master's kernel advanced while the PR sat open, colliding on the 3 kernel version fields. What I did this run:
Live state after push (single GitHub API pull): head = 八问(中文):
收工判定:冲突已解决,PR 现可合并(等 CI 在 head |
|
🔶 需要决策 (ai: vllm-qwen/qwen3.8-27b) Owner authorization requested (re-confirmed for head The head moved Gated diff (the kernel surface) at head
Why it is safe to merge: the only behavior delta vs master is the tail-gap shape (old = always kept → ghost summary after a host rewind; new = kept only under churn → the rewind case deactivates). The re-stamp churn case (#2265 e2e) is kept. All other shapes keep master's behavior byte-for-byte. No config/persistence/wire change. The residual edge (rewind + append ≥ missing → misclassified as churn → kept) is documented in the PR body: availability over safety, no data loss. The owner's floor-37 direction is satisfied ("方向本身我们认同…需要补上这个不变量再进") — the CI: fully green on Request: approve the kernel change so the PR can be merged (human-only tier). I have not self-declared on the author's behalf; the Note for the owner: this is the seventh review of the same byte-identical kernel logic — the head keeps moving only because master advances and the branch is re-merged onto it (each round just re-bumps the kernel version: 0.0.199 → 0.0.201 → 0.0.203 → 0.0.211 → 0.0.215 → 0.0.217 → 0.0.219). The logic itself has not changed since my first review, and CI is fully green, so the only remaining step is your merge approval. |
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 — 本轮唤醒是 review 车道的新一轮任务(head 已移动 标签: Round-7 review complete at head
Posted on GitHub this round: findings-only review COMMENT (#5166 (review)) + the 🔶 需要决策 authorization request for head 结构化八问
判定: kernel 改动, 人工层把关合并。第 7 轮独立复审无阻塞发现; CI 全绿(42 checks, 0 failed)、不落后 master(merge-base = master)、逻辑与历次已审版本字节一致、版本纪律与 kernel-change 声明齐备——唯一剩余步骤是 owner 的合并授权。 |
[ework] CI fix verified green ✓ |
Problem
A compressed block's summary may only be injected while it still describes content that is on the wire.
syncBlockscurrently asks whether any covered message is still present:A host rewind replaces a surface range, so a block's span can be truncated inside — the surviving messages are a prefix, the newest ones are gone. The summary then describes history that no longer exists, and it keeps being injected every turn.
Neither existing mechanism catches this case:
fold-reconcile(Session death spiral: fold drift → 0 compressible ranges → over-window fail-fast (window flip + missing max_tokens headroom as compounding factors) #1908/Fold-state reconciliation: classify resent-history divergence (edit/fork/new/system-only) and make compression blocks re-anchorable chain units #1921) re-keys ids when the content is still there under churned ids; a rewind has nothing to re-key.Change
The gap's shape, in the block's own coverage order, is the discriminator:
effectiveMessageIdsorder)fold-reconcilere-keys those idsledgerSeqposition is the churn / merged-pair shapeEverything except the tail gap keeps today's keep-alive behaviour, so the only behaviour that changes is the one shape that can be named. No new config, no new state, no host special-casing — the rule reads only coverage order and presence.
The positional witness is deliberately not narrowed. Making it "exact coverage" looks more consistent, but a #2636 pair collapse legitimately covers fewer ids than positions, so exact coverage would false-kill merged content in the
noneshape. It therefore stays byte-for-byte as upstream states it, and is only consulted when no id-shaped evidence survives.Tests
kernel/tests/sync-config.test.tsgains:Full kernel suite: 1505 passing. No existing test needed to change.
Compatibility / cost
some.Alternative considered
A single pass over "is every covered id present" (all-or-nothing) fixes the ghost too, but treats id churn as deletion, because ids are content hashes and any re-serialization changes them. The shape split keeps that failure mode out by construction: interior holes and head gaps are never the rewind shape.
Amendment: tail-gap churn refinement — folded blocks must survive a re-stamp (#2265)
The original change treated every tail gap as a host rewind and deactivated
the block. But a model re-stamp re-mints the newest covered ids in place (same
slots, fresh content-hash ids), leaving the same tail-gap shape as a rewind —
yet the span is still live, so the summary must survive. In the #2265 e2e this
dropped the folded block right after a model switch.
The shape alone cannot tell a withdrawal from a re-mint, so the tail-gap case now
asks whether the history still carries the missing tail:
prefix is at least the number of missing covered ids — the re-minted tail
occupies the same slots, so the span is still live.
the slots are empty, so the newest end was genuinely cut and the summary is
stale.
This works without
ledgerSeqstamps (the #2265 re-stamp e2e is unstamped, so thepositional witness cannot carry this case). The original #4592 rewind test (pure
truncation, nothing appended) is unchanged and still deactivates.
New regression tests in
kernel/tests/sync-config.test.ts:Full kernel suite on the rebased head: 1638 passing.