@feigi/fleet-ctl 3.82.2 → 3.82.3
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.
|
@@ -43,9 +43,10 @@ commands run from the repository root by `sh -c`:
|
|
|
43
43
|
- **Install step** — the form that installs exactly what the repository pins
|
|
44
44
|
and rewrites nothing: the frozen or locked mode where the tool has one.
|
|
45
45
|
`true` when nothing needs installing. It must leave every file exactly as
|
|
46
|
-
checked out; build output the repository ignores is fine. The fleet
|
|
47
|
-
Install step with `CI` unset, so spell
|
|
48
|
-
command; never rely on the environment to
|
|
46
|
+
checked out; build output the repository ignores is fine. The fleet and a
|
|
47
|
+
standalone next-ticket session run the Install step with `CI` unset, so spell
|
|
48
|
+
the frozen or locked mode in the command; never rely on the environment to
|
|
49
|
+
imply it.
|
|
49
50
|
- **Test entrypoint** — every test step in the merge-gating CI jobs that can
|
|
50
51
|
run in a fresh worktree on this host. Which steps qualify is yours to
|
|
51
52
|
decide, by reading CI and the repository. Members run it with their own
|
package/package.json
CHANGED
|
@@ -80,6 +80,8 @@ gh issue edit <N> --add-label in-progress
|
|
|
80
80
|
|
|
81
81
|
Infer branch/worktree convention from `git worktree list` / `git branch -r` — commonly `feat|fix|refactor/<N>-slug` and `.worktrees/<N>-slug`. Branch off fresh `origin/main`, run the Install step, run the Check step, run the Test entrypoint as the baseline — the repo's **Recipe**, read from its Recipe cache: `~/.fleet/bin/fleet-run derive-testcmd.sh . install`, `… . check` and `… . test --at origin/main` print them. **No usable cache (any of the three exits 1) → run the Recipe derivation step first:** dispatch a `task` member, agent `fleet-recipe-deriver`, its prompt naming the main checkout's absolute path as `<repo>` and `<scratch>/derive-recipe/` as its scratch directory, `<scratch>` the output of `~/.fleet/bin/fleet-run scratch-root.mjs`; it reads the repo, proves all three commands in a throwaway worktree and writes the cache only on proof. `RECIPE NOT PROVEN` → stop and give the maintainer its reason; never pick a command yourself. Exit 3 is no verdict on the cache — the reader could not run a tool it needs — so fix that environment fault and re-run instead of deriving.
|
|
82
82
|
|
|
83
|
+
**Run the Install step with `CI` removed**, from the new worktree's root: `env -u CI sh -c "<install>"`, `<install>` the output of `derive-testcmd.sh . install`. A setup script that skips under `CI` installs no git hooks there, and you would then commit with the repository's commit-time checks silently absent. Only the Install step loses `CI`; the Check step and the Test entrypoint baseline run in your shell's own environment.
|
|
84
|
+
|
|
83
85
|
Abandoned before PR opens → remove `in-progress`.
|
|
84
86
|
|
|
85
87
|
## 6. Size the ticket, then pick a path
|