mcptask-rails-runner 0.3.11 → 0.3.13

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: 72dcc5eca6c4031deb52a52bed9d2474fdf48ce029e8a210018d16c41868b89d
4
+ data.tar.gz: 26363461edb70c017f1ea42b1520b032d9cd1dafeabe3567693f8df7547f2569
5
5
  SHA512:
6
- metadata.gz: ded72f8ea8da9bd8765cedcc00564b0555d883294e41d0eec90ed20a5de6eb146d93571e8afb60f03a2f310670bd44dd22f8167e9a7c5767b84da67c6acb1ade
7
- data.tar.gz: 44fe881b93da70de9abc1d63a7facf4f58d693f084c4fa770971d0628c4fc8a1b90d143f657f474a2b15268706cbe176cfd1b5935e764da810928e828b31351b
6
+ metadata.gz: 22edfff9e85ea770a753d2a25b74cb90c99417448ac0b7386f6b72e1e429010018a5e6c843164e6541d2874c0d891148a62402f4389e51d442e4cc04d149d7d5
7
+ data.tar.gz: 78a5640b524e04424a3279362ddb0e5a031f2ed9f83417c80255ac7afaf1cc2edd9aa19864a4a4c5a8998d6991290e0ffa8fc69b582391022b91efd2438fa3d0
data/CHANGELOG.md CHANGED
@@ -5,6 +5,84 @@ 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.13
9
+
10
+ No wrapper changes. Full notes in
11
+ [mcptask-releases v0.3.13](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.13).
12
+
13
+ **Upgrading:** run `mcptask_runner update` in each project after the binary
14
+ upgrade — this release ships a new helper (`runner-log`) and rewritten config
15
+ sections, and nothing installs those for you.
16
+
17
+ Binary changes carried by this version:
18
+
19
+ - The loop asks `GET /api/:account/pieces/next` before paying for a triage
20
+ session; an empty queue is `no_more_tasks` without a model. Until
21
+ mcptask.online ships the endpoint (task #11691) the 404 falls through to
22
+ triage exactly as before.
23
+ - The configured end of workday is the one hard stop, checked after a task
24
+ finishes — and there is no default any more.
25
+ - The skip list outlives the process: a restart does not re-pick what today
26
+ already declined. `failure`, `task_already_started`, `merge_failed`,
27
+ `merge_unverified` and `out_of_scope` set the task aside for the day instead
28
+ of stopping.
29
+ - `respect_working_hours` is read from the user profile once at startup.
30
+ - A guard of the runner's own that did not hold files a bug piece instead of
31
+ a log line.
32
+ - `runner-log`, the helper an operator types to tail the current run; the
33
+ install ends with a summary of every config section the runner reads.
34
+
35
+ ## 0.3.12
36
+
37
+ No wrapper changes. Full notes in
38
+ [mcptask-releases v0.3.12](https://github.com/jchsoft/mcptask-releases/releases/tag/v0.3.12).
39
+
40
+ **Upgrading:** run `mcptask_runner update` in each project after the binary
41
+ upgrade. Nothing does it for you, so without that step the fixes below stay
42
+ installed nowhere — the helpers in `~/.claude/bin` and the skills in each
43
+ project's `.claude/skills/` keep whatever version they already had. No `--force`
44
+ is needed, including on hosts whose skills carry a rewritten model name.
45
+
46
+ - **The guard against running the test suite directly had stopped guarding.**
47
+ `check_test_lock` refuses a direct `bin/ci` while another agent's suite holds
48
+ the global lock. It looked for pidfiles in a flat directory that nothing has
49
+ written in a long time, so its "pidfile missing and the lock is over ten
50
+ seconds old" check matched every lock there has ever been: each one read as
51
+ stale and the command went through. The guard worked for the first ten seconds
52
+ of a lock's life and never again. The path is now rebuilt from the lock's own
53
+ project, the way the shell helper beside it already did it. A lock that names
54
+ no project is no longer guessed to be dead either — a holder that cannot be
55
+ located is not a holder that can be verified.
56
+
57
+ - **The refusal now says what to do instead.** Declining to touch a lock owned
58
+ by another working directory was correct for a live one and a dead end for a
59
+ dead one, and a prohibition with nowhere to go is what got the lock bypassed
60
+ in the first place: an agent told not to interfere ran the suite unlocked.
61
+ It now names the way out — a stale lock is reaped by `acquire` itself,
62
+ whatever directory owns it. Ownership also compares normalised paths, so the
63
+ same checkout reached through a symlink, a trailing slash or a subdirectory
64
+ stops looking foreign, while a linked worktree stays correctly distinct.
65
+
66
+ - **Two failures in taking the lock, both silent.** The directory that
67
+ serialises the moment of acquiring had no staleness handling, so an acquire
68
+ killed midway left it behind for good and wedged every later run behind a lock
69
+ reported as `unknown` — which the orchestrator cannot wait on, so it spun to
70
+ its retry cap and called the lock stuck while naming nothing to delete. And a
71
+ lockfile missing its `PID=` line killed `acquire` outright before the staleness
72
+ check could reap it, leaving a blank error and a malformed lock that every
73
+ retry hit again.
74
+
75
+ - **Bundled skills no longer declare a `model:`.** A model name written into
76
+ `.claude/skills/` can only be right for one backend, and that directory is
77
+ read by two: the runner's child process and whoever opens the same project in
78
+ a session of their own. Whichever way it was written it was wrong for one of
79
+ them, and wrong silently, because the CLI returns its model error as the
80
+ skill's own result and the agent above reads that as the answer. Each fork now
81
+ runs on its session's own model; `context: fork` is untouched, and that is
82
+ what actually keeps a fork's output out of the parent's context.
83
+
84
+ - **A SIGTERM is not a failed attempt, so the runner announces no retry.**
85
+
8
86
  ## 0.3.11
9
87
 
10
88
  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.13"
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.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Chmel