Skip to content

feat(evals): build the onboarding fixture with a declared Tack script - #152

Open
nclsndr wants to merge 1 commit into
mainfrom
feat/evals-fixtures-as-tack-scripts
Open

nclsndr wants to merge 1 commit into
mainfrom
feat/evals-fixtures-as-tack-scripts

Conversation

@nclsndr

@nclsndr nclsndr commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Why

The onboarding evals, a smoke by hand and someone reproducing a report all need the same machine: a fresh home with agent folders, a skills folder that holds a retired skill, and a Git project. Until now each would build it by hand. One script that Tack itself runs gives all three the same files, and puts Tack's script API to use in its own repository.

What

  • The root tack.yaml declares the script onboarding-world. It is written with defineScript and runs with tack script run onboarding-world --user -- --into PATH. It writes only under PATH/home, refuses a home that already holds something, and creates the same commit SHA in every world.
  • report-version, the suite's one task, builds that world in prepare and starts in its Git project. The image's own Tack runs the script, with its own home and state, which are removed before the task starts. The task version becomes 2.
  • A suite can list files: host files that preparation reads but no task imports. The suite digest, and so the confirmation token, covers them.
  • evals/README.md shows the world and the commands to build it by hand.

Related to

Details

Extension warning. A machine that registered this checkout as a source and keeps the scripts extension off now gets the extension-needed warning. Skills link as before.

Types. evals/tsconfig.json maps @tackup/cli to the script API's source, because the running Tack provides that import. The tests use the CLI's process helper through a new package export, @tackup/cli/test/tack-process, as the website does for file-system-contract. The published package does not change.

No onboarding scenario yet. Only the neutral example task uses the world.

Checks. bun run check and bun run deadcode pass. In a container of the image built from this change, the task's preparation, oracle and grader pass, the world holds only what the script built, and the task's state folder is empty. The plan dry run passes. No model ran. evals/src has no new uncovered line, and the coverage budget does not move.

CI time. The four test shards take 414 s in total, against 407 s on #150, the commit this branch is based on. The static job takes 44 s, against 40 s.


AI assisted

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying tack-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: e845a7b
Status: ✅  Deploy successful!
Preview URL: https://983d40e6.tack-ayg.pages.dev
Branch Preview URL: https://feat-evals-fixtures-as-tack.tack-ayg.pages.dev

View logs

This branch has not been deployed

No deployments
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.

1 participant