完了したときか行き詰まったときにループを止める
読了まで約33 分分、6 節 節の 4 例 例。
この章を読み終えると、ハーネスが記録する一語から、実行がなぜ止まったのかを説明できるようになる。また、進展しなくなった実行を終わらせる二つのルールを追加できるようになる。
第1章では、実行が次の三つのいずれかで終わるループを作った。モデルがfinishを呼ぶ、実行がステップ上限の8に達する、モデルが呼び出しを二度行わない、の三つである。これは、完了するモデルについては扱えている。しかし、同じ編集を送り続けるモデルは扱えていない。編集対象のテキストが見つからない編集は、まさにそのような状況を招きやすい。第1章のツールには編集がないので、このケースはタスクセットから生じる。そのタスクセットとは、エージェントのテストで採点する20個のタスクであり、ツールセットv1で実行する(そのツールには編集が含まれる)。実行例として扱うunitcraftは小さな単位ライブラリで、目に見えるテストスイートが変更のたびに件数を返す。この種の行き詰まった実行は上限まで進み、その終了について残る記録は、上限で終わったという事実だけである。無駄になった各ステップは、モデル呼び出し1回と、レビュアーが読まなければならない記録上の1行に当たる。この章では、ループが実行を終わらせる方法に名前を付け、行き詰まった実行を早めに終わらせる二つのルールを追加し、それらがタスクセットに与える効果を測定する。
実行が終了する形
すべての実行は、明示された一つの理由で終了する。ハーネスはその理由を、実行の ended フィールドに書き込む。理由のうち二つはモデルの選択である。モデルが finish を呼び出して実行を終えるか、ask_user を呼び出して人に質問するかである。三つはハーネスが設ける制限であり、ステップ予算、繰り返し呼び出しの規則、進展なしの規則である。六つ目の no_tool_call は、呼び出しを返さないモデルによって設定される。ループはこの六つを設定し、権限ゲートが第6章で七つ目を加える。次の表に六つを示す。
ended |
設定される条件 | 示されるもの |
|---|---|---|
finish |
モデルが finish を呼び出し、実行が終わる |
タスクセットの集計 |
ask_user |
モデルが質問付きで ask_user を呼び出し、変更は行われない |
タスクセットの集計 |
step_cap |
実行がステップ予算に達する | budget-stops-a-loop |
repeated_call |
同じ呼び出しが3回続けて現れる | repeated-call-stops |
no_progress |
2回続けた編集のあとも、テストの件数が変わらない | no-progress-stops |
no_tool_call |
モデルが2回続けて呼び出しを返さない | タスクセットの集計(この値は0である) |
タスクセットの集計とは、尋ねる、止める、数えるの最後の例が出力する行である。タスクセットが使うツールセット v1 では、finish は要約だけを受け取る。この呼び出しは、実行がすでに作業用コピーに加えた編集の要約とともに実行を終了させ、ファイルは書き出さない。第1章の finish は、実行を終える前にファイルも一つ書き出していた。この章で測定するツールセットは、そうしない。
同じステップで複数の終了条件が当てはまる場合、ループは決まった順序で確認する。まず finish または ask_user の呼び出しを処理し、次に繰り返し呼び出しの規則、その次に進展なしの規則を処理する。予算はループがステップを使い切ったときに適用されるので、最後に確認される。順序が問題になるのは二つの終了条件が同じステップで重なる場合だけであり、この章の以降は単独の場合のみを扱う。
呼び出しのない返答には、再試行が一度与えられる。呼び出しのない返答が2回続くと、実行は no_tool_call として終了する。この章のどの例もこれには達しないので、ここでの内容はこれに依存しない。
それぞれの終了は、最後の返答に書かれた文ではなく値である。そのため、報告はその返答を読まなくても、どの終了が起きたかを示せる。実運用では、これらの終了の違いを外から見分けにくい。step_cap で終わった実行は、終わらなかった遅い実行に見える。最終メッセージだけを読むレビュー担当者は、それをまもなく終わるはずだった実行と区別できない。報告の中でこの違いを示すのが ended の値であり、タスクの規模に比べて実行の費用が大きいときに最初に確認すべきものである。
これらの名前は、この章を超えて意味を持つ。権限ゲートでは、finish の呼び出しが提案する変更が、人が承認するまで待機する。サブエージェントと引き継ぎは、停止を人への質問に変える。エージェントのテストは、終了の種類を数える。いずれもこれらの値を読むので、ここで名前を変えれば、それらの箇所でも変わることになる。
ここに挙げたのは、ハーネスが観測できる終了であり、実行が失敗しうるすべての理由ではない。誤った答えを出して finish を呼び出したモデルは finish として終了し、失敗したことが分かるのは、最終コピーを採点する隠しテストであるチェックだけである。完了の件数が ended の値ではなくチェックから得られるのはこのためであり、この点には下の実践ルールで再び触れる。Agent SDK のドキュメントエージェントループの仕組みも、同じ方法で終了を説明している。ターン数の上限に達した実行は、サブタイプが error_max_turns で、最終応答のない結果として終わる。その SDK でのターンとは、ループを1回通過すること、つまりモデルの返答とそのツール呼び出しを指す。max_turns は、その通過回数に、テキストだけの最後の返答の分として1を加えて数える。ここではその通過が1ステップに当たる。この本では「ターン」を、タスクを与えた人とのやり取りの意味で使う。同じページは、上限のないループは自由度の高いプロンプトに対して長時間動き続けうると注意している。この本は SDK を使わないので、そのページは設計の出典として挙げるのであり、コードの出典としてではない。
実践ルール: すべての実行に ended の値を一つ記録し、それなしに実行の結果を報告しない。実行を完了と数えるのは、スコアの規則によるときであり、ended の値だけで数えてはならない。
この部分はまだ翻訳されていないため、英語で表示している。
The budget counts steps
A model that never calls finish gives the loop no reason to stop, so the loop needs a count that does. A step is one call to the model and the reply it returns. The step budget is the most steps a run may take, and the loop stops when it reaches that number. Steps are counted, not timed: the loop reads no clock.
The task set, the 20 tasks this chapter's last example counts, runs on tool set v1 with a budget of 16 steps. Chapter 1 uses a smaller budget, 8.
The chapter 1 recording of T-01 shows the budget at work. The model, Qwen3-4B-Instruct-2507, is an open model, and its replies were recorded and are replayed here, so every run in this chapter gets the same output on every machine. In that recording the model did not finish within eight steps. Its last step was a malformed tool call, which the harness refused. Replay the run under the budget, with no other rule, and the output shows where the cap ends it:
1"""The chapter 1 recorded run of T-01 under its step budget of 8. The budget ends the run as step_cap, with no finish;2the last line shows the model's final step, a call the harness refused, and the budget ended the run after it."""3from lib.case import load_tasks4from lib.loop import run_task5from lib.models import ReplayModel6from lib.tools import CH17from lib.trace import IdCounter89task = load_tasks(only=["T-01"])[0]10run = run_task(ReplayModel("chapter-1-t01", "T-01"), task, CH1, max_steps=CH1.step_cap, ids=IdCounter())11print("budget (steps):", CH1.step_cap)12print("steps:", run.steps)13print("tool calls:", run.tool_calls)14print("ended:", run.ended)15print("last step:", run.trace.lines()[-1])16assert run.ended == "step_cap" and run.steps == CH1.step_cap, "the budget should stop the run on step 8"17assert not run.summary, "a budget stop carries no summary"
python budget-stops-a-loop.pybudget (steps): 8
steps: 8
tool calls: 8
ended: step_cap
last step: step 8: malformed: error: malformed call
The run ends as step_cap after 8 steps, with 8 tool calls, against a budget of 8. The two counts match because each step made one request. The line to keep is the last one. The model's final reply was a call the harness could not parse, and the budget was the only thing that ended the run. Nothing in the record says the model had finished.
A step budget does not bound time, and it does not bound tokens. A tool that hangs holds its step open until it returns, so the timeout belongs to the sandbox, in sandbox and secrets. A long reply uses more tokens inside a single step, and counting tokens is the work of context budgets. The budget bounds model calls and nothing else, so a run that reaches it has used its calls, and nothing more is known about why.
Malformed replies count too. A reply the harness cannot parse is still a model call, so it spends a step, and the budget counts it. A model that keeps producing calls the harness can't read reaches the budget as surely as one that keeps repeating a good call. Both end as step_cap, so only the last few steps show which of the two happened: a repeated good call, or calls the harness couldn't read.
Working rule: Set the step budget from runs on your own tasks, not from a guess. Take the most steps a passing run needed, leave room above it, and write in the code what that room is for.
同じ呼び出しの繰り返し
ツールが失敗するのを見たモデルは、同じ呼び出しを何度も送り続けることがあり、ループは予算が尽きて実行が終わるまで、そのすべてを実行する。モデルは自分がループしていることに気づくだろう、と考えたくなる。Yao らによる ReAct の論文(2022 年、ICLR 2023 で発表)は、繰り返しをよく見られる誤りのパターンとして報告している。質問応答の実行で、モデルがすでに生成した思考と行動を繰り返し生成したという。ただし、この論文の課題は質問応答と意思決定であり、コードではない。したがって、この論文は繰り返しに注意すべき根拠にはなるが、繰り返しの発生率は示していない。出典は ReAct: Synergizing Reasoning and Acting in Language Models である。ハーネスは、繰り返しを自力で検出しなければならない。
本書が用いるルールは単純である。同一の呼び出しが 3 回続いたら、実行を repeated_call として終了する。ツール名と引数が同じであれば、その呼び出しは同一とみなす。引数はキーをソートして比較する。このソートは重要である。2 つの応答が同じ引数をキーの順序だけ変えて持つ場合、呼び出しとしては同じでも、生のテキストは異なる。本書が固定している Python のバージョン 3.12.15 では、同じ 2 つのキーを 2 通りの順序で与えると、json.dumps は異なる 2 つの文字列を返す(plain dumps equal: False)。キーをソートすると文字列は 1 つになる(sort_keys dumps equal: True)。これは私たちが実行した確認であり、本書の例ではない。読者が繰り返せる検証として読んでほしい。
3 回という値は本書のしきい値であり、固定されたものではない。これは判断であり、下の実践ルールが変更すべき場面を述べている。直前の呼び出しと異なる、解析済みの呼び出しが来ると、カウントは最初からやり直しになる。比較すべき解析済みの呼び出しを持たない、不正な形式の呼び出しブロックを含む応答でも同様である。トークン上限で途切れた応答や、呼び出しを含まない応答では、連続回数はそのまま保たれる。ループはこれらの応答では連続のチェックを行わないので、そうした応答をはさんだ両側の同一呼び出しは、合わせて数えられる。
T-01 は同じ呼び出しを 3 回続けて送ることはない。そこで、この例ではモデルがそれを行う T-02 を再生する。
1"""The recorded run of T-02 with and without the repeated-call rule. Three identical calls in a row end the run as2repeated_call. The rule compares the name and the sorted arguments, so reordered keys still count as the same call."""3from lib.case import load_tasks4from lib.loop import Stops, run_task5from lib.models import ReplayModel6from lib.tools import V17from lib.trace import IdCounter89task = load_tasks(only=["T-02"])[0]101112def replay(stops: Stops):13 ids = IdCounter()14 ids.next("run") # the recording numbers its runs in task order, so T-02 is run-0002: skip T-01's number15 return run_task(ReplayModel("task-set", "T-02"), task, V1, max_steps=V1.step_cap, ids=ids, stops=stops)161718plain = replay(Stops())19print("without the rule, ended:", plain.ended, "at step", plain.steps)20run = replay(Stops(repeat_limit=3))21print("with the rule, ended:", run.ended, "at step", run.steps)22print("repeated call:", run.stuck_on)23print("first of the identical calls: step", run.streak_from)24print("identical calls in a row:", run.steps - run.streak_from + 1)25print("last two steps:", *run.trace.lines()[-2:], sep="\n ")26assert run.ended == "repeated_call" and run.streak_from == 11 and run.steps == 13
python repeated-call-stops.pywithout the rule, ended: step_cap at step 16
with the rule, ended: repeated_call at step 13
repeated call: edit_file
first of the identical calls: step 11
identical calls in a row: 3
last two steps:
step 12: edit_file: error: old text not found in unitcraft/format.py
step 13: edit_file: error: old text not found in unitcraft/format.py
ルールがない場合、実行は step_cap at step 16 として終了する。ルールがある場合、実行は repeated_call at step 13 として終了する。要点は最後の数ステップにある。同じ edit_file の呼び出しが再び送られ、そのたびに old text not found in unitcraft/format.py で失敗している。同一の呼び出しの最初のものは step 11 で現れ、ルールが実行を終えるまでに、連続回数は 3 に達した。この例は終了の状態と停止するステップを検証している。そのため、停止位置を動かす変更は、出力を黙って変えるのではなく、実行を失敗させる。
読み取りと編集を交互に行うモデルは、このルールには決して引っかからない。読み取りのたびに連続が途切れるからである。その場合のためのルールが次にある。
このルールが扱うのは、整形式の同じ呼び出しが変わらずに返ってくる場合である。壊れた応答は別の失敗であり、不正な呼び出しがモデルの読める型付きエラーとして返される仕組みは ツールスキーマ で扱う。
実践ルール: 呼び出しはツール名とソートした引数で比較し、同一の呼び出しが 3 回続いたら実行を終了する。しきい値を上げるのは、自分のトレースで、同一の呼び出しが 3 回続いたにもかかわらず進捗があった例が見つかった後に限る。そのうえで、より大きな値を採用する前に、自分の課題セットでその値を測定する。
編集をまたいだ進捗なし
読み取りと編集を交互に行うモデルは、同じ呼び出しを3回続けて送ることがない。そのため、実行が進展していなくても、繰り返し呼び出しのルールには数えるものがない。この場合に適した信号は、テスト件数である。ハーネスは編集のたびに、そのケース自身のテストスイートである可視テストを作業用コピー上で実行し、作成した要約から件数の行を保持する。たとえば 8 failed, 22 passed のような行である。モデルはこの実行を目にすることがない。ハーネスが自らの判断のために保持する。
これは Building effective agents の指針が求める種類の信号である。同指針は、エージェントが各ステップで環境からグラウンドトゥルースを得ることが重要だと述べており、テスト件数はその種のグラウンドトゥルースである。ただし、この指針は2024年12月の記事に書かれた意見であり、測定結果ではない。
このルールは、件数を変えなかった編集が連続した回数を数える。最初の編集は、編集が行われる前の件数と比較する。件数を動かした編集は、カウントを0に戻す。読み取りはカウントに影響しない。件数を変えない編集が2回続くと、実行は no_progress として終了する。失敗した編集はファイルを元のままにするので、その件数も変わらず、ルールはそれを進捗なしとして数える。
タスクセットの記録にある T-01 を、ツールセット v1 を使い編集が失敗するケースとして取り上げ、2回実行する。1回はルールなし、もう1回は進捗なしルールを編集2回に設定して実行する。それぞれの実行がどこで終わるかを読み取ってみよう。
1"""The recorded run of T-01 under the no-progress rule. Two edits in a row that leave the test counts where they2were end the run as no_progress. The counts come from the harness's own run of the visible tests after each edit."""3from lib.case import load_tasks4from lib.loop import EDITS, Stops, run_task5from lib.models import ReplayModel6from lib.tools import V17from lib.trace import IdCounter89task = load_tasks(only=["T-01"])[0]101112def replay(stops: Stops):13 return run_task(ReplayModel("task-set", "T-01"), task, V1, max_steps=V1.step_cap, ids=IdCounter(), stops=stops)141516plain = replay(Stops())17print("without the rule, ended:", plain.ended, "at step", plain.steps)18run = replay(Stops(no_progress_limit=2))19print("with the rule, ended:", run.ended, "at step", run.steps)20edit_steps = [r["step"] for r in run.trace.records if r["tool"] in EDITS]21print("edits that left the counts unchanged, steps:", " and ".join(str(step) for step in edit_steps[-2:]))22print("counts after the last edit:", run.counts)23print("last two steps:", *run.trace.lines()[-2:], sep="\n ")24assert run.ended == "no_progress" and run.steps == 5
python no-progress-stops.pywithout the rule, ended: step_cap at step 16
with the rule, ended: no_progress at step 5
edits that left the counts unchanged, steps: 3 and 5
counts after the last edit: 8 failed, 22 passed
last two steps:
step 4: read_file: 23 lines
step 5: edit_file: error: old text not found in unitcraft/format.py
ルールがない場合、実行は step_cap at step 16 として終了する。ルールがある場合は no_progress at step 5 として終了し、件数を変えなかった2回の編集のうち2回目で止まる。それらの編集は 3 and 5 にある。どちらも old text not found で失敗したため、件数は動かず、8 failed, 22 passed のままだった。出力の最後の2ステップは、読み取りと、2回目の失敗した編集である。読み取りは2回の編集の間にあり、カウントをリセットしない。このため、ルールはトランスクリプト上で隣り合っていない編集に対しても作動できる。
このルールがテスト要約から読み取るのは、8 failed, 22 passed のような件数の行1行だけである。どのテストが失敗したかは読まない。そのため、あるテストを直し別のテストを壊したが件数は同じという編集は、進捗なしに見える。ファイルを比較しても役に立たない。失敗した編集はファイルを変えないが、ファイルを実際に変える編集でも件数が同じままのことがある。件数を採用したのは、ハーネスがテスト名を読まずに比較できるからである。この選択は自分の実行で確かめてほしい。失敗が別の失敗に入れ替わった場合は、停止として現れる。
この実行を止めるには2回の失敗した編集で足りるが、3回目の編集がうまくいった可能性はある。2回という値は私たちが選んだものであり、このように停止した実行がその後成功したであろう頻度について、本書は何も主張しない。タスクセットでは 11 件の実行がこの形で終了し、スコアのルールにより、そのいずれも完了とはされていない。
失敗した編集は、ツールスキーマが対処する失敗である。第3章では、テキストが見つからなかった編集が返す内容を変える。返すのはファイルの最も近い行であり、モデルは同じテキストを再送する代わりに、テキストを修正できる。これは最も近い行を示す編集エラーに示されている。
実践ルール: 編集のたびにハーネスがテストから得る件数を監視し、モデルが変更したと述べる内容は見ない。件数を変えない編集が2回続いたら、実行を止める。それを no_progress として記録し、停止時の件数を実行の傍らに残す。
この部分はまだ翻訳されていないため、英語で表示している。
Asking, stopping and counting the endings
Once a rule ends a run, nothing in the loop asks the person who gave the task what to do next.
Only ask_user asks. The model calls it with a question, the harness hands the question back, and no change is made. The stop rules work differently. A repeated_call or no_progress stop records the rule that fired and the call or the counts it stopped on, and the run is over. Turning such a stop into a question for a person is the handoff in subagents and handoffs. What a change may do without a person's yes is the gate in permission gates.
The last check in this chapter runs all 20 tasks twice, once as recorded and once with both rules, repeated calls and no progress. It prints counts only:
1"""The task-set recording's 20 runs, replayed as recorded and again with both stop rules. Counts only: which runs hit2the step cap, which rule ended the runs that stopped early, and whether any done task is cut short."""3from collections import Counter45from lib.case import load_tasks6from lib.loop import Stops, run_task7from lib.models import ReplayModel8from lib.tasks import score9from lib.tools import V110from lib.trace import IdCounter1112RULES = Stops(repeat_limit=3, no_progress_limit=2)131415def replay(stops: Stops) -> dict:16 """Every task in file order, so the run IDs match the recording's. Maps task ID to (ended, steps, done)."""17 ids, out = IdCounter(), {}18 for task in load_tasks():19 run = run_task(ReplayModel("task-set", task.id), task, V1, max_steps=V1.step_cap, ids=ids, stops=stops)20 out[task.id] = (run.ended, run.steps, score(task, run))21 run.close()22 return out232425ENDS = ("finish", "ask_user", "step_cap", "repeated_call", "no_progress", "no_tool_call")26plain, ruled = replay(Stops()), replay(RULES)27capped = sorted(t for t, (ended, _, _) in plain.items() if ended == "step_cap")28ruled_ends = Counter(ended for ended, _, _ in ruled.values())29done = sorted(t for t, (_, _, ok) in plain.items() if ok)30print("task set step cap:", V1.step_cap)31print("runs:", len(plain))32print("step cap without the rules:", len(capped))33print("step cap without the rules, tasks:", ", ".join(capped))34print("step cap with the rules:", ruled_ends["step_cap"])35print("ended early with the rules:", len([t for t in capped if ruled[t][0] != "step_cap"]))36for ended in ENDS:37 print(f" {ended}: {ruled_ends[ended]}")38print("done without the rules:", len(done))39print("done without the rules, tasks:", ", ".join(done))40print("done with the rules:", sum(1 for _, _, ok in ruled.values() if ok))41print("done with the rules, by finish:", sum(1 for ended, _, ok in ruled.values() if ended == "finish" and ok))42print("finish but not done, with the rules:", sum(1 for ended, _, ok in ruled.values() if ended == "finish" and not ok))43print("done with the rules, by ask_user:", sum(1 for ended, _, ok in ruled.values() if ended == "ask_user" and ok))44wrong = [t for t, (ended, _, ok) in plain.items() if ended == "ask_user" and not ok]45print("ask_user but not done, without the rules:", len(wrong))46print("of those, cut early with the rules:", len([t for t in wrong if ruled[t][0] != "ask_user"]))47assert len(capped) == 7 and all(ruled[t][2] for t in done), "a done task must survive the rules"48assert sum(ruled_ends.values()) == len(plain), "every run has one ending"
python stop-rules-over-task-set.pytask set step cap: 16
runs: 20
step cap without the rules: 7
step cap without the rules, tasks: T-01, T-02, T-06, T-10, T-11, T-13, T-16
step cap with the rules: 1
ended early with the rules: 6
finish: 6
ask_user: 1
step_cap: 1
repeated_call: 1
no_progress: 11
no_tool_call: 0
done without the rules: 5
done without the rules, tasks: T-04, T-05, T-09, T-14, T-18
done with the rules: 5
done with the rules, by finish: 4
finish but not done, with the rules: 2
done with the rules, by ask_user: 1
ask_user but not done, without the rules: 6
of those, cut early with the rules: 6
The rules cut stuck runs short without losing a done task. Without them, the budget ends 7 of the 20 runs; with them, only 1 still reaches it.
With the rules on, the most common end was no_progress, at 11 runs, and finish came next, at 6 runs.
Each done task still passes with the rules on, and the example checks it. Of the 5 done runs, 4 end with finish and pass their check, and 1 ends with the ask_user on T-18, which is the fifth. The other 2 finish runs fail their check, so they are not done.
Without the rules, 6 runs asked a question and were not done. With the rules, 6 of those runs ended earlier, and none of them asked. The one ask_user left with the rules on is T-18's, which the scorer counts as done; chapter 10 shows that it counts only through a word in a path. A stop that ends a run early doesn't make the run right. It ends the run before the wrong question is asked, and that run is still not done. The rules cut the waste; they can't tell a right question from a wrong one.
You can check the output yourself. The six endings with the rules on add up to the number of runs, as the lines of the output show, and the done count is the same with the rules and without them. If the done count ever moves, a rule has cut a run that was going to pass, and the rule is the thing to change. If a run in your own work ends stuck, read it in this order: the ended value, then the last few steps, then the first step where a call began to repeat. Those reads take less time than reading the whole transcript.
Working rule: Count each run by the ended value it recorded, and report the counts with the rules on and off, next to the done count. A stop can only turn a run into one that is not done, so when you change a rule, check that the done count holds before you keep the change.
この章での判断
ここに挙げる各項目は、本書が選んだ既定値であり、絶対の規則ではない。実践ルールは、どのような場合に既定値を変えるかを示している。変更は、まず自分のタスクセットで試すべきである。他の誰かがその変更に頼る前に、完了したタスクにどのような影響が出たかを数えて確かめられるからである。
- 停止ルールは任意であり、ループでは既定でオフになっている。停止ルールを使わない実行は、1章のループと同じリクエストを送る。
- 繰り返しの呼び出しとは、同一の呼び出しが3回連続することをいう。比較はツール名と、ソートした引数で行う。
- 進捗なしとは、ハーネスのテスト件数が変わらない編集が2回連続することをいう。1回目の編集は、編集前の件数と比較する。
- 停止は、実行を一つの結果として終了させる。どの停止ルールも人に判断を求めない。引き継ぎはサブエージェントと引き継ぎまで待つことになる。
- ステップ予算は、不正な形式の応答も含めて、モデルの呼び出し回数を数える。この章では、これを時間やトークンの上限としては扱わない。
- 六つの終了の名前は固定である。ゲートは6章で一つ加える。
- 適用したルールとその件数を示す停止は、読み手が確かめられる停止である。予算だけを示す停止は、読み手にすべてのステップをたどり直させる。
この版における本章
第2026.11.2版2026年11月20日時点で例が通過この章の4 例件のうち4件が合格
英語版の書籍(版2026.11.2)から翻訳した。