A personal story on upgrading Ruby from 3.1 to 3.4 and Rails from 6.1 to 7.2 in a live project. Reflection on using AI tools to speed up the process. Shared challenges and lessons learned.
I like the idea of RSS, but none of the RSS readers stuck with me, until I implemented one of my
own, using a somewhat unusual technique. There's at least one other person using this approach now,
so let's write this down.
Claude CodeのTaskツールの並列実行(parallelTasksCount)は分析タスク向け
Claude CodeのTaskツールは派生元となる親エージェントの処理から子エージェントがメッセージAPI呼び出しを非同期で実行しているが、この時の子の数がparallelTasksCountの設定値になる。デフォルトでは「1」に設定されている。
これを上書きするコマンドは以下になる。設定値を上げるとトークン消費量が増加するので注意してほしい。
claude config set -g parallelTasksCount 2
parallelTasksCountはTaskツール実行時の動作を変える。簡単なテスト方法はClaude CodeにTaskツールを使ってくれと直接頼むことだ。parallelTasksCountの数だけ「Initializing N parallel agents…」がコンソールに出力される。
Tyler Burnamのポストではこの並列数がタスク完了速度に寄与するという説明をしているが、筆者が調べたところによるとそれは正確でなかった。
Taskツールの並列実行は親となるエージェント・内部的にはSynthesis Agentと呼ばれる、が子に対して
How to Write Compelling Software Release Announcements
A release announcement showcases how the user's experience is better today than it was yesterday. That sounds obvious, but most release announcements seem to forget that there's a user at all.
Learn how to handle API request versioning in Rails without duplicating controllers, using a schema-based approach that supports OpenAPI documentation and seamlessly maps external API structures to internal models.
One of my colleagues wrote a pretty awesome tool called claude-swarm that orchestrates multiple Claude Code instances as a collaborative AI development team. At Shopify, we are attempting to use it to generate Ruby unit tests at some scale with an army of AI test agents (think a “Ruby Expert” paired with a “TDD Practitioner” and a “Code Review Nitpicker”). But for the purposes of this post, let’s just upgrade Ruby in a few projects.