Skip to content

Support scripts and execution overrides in direct VM runs - #415

Merged
asselstine merged 9 commits into
mainfrom
gen-2926-direct-run-script-overrides
Nov 20, 2026
Merged

asselstine merged 9 commits into
mainfrom
gen-2926-direct-run-script-overrides

Conversation

@asselstine

@asselstine asselstine commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds direct-run prompt/script support and per-run overrides, resolves omitted execution settings from project defaults then user defaults, and bounds selected integrations and run permissions to the calling MCP client's effective access. Explicit empty integration and permission subsets are supported. Agent model validation uses the resolved execution provider and model together. Service acceptance cases cover defaults, integration access, effective scopes, empty subsets, and denied access.

Verified locally

  • npx vitest run packages/api/test/direct-run-defaults.postgres.test.ts packages/api/test/api-contract.test.ts: API contract passed (12); 4 database-backed service tests were skipped because AUTH_TEST_DATABASE_URL is not configured.
  • npx tsc --noEmit -p packages/api/tsconfig.json: passed.

Remaining acceptance work

  • Run database-backed service tests and the repository suite in the isolated validation environment.
  • Launch a fresh direct script run using the pinned validation image and run npm ci, npm test --workspace=factorize, and npm test --workspace=factorize-app. This run lacks runs:start; that acceptance remains unverified. Keep this PR draft until all acceptance checks pass.

@linear

linear Bot commented Nov 19, 2026

Copy link
Copy Markdown

GEN-2926

@asselstine
asselstine marked this pull request as ready for review November 20, 2026 01:10
@asselstine
asselstine merged commit 6a763b1 into main Nov 20, 2026
3 of 4 checks passed
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