Repository navigation
Upgrade to eve 1.0.0 and Vercel Connect 2.9.3 - #13
Merged
Merged
Conversation
…ndbox Upgrade - eve 0.67.2 -> 1.0.0 and @vercel/connect 2.3.3 -> 2.9.3, with the peer eve 1.0 requires (ai 7.0.120 -> 7.0.173, for ^7.0.172). - Memory moves to eve's built-in file memory: a per-user preferences slot and the shared factory brain. The Blob tools they replace are removed; handoff artifacts stay in Blob. - The GitHub extension is removed. Agents run the real git and gh through bash, under per-command credential leases, and the orchestrator has no shell: its bash accepts only allowlisted gh commands, which the runtime parses and runs itself. - Triage is one decision-model call (triage_work_item), and work can arrive over a new HTTP intake API (POST /intake/v1/tickets). - Model assignments are updated in agent/lib/models.ts. Sandbox and credentials - The four sandboxes that hold the repository open on an egress allowlist: GitHub and the public package registries. Add hosts with FACTORY_SANDBOX_ALLOWED_DOMAINS, or set FACTORY_SANDBOX_EGRESS=open. - Station sessions turn package install scripts off before the setup command runs. FACTORY_ALLOW_INSTALL_SCRIPTS=1 opts out. - The GitHub channel uses a token narrowed to issues and pull requests on the factory repository, not the connector's full token. - FACTORY_SIGNED_COMMITS=1 delivers branches as commits GitHub signs, recreated through the Git Data API. Off by default. Tests and comments - Adds an offline vitest suite (3,952 tests) covering the allowlists, the command sorter, leases, the authorization matrix, the dispatch hooks, intake, triage, and the assembled surface. - The suite was audited by mutation: tests that could not fail were rewritten, and source-text checks were replaced with tests of the real modules. - TSDoc was corrected against the code and given @PARAM, @returns and @throws tags where they add something. Verification - pnpm validate: lint, tsc, and eve discovery with 0 errors / 0 warnings pass. 3,939 tests pass; 4 fail on macOS only, where sh and bash are bash 3.2 and mis-parse a heredoc inside $(...). - pnpm build, pnpm eval, and the dev TUI were not run locally, for lack of Vercel credentials. The egress allowlist, the narrowed channel token, and the signed push have not been exercised against a live sandbox or GitHub.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Anshuman71
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades the template to eve 1.0.0 and Vercel Connect 2.9.3, moves GitHub access to the real
gitandghin the shell, and locks down the sandboxes that hold the repository.evefrom 0.67.2 to 1.0.0 and@vercel/connectfrom 2.3.3 to 2.9.3, with theaiversion eve 1.0 requires (7.0.120 to 7.0.173, for its^7.0.172peer).preferencesslot and the shared factorybrain. The Blob tools they replace are removed; handoff artifacts stay in Blob.gitandghthroughbashunder per-command credential leases, and the orchestrator has no shell: itsbashaccepts only allowlistedghcommands, which the runtime parses and runs itself.triage_work_item), and adds an HTTP intake API (POST /intake/v1/tickets).FACTORY_SANDBOX_ALLOWED_DOMAINSadds hosts,FACTORY_SANDBOX_EGRESS=openremoves it), and station sessions turn package install scripts off before the setup command runs (FACTORY_ALLOW_INSTALL_SCRIPTS=1opts out).FACTORY_REPO, and adds an opt-in signed push (FACTORY_SIGNED_COMMITS=1) that recreates commits through the Git Data API so GitHub signs them.agent/lib/models.ts.@param,@returnsand@throwstags where they add something.pnpm validatein CI: lint,tsc, all 3,952 tests, and eve discovery with 0 errors / 0 warnings. On macOS, 4 tests intests/github/shell.test.tsfail locally, becauseshandbashthere are bash 3.2 and mis-parse a heredoc inside$(...).pnpm build,pnpm eval, and the dev TUI unverified, for lack of local Vercel credentials. The egress allowlist, the narrowed channel token, and the signed push are tested offline only and have not been exercised against a live sandbox or GitHub, so they are worth a run on a scratch repository before merge..env.examplefor the four new variables (FACTORY_SANDBOX_EGRESS,FACTORY_SANDBOX_ALLOWED_DOMAINS,FACTORY_ALLOW_INSTALL_SCRIPTS,FACTORY_SIGNED_COMMITS); the README table andARCHITECTURE.mddocument them.