@tablation/crew 0.154.0 → 0.155.0
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/dist/cli.js +500 -226
- package/dist/sandbox-intel-bridge.cjs +9 -0
- package/package.json +1 -1
- package/prompts/default/personas/lane-qa.md +6 -1
- package/prompts/default/skills/crew-lane-agent.md +5 -1
- package/prompts/default/skills/worktree-setup.md +4 -0
- package/prompts/dev-qa/personas/lane-qa.md +6 -1
- package/prompts/dev-qa/skills/crew-lane-agent.md +5 -1
- package/prompts/dev-qa/skills/worktree-setup.md +4 -0
|
@@ -24799,6 +24799,7 @@ var RELEASE_KEYS = /* @__PURE__ */ new Set([
|
|
|
24799
24799
|
"ci",
|
|
24800
24800
|
"verify",
|
|
24801
24801
|
"isolateFailures",
|
|
24802
|
+
"rightOfWayMinutes",
|
|
24802
24803
|
"versioning",
|
|
24803
24804
|
"versionFiles",
|
|
24804
24805
|
"changelog",
|
|
@@ -24809,6 +24810,12 @@ var VERSIONINGS = ["auto", "none"];
|
|
|
24809
24810
|
var CI_KEYS = /* @__PURE__ */ new Set(["provider", "ref"]);
|
|
24810
24811
|
var VERIFY_KEYS = /* @__PURE__ */ new Set(["match", "timeoutSeconds", "intervalSeconds"]);
|
|
24811
24812
|
var ISOLATE_KEYS = /* @__PURE__ */ new Set(["maxCandidates"]);
|
|
24813
|
+
function parseRightOfWayMinutes(raw, fail2) {
|
|
24814
|
+
if (raw === void 0 || raw === null) return void 0;
|
|
24815
|
+
const n = Number(raw);
|
|
24816
|
+
if (!Number.isInteger(n) || n < 0) throw fail2(`release.rightOfWayMinutes must be a non-negative integer (got "${raw}")`);
|
|
24817
|
+
return n;
|
|
24818
|
+
}
|
|
24812
24819
|
function parseIsolateMax(raw, where, fail2) {
|
|
24813
24820
|
if (raw === void 0 || raw === null) return void 0;
|
|
24814
24821
|
const n = Number(raw);
|
|
@@ -25033,6 +25040,7 @@ function parseRepoConfig(text, file) {
|
|
|
25033
25040
|
"release.isolateFailures",
|
|
25034
25041
|
(m) => new RepoConfigError(`${file}: ${m}`)
|
|
25035
25042
|
);
|
|
25043
|
+
const rightOfWay = parseRightOfWayMinutes(raw.release?.rightOfWayMinutes, (m) => new RepoConfigError(`${file}: ${m}`));
|
|
25036
25044
|
const versioning = String(raw.release?.versioning ?? "auto");
|
|
25037
25045
|
if (!VERSIONINGS.includes(versioning)) {
|
|
25038
25046
|
throw new RepoConfigError(`${file}: release.versioning must be auto|none (got "${versioning}")`);
|
|
@@ -25110,6 +25118,7 @@ function parseRepoConfig(text, file) {
|
|
|
25110
25118
|
ci: { provider, ref: raw.release?.ci?.ref ? String(raw.release.ci.ref) : void 0 },
|
|
25111
25119
|
verify,
|
|
25112
25120
|
isolateFailures: isolateMax === void 0 ? void 0 : { maxCandidates: isolateMax },
|
|
25121
|
+
rightOfWayMinutes: rightOfWay,
|
|
25113
25122
|
versioning,
|
|
25114
25123
|
versionFiles,
|
|
25115
25124
|
tag,
|
package/package.json
CHANGED
|
@@ -61,7 +61,12 @@ pass.
|
|
|
61
61
|
ticket on. The digest's `branch` column reads `<name> (on <remote> only)`
|
|
62
62
|
when another ship built it — still testable; only **MISSING** (gone
|
|
63
63
|
locally and on the remote) means there is nothing to test, and that
|
|
64
|
-
bounces the ticket to `in_progress` with that reason.
|
|
64
|
+
bounces the ticket to `in_progress` with that reason. **Never verify
|
|
65
|
+
from a branch a comment names when the digest says MISSING**: crew cannot
|
|
66
|
+
find that branch, so the release could not merge it. If a branch for the
|
|
67
|
+
ticket is visible under another name, send the ticket back to
|
|
68
|
+
`in_progress` with a comment naming it; otherwise follow the wording
|
|
69
|
+
above.
|
|
65
70
|
|
|
66
71
|
**Name the sha you test.** Your starting comment states the
|
|
67
72
|
`<remote>/<branch>` tip you fetched. The runner records the pushed tip on
|
|
@@ -328,7 +328,11 @@ before going further, and never change a ticket's `report_type` yourself.
|
|
|
328
328
|
A WORKTREE FROM THIS BASE` that is a hard stop (comment in the "resumes
|
|
329
329
|
automatically" form and end the run); otherwise `git worktree add <dir>
|
|
330
330
|
-b <branch> <remote>/<base>` — from the remote-tracking ref, never the
|
|
331
|
-
local base. Use the digest's `worktree` and `branch` columns verbatim.
|
|
331
|
+
local base. Use the digest's `worktree` and `branch` columns verbatim. The
|
|
332
|
+
`-b <branch>` argument is required: without it git names the branch after
|
|
333
|
+
the directory, and no later phase can find your work. Before the first
|
|
334
|
+
commit, check that `git branch --show-current` equals the digest's
|
|
335
|
+
`branch` column.
|
|
332
336
|
`cd` in and do everything else there. The `Worktree Setup` skill has the
|
|
333
337
|
full behaviour of `crew worktree`, the by-hand steps and the resume rules.
|
|
334
338
|
2. **Make it runnable.** Copy the files the Environment section lists from
|
|
@@ -45,6 +45,10 @@ person says so. **A missing worktree is never a reason to stop.**
|
|
|
45
45
|
3. Otherwise `git worktree add <dir> -b <branch> <remote>/<base>` from the
|
|
46
46
|
primary checkout, or `git worktree add <dir> <branch>` when
|
|
47
47
|
`<remote>/<branch>` already exists (git creates the tracking branch).
|
|
48
|
+
The `-b <branch>` argument is required: omit it and git names the branch
|
|
49
|
+
after the directory, which QA and the release phase cannot find. Before
|
|
50
|
+
the first commit, check `git branch --show-current` against the digest's
|
|
51
|
+
`branch` column.
|
|
48
52
|
4. `cd` into the worktree and do everything else there.
|
|
49
53
|
|
|
50
54
|
When resuming an existing worktree, run `crew sync` first; if it reports your
|
|
@@ -60,7 +60,12 @@ pass.
|
|
|
60
60
|
ticket on. The digest's `branch` column reads `<name> (on <remote> only)`
|
|
61
61
|
when another ship built it — still testable; only **MISSING** (gone
|
|
62
62
|
locally and on the remote) means there is nothing to test, and that
|
|
63
|
-
bounces the ticket to `in_progress` with that reason.
|
|
63
|
+
bounces the ticket to `in_progress` with that reason. **Never verify
|
|
64
|
+
from a branch a comment names when the digest says MISSING**: crew cannot
|
|
65
|
+
find that branch, so the release could not merge it. If a branch for the
|
|
66
|
+
ticket is visible under another name, send the ticket back to
|
|
67
|
+
`in_progress` with a comment naming it; otherwise follow the wording
|
|
68
|
+
above.
|
|
64
69
|
|
|
65
70
|
**Name the sha you test.** Your starting comment states the
|
|
66
71
|
`<remote>/<branch>` tip you fetched. The runner records the pushed tip on
|
|
@@ -321,7 +321,11 @@ before going further, and never change a ticket's `report_type` yourself.
|
|
|
321
321
|
A WORKTREE FROM THIS BASE` that is a hard stop (comment in the "resumes
|
|
322
322
|
automatically" form and end the run); otherwise `git worktree add <dir>
|
|
323
323
|
-b <branch> <remote>/<base>` — from the remote-tracking ref, never the
|
|
324
|
-
local base. Use the digest's `worktree` and `branch` columns verbatim.
|
|
324
|
+
local base. Use the digest's `worktree` and `branch` columns verbatim. The
|
|
325
|
+
`-b <branch>` argument is required: without it git names the branch after
|
|
326
|
+
the directory, and no later phase can find your work. Before the first
|
|
327
|
+
commit, check that `git branch --show-current` equals the digest's
|
|
328
|
+
`branch` column.
|
|
325
329
|
`cd` in and do everything else there. The `Worktree Setup` skill has the
|
|
326
330
|
full behaviour of `crew worktree`, the by-hand steps and the resume rules.
|
|
327
331
|
2. **Make it runnable.** Copy the files the Environment section lists from
|
|
@@ -45,6 +45,10 @@ person says so. **A missing worktree is never a reason to stop.**
|
|
|
45
45
|
3. Otherwise `git worktree add <dir> -b <branch> <remote>/<base>` from the
|
|
46
46
|
primary checkout, or `git worktree add <dir> <branch>` when
|
|
47
47
|
`<remote>/<branch>` already exists (git creates the tracking branch).
|
|
48
|
+
The `-b <branch>` argument is required: omit it and git names the branch
|
|
49
|
+
after the directory, which QA and the release phase cannot find. Before
|
|
50
|
+
the first commit, check `git branch --show-current` against the digest's
|
|
51
|
+
`branch` column.
|
|
48
52
|
4. `cd` into the worktree and do everything else there.
|
|
49
53
|
|
|
50
54
|
When resuming an existing worktree, run `crew sync` first; if it reports your
|