Skip to content

feat(eval): run the eval lab on Node 26 (#25) - #166

Draft
santinofuentesAI wants to merge 1 commit into
DojoCodingLabs:mainfrom
santinofuentesAI:feat/eval-lab-node-26
Draft

santinofuentesAI wants to merge 1 commit into
DojoCodingLabs:mainfrom
santinofuentesAI:feat/eval-lab-node-26

Conversation

@santinofuentesAI

@santinofuentesAI santinofuentesAI commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Closes #25

Replaces all TypeScript constructor parameter properties with explicit fields across the packages imported by the eval lab so plain Node 26 type stripping works without --experimental-transform-types:

  • Converted parameter properties in packages/model/src/reply-cut.ts, packages/core/src/memory.ts, packages/core/src/repair.ts, packages/core/src/wallet-history.ts, plus the remaining occurrences in packages/core/src/bots-store.ts, packages/core/src/money.ts, packages/core/src/reminders.ts, packages/mail/src/cache.ts, and packages/night/src/run.ts.
  • Removed --experimental-transform-types from packages/eval/package.json, packages/eval/src/*.ts usage comments, scripts/eval/mac-run.sh, README.md, docs/evals.md, and the research/plan docs, and removed the outdated "and Node 26 can't run the eval lab yet" note from README.md, CONTRIBUTING.md, and AGENTS.md. Also dropped --experimental-strip-types from packages/eval/src/mac-eval.ts usage comment.

Vision fit

Serves the project's contributor and local-first reproducibility workflow by letting the eval lab run out of the box on both Node 24 and Node 26 with plain type stripping.

Non-negotiables

  • This keeps every non-negotiable in AGENTS.md as it is.
  • Or it changes one, and this is the accepted RFC: #

Checklist

  • It closes one issue, linked above, or it's a small fix (a typo, a broken link, a wrong comment). A feature has an accepted proposal.
  • I wrote the failing test first. It fails without this change and passes with it. (Verified ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX on Node v26.11.1 before the edits; afterwards mode-table.ts, long-form-eval.ts detect, bot-eval.ts --routing-only, and mac-eval.ts --help execute cleanly under node --no-warnings.)
  • These pass: pnpm check:privacy, pnpm typecheck, pnpm lint, pnpm test and node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt. (Checked against origin/main.)
  • No new network call, telemetry, analytics, ads or crash reporting. (A new request in an app adapter is explained below, with its host, skill and risk.)
  • No new dependency, or the reason for each one is below.
  • Every UI string is in packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes.
  • Tests, fixtures and screenshots use made-up data only.

Model path

  • This doesn't touch the model path: packages/model, agent, skills or eval, the prompt, the router, tool descriptions, normalizers, examples or the model file.
  • It does. The eval numbers from before and after are below, run as docs/evals.md says. No held-out case was tuned on.

This touches packages/model/src/reply-cut.ts and packages/eval. It is a pure syntax/CLI flag change with no runtime behavior change (pnpm test and all no-model eval checks mode-table.ts (432 rows, 0 mismatches), long-form-eval.ts detect, and bot-eval.ts --routing-only pass on Node v26.11.1), marked Draft because I don't have llama-server and the GGUF model locally to run the before/after core 40 eval (node --no-warnings src/mac-eval.ts botpsy-q4-native-think256).

Screenshots

  • No UI change.
  • UI change. Each changed screen is below, in both themes and both languages, with made-up data.

New dependencies and network calls

n/a

AI agents

  • No AI agent wrote any part of this.
  • An AI agent helped. Which one, and what it did: Antigravity assisted with locating all parameter-property constructors, removing --experimental-transform-types references, running the Node 26 checks and all five repo gates, and drafting this PR description.
  • I read and ran everything in this pull request, and I can explain it.

…CodingLabs#25)

Signed-off-by: Santino Fuentes <santinofuentesAI@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run the eval lab on Node 26

1 participant