Skip to main content

Cross-agent guide

Bring the app you have without starting over

Bring an existing repository into 1904, confirm what was copied, and prepare one reviewed change before publishing.

4 min readUpdated Start the guide

An existing application can come into 1904 without starting over. Choose Import and edit when you want to keep the implementation, or Reimagine when you want a new app built from an analysis of the old one.

Treat source import, deployment preparation and production release as separate steps. Git history can be copied without bringing a running database, uploaded files, external secrets or the original host's configuration.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • Authorized access to the repository and knowledge of the branch and services you want to keep.
  • A decision about using the connected repository or making a separate private copy.
  • A list of required services, configuration, databases and integrations, without pasting secrets into a brief.
The file review interface with a sample validation change.
Review the changed file and its diff before submitting. Example code and task data. Open full-size screenshot
Step 1 of 6

Open Existing App and choose the source

Select Existing App from the sidebar, or the phone's Connect existing app option. Choose from the repositories your connection can write to, or use Copy from a Git link for a supported host. For private source access, use the designated credential field and the narrow read access needed for the import.

Step 2 of 6

Choose whether to preserve the source or rebuild separately

Import and edit keeps the current code and does not start an automatic build. Copying creates a separate repository without ongoing synchronization; use it when the original repository should remain untouched. Reimagine analyzes the source and creates a new app from reviewed requirements and design, in a separate repository.

Step 3 of 6

Review the destination and import receipt

Check the app name, destination repository and source before starting Import app. Follow the progress and open the resulting app when complete. Confirm branches, tags and default-branch expectations where they matter. Repository issues, pull requests, secret stores, running databases and uploaded files are not transferred by a Git copy.

Step 4 of 6

Inspect what the app needs to run

On Overview, read Get your app ready and its findings before asking to publish. An imported repository can be code-only or require unsupported services. Importing it successfully does not prove the runtime can host it. For a monorepo, name the particular service you intend to run and its dependencies.

Step 5 of 6

Request one bounded preparation task

Use Help me get ready where offered, then review the preparation changes before merging them. Keep adaptation scoped to the intended runtime and preserve the app's behavior. Provide missing operational choices yourself instead of letting a placeholder credential count as a working integration.

Example preparation brief
Inspect this imported app without publishing it. Identify the intended web service, build/start requirements, configuration names, databases and persistent files. Prepare only the changes needed to run it on 1904, on a separate task branch. Do not migrate live data or contact production services. Return a reviewable diff and any blockers.
Step 6 of 6

Verify before choosing a publishing path

Review source changes, current checks and a safe test flow. Reinspect readiness after merging preparation work. Then deliberately choose publishing this app or creating a separate production app where supported. Configure live values and data migration separately, and verify the resulting release at its actual address.

Check the result

  • The intended code and history are available in the correct repository without unexpected changes to the original.
  • Runtime requirements and preparation changes have been reviewed, with publication remaining an explicit step.

Troubleshooting

A connected repository is missing.

Update the GitHub installation's selected repositories and refresh the list. Confirm writable access; copying a private source may require a separate source-read credential.

The import works but the app cannot run.

Read the stack classification and readiness blockers. Use a reviewed preparation task or the offered code-only/reimagine path rather than assuming import included a deployment.

Availability and limits

  • Copies do not stay synchronized with their source and do not transfer application data or hosting secrets.
  • Repository size, Git LFS, submodules, stack and service requirements can limit the available import and deployment paths.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.