Skip to content

Instantly share code, notes, and snippets.

View senna-lang's full-sized avatar

sena inomata senna-lang

View GitHub Profile
@senna-lang
senna-lang / gist.md
Last active April 26, 2026 03:19
Claude Code が採用しなかったPASTEを採用してみる

"more aggressive speculative approaches such as PASTE (sui2026paste), which speculatively pre-executes predicted future tool calls" Claude Code's concurrent-read, serial-write execution model [occupies] "a middle ground between fully serial dispatch and more aggressive speculative approaches such as PASTE."

Claude Codeが採用しなかったPASTE (arXiv:2503.18897)](https://arxiv.org/abs/2503.18897) を クライアントサイドで実装してみる。

オリジナルはサーバーサイドプロキシ前提なのでフル再現はしない。気になったのは parallel tool use では原理的に解けないデータ依存チェーン(search → fetch(result.url) 型)を、クライアントで先回りしたら短縮できるか