feat: mille add --depth — サブディレクトリを個別レイヤーとして追加#89
Merged
Conversation
CLI args テスト: test_parse_add_with_depth E2E テスト 5件: depth_creates_multiple_layers, depth_preserves_existing, depth_with_conflict_skips, depth_with_force_replaces, without_depth_unchanged Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
mille add <path> --depth Nでサブディレクトリを個別レイヤーとして複数追加mille initと同じ depth ベースのレイヤー検出(auto_detect_layer_depth+infer_layers)を再利用--forceで置換可能)使用例
変更ファイル
src/presentation/cli/args.rs—--depthオプション追加src/runner.rs—scan_target_with_depth+ 複数レイヤー追加ロジックtests/e2e_add.rs— depth 関連 E2E テスト 5件追加README.md—--depthドキュメント追加docs/TODO.md— 実装状況更新Test plan
test_parse_add_with_depthdepth_creates_multiple_layers,depth_preserves_existing_layers,depth_with_conflict_skips_overlapping,depth_with_force_replaces_overlapping,without_depth_unchangedcargo test全テスト 0 FAILEDcargo clippy -- -D warningsパス🤖 Generated with Claude Code