Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).

## [0.70.0] - 2026-06-12

LLM 性能監査(#121)の最終弾(#120)。配布設定の世代依存ピンを整理した。これで監査計画 P1-P4 の全 14 Issue(#107〜#120)が完了。

### Changed
- **CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS を feature 化(#120)**: settings-base.json への無条件・無文書の埋め込みをやめ、`agent-teams` feature(`ENABLE_AGENT_TEAMS`、全プロファイル既定 true)に切り出し。既存ユーザーの動作は変わらないが、ウィザードでオフにでき、docs/wizard-config-mapping に文書化された。Claude Code 側で agent teams が GA になった際はフラグメントからキーを削除するだけで全ユーザーから除去できる(#75 の kit-remove 経路)
- **settings-base.json の `effortLevel: "high"` 固定を削除(#120)**: 現行 CLI はモデル世代ごとに launch effort を管理しており、デフォルトと同値の静的ピンは将来の製品デフォルト変更を黙って打ち消すだけだった。未変更ユーザーは update の 3-way merge でキーが削除され、明示的に変更済みのユーザーの値は保持される(#75 で修正済みの経路)

### Removed
- **auto-update.sh の `MIN_ASYNC_VERSION` デッド変数を削除(#120)**: v0.55.0 でビルド時判定へ移行した際の残骸(定義 + detach 時の env 伝播の 2 箇所を同時削除)

### Added
- legacy hook 経路(Claude Code < 2.1.89 対応)の退役マイルストーンを宣言し、削除対象を列挙したトラッキング Issue #136 を起票(2026-10 以降の最初の minor で削除予定)

## [0.69.0] - 2026-06-12

LLM 性能監査(#121)P4 の第 3 弾(#119)。CLAUDE.md 注入部(base + partials)の最終縮小。Fable 5 分類器対策(#76 / v0.54.0)と同方向の常時注入削減で、最大構成の合成 kit セクションは約 34% 縮小(ja: 2360 → 1557 bytes)。
Expand Down
4 changes: 0 additions & 4 deletions config/settings-base.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"enableAllProjectMcpServers": false,
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
},
"effortLevel": "high",
"hooks": {},
"language": "__LANGUAGE_NAME__"
}
1 change: 1 addition & 0 deletions docs/wizard-config-mapping.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ These flags are used to merge the corresponding `features/*/hooks.json` fragment
| `ENABLE_PRE_COMPACT_COMMIT` | Pre-compact Snapshot | Stash tracked changes before compact (opt-in; default false in all profiles) | Yes |
| `ENABLE_STATUSLINE` | Statusline | Statusline feature toggle | Yes |
| `ENABLE_DOC_SIZE_GUARD` | Doc Size Guard | Warn when `CLAUDE.md` / `AGENTS.md` is too large | Yes |
| `ENABLE_AGENT_TEAMS` | Agent Teams (experimental) | Injects CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 into settings.json env (default true in all profiles) | Yes |
| `ENABLE_NO_FLICKER` | No Flicker | Reduce display flicker | Yes |
| `ENABLE_FEATURE_RECOMMENDATION` | Feature Recommendation | Notify about newly available features | Yes |

Expand Down
1 change: 1 addition & 0 deletions docs/wizard-config-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
| `ENABLE_PRE_COMPACT_COMMIT` | Pre-compact Snapshot | compact 前に tracked 変更を git stash へ退避(opt-in・全プロファイル既定 false) | はい |
| `ENABLE_STATUSLINE` | Statusline | ステータスライン機能 | はい |
| `ENABLE_DOC_SIZE_GUARD` | Doc Size Guard | 大きすぎる `CLAUDE.md` / `AGENTS.md` を警告 | はい |
| `ENABLE_AGENT_TEAMS` | Agent Teams(実験的) | CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 を settings.json の env に注入(全プロファイル既定 true) | はい |
| `ENABLE_NO_FLICKER` | No Flicker | 表示のちらつき低減設定 | はい |
| `ENABLE_FEATURE_RECOMMENDATION` | Feature Recommendation | 新機能候補の通知 | はい |

Expand Down
14 changes: 14 additions & 0 deletions features/agent-teams/feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "agent-teams",
"displayName": "Agent Teams (experimental)",
"description": "Enable Claude Code experimental agent teams via CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1",
"category": "setting",
"default": true,
Comment on lines +4 to +6
"profiles": {
"minimal": true,
"standard": true,
"full": true
},
"dependencies": [],
"conflicts": []
}
5 changes: 5 additions & 0 deletions features/agent-teams/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
2 changes: 0 additions & 2 deletions features/auto-update/scripts/auto-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ BACKUP_PATH_FILE="${BACKUP_PATH_FILE:-$HOME/.claude/.starter-kit-last-backup}"
STATUS_FILE="${STATUS_FILE:-$HOME/.claude/.starter-kit-update-status}"
LEGACY_CACHE_FILE="${LEGACY_CACHE_FILE:-$HOME/.claude/.starter-kit-update-cache}"
LEGACY_CACHE_TTL="${LEGACY_CACHE_TTL:-86400}"
MIN_ASYNC_VERSION="${MIN_ASYNC_VERSION:-2.1.89}"
AUTO_UPDATE_HOOK="${AUTO_UPDATE_HOOK:-SessionStart}"
AUTO_UPDATE_LEGACY="${AUTO_UPDATE_LEGACY:-0}"

Expand Down Expand Up @@ -81,7 +80,6 @@ _auto_update_maybe_detach() {
STATUS_FILE="$STATUS_FILE" \
LEGACY_CACHE_FILE="$LEGACY_CACHE_FILE" \
LEGACY_CACHE_TTL="$LEGACY_CACHE_TTL" \
MIN_ASYNC_VERSION="$MIN_ASYNC_VERSION" \
AUTO_UPDATE_LEGACY="$AUTO_UPDATE_LEGACY" \
"$0" >/dev/null 2>&1 &
return 0
Expand Down
1 change: 1 addition & 0 deletions i18n/en/strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ STR_FONTS_NO="No - Skip font installation"
STR_CONFIRM_FONTS="Fonts"
STR_CONFIRM_STATUSLINE="Status Line"
STR_CONFIRM_NO_FLICKER="No Flicker"
STR_CONFIRM_AGENT_TEAMS="Agent Teams (experimental)"
STR_CONFIRM_FEATURE_RECOMMENDATION="Feature Rec."

# Font installation messages
Expand Down
1 change: 1 addition & 0 deletions i18n/ja/strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ STR_FONTS_NO="いいえ - フォントのインストールをスキップ"
STR_CONFIRM_FONTS="フォント"
STR_CONFIRM_STATUSLINE="ステータスライン"
STR_CONFIRM_NO_FLICKER="フリッカー防止"
STR_CONFIRM_AGENT_TEAMS="Agent Teams(実験的機能)"
STR_CONFIRM_FEATURE_RECOMMENDATION="機能レコメンド"

# Font installation messages
Expand Down
3 changes: 2 additions & 1 deletion lib/features.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ declare -g -A _FEATURE_FLAGS=(
[statusline]=ENABLE_STATUSLINE
[doc-size-guard]=ENABLE_DOC_SIZE_GUARD
[no-flicker]=ENABLE_NO_FLICKER
[agent-teams]=ENABLE_AGENT_TEAMS
[feature-recommendation]=ENABLE_FEATURE_RECOMMENDATION
)

Expand All @@ -54,7 +55,7 @@ declare -g -A _FEATURE_HAS_SCRIPTS=(
declare -g -a _FEATURE_ORDER=(
safety-net tmux-hooks doc-blocker prettier-hooks biome-hooks
pr-creation-log pre-compact-commit
auto-update web-content-update statusline doc-size-guard no-flicker
auto-update web-content-update statusline doc-size-guard no-flicker agent-teams
feature-recommendation
)

Expand Down
1 change: 1 addition & 0 deletions profiles/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ ENABLE_FONTS_SETUP=true

ENABLE_DOC_SIZE_GUARD=true
ENABLE_NO_FLICKER=false
ENABLE_AGENT_TEAMS=true
ENABLE_FEATURE_RECOMMENDATION=true
1 change: 1 addition & 0 deletions profiles/minimal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ ENABLE_FONTS_SETUP=false

ENABLE_DOC_SIZE_GUARD=false
ENABLE_NO_FLICKER=false
ENABLE_AGENT_TEAMS=true
ENABLE_FEATURE_RECOMMENDATION=false
1 change: 1 addition & 0 deletions profiles/standard.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ ENABLE_FONTS_SETUP=true

ENABLE_DOC_SIZE_GUARD=false
ENABLE_NO_FLICKER=false
ENABLE_AGENT_TEAMS=true
ENABLE_FEATURE_RECOMMENDATION=true
11 changes: 11 additions & 0 deletions tests/unit/test-content-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,14 @@
fail "$test_name"
fi
}

{
test_name="content-cleanup: settings-base has no generation-dependent pins (env / effortLevel)"
if ! jq -e 'has("env") or has("effortLevel")' "$PROJECT_DIR/config/settings-base.json" >/dev/null \
&& jq -e '.env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1"' "$PROJECT_DIR/features/agent-teams/hooks.json" >/dev/null \
&& grep -q '\[agent-teams\]=ENABLE_AGENT_TEAMS' "$PROJECT_DIR/lib/features.sh"; then
pass "$test_name"
else
fail "$test_name"
fi
}
Comment on lines +103 to +112
1 change: 1 addition & 0 deletions wizard/defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ENABLE_PRETTIER_HOOKS="false"
ENABLE_BIOME_HOOKS="false"
ENABLE_PR_CREATION_LOG="false"
ENABLE_GHOSTTY_SETUP="false"
ENABLE_AGENT_TEAMS="true"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve agent teams for existing custom profiles

For existing installs saved with PROFILE=custom, this default is not applied on update or saved-config reuse: _restore_config_from_manifest calls load_profile_config "$PROFILE", and fill_missing_profile_defaults custom also routes through load_profile_config, but there is no profiles/custom.conf, so old custom configs that lack ENABLE_AGENT_TEAMS leave it empty. In that scenario build_settings_file skips the new agent-teams fragment and the 3-way merge removes CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS from users who had the previous unconditional setting, changing behavior despite the intended default being true.

Useful? React with 👍 / 👎.

ENABLE_FONTS_SETUP="false"

SELECTED_PLUGINS=""
2 changes: 1 addition & 1 deletion wizard/registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ _CONFIG_KEYS=(
ENABLE_MEMORY_PERSISTENCE ENABLE_STRATEGIC_COMPACT ENABLE_PR_CREATION_LOG
ENABLE_PRE_COMPACT_COMMIT ENABLE_SAFETY_NET ENABLE_AUTO_UPDATE ENABLE_WEB_CONTENT_UPDATE
ENABLE_STATUSLINE ENABLE_GHOSTTY_SETUP ENABLE_FONTS_SETUP ENABLE_DOC_SIZE_GUARD
ENABLE_NO_FLICKER ENABLE_FEATURE_RECOMMENDATION
ENABLE_NO_FLICKER ENABLE_FEATURE_RECOMMENDATION ENABLE_AGENT_TEAMS
""
DISMISSED_FEATURES
""
Expand Down
2 changes: 2 additions & 0 deletions wizard/steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ _step_confirm() {
printf "%-20s : %s\n" "$STR_CONFIRM_FONTS" "$(_bool_label_enabled "$ENABLE_FONTS_SETUP")"
printf "%-20s : %s\n" "$STR_CONFIRM_STATUSLINE" "$(_bool_label_enabled "${ENABLE_STATUSLINE:-false}")"
printf "%-20s : %s\n" "$STR_CONFIRM_NO_FLICKER" "$(_bool_label_enabled "${ENABLE_NO_FLICKER:-false}")"
printf "%-20s : %s\n" "$STR_CONFIRM_AGENT_TEAMS" "$(_bool_label_enabled "${ENABLE_AGENT_TEAMS:-false}")"
printf "%-20s : %s\n" "${STR_CONFIRM_FEATURE_RECOMMENDATION:-Feature Rec.}" "$(_bool_label_enabled "${ENABLE_FEATURE_RECOMMENDATION:-false}")"

local hook_labels=()
Expand Down Expand Up @@ -356,6 +357,7 @@ _fill_noninteractive_defaults() {
[[ -z "$ENABLE_NEW_INIT" ]] && ENABLE_NEW_INIT="true"
[[ -z "${ENABLE_STATUSLINE:-}" ]] && ENABLE_STATUSLINE="true"
[[ -z "${ENABLE_NO_FLICKER:-}" ]] && ENABLE_NO_FLICKER="false"
[[ -z "${ENABLE_AGENT_TEAMS:-}" ]] && ENABLE_AGENT_TEAMS="true"
[[ -z "${ENABLE_FEATURE_RECOMMENDATION:-}" ]] && ENABLE_FEATURE_RECOMMENDATION="false"
[[ -z "${ENABLE_WEB_CONTENT_UPDATE:-}" ]] && ENABLE_WEB_CONTENT_UPDATE="false"
[[ -z "$ENABLE_GHOSTTY_SETUP" ]] && ENABLE_GHOSTTY_SETUP="false"
Expand Down
1 change: 1 addition & 0 deletions wizard/wizard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENABLE_GHOSTTY_SETUP="${ENABLE_GHOSTTY_SETUP:-}"
ENABLE_FONTS_SETUP="${ENABLE_FONTS_SETUP:-}"
ENABLE_DOC_SIZE_GUARD="${ENABLE_DOC_SIZE_GUARD:-}"
ENABLE_NO_FLICKER="${ENABLE_NO_FLICKER:-}"
ENABLE_AGENT_TEAMS="${ENABLE_AGENT_TEAMS:-}"
ENABLE_FEATURE_RECOMMENDATION="${ENABLE_FEATURE_RECOMMENDATION:-}"

DISMISSED_FEATURES="${DISMISSED_FEATURES:-}"
Expand Down
Loading