Docs / Engineering

Retrofit

Reads the source of an imported repository and saves what it finds as draft intents and scenarios on this project's Intents tab.

When to use it

When you adopt Wevit on a product that already exists and want to start capturing what it does.

Start here

Click "New Job", connect and import a repository if you have none, pick it and click "Create".

How to use it

  1. If no repository has been imported yet, click "New Job", then "Connect repository". Enter a name and click "Create repository", then enter the repository's https:// URL, an access token if it is private, and click "Import".
  2. Wait for the import to finish. If it fails, the reason is shown; fix it and click "Import" again. The access token is used once for the import and is not stored.
  3. In the "New Retrofit Job" form, choose the repository under "Repository" and click "Create". Only repositories whose source is imported are listed.
  4. Select the job in the list and click "Start". The progress bar and "N / M files processed" follow it as it reads the files of the imported commit, a few at a time.
  5. Click "Pause" to stop after the current batch and "Resume" to continue. If the job is Failed and shows a reason, click "Retry from where it stopped".
  6. When the status is Completed, the pane says how many draft intents were added and links to this project's "Intents tab", where they appear as drafts, each with its own scenarios.

Good to know

  • Drafts are added to the project whose Retrofit tab you created the job from. The list shows this project's jobs plus older jobs that have no project.
  • The job reads one commit of the imported repository. Later changes in the remote repository are not picked up, and the import is done once per repository.
  • Analysis uses AI credits. If your credit limit is reached the job pauses with a message; add credits or your own key, then click "Resume".
  • Binary files, very large files and folders such as node_modules, dist and build are skipped, and a job reads at most 100 files.
  • Only https:// repository URLs are accepted (private-network addresses are refused). An imported repository is only read: scenarios cannot be run against it for now.

Related

Last updated 6 October 2026