Skip to content

Commit c7c8b17

Browse files
committed
fix: keep the default reconcile output byte-identical
Found auditing this branch against main. Widening the band column to fit `needs-review` changed the printed output of the DEFAULT path too — every existing Mind-local run gained six columns of indent for a band that run can never emit. The suspects themselves were unaffected (verified identical against main, 29 of 135, no keys removed), but the text a human reads had shifted for work that has nothing to do with this feature. The width now follows the widest band actually present, floored at the previous 6. A default run prints exactly what main printed; only a run that emits `needs-review` widens. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PY39MRi1oPbxhhr6tDToQU
1 parent 875330f commit c7c8b17

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

agents/conductors/intake/_intake.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,13 +1080,18 @@ def emit_reconcile(res: dict):
10801080
if not res["suspects"]:
10811081
print(" backlog reconciles clean against the complete/ records "
10821082
"and active/.")
1083+
# Column width follows the widest band actually present, so the default
1084+
# (Mind-local) run stays byte-identical to what it printed before the
1085+
# upstream leg existed — only a run that emits `needs-review` widens.
1086+
width = max((len(s["confidence"]) for s in res["suspects"]), default=6)
1087+
width = max(width, 6)
10831088
for s in res["suspects"]:
1084-
print(f"[{s['confidence']:>12}] {s['path']}")
1089+
print(f"[{s['confidence']:>{width}}] {s['path']}")
10851090
for f in s["findings"]:
10861091
ev = f["evidence"]
10871092
if len(ev) > 160:
10881093
ev = ev[:157] + "…"
1089-
print(f" {f['kind']}: {ev}")
1094+
print(f"{' ' * (width + 3)}{f['kind']}: {ev}")
10901095
print("\nRetiring a prompt stays human: verify against the target repo's "
10911096
"git log / merged\nPRs, then retire it to the complete/ archive by hand.")
10921097
if up:

0 commit comments

Comments
 (0)