Skip to content

feat: 配布設定の世代依存ピンを整理(#120、v0.70.0)#137

Merged
okash1n merged 1 commit into
mainfrom
issue/120-config-pins
Jun 12, 2026
Merged

feat: 配布設定の世代依存ピンを整理(#120、v0.70.0)#137
okash1n merged 1 commit into
mainfrom
issue/120-config-pins

Conversation

@okash1n

@okash1n okash1n commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

概要

LLM 性能監査計画 #121 の最終 Issue P4-14(#120)。これで P1-P4 全 14 Issue が完了。

変更内容

検証

  • unit 343/343(ピン不在 + fragment 正の静的テスト追加)/ scenarios 44 Pass + 1 Skip / shellcheck green
  • 内部レビュー(code-reviewer agent): Adding a New Feature の 12 項目突合で medium 1 件(defaults.conf の ENABLE_AGENT_TEAMS 欠落 — custom プロファイルで false 化)→ 修正済み。update 3 経路の補完・pending 誤通知なし・merge 削除経路は確認済み

Closes #120

….70.0)

- CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS を settings-base から agent-teams feature へ切り出し(全プロファイル既定 true・文書化・GA 時の除去経路確保)
- settings-base の effortLevel: high 固定を削除(CLI の世代別 effort 管理に委譲、ユーザー上書きは merge で保持)
- auto-update.sh の MIN_ASYNC_VERSION デッド変数を 2 箇所同時削除
- legacy hook 経路の退役マイルストーンを Issue #136 として起票

Closes #120
Copilot AI review requested due to automatic review settings June 12, 2026 04:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 244693af1f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread wizard/defaults.conf
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 👍 / 👎.

@okash1n okash1n merged commit d5cf026 into main Jun 12, 2026
12 checks passed
@okash1n okash1n deleted the issue/120-config-pins branch June 12, 2026 04:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

配布設定に含まれていた世代依存・実験フラグの「常時ピン」を整理し、既存挙動を維持しつつ設定の可搬性/将来追従性を上げる変更です。CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 の feature 化と、effortLevel: "high" の静的ピン撤去、auto-update のデッド変数削除を通して、配布物が将来の CLI デフォルトを黙って上書きしない方向に寄せています。

Changes:

  • CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1agent-teams feature(ENABLE_AGENT_TEAMS)へ切り出し、wizard/profiles/docs に配線
  • config/settings-base.json から enveffortLevel のピンを削除し、テストで担保
  • auto-update の MIN_ASYNC_VERSION デッド変数を削除し、detach 経路の env 伝播も合わせて整理

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
wizard/wizard.sh ENABLE_AGENT_TEAMS の wizard グローバル初期化を追加
wizard/steps.sh 確認表示に Agent Teams を追加し、非対話 defaults を追加
wizard/registry.sh wizard の config allowlist/save 対象に ENABLE_AGENT_TEAMS を追加
wizard/defaults.conf custom profile 用 defaults に ENABLE_AGENT_TEAMS=true を追加
tests/unit/test-content-cleanup.sh settings-base から世代依存ピンが消えたこと等の静的テストを追加
profiles/standard.conf ENABLE_AGENT_TEAMS=true を追加
profiles/minimal.conf ENABLE_AGENT_TEAMS=true を追加
profiles/full.conf ENABLE_AGENT_TEAMS=true を追加
lib/features.sh feature registry に agent-teams を登録し merge 順序へ追加
i18n/ja/strings.sh confirm 表示用ラベルを追加
i18n/en/strings.sh confirm 表示用ラベルを追加
features/auto-update/scripts/auto-update.sh MIN_ASYNC_VERSION の定義/伝播を削除
features/agent-teams/hooks.json env 注入フラグメントを新規追加
features/agent-teams/feature.json Agent Teams feature メタデータを新規追加
docs/wizard-config-mapping.md ENABLE_AGENT_TEAMS をマッピング表に追記
docs/wizard-config-mapping.en.md ENABLE_AGENT_TEAMS をマッピング表に追記
config/settings-base.json enveffortLevel の静的ピンを削除
CHANGELOG.md v0.70.0 として変更点を記録

Comment on lines +4 to +6
"description": "Enable Claude Code experimental agent teams via CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1",
"category": "setting",
"default": true,
Comment on lines +103 to +112
{
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P4-14] 配布設定の世代依存ピンの整理(agent-teams env / effortLevel / legacy 経路 / dead var)

2 participants