Commit 13cc7fd
Fix false fan-out: count unique consumers, not edge count
gem_to_bar had 2 edges to alloy_furnace (one enhancement, one main
from dedup) which triggered false fan-out detection, preventing
supply propagation. Alloy showed qty=8 (demand) instead of qty=6
(supply-constrained: 12 bars / 2 per alloy = 6).
Fix: count unique consumer NODE IDs, not raw edge count.
gem_to_bar → alloy (2 edges, 1 consumer) = NOT fan-out → propagate.
alloy → bolt/plate/frame/super/coiler (5 consumers) = fan-out → stop.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f5b8985 commit 13cc7fd
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
| |||
0 commit comments