@feigi/fleet-ctl 3.148.1 → 3.148.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.148.1",
3
+ "version": "3.148.2",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,9 +8,16 @@
8
8
  # `.worktrees/<issue>-<slug>`. The fleet always calls it as
9
9
  # `claim-ticket.sh <N> impl-<N> implementer` (run-team references/pull.md, **Claiming**),
10
10
  # giving `implementer/<N>-impl-<N>` and `.worktrees/<N>-impl-<N>`, and releases
11
- # with the same pair through release-ticket.sh. <slug> and <type> are
12
- # free text — neither derived nor validated here — so a caller outside the fleet
13
- # can pass its own shape, e.g. next-ticket's human-facing `fix/<N>-<slug>`.
11
+ # with the same pair through release-ticket.sh.
12
+ # The number appears twice because the slug is the member name of the ticket's
13
+ # first implementer. The claim belongs to the ticket, not to that member: a
14
+ # replacement (`impl-<N>-b`, …) works in it and never claims again, so every
15
+ # fleet release and the settle's head check rebuild the name from the number
16
+ # alone. The repeat carries nothing; the name stays because claims on disk
17
+ # carry it, and stranded.mjs and evict.mjs find claims by it.
18
+ # <slug> and <type> are free text — neither derived nor validated here — so a
19
+ # caller outside the fleet can pass its own shape, e.g. next-ticket's
20
+ # human-facing `fix/<N>-<slug>`.
14
21
  #
15
22
  # The Install step and the Test entrypoint are READ from the repository's
16
23
  # proven Recipe cache through derive-testcmd.sh — never inferred, never
@@ -200,10 +200,11 @@ const real = (p) => {
200
200
  };
201
201
 
202
202
  // A claim's names, off claim-ticket.sh's shapes for an implementer:
203
- // `.worktrees/<N>-impl-<N>[-x]` and `implementer/<N>-impl-<N>[-x]`, `-x` a
204
- // replacement's single retry letter. Each captures the number and the member
205
- // name `impl-<N>[-x]`, the slug release-ticket.sh takes. evict.mjs judges its
206
- // candidates by the same two.
203
+ // `.worktrees/<N>-impl-<N>` and `implementer/<N>-impl-<N>`. Both also accept a
204
+ // `-x` retry letter that no fleet path writes — a replacement works in the
205
+ // first implementer's claim and never claims again — so a claim made by hand
206
+ // under such a name is still reported. Each captures the number and the slug
207
+ // release-ticket.sh takes. evict.mjs judges its candidates by the same two.
207
208
  export const CLAIM_WORKTREE = /^([1-9][0-9]*)-(impl-\1(?:-[a-z])?)$/;
208
209
  export const CLAIM_BRANCH = /^implementer\/([1-9][0-9]*)-(impl-\1(?:-[a-z])?)$/;
209
210
  const WAYS_OUT = "push the branch and open a PR, or release the claim by hand";