services/computer-use-mcp/validation/tool-lane-hygiene.md
Date: 2026-06-01
Scope:
services/computer-use-mcp/src/server/tool-lane-hygiene.tsservices/computer-use-mcp/src/server/tool-lane-hygiene.test.tsservices/computer-use-mcp/src/server/register-tools.tsservices/computer-use-mcp/src/state.tsPrivacy note:
Commands run:
pnpm install --ignore-scripts --frozen-lockfile
Result: passed. Lockfile stayed unchanged; lifecycle scripts were intentionally skipped for local verification setup.
pnpm -F @proj-airi/computer-use-mcp exec vitest run src/server/tool-lane-hygiene.test.ts --config ./vitest.config.ts
Result: passed. 1 test file, 9 tests.
pnpm -F @proj-airi/computer-use-mcp exec vitest run \
src/server/tool-lane-hygiene.test.ts \
src/server/register-tools-coordinate-contract.test.ts \
src/server/register-tools-pty-approval.test.ts \
--config ./vitest.config.ts
Result: passed. 3 test files, 15 tests.
pnpm exec moeru-lint --fix \
services/computer-use-mcp/validation/tool-lane-hygiene.md \
services/computer-use-mcp/src/server/tool-lane-hygiene.ts \
services/computer-use-mcp/src/server/tool-lane-hygiene.test.ts \
services/computer-use-mcp/src/server/register-tools.ts \
services/computer-use-mcp/src/state.ts
Result: passed with 0 warnings and 0 errors when run under Node 24.
git diff --check
Result: passed.
pnpm -F @proj-airi/computer-use-mcp typecheck
Result: failed on existing baseline files outside this change:
src/chrome-session-manager.tssrc/chrome-session-manager.test.tssrc/desktop-grounding.tsObserved baseline error classes:
TS2339 and TS2353 around ChromeSessionInfo.ensureOutcomeTS2451 / TS2304 around duplicated chromeWindowBounds and missing isChromeInFrontNo typecheck errors were reported for the files changed by this patch.