You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a root package.json with check scripts so Unfret registers and shares open-pstack's checks #185
Unfret's reviewer lanes run open-pstack's checks through run_check, once per head and shared across lanes, instead of each focal lane running bun install and the tests through run_command.
open-pstack is now most of the panel's load: 42 of the 56 full reviews since 2026-10-11.
open-pstack has no root package.json, so Unfret registers no checks for it. Unfret registers a check for each root package.json script and runs it with the packageManager named there (mastra-pilot packages/sandbox-lanes/src/index.ts:91-96).
Without registered checks, each focal lane runs bun install and the tests through run_command. That costs about 70 s per focal call. Both focal lanes repeat it on every review, and nothing shares the work.
Since mastra-pilot MASTRA-1048 (release 0.1.98), a registered check runs once per head and every lane that asks for it shares the result. On mastra-pilot, gate now takes 4.7 s shared against 80 s unshared. open-pstack is public, so Unfret does not prefetch its checks before the lanes start, but sharing still applies.
Acceptance criteria
A root package.json names packageManager (bun) and one script per check a reviewer needs: at least install-and-test, and typecheck or lint if the repository has them. Each script runs from a clean checkout.
The next Unfret review of an open-pstack PR shows the checks registered and shared: run_check calls in the run detail, and no focal run_command running bun install.
Constraints
Add only scripts the repository's CI or contributors already run. No new tooling.
Source: mastra-pilot record projects/mastra-pilot/records/2026-10-14-panel-backlog-triage/cluster-reports/panel-performance.md (mobilyze-llc/docs, commit bd5cdd54). Related: MASTRA-1048.
PR #186 merged as f1c88d8 (parents 53b6d59 and the reviewed head 3fa7f0b). The root package.json names [email protected] and registers three checks: test, typecheck and static. CI's verify now runs the same scripts.
Criterion 1 is met. Criterion 2 is partly met. Per-call measurements come from the panel run store:
PR build: add root check scripts so Unfret registers and shares open-pstack's checks (#185) #186 head 1 (6c25e20): every lane called run_check, but focal test ran unshared, at 55.9 s and 55.2 s (shared: null). Both focal lanes first ran bun install through run_command, because Unfret's run_check description says "install them with run_command first" for any manager other than pnpm or npm. That install wrote node_modules into each lane's tree, and Unfret stops sharing with a lane after its tree changes.
PR build: add root check scripts so Unfret registers and shares open-pstack's checks (#185) #186 head 2 (3fa7f0b): no focal run_command ran bun install. Both focal lanes and the judge were served a shared static. Focal test (59.8 s and 109.3 s) and typecheck still ran in each lane, because static writes the verifier's node_modules, and copying those results into a lane stops further sharing.
The remainder is MASTRA-1071 in mastra-pilot. It makes prepared workspaces install bun dependencies and updates the run_check description to match. Its session posts the shared-check proof here and closes this issue. One constraint for MASTRA-1071: open-pstack's bun.lock files are in plugins/pstack/skills/poteto-mode/scripts/ and .claude/skills/verify-open-pstack/, not at the root. Unfret's keyOf currently requires a root lockfile.
Live proof (acceptance criterion 2): the Unfret review of #192 (head a648c540, run panel:a648c540…:7AW8UH51Al9:8ihbmBrWcL8, panel release 0.1.104) registered and shared the checks.
Both focal lanes called run_check test, and both got one shared execution (shared: true). The lane that started it waited 50.5 s; the other got the same result in 0.4 s.
No focal lane ran bun install or any other install through run_command (0 of 117 tool calls).
typecheck and static ran in each lane. test runs its own bun install, which rewrites node_modules/.bin, and a lane that copies a check's writes runs later checks itself.
Before, on #186 head 6c25e20: each focal lane ran bun install twice through run_command, and test ran unshared in both lanes (55.9 s and 55.2 s).
The panel now installs bun dependencies before the lanes start, including this repository's nested bun.lock directories (mobilyze-llc/mastra-pilot#827, MASTRA-1071).
Activity
verify: give the unit tests a real account when USER and LOGNAME are …
Merge pull request #186 from ericlitman/feat/185-root-check-scripts
ericlitman commentedon Oct 14, 2026
PR #186 merged as
f1c88d8(parents53b6d59and the reviewed head3fa7f0b). The rootpackage.jsonnames[email protected]and registers three checks:test,typecheckandstatic. CI'sverifynow runs the same scripts.Criterion 1 is met. Criterion 2 is partly met. Per-call measurements come from the panel run store:
dda93d6): 0run_checkcalls. Both focal lanes ranbun installand the tests throughrun_command: 55.9 s in one lane, and 54.7 s plus 51.3 s in the other.6c25e20): every lane calledrun_check, but focaltestran unshared, at 55.9 s and 55.2 s (shared: null). Both focal lanes first ranbun installthroughrun_command, because Unfret'srun_checkdescription says "install them with run_command first" for any manager other than pnpm or npm. That install wrotenode_modulesinto each lane's tree, and Unfret stops sharing with a lane after its tree changes.3fa7f0b): no focalrun_commandranbun install. Both focal lanes and the judge were served a sharedstatic. Focaltest(59.8 s and 109.3 s) andtypecheckstill ran in each lane, becausestaticwrites the verifier'snode_modules, and copying those results into a lane stops further sharing.The remainder is MASTRA-1071 in mastra-pilot. It makes prepared workspaces install bun dependencies and updates the
run_checkdescription to match. Its session posts the shared-check proof here and closes this issue. One constraint for MASTRA-1071: open-pstack'sbun.lockfiles are inplugins/pstack/skills/poteto-mode/scripts/and.claude/skills/verify-open-pstack/, not at the root. Unfret'skeyOfcurrently requires a root lockfile.build: add root check scripts so Unfret registers and shares them (er…
verify: map the root package.json and ci.yml to project proof (ericli…
ericlitman commentedon Oct 15, 2026
Live proof (acceptance criterion 2): the Unfret review of #192 (head
a648c540, runpanel:a648c540…:7AW8UH51Al9:8ihbmBrWcL8, panel release 0.1.104) registered and shared the checks.run_check test, and both got one shared execution (shared: true). The lane that started it waited 50.5 s; the other got the same result in 0.4 s.bun installor any other install throughrun_command(0 of 117 tool calls).typecheckandstaticran in each lane.testruns its ownbun install, which rewritesnode_modules/.bin, and a lane that copies a check's writes runs later checks itself.Before, on #186 head
6c25e20: each focal lane ranbun installtwice throughrun_command, andtestran unshared in both lanes (55.9 s and 55.2 s).The panel now installs bun dependencies before the lanes start, including this repository's nested
bun.lockdirectories (mobilyze-llc/mastra-pilot#827, MASTRA-1071).release: Open Pstack 1.9.0 with Luna, Sonnet, the Opus 5.5 pin, Devin…
[MEDIUM] Update pstack and add formal verification skills (#2)