@caddis/cli 0.4.110 → 0.4.111

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,5 +1,5 @@
1
1
  {
2
2
  "name": "caddis",
3
- "version": "1.3.194",
3
+ "version": "1.3.195",
4
4
  "description": "caddis — agent-agnostic dev harness as an Antigravity (agy) plugin: TDD skills + commands, single-sourced with the Claude Code plugin."
5
5
  }
@@ -591,7 +591,8 @@ def _claim_stamp(folder: Path, now: float) -> Path | None:
591
591
  deletes a claim that another racer may still be reading, so a racer that read an expired claim cannot remove a
592
592
  fresh one. An empty claim (a racer has not written the time yet, or was killed before it did) dates from its
593
593
  modified time, so it expires too. Claims older than the previous one are deleted; the previous one stays, so a
594
- slow racer that read it fails its O_EXCL on ours.
594
+ slow racer that read it fails its O_EXCL on ours. A claim later than `now` is live while it is less than one
595
+ window ahead (the winner read its clock after this caller did); further ahead, the clock was wrong: expired.
595
596
  """
596
597
  numbers = sorted((int(p.name) for p in folder.iterdir() if p.name.isascii() and p.name.isdigit()), reverse=True)
597
598
  newest = numbers[0] if numbers else 0
@@ -603,8 +604,8 @@ def _claim_stamp(folder: Path, now: float) -> Path | None:
603
604
  last = 0.0 # unreadable: treat as expired
604
605
  except OSError:
605
606
  return None
606
- if 0 <= now - last < ORCA_SWEEP_EVERY_S:
607
- return None
607
+ if -ORCA_SWEEP_EVERY_S < now - last < ORCA_SWEEP_EVERY_S:
608
+ return None # a claim up to one window ahead is live: another session read its clock a little later
608
609
  claim = folder / str(newest + 1)
609
610
  try:
610
611
  fd = os.open(claim, os.O_CREAT | os.O_EXCL | os.O_WRONLY)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "1.3.193",
4
- "generated": "2026-11-13 00:19 UTC",
3
+ "version": "1.3.194",
4
+ "generated": "2026-11-13 01:10 UTC",
5
5
  "commands": [
6
6
  {
7
7
  "name": "add-rules",
@@ -1,7 +1,7 @@
1
1
  {
2
- "poolVersion": "1.3.194",
2
+ "poolVersion": "1.3.195",
3
3
  "bundles": {
4
- "antigravity-plugin": "1.3.194",
4
+ "antigravity-plugin": "1.3.195",
5
5
  "antigravity-plugin-extras": "1.3.53",
6
6
  "codex": "unknown"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caddis/cli",
3
- "version": "0.4.110",
3
+ "version": "0.4.111",
4
4
  "description": "Install, update and diagnose the caddis dev harness across every coding agent you use (Claude Code, agy/Antigravity, and more).",
5
5
  "keywords": [
6
6
  "caddis",