chore(repo): AI 協働の開発運用を明文化 (worktree/sweep・Issue 引き継ぎ・labeler, ADR-0029)#193
Merged
Merged
Conversation
…029) skopos_old で実績のある運用を移植: - git worktree 並行作業の明文化 + scripts/sweep.sh (git sweep) による マージ後掃除 (安全側スキップ: 現在地/dirty/使用中。ADR-0029) - 「引き継ぎの真実は Issue に置く」二層情報管理 + ISSUE_TEMPLATE (bug/feature) - labeler による pkg:* ラベルの自動付与 - PR タイトル = Conventional Commits / ブランチ命名 <type>/<説明> の明文化 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🚀 Preview Deployment
Deployed from commit 148b1c8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skopos_old で実績のある AI 協働運用を TypedCode に移植する。①git worktree 並行作業の明文化と
git sweep(scripts/sweep.sh) によるマージ後掃除 (ADR-0029)、②「引き継ぎの真実は Issue に置く」二層情報管理 + Issue テンプレート、③labeler によるpkg:*ラベル自動付与、④PR タイトル = Conventional Commits / ブランチ命名<type>/<説明>の明文化。CONTRIBUTING.md を「開発の進め方」として改訂し、ルート CLAUDE.md に「開発フロー」節を追加。追加コミット (a2fbea6): ⑤モデルの役割分担 (コスト最適化) — 高コストモデル (Fable) をメインループにする場合、コード編集は
.claude/agents/のサブエージェント (implementer = Opus 4.8 / mechanic = Sonnet 5) に委譲する構成と運用ルールを追加。Test plan
npx vitest run scripts/sweep.test.ts— sweep.sh の統合テスト 9 件 pass (使い捨て origin+clone を組み立てて実挙動を検証。CI 常設ではなくスクリプト変更時に手元で回す方針、ADR-0029 参照)npm run lint— exit 0 (新規ファイルへの警告なし)pkg:*を自動付与すること (pull_request_targetのため main 反映後に有効)・New issue にテンプレートが出ることimplementer/mechanicエージェントが Agent ツールから見えることDocumentation impact
docs/adr/0029-merge-cleanup-script.mdを追加したADR (該当する場合)
Related issues / PRs
付随作業 (リポジトリ設定・ローカル設定)
pkg:e2eを作成済み (labeler.yml が参照)git config fetch.prune true/git config alias.sweep '!bash scripts/sweep.sh'を設定済み (他の clone では CONTRIBUTING の手順で各自設定)🤖 Generated with Claude Code