@feigi/fleet-ctl 3.39.3 → 3.39.5
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 +1 -1
- package/scripts/arg.mjs +1 -1
- package/scripts/board-common.mjs +3 -3
- package/scripts/board-gather.mjs +997 -0
- package/scripts/board-server.mjs +611 -0
- package/scripts/board.mjs +28 -1598
- package/scripts/ci-state.mjs +2 -2
- package/scripts/ledger.mjs +2 -2
- package/skills/run-team/SKILL.md +3 -4
package/scripts/ci-state.mjs
CHANGED
|
@@ -82,7 +82,7 @@ const RATE_LIMITED = /rate limit|abuse detection/i;
|
|
|
82
82
|
// on this payload's own fields — `verdict`, `behind`, `missing`, the per-job
|
|
83
83
|
// conclusions, and `prHead == runHeadSha` — and an absent `missing` refuses
|
|
84
84
|
// that gate where an empty array would have told it nothing was missing.
|
|
85
|
-
// board.mjs is not that reader — it takes exit 2 as a failed read whatever
|
|
85
|
+
// board-gather.mjs is not that reader — it takes exit 2 as a failed read whatever
|
|
86
86
|
// was printed on the way out, and carries its previous CI value for the PR
|
|
87
87
|
// forward instead.
|
|
88
88
|
//
|
|
@@ -925,7 +925,7 @@ if (behind === null) {
|
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
// no-ci is its own verdict, distinguishable from both green and not-green —
|
|
928
|
-
// board.mjs's mapCi() and any other caller that reads `verdict` by string
|
|
928
|
+
// board-gather.mjs's mapCi() and any other caller that reads `verdict` by string
|
|
929
929
|
// value sees "no-ci" rather than either, so it cannot be silently folded into
|
|
930
930
|
// a pass or a red. reasons.length is never 0 here: the no-ci branch above
|
|
931
931
|
// always pushes exactly one, whichever way --declare-no-ci went.
|
package/scripts/ledger.mjs
CHANGED
|
@@ -148,7 +148,7 @@ const GIT_TIMEOUT_MS = gitBudget(10, process.env.LEDGER_GIT_TIMEOUT);
|
|
|
148
148
|
// worktree) instead, with GIT_DIR/GIT_WORK_TREE scrubbed so an ambient one
|
|
149
149
|
// cannot put the run's ledger under another repository; only the bound, the
|
|
150
150
|
// warning and the fallback below are this caller's own. No canonicalisation
|
|
151
|
-
// is asked for: that is board.mjs's opt-in, and taking it here would change
|
|
151
|
+
// is asked for: that is board-server.mjs's opt-in, and taking it here would change
|
|
152
152
|
// the path `check` prints without changing which file it names.
|
|
153
153
|
function defaultLedgerPath() {
|
|
154
154
|
try {
|
|
@@ -764,7 +764,7 @@ const data = cmd === "rotate" ? null : load();
|
|
|
764
764
|
// discards whatever is still queued, so a payload past the buffer arrives cut
|
|
765
765
|
// — at exit 0, which types a corrupt read as a successful one.
|
|
766
766
|
// candidates.mjs states the same reason at its own exit line; this was the
|
|
767
|
-
// second script on that shape. The consumer that made it visible is board.mjs,
|
|
767
|
+
// second script on that shape. The consumer that made it visible is board-gather.mjs,
|
|
768
768
|
// which reads `read` through execFileSync — a pipe — and accepts its ledger
|
|
769
769
|
// only as a path, so nothing on the caller's side could work around it: a
|
|
770
770
|
// grown ledger served a cockpit whose board was empty at HTTP 200.
|
package/skills/run-team/SKILL.md
CHANGED
|
@@ -1451,15 +1451,14 @@ four for that row alone.
|
|
|
1451
1451
|
directory for this cwd, not one:
|
|
1452
1452
|
|
|
1453
1453
|
```bash
|
|
1454
|
-
PROJECT_DIR="$(node -e 'import("./scripts/
|
|
1454
|
+
PROJECT_DIR="$(node -e 'import("./scripts/member-record.mjs").then(m => console.log(m.encodeProjectDir(process.cwd())))')"
|
|
1455
1455
|
for d in "$HOME/.omp/agent/sessions/$PROJECT_DIR"/*/; do
|
|
1456
1456
|
node scripts/member-outcomes.mjs "$d"
|
|
1457
1457
|
done
|
|
1458
1458
|
```
|
|
1459
1459
|
|
|
1460
|
-
`encodeProjectDir` (defined in `scripts/member-record.mjs
|
|
1461
|
-
|
|
1462
|
-
directories — see its comment for the rule — and hand-guessing that path is why
|
|
1460
|
+
`encodeProjectDir` (defined in `scripts/member-record.mjs`) encodes the cwd
|
|
1461
|
+
exactly as omp names its session directories — see its comment for the rule — and hand-guessing that path is why
|
|
1463
1462
|
the fleet's own panel once rendered nothing here. The trailing `/` on the glob matters:
|
|
1464
1463
|
the same encoded-cwd directory also holds this cwd's own top-level session
|
|
1465
1464
|
transcripts as loose FILES sibling to the per-session directories, and a
|