Repository navigation
docs(session): self_resume_pending を送る source のコメントとテスト名を実態に合わせる - #3452
Merged
Merged
Conversation
…e に合わせる (#3449) コメントと it の題名だけの変更。振る舞いは変えない。 - agent-event-dedup.ts の releaseStopClaims のコメントを「antigravity (#2614) と claude (#3430)」に修正 - capabilities.test.ts の it の名前を変更(中身の期待値 ['claude','antigravity'] は不変) 旧: names exactly one source whose stop can say it will resume by itself (#2614) 新: names the sources whose stop can say it will resume by itself: antigravity (#2614) and claude (#3430) あわせて it 内コメントの「title's one」の言及を直した 対になる場所の探索 (grep -rn "self_resume_pending|stopReportsSelfResume|self-resume|self resume" src docs): - agent-event-types.ts の宣言コメント、capabilities.test.ts の冒頭コメント、docs/module-reference.md は既に claude (#3430) を含む → 直さない - agent-event-turn.ts:457 の「antigravity's self-resume post_tool_use」はターン開始の話で antigravity 固有のため正しい → 直さない - docs の ja/en: 「antigravity だけ」と読める記述は無かった 本文に無い指摘: なし Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
4 tasks
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.
Summary
#3430(PR #3448)で Claude も
self_resume_pendingを送るようになったので、「antigravity だけ」と読めるコメントとテストの名前を実態に合わせる。コメントとitの名前だけの変更で、振る舞いは変えない。src/lib/session/agent-event-dedup.tsのreleaseStopClaimsのコメントを「antigravity(fix(cli): エージェントが自分を後で起こす形でターンを閉じる(agy の schedule 等)と、wait が作業途中で完了を返す #2614)と claude(fix(cli): wait --verify がワーカーのコミット前に検証して合格を返す #3430)」に修正tests/unit/hooks/sources/capabilities.test.tsのitの名前を変更(中身の期待値['claude','antigravity']は変えない)names exactly one source whose stop can say it will resume by itself (#2614)names the sources whose stop can say it will resume by itself: antigravity (#2614) and claude (#3430)既存の it の名前を変えた理由: 通常の契約では既存の
itの名前は変えないが、この Issue の受入基準が名前の修正そのものなので、この 1 件だけを例外として許した(削除されたit行はこの 1 件の置き換えだけ)。他に「antigravity だけ」と読める記述が無いことは、
self_resume_pending|stopReportsSelfResume|self-resume|self resumeをsrcとdocsで grep して確かめた(ワーカー)。Refs #3449(develop 向けのため Closes は使わない)
Test plan
commandmatedev verify --task: work-evidence / scope / env-clean / lint / typecheck / unit-related すべて PASS(exit 0)tests/unit/guards合格、changelog-fragments.mjs checkexit 0🤖 Generated with Claude Code