Claude Code tip: transcripts older than 30 days are deleted silently by default. Those sessions vanish from /resume.
Keep them longer in ~/.claude/settings.json:
"cleanupPeriodDays": 365
0 fails validation; min is 1.
Docs checked Nov 13, v2.1.323.
How long do you keep them?
1
35
Source: Claude Code settings reference (cleanupPeriodDays) and "Cleaned up automatically" in the .claude directory docs
code.claude.com/docs/en/sett…
22
【速報】Claude Code 2.1.323(11/13公開)
①Code Mode(実験的・オプトイン):ClaudeがJSを書いてツールを呼ぶ
②plugin.json に engines["claude-code"]:対応版外のプラグインは読み込まれない
③Bash(PORT=* npm run dev) のように変数内に * がある allow ルールは起動時に警告
#ClaudeCode
出典:公式CHANGELOG(11/13確認、npm latest 2.1.323)
github.com/anthropics/claude…
ほかに /compact の取りこぼしや resume 時の不具合などの修正も多数入っています。
9
Codex CLI tip: in the default workspace-write sandbox, network access is off, so npm install or curl inside a run can fail.
To allow it, add to ~/.codex/config.toml:
[sandbox_workspace_write]
network_access = true
Do you keep network off by default, or turn it on?
1
9
Source: OpenAI Codex docs, Agent approvals & security (checked 2026-11-12; @openai/codex 0.167.2 on npm)
learn.chatgpt.com/docs/agent…
8
【Tips】Gemini CLI は既定で GEMINI.md しか読みません。Codex などと共用の AGENTS.md があるなら、.gemini/settings.json にこう書けば両方読み込みます:
"context": { "fileName": ["AGENTS.md", "GEMINI.md"] }
読み込まれた中身は /memory show で確認できます。
#GeminiCLI
1
10
11/12 に公式の設定ドキュメント(context.fileName / Context files)で確認、npm の Gemini CLI は 0.68.0。読み込み先はホーム(~/.gemini/)→ プロジェクトのルートまでの親ディレクトリ → サブディレクトリの順で、中身は連結されます。
github.com/google-gemini/gem…
7
Gemini CLI tip: no need for a separate GEMINI.md. In .gemini/settings.json:
"context": { "fileName": ["AGENTS.md", "GEMINI.md"] }
Both load (global, project, subdirs). /memory show prints the merged context.
Docs checked Nov 11, v0.68.0.
One file, or one per tool?
1
14
Source: Gemini CLI configuration docs (context.fileName / Context files)
github.com/google-gemini/gem…
New to Gemini CLI? Install and auth walkthrough:
agentkoji.com/en/articles/ge…
10
【Tips】Codex CLI が実行するコマンドには、名前に KEY / SECRET / TOKEN を含む環境変数も渡ります。ignore_default_excludes の既定が true で、自動除外がオフのためです。
除外するなら ~/.codex/config.toml に:
[shell_environment_policy]
ignore_default_excludes = false
#Codex
1
13
11/11 に公式 Codex ドキュメント(Config basics > Command environment)で確認、npm の Codex CLI は 0.167.1。さらに絞るなら [shell_environment_policy.filters] で "PATH" = "include" のように必要なものだけ残せます。
developers.openai.com/codex/…
9
Codex CLI tip: commands Codex runs get env vars with KEY / SECRET / TOKEN in the name. ignore_default_excludes defaults to true, so that filter is off.
To strip them, in ~/.codex/config.toml:
[shell_environment_policy]
ignore_default_excludes = false
Do you filter yours?
2
13
Checked Nov 10 in the official Codex docs (Config basics > Command environment), Codex CLI 0.167.0 on npm. To go further, keep only what you need with [shell_environment_policy.filters], e.g. "PATH" = "include".
developers.openai.com/codex/…
9
【速報】Claude Code 2.1.321 はセキュリティ修正多め、更新推奨
・MCP の OAuth がリダイレクト時に refresh token 等を別ホストへ送る問題
・読み取り専用の Bash が確認なしでサンドボックス外で動くケース
・cp/mv でディレクトリへ書いたファイルに deny ルールが効かない問題
#ClaudeCode
1
8
出典:公式 CHANGELOG と npm を 11/10 確認。2.1.321 は 11/10 4:02 JST 公開。いまの latest 2.1.322(10:58 JST)は Vertex の fast mode 追加だけなので、どちらに上げても上の修正は入ります。
github.com/anthropics/claude…
5
Claude Code tip: "async": true runs a command hook in the background, but it can't block. decision, permissionDecision and continue are ignored, and timeout isn't enforced.
For failures, "asyncRewake": true wakes Claude on exit 2, even when idle.
Tests in hooks: sync or async?
1
10
Also: with claude -p, any async hook still running at teardown is killed (outcome: cancelled). Detach the process if the work must outlive the session.
Hooks reference, checked Nov 9 (npm latest 2.1.319):
code.claude.com/docs/en/hook…
8
【Tips】Claude Code の HTTP フック(type: "http")の落とし穴2つ。
①headers の $TOKEN は allowedEnvVars に書かないと空文字になる
②非2xx や本文がプレーンテキストだと非ブロッキングエラーで処理が進む。止めたいなら "onFailure": "block"
#ClaudeCode
1
5
出典:公式 hooks リファレンスの HTTP hook fields と HTTP response handling(11/9 確認、v2.1.319)
code.claude.com/docs/en/hook…
6
