✷ ハーネス
AIエージェント・ハーネスのソース解体
エージェントのハーネスをソースコードから読み解くラーニングパス。すべての主張は開けるファイルとコミットに紐づいている。
基礎
- What a Harness Actually Is, in 190 Lines of Code
The word harness is everywhere now, and almost nobody points out that it names two things at once: the program that runs the loop, and the files you prepare for it inside your own repository. Keep those fused and every harness article you read will, at some point, stop lining up. This one pulls them apart using the main loop of mini-swe-agent — 190 lines, short enough to read in one sitting, and each of the five subsystems (instructions, tools, environment, state, feedback) lands on a line number you can point at.