feat(eve): make integration setup headless-deterministic - #1822
Open
jseramn wants to merge 1 commit into
Open
Conversation
Contributor
|
@cursoragent is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Add keyed Asker composition (headless/answers) to the integration setup runner, fail closed on missing Vercel project links in headless mode, and split Discord setup into gather-then-perform so agents can supply answers by stable key without surprise interactive linking. Signed-off-by: Jose Ramon Garcia <contacto@jseramn.tech>
jseramn
force-pushed
the
feat/deterministic-integration-setup
branch
from
August 7, 2026 22:46
af293bd to
02fa8a1
Compare
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.
Summary
Related to #1786. Built-in integration setup always used an interactive Asker, so coding agents could not supply answers by key, and an unlinked Vercel project could open an interactive linking wizard mid-flow after other choices had already started mutating external state.
This slice adds
headless+ keyedanswerstorunIntegrationSetup, routes Discord through an explicit gather-then-perform split, and makesensureVercelProjectthrowHumanActionRequiredError(vercel-link) in headless mode when no on-disk link exists instead of launching the interactive linker. Interactive CLI/TUI behavior is preserved. Linear/Slack/GitHub/Photon only passheadlessthrough for the prerequisite; full gather→perform migration for those is follow-up.Validation
pnpm fmtpnpm lintpnpm --filter eve typecheckpnpm --filter eve exec vitest run --config vitest.unit.config.ts src/setup/integrations/runner.test.ts src/setup/integrations/discord/setup.test.ts src/setup/flows/ensure-vercel-project.test.ts src/setup/ask.test.ts(46 passed)research/deterministic-integration-setup-repro.mdChecklist
CONTRIBUTING.mdevepackagegit commit --signoff)