code-coordinator 0.5.484__py3-none-any.whl → 0.5.485__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-coordinator
3
- Version: 0.5.484
3
+ Version: 0.5.485
4
4
  Summary: Coordinate Claude Code workers across multiple machines and repos.
5
5
  Author-email: John Donaghy <johnfdonaghy@gmail.com>
6
6
  License-Expression: LicenseRef-FSL-1.1-MIT
@@ -1,4 +1,4 @@
1
- code_coordinator-0.5.484.dist-info/licenses/LICENSE,sha256=851BVZZwf_pEv2ydSlMmcZrwnwSS5YJ98wdLze7lyL8,4212
1
+ code_coordinator-0.5.485.dist-info/licenses/LICENSE,sha256=851BVZZwf_pEv2ydSlMmcZrwnwSS5YJ98wdLze7lyL8,4212
2
2
  coord/__init__.py,sha256=3FN2qrrxtW87xSsSD557YcMwHLDahnFK8LvqQI7Wlf4,9783
3
3
  coord/_board_mapping.py,sha256=dA5BmLcpDpy_JoK0SbZMUOklT9Dd5o5zxlNEeFM6JPE,12403
4
4
  coord/acceptance.py,sha256=FHvFwstoJbFiGik-_a5FzKI5D5_kxSzWi2ePNKTM6hM,116533
@@ -150,7 +150,7 @@ coord/commands/dispatch.py,sha256=dXMU2NsztsPC_CME3C7SN7S6EagVaYp7r-_18bMGOFA,10
150
150
  coord/commands/dispatch_workers.py,sha256=NDWx95R1YZ01iVMM0xGseLhLqVRXbLlZLhkorjMBGpw,220719
151
151
  coord/commands/dr.py,sha256=dVPJN2eZypKBH-YfwXbceveju3noQROI2uPihN66l70,9012
152
152
  coord/commands/drive.py,sha256=r0qNudGpVEHGfe_i9GDXRR6jBtpLP2H6yZgeqLbDMsM,29381
153
- coord/commands/drive_queue.py,sha256=M-WT6MCE7sqv63wPlxFoNOnK5l6lX7gjJ-70D_6AUro,271357
153
+ coord/commands/drive_queue.py,sha256=5A-q9HCfATgjaMAl5u5ibMuhOfzm1Seq4XQ0gPkLWhE,275215
154
154
  coord/commands/gate_a.py,sha256=A_QFAPWklA-WWARpKl1kgovEyRojpwnfdHsjnaCGRQo,12046
155
155
  coord/commands/gates.py,sha256=qCMbmEOpxU12sS21nE9Ct2mPEslUCIRpyQniDpRtT5g,3685
156
156
  coord/commands/issues.py,sha256=WzlD__t3VnkH_LcqgduMvc6tHt7THr_1yLn5QP8HGJw,34246
@@ -269,8 +269,8 @@ coord/skills/review-verdict-recovery/SKILL.md,sha256=Grg8GWkJLK20ct2YiigbTFfNOki
269
269
  coord/skills/tui-quadraui-workflow/SKILL.md,sha256=4hUZza9wSSnPhf0eRAOh2r_MQZxK2pXYO5g-kxmJq-U,3832
270
270
  coord/skills/update-issue/SKILL.md,sha256=VrPinEmLZrCSNDrnz96hQomyO403o5c4i0RdsnUnWA0,3642
271
271
  coord/templates/deploy-cloudflare.node.yml,sha256=icsTiWn2ziQJnpZODhhFKYlnqjt2xAXsbwlQufdxhuM,2078
272
- code_coordinator-0.5.484.dist-info/METADATA,sha256=CYF5W-peHG10vPSiwjd9U_2WDIKrBuqINQ0rMGsyWkw,27178
273
- code_coordinator-0.5.484.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
274
- code_coordinator-0.5.484.dist-info/entry_points.txt,sha256=o-Hq8pvG7ReGePvN_4iOKjLNqiq-MJ43HbPurqjNPZo,41
275
- code_coordinator-0.5.484.dist-info/top_level.txt,sha256=w5sTrXesTCebhXyYv2qufOZGo0PoD1Lxgn0Q3MAXjh4,6
276
- code_coordinator-0.5.484.dist-info/RECORD,,
272
+ code_coordinator-0.5.485.dist-info/METADATA,sha256=uY2UTZqp8CTyYAeOHo80lZNP9Jync8Jr2DREYWfFRcg,27178
273
+ code_coordinator-0.5.485.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
274
+ code_coordinator-0.5.485.dist-info/entry_points.txt,sha256=o-Hq8pvG7ReGePvN_4iOKjLNqiq-MJ43HbPurqjNPZo,41
275
+ code_coordinator-0.5.485.dist-info/top_level.txt,sha256=w5sTrXesTCebhXyYv2qufOZGo0PoD1Lxgn0Q3MAXjh4,6
276
+ code_coordinator-0.5.485.dist-info/RECORD,,
@@ -1253,6 +1253,40 @@ def drive_queue_list(repo: str | None, output_json: bool, config_path: Path) ->
1253
1253
  for key in cycle:
1254
1254
  cycle_keys[key] = message
1255
1255
 
1256
+ # #3369: `states` above is a single static snapshot of the raw persisted
1257
+ # rows — sufficient for a dependent whose pre-req is DIRECTLY `blocked`
1258
+ # on #2806's unconfirmed-probe text (that shape is matched straight off
1259
+ # `dep_reasons`), but not for one two or more `after=` hops from it. A
1260
+ # live tick discovers that second hop in the SAME pass — position order
1261
+ # means `states[dep]` is already flipped to `waiting` by the time a
1262
+ # later entry's own verdict is derived (`plan_tick`'s `STATE_BLOCKED`
1263
+ # loop mutates `states` as it walks) — but `list` never runs a tick, so
1264
+ # without this it kept reporting "it will never satisfy" for every
1265
+ # entry beyond the first hop, contradicting what the very next real tick
1266
+ # would compute for the identical graph (the vimcode#1059..#1069
1267
+ # incident: six dependents chained behind one unconfirmed probe
1268
+ # failure). This mirrors `_reconcile_blocked_after`'s own resume guard,
1269
+ # entry by entry, walked in the same position order a real tick uses:
1270
+ # only a row whose OWN `last_reason` is already `_resolve_prereqs`'s
1271
+ # unsatisfiable-`after=` verdict (never a permanent #1844/#2019 refusal
1272
+ # or an unrelated cause) is a candidate, and it only cascades as
1273
+ # `waiting` here if a fresh `diagnose_blocked_after` — against this SAME
1274
+ # progressively-corrected view — agrees it is no longer unsatisfiable.
1275
+ cascaded_states = dict(states)
1276
+ if board is not None:
1277
+ for candidate in sorted(all_entries, key=lambda e: (e.position, e.key)):
1278
+ if candidate.state != STATE_BLOCKED or not candidate.after:
1279
+ continue
1280
+ if is_permanent_block_reason(candidate.last_reason):
1281
+ continue
1282
+ if not is_unsatisfiable_prereq_reason(candidate.last_reason):
1283
+ continue
1284
+ pre_diag = diagnose_blocked_after(
1285
+ candidate, board, cascaded_states, cycle_keys, dep_reasons=dep_reasons
1286
+ )
1287
+ if not pre_diag.unsatisfiable:
1288
+ cascaded_states[candidate.key] = STATE_WAITING
1289
+
1256
1290
  for entry in entries:
1257
1291
  diagnosed = (
1258
1292
  board is not None and entry.state in _DIAGNOSABLE_STATES and bool(entry.after)
@@ -1261,7 +1295,7 @@ def drive_queue_list(repo: str | None, output_json: bool, config_path: Path) ->
1261
1295
  dependency_reason = ""
1262
1296
  if diagnosed:
1263
1297
  diagnosis = diagnose_blocked_after(
1264
- entry, board, states, cycle_keys, dep_reasons=dep_reasons
1298
+ entry, board, cascaded_states, cycle_keys, dep_reasons=dep_reasons
1265
1299
  )
1266
1300
  unsatisfied = diagnosis.unsatisfied
1267
1301
  dependency_reason = diagnosis.dependency_reason
@@ -1336,8 +1370,32 @@ def drive_queue_list(repo: str | None, output_json: bool, config_path: Path) ->
1336
1370
  if entry.hold_scope == HOLD_SCOPE_FLEET:
1337
1371
  bits.append("scope=fleet")
1338
1372
  click.echo(" ".join(bits))
1339
- if entry.last_reason:
1340
- click.echo(f" last{_reason_age_suffix(entry, now)}: {entry.last_reason}")
1373
+ # #3369: a dependency-caused row's `last:` line is, by default, the
1374
+ # frozen `entry.last_reason` a PAST tick wrote — which can say "it
1375
+ # will never satisfy" about a pre-req whose OWN current state has
1376
+ # since turned out to be a retryable #2806 probe failure rather than
1377
+ # a confirmed-still-shut gate (#3368), or that only became true two
1378
+ # `after=` hops away from where the actual retry is happening (this
1379
+ # row's diagnosis cascades through `cascaded_states` above the same
1380
+ # way a live tick's own position-ordered walk would). `diagnosis.
1381
+ # dependency_reason` is already the CURRENT `_resolve_prereqs`
1382
+ # verdict against that same graph — showing it here instead of the
1383
+ # frozen text is the same "recomputed, never read off the frozen
1384
+ # last_reason" rule #2183 already applies to the `after=` list
1385
+ # itself (see `unsatisfied` above) and to which remedy note prints
1386
+ # below, just closing the one place that rule didn't yet reach: the
1387
+ # dependent's own headline reason. A row that is NOT dependency-
1388
+ # caused (no `after=`, or its real cause is unrelated to it) keeps
1389
+ # showing its own frozen `last_reason` exactly as before.
1390
+ using_fresh_reason = diagnosed and bool(dependency_reason)
1391
+ display_reason = dependency_reason if using_fresh_reason else entry.last_reason
1392
+ # The age suffix (#2133) times how long `entry.last_reason` has sat
1393
+ # unrevalidated — meaningless (and actively misleading, implying the
1394
+ # fresh sentence is itself stale) once that text has been swapped
1395
+ # for a diagnosis computed THIS call.
1396
+ age_suffix = "" if using_fresh_reason else _reason_age_suffix(entry, now)
1397
+ if display_reason:
1398
+ click.echo(f" last{age_suffix}: {display_reason}")
1341
1399
  if diagnosed:
1342
1400
  # #2183 point 4: `blocked`/`failed` is terminal — say so where the
1343
1401
  # operator is already reading the row, not just in an unrelated