Skip to content

feat(eve): make integration setup headless-deterministic - #1822

Open
jseramn wants to merge 1 commit into
vercel:mainfrom
jseramn:feat/deterministic-integration-setup
Open

feat(eve): make integration setup headless-deterministic#1822
jseramn wants to merge 1 commit into
vercel:mainfrom
jseramn:feat/deterministic-integration-setup

Conversation

@jseramn

@jseramn jseramn commented Aug 7, 2026

Copy link
Copy Markdown

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 + keyed answers to runIntegrationSetup, routes Discord through an explicit gather-then-perform split, and makes ensureVercelProject throw HumanActionRequiredError (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 pass headless through for the prerequisite; full gather→perform migration for those is follow-up.

Validation

  • pnpm fmt
  • pnpm lint
  • pnpm --filter eve typecheck
  • pnpm --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)
  • Repro notes: research/deterministic-integration-setup-repro.md

Checklist

  • I linked an issue with prior discussion confirming this change is wanted
  • I ran the relevant checks from CONTRIBUTING.md
  • I added tests and documentation where relevant
  • I added a changeset if this touches the published eve package
  • DCO sign-off passes for every commit (git commit --signoff)

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown
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
jseramn force-pushed the feat/deterministic-integration-setup branch from af293bd to 02fa8a1 Compare August 7, 2026 22:46
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