Commit eb9f69b
feat(plugin): discovery scratchpad, design subagents, hybrid change strategy
Three process improvements based on production feedback:
1. Discovery scratchpad (discovery.md): Persist elaboration findings to
.ai-dlc/{slug}/discovery.md during Phase 2.5 domain discovery. Offloads
detailed findings from context to disk, keeping the context window lean.
Injected into subagent context (section headers) and session start
(section count indicator). Copied into intent worktree in Phase 6.
2. Design analysis via subagents: Delegate Figma/design analysis to
general-purpose subagents during elaboration to avoid flooding the main
context window with design data. One subagent per design file, spawned
in parallel with codebase exploration.
3. Hybrid per-unit change strategy: A foundational unit can use "unit"
strategy (own PR to main) while remaining units use "intent" strategy
(merge to intent branch). Adds parse_unit_change_strategy() to dag.sh,
updates advance/construct merge logic, and adds hybrid-aware integrator
skip checks.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8359fa0 commit eb9f69b
File tree
7 files changed
+298
-14
lines changed- plugin
- hooks
- lib
- skills
- advance
- construct
- elaborate
- fundamentals
7 files changed
+298
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
384 | 395 | | |
385 | 396 | | |
386 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
119 | 133 | | |
120 | 134 | | |
121 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
112 | 141 | | |
113 | 142 | | |
114 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
| |||
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
183 | 206 | | |
184 | 207 | | |
185 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
355 | 358 | | |
356 | 359 | | |
357 | 360 | | |
| |||
625 | 628 | | |
626 | 629 | | |
627 | 630 | | |
628 | | - | |
| 631 | + | |
629 | 632 | | |
630 | 633 | | |
631 | | - | |
| 634 | + | |
632 | 635 | | |
| 636 | + | |
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
637 | 669 | | |
638 | | - | |
639 | | - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
640 | 675 | | |
641 | 676 | | |
642 | 677 | | |
| |||
698 | 733 | | |
699 | 734 | | |
700 | 735 | | |
701 | | - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
702 | 739 | | |
703 | 740 | | |
704 | 741 | | |
| 742 | + | |
705 | 743 | | |
706 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
707 | 754 | | |
708 | 755 | | |
709 | | - | |
| 756 | + | |
710 | 757 | | |
711 | 758 | | |
712 | 759 | | |
| |||
0 commit comments