mcptask-rails-runner 0.3.11 → 0.3.12

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fed3fcb7ee1ca7a3d0df81831fe0d15210695e14b802ead012a62451b103ab08
4
- data.tar.gz: 8f422ace59e0521538802813ce5b010958bde73c00a3e46700ced7138d6d1131
3
+ metadata.gz: ca7009694ebc9c691cb936b0f17d677d3deff594a5ec2207e234233b89dc135d
4
+ data.tar.gz: d244fd4bfbbd8c14f1a8c866f8231778520358d29be6e7094ece3527a19d80a2
5
5
  SHA512:
6
- metadata.gz: ded72f8ea8da9bd8765cedcc00564b0555d883294e41d0eec90ed20a5de6eb146d93571e8afb60f03a2f310670bd44dd22f8167e9a7c5767b84da67c6acb1ade
7
- data.tar.gz: 44fe881b93da70de9abc1d63a7facf4f58d693f084c4fa770971d0628c4fc8a1b90d143f657f474a2b15268706cbe176cfd1b5935e764da810928e828b31351b
6
+ metadata.gz: '081aa8aced7dabc614e5b4ccaf61b27ba74dc809fa868739ba5e2395dddf406c241de8c47ae6c419b33ab90efcf68fd4243c1469ec5a591abb05d89c8a1cfe08'
7
+ data.tar.gz: 72a9766b4f3be4d14a823c08825cf624706ef2fe072cd33d2543dd11c1fb72096306a0bac0cb9de5006172eb22887b00c2bb0c481ec392810c9984308ab71a30
data/CHANGELOG.md CHANGED
@@ -5,6 +5,57 @@ entries below describe wrapper changes only. Binary changes are listed in the
5
5
  [mcptask-releases](https://github.com/jchsoft/mcptask-releases/releases)
6
6
  release notes for the same tag.
7
7
 
8
+ ## 0.3.12
9
+
10
+ No wrapper changes. Full notes in
11
+ [mcptask-releases v0.3.12](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.12).
12
+
13
+ **Upgrading:** run `mcptask_runner update` in each project after the binary
14
+ upgrade. Nothing does it for you, so without that step the fixes below stay
15
+ installed nowhere — the helpers in `~/.claude/bin` and the skills in each
16
+ project's `.claude/skills/` keep whatever version they already had. No `--force`
17
+ is needed, including on hosts whose skills carry a rewritten model name.
18
+
19
+ - **The guard against running the test suite directly had stopped guarding.**
20
+ `check_test_lock` refuses a direct `bin/ci` while another agent's suite holds
21
+ the global lock. It looked for pidfiles in a flat directory that nothing has
22
+ written in a long time, so its "pidfile missing and the lock is over ten
23
+ seconds old" check matched every lock there has ever been: each one read as
24
+ stale and the command went through. The guard worked for the first ten seconds
25
+ of a lock's life and never again. The path is now rebuilt from the lock's own
26
+ project, the way the shell helper beside it already did it. A lock that names
27
+ no project is no longer guessed to be dead either — a holder that cannot be
28
+ located is not a holder that can be verified.
29
+
30
+ - **The refusal now says what to do instead.** Declining to touch a lock owned
31
+ by another working directory was correct for a live one and a dead end for a
32
+ dead one, and a prohibition with nowhere to go is what got the lock bypassed
33
+ in the first place: an agent told not to interfere ran the suite unlocked.
34
+ It now names the way out — a stale lock is reaped by `acquire` itself,
35
+ whatever directory owns it. Ownership also compares normalised paths, so the
36
+ same checkout reached through a symlink, a trailing slash or a subdirectory
37
+ stops looking foreign, while a linked worktree stays correctly distinct.
38
+
39
+ - **Two failures in taking the lock, both silent.** The directory that
40
+ serialises the moment of acquiring had no staleness handling, so an acquire
41
+ killed midway left it behind for good and wedged every later run behind a lock
42
+ reported as `unknown` — which the orchestrator cannot wait on, so it spun to
43
+ its retry cap and called the lock stuck while naming nothing to delete. And a
44
+ lockfile missing its `PID=` line killed `acquire` outright before the staleness
45
+ check could reap it, leaving a blank error and a malformed lock that every
46
+ retry hit again.
47
+
48
+ - **Bundled skills no longer declare a `model:`.** A model name written into
49
+ `.claude/skills/` can only be right for one backend, and that directory is
50
+ read by two: the runner's child process and whoever opens the same project in
51
+ a session of their own. Whichever way it was written it was wrong for one of
52
+ them, and wrong silently, because the CLI returns its model error as the
53
+ skill's own result and the agent above reads that as the answer. Each fork now
54
+ runs on its session's own model; `context: fork` is untouched, and that is
55
+ what actually keeps a fork's output out of the parent's context.
56
+
57
+ - **A SIGTERM is not a failed attempt, so the runner announces no retry.**
58
+
8
59
  ## 0.3.11
9
60
 
10
61
  No wrapper changes. Full notes in
@@ -10,5 +10,5 @@ module McptaskRailsRunner
10
10
  # Binary::INSTALL_DIR. So the pin is per project and per foreground rake
11
11
  # invocation; the installed copy is per machine, and the newest binary any of
12
12
  # those projects offers is the one that stays.
13
- VERSION = "0.3.11"
13
+ VERSION = "0.3.12"
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcptask-rails-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Chmel