Repository navigation
Conversation
本体 ADR-0060 で分割の子は相手が違いうるようになった。それ以前は1つの 分割の子が全員同じ相手だったので、枠が相手を取り違えても症状が出ず、 既存の例はどれも同じ provider だった。 畳んだメタ行は「誰が答えたか」を言うので、取り違えると嘘を言うことになる。 本文の行は交互に届くため、text と provider が同じ SubtaskFrames の規則に 乗っていることも併せて見る。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Rererr <44668651+Rererr@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
なぜ
本体 ADR-0060(実行者の指名)で、分割の子は相手が違いうるようになった。
それ以前は1つの分割の子が全員同じ相手だったので、枠が相手を取り違えても症状が出なかった — 既存の
viewFold.test.tsの例はどれも同じ provider で、当時はそれで正しかった。畳んだメタ行(GUI ADR-0014)は「誰が答えたか」を言う行なので、取り違えるとそこで嘘を言うことになる。
何を見るか
turn.startedがsubごとに違うproviderを運んできたとき、枠がそれぞれの相手を持つこと。本文の行は並走で交互に届くので、textの宛先とproviderの宛先が同じSubtaskFramesの規則に乗っていることも併せて見る。検出力
ADR-0060 以前の挙動(全子が親の相手を名乗る)を
viewFold.tsに注入すると、このテストだけが落ちる:既存テストは1本も落ちない — このバグが今まで検査の外側にあったことの裏返しでもある。
検証
go test ./...通過npx tsc --noEmit通過node --test src/*.test.ts— 254 tests / 254 pass補足
本体側では実 claude-code / codex での疎通を確認済み(tomobit#6)。GUI へ届く view に子ごとの相手が乗ることは実出力で確認しているが、画面の目視はまだしていない。本PRはその手前、fold の規則を固定するところまで。