Move an existing project to hlix
This path moves the project in your current directory into the authenticated hlix workspace without executing repository setup commands on your machine.
Prerequisites
Section titled “Prerequisites”- The
hlixCLI installed - A completed
hlix auth login - Git installed
- A project directory you are authorized to upload
-
Enter the project.
Terminal window cd path/to/project -
Inspect the import plan.
Terminal window hlix import . --dry-runReview the stack, file and byte counts, active environment files, secret-key count, environment confidence, quarantined resources, history findings, and any blockers. Secret values are never printed.
-
Import the project.
Terminal window hlix import .Review the trust summary and confirm. Import also initializes the folder. It creates the cloud project, uploads a verified Git bundle, sends protected files through the encrypted path, and records the first immutable revision. In non-interactive automation, review a dry run first and then use
hlix import . --yes. -
Verify the local binding.
Terminal window test -f .hlix/config.jsontest -f .hlix/state.jsonhlix projects listExpected result: the imported project appears in the table. Refreshing the web app shows the same project in the selected workspace.
-
Make and push a change.
Terminal window # edit and test the project firsthlix pushExpected result:
push complete.A new cloud revision becomes the project head only if the local base still matches the cloud base.
What hlix detected
Section titled “What hlix detected”The scan builds a declarative environment plan from repository evidence such as:
.cursor/environment.json.devcontainer/devcontainer.jsonordevcontainer.json.gitpod.yml- Docker and Compose files
package.jsonand lockfiles- Python, Go, Procfile, and tool-version files
- environment-variable references and private ports
Detection is read-only. Install, build, start, and terminal commands are recorded for review; they are not executed by the local scan. Approved cloud setup may run later inside the isolated Coding Workspace.
See Environment discovery for the detector order, protected credential sources, and the established tooling patterns behind this model.
If the dry run blocks
Section titled “If the dry run blocks”Do not bypass a blocker until you understand it.
- Potential secrets in Git history: remove and rotate them.
--history preserveis an explicit choice to keep that history; it does not make exposed credentials safe. - Incomplete history scan: repositories above the scan limit require an explicit
--history preservedecision. - Symlink: this release refuses symlinks rather than following a path outside the selected root.
- Nested Git repository: import each repository independently.
- Ambiguous dotenv selection: pass
--env-file <path>after reviewing which environment belongs in cloud development. - Size limit: exclude generated or unnecessary data with
.hlixignore.