Commit 55efd31
authored
fix(run): stop per-pass advisory churn on large catalogs (#334)
* 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-dirty
* fix(run): restore crash-loop surfacing in the spec supervisor
Rewiring the spec loop's warning filter dropped the one-shot crash-loop
surface: the GAVE UP diagnostic and the bus notification to the agent's
supervisor never fired for spec-based teams even though the report still
listed the task as flapping. Restore the deduplicated surfacing block
alongside the warning filter.
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-dirty
---------
Co-authored-by: schickling-assistant <schickling-assistant@users.noreply.github.com>1 parent 6d58bc2 commit 55efd31
2 files changed
Lines changed: 108 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
691 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
692 | 708 | | |
693 | 709 | | |
694 | 710 | | |
| |||
1326 | 1342 | | |
1327 | 1343 | | |
1328 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1329 | 1364 | | |
1330 | 1365 | | |
1331 | 1366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1856 | 1856 | | |
1857 | 1857 | | |
1858 | 1858 | | |
| 1859 | + | |
1859 | 1860 | | |
1860 | 1861 | | |
1861 | 1862 | | |
| |||
1873 | 1874 | | |
1874 | 1875 | | |
1875 | 1876 | | |
1876 | | - | |
1877 | 1877 | | |
1878 | 1878 | | |
1879 | 1879 | | |
| |||
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
| 1886 | + | |
1886 | 1887 | | |
1887 | 1888 | | |
1888 | 1889 | | |
| |||
2048 | 2049 | | |
2049 | 2050 | | |
2050 | 2051 | | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
2051 | 2070 | | |
2052 | 2071 | | |
2053 | 2072 | | |
| |||
2093 | 2112 | | |
2094 | 2113 | | |
2095 | 2114 | | |
| 2115 | + | |
2096 | 2116 | | |
2097 | 2117 | | |
2098 | 2118 | | |
| |||
2114 | 2134 | | |
2115 | 2135 | | |
2116 | 2136 | | |
2117 | | - | |
| 2137 | + | |
2118 | 2138 | | |
2119 | 2139 | | |
| 2140 | + | |
2120 | 2141 | | |
2121 | 2142 | | |
2122 | 2143 | | |
| |||
2707 | 2728 | | |
2708 | 2729 | | |
2709 | 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 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
2710 | 2781 | | |
2711 | 2782 | | |
2712 | 2783 | | |
| |||
0 commit comments