Self‑hosted runner に post‑session フックと SIGTERM→SIGKILL ウィンドウ設定を追加(ドキュメント更新)
2.1.169 リリースの CHANGELOG と RSS フィードが更新され、Self‑hosted runner の新機能として post‑session ライフサイクルフックと子プロセス終了待機時間の設定が明示されました。
背景
このリリースでは、実装コードに変更はなく、公式に公開する情報が追加されています。CHANGELOG はプロジェクトの変更履歴として、利用者がバージョン間の差分を把握する主要な手段です。RSS フィード(feed.xml)は同情報を自動取得できる形で配信し、外部ツールや購読者に即時通知を可能にします。今回の更新は、post‑session フックと SIGTERM→SIGKILL ウィンドウ設定という機能追加を文書化したものです。
技術的な変更
CHANGELOG.md に以下の行が追記されました。
@@ -7,6 +7,7 @@
## 2.1.169
+- Self-hosted runner: added a `post-session` lifecycle hook that runs after the session ends and before the workspace is deleted, so you can snapshot uncommitted work or export logs; also made the child-process SIGTERM→SIGKILL window configurable (default unchanged at 5s)
- Added `--safe-mode` flag (and `CLAUDE_CODE_SAFE_MODE`) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting
- Added `/cd` command to move a session to a new working directory without breaking the prompt cache mid-session
- Added a `disableBundledSkills` setting and `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` environment variable to hide bundled skills, workflows, and built-in slash commands from the model
同内容が feed.xml の <content> 要素にも反映され、RSS リーダーが新機能情報を取得できるようになっています。
@@ -20,7 +20,8 @@
<title>Claude Code v2.1.169</title>
<link rel="alternate" type="text/html" href="https://github.com/anthropics/claude-code/releases/tag/v2.1.169"/>
<updated>2026-06-08T21:57:10Z</updated>
- <content type="html"><p>• Added --safe-mode flag (and CLAUDE_CODE_SAFE_MODE) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting</p>
+ <content type="html"><p>• Self-hosted runner: added a post-session lifecycle hook that runs after the session ends and before the workspace is deleted, so you can snapshot uncommitted work or export logs; also made the child-process SIGTERM→SIGKILL window configurable (default unchanged at 5s)</p>
+<p>• Added --safe-mode flag (and CLAUDE_CODE_SAFE_MODE) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting</p>
<p>• Added /cd command to move a session to a new working directory without breaking the prompt cache mid-session</p>
<p>• Added a disableBundledSkills setting and CLAUDE_CODE_DISABLE_BUNDLED_SKILLS environment variable to hide bundled skills, workflows, and built-in slash commands from the model</p>
<p>• Fixed Up/Down arrows jumping to command history past the wrapped rows of a long input line — they now move through each visual row first, and history recall enters at the near edge</p>
設計判断
今回の変更は ドキュメント層の情報公開 を拡充する方針に沿ったものです。実装コードは変更されていないため、既存のランナー挙動や設定に影響を与えることはありません。CHANGELOG と feed.xml の両方を更新することで、手動でリリースノートを確認するユーザーと、自動的に更新情報を取得する RSS 購読者の双方に新機能を伝達できる設計となっています。
まとめ
2.1.169 リリースで Self‑hosted runner に post‑session ライフサイクルフックと SIGTERM→SIGKILL ウィンドウ設定が追加されたことが、公式ドキュメント(CHANGELOG)と RSS フィード(feed.xml)に記載されました。コードベースへの影響はなく、情報提供の拡充のみが行われたため、ユーザーは新機能を認識しやすくなります。