Skip to content

ci: run the simulation suite on every merge to main - #98

Open
u9g wants to merge 1 commit into
mainfrom
jason/simulation-ci
Open

ci: run the simulation suite on every merge to main#98
u9g wants to merge 1 commit into
mainfrom
jason/simulation-ci

Conversation

@u9g

@u9g u9g commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Pre-configures the starter with a recommended simulation CI setup.

  • scenarios.yaml at the repo root with three text-mode scenarios mirroring the existing eval suite: greeting and offer of help, not inventing the user's birthplace, and declining a hacking request.
  • .github/workflows/simulations.yml runs lk agent simulate --scenarios scenarios.yaml on pushes to main and on demand via workflow_dispatch. It deliberately does not run on every pull request push, since each run spends real inference; pytest remains the per-commit check.
  • README gains a Simulations subsection under "Tests and evals", and AGENTS.md points coding agents at the scenario file.

Verified by running the suite non-interactively with CI=1, as the workflow does: run SR_KwucnioRezTF, 3 of 3 passed.

Comment thread .github/workflows/simulations.yml Fixed
Adds a scenarios.yaml mirroring the eval suite (greeting, grounding, harmful
request) and a Simulations workflow that runs it with `lk agent simulate` on
pushes to main and on demand. Merges rather than pull-request pushes, because
each run spends real inference.
@u9g
u9g force-pushed the jason/simulation-ci branch from dfc96da to 69257b9 Compare September 2, 2026 12:53
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.

3 participants