Commit 422b574
committed
fix(run): stop per-pass advisory churn on large catalogs
Two reconcile-pass costs repeat every pass even when nothing changed:
- git-exclude spawned `git rev-parse` per op per pass and failed for
workspaces that are plain directories (28 agents on dev3 → ~28 spawns
plus captured git stderr every pass). Probe for a `.git` marker up the
ancestor chain first — the same probe is_git_tracked already uses —
and answer "not a Git worktree" without a process spawn.
- print_report re-printed identical warnings every pass (~7k lines in
hours on dev3). The supervisor loop now deduplicates warnings that
persist across passes while still re-surfacing one that clears and
returns; applied to both the catalog and spec loops.
Part of #314.
Co-authored-by: schickling-assistant <schickling-assistant@users.noreply.github.com>
agent-identity: unknown
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.3
agent-runtime: OMP 18.0.3
tooling-profile: dotfiles@f33cd9c-dirty1 parent 11bcf5d commit 422b574
2 files changed
Lines changed: 110 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
| 535 | + | |
535 | 536 | | |
536 | 537 | | |
537 | 538 | | |
| |||
602 | 603 | | |
603 | 604 | | |
604 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
605 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
606 | 623 | | |
607 | 624 | | |
608 | 625 | | |
| |||
1169 | 1186 | | |
1170 | 1187 | | |
1171 | 1188 | | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
1172 | 1208 | | |
1173 | 1209 | | |
1174 | 1210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1856 | 1856 | | |
1857 | 1857 | | |
1858 | 1858 | | |
| 1859 | + | |
1859 | 1860 | | |
1860 | 1861 | | |
1861 | 1862 | | |
| |||
1874 | 1875 | | |
1875 | 1876 | | |
1876 | 1877 | | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
| 1878 | + | |
1886 | 1879 | | |
1887 | 1880 | | |
1888 | 1881 | | |
| |||
2048 | 2041 | | |
2049 | 2042 | | |
2050 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
2051 | 2062 | | |
2052 | 2063 | | |
2053 | 2064 | | |
| |||
2093 | 2104 | | |
2094 | 2105 | | |
2095 | 2106 | | |
| 2107 | + | |
2096 | 2108 | | |
2097 | 2109 | | |
2098 | 2110 | | |
| |||
2114 | 2126 | | |
2115 | 2127 | | |
2116 | 2128 | | |
2117 | | - | |
| 2129 | + | |
2118 | 2130 | | |
2119 | 2131 | | |
| 2132 | + | |
2120 | 2133 | | |
2121 | 2134 | | |
2122 | 2135 | | |
| |||
2707 | 2720 | | |
2708 | 2721 | | |
2709 | 2722 | | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
2710 | 2773 | | |
2711 | 2774 | | |
2712 | 2775 | | |
| |||
0 commit comments