Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>ParallelEarthNew to Visual Studio Code? Get it now.
ParallelEarth

ParallelEarth

Shubham

|
3 installs
| (0) | Free
Explore alternate futures. Verify before you change. Local worktree experiments with real check evidence.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ParallelEarth Pixel Portal logo

ParallelEarth — Git Worktree Experiments for VS Code

Explore alternate futures. Verify before you change.

Try alternative implementations in separate Git worktrees, run checks you approve, and compare their results against a committed baseline—all organised as one experiment inside VS Code.

Install from Visual Studio Marketplace · Install from Open VSX · Report an issue

ParallelEarth is available on both registries. It runs locally and requires no AI account, API key or cloud backend. The extension includes no telemetry; commands and tools you choose to run can have their own network behaviour.

Quick start · Why ParallelEarth? · Features · Installation · FAQ · Development

What is ParallelEarth?

When you have two ways to fix a bug or refactor a function, you need more than separate copies of the code. You need a way to keep track of the question, the approaches and what happened when you checked them.

ParallelEarth brings those pieces together:

Concept What it means
Experiment A named investigation attached to a Git repository and an exact committed revision.
Baseline Earth A reference Git worktree created from that revision.
Alternative Earth A separate detached Git worktree where you try an implementation.
Check evidence Recorded command results you can compare with a matching baseline check.

Your original working files stay in place while you edit alternatives in their own directories and editor windows.

Why ParallelEarth instead of Git branches?

Git branches and worktrees already support parallel development. ParallelEarth adds an experiment workflow around those Git capabilities.

Task Manual Git workflow ParallelEarth
Try another implementation Create and organise branches or worktrees Create a named Earth under an experiment
Keep a reference version Maintain a reference checkout Use the experiment's committed baseline Earth
Record check results Collect command output yourself Retain approved runs with each Earth
Compare alternatives Match commands and outcomes yourself Compare matching checks against the baseline
Document the decision Assemble a report Export JSON or Markdown evidence

A branch is often enough for a normal feature or bug fix. ParallelEarth is useful when you want to evaluate competing implementations before deciding what to keep.

Use it to compare refactoring approaches, investigate bug fixes, or check alternative AI-generated implementations. It does not generate code, automatically choose a winner or replace code review.

Installation

VS Code

  1. Open Extensions and search for ParallelEarth.
  2. Choose the extension published by shubhammaji1 and click Install.
  3. Open the Command Palette and run ParallelEarth: Open Home.

You can also install through the Visual Studio Marketplace listing, or use the VS Code CLI:

code --install-extension shubhammaji1.parallel-earth

Open VSX and compatible editors

ParallelEarth is also available on Open VSX. In an editor configured to use Open VSX, search for ParallelEarth or shubhammaji1.parallel-earth.

Registry availability does not guarantee compatibility with every editor. Cursor, VSCodium and other VS Code-based editors must support the declared VS Code APIs and local extension execution; editor-specific clean-install validation remains a separate check. This VSIX is not a JetBrains plugin.

Install a VSIX manually

Download a VSIX from a registry listing, then use Extensions → … → Install from VSIX…. Reload if prompted and run ParallelEarth: Open Home.

Requirements

  • VS Code 1.100 or later, or a compatible editor supporting the required APIs.
  • A trusted, local Git repository with at least one commit.
  • Git available to the extension.
  • The tools required by your chosen checks, such as Node.js and npm for a Node project.

Browser-only and virtual workspaces are unsupported. Development requires Node.js 22.17 or later. Publication does not imply that every operating system and editor combination has been verified.

Quick start

  1. Open Home. Run ParallelEarth: Open Home from the Command Palette.
  2. Create an experiment. Select your Git repository, name the question you want to investigate, and choose a committed starting revision.
  3. Create alternative Earths. Use descriptive names such as “Approach A — deduplicate” and “Approach B — alternative algorithm”.
  4. Open an Earth. Edit its separate working directory in a new editor window. Install project dependencies deliberately if needed.
  5. Run matching checks. Select and approve checks for the baseline and alternatives.
  6. Compare evidence. Compare Earths, inspect changes and export a JSON or Markdown report.
  7. Decide what to keep. Review the chosen changes and bring them back using your normal Git workflow.

No demo project or experiment is created automatically. History contains the projects you create or resume.

Earths start from a committed revision. Uncommitted, untracked and ignored files from your original checkout are not automatically copied. Dependencies are not installed automatically. Duplicating an Earth copies its current working files, including tracked edits and non-ignored new files. Ignored files and previous check evidence are excluded.

Example: compare a booking reconciliation fix

The repository includes a booking reconciliation fixture with a baseline and three alternatives. Its expected check outcomes are:

Earth Outcome Meaning in this fixture
Baseline PASSED The reference command succeeds.
A — Deduplicate correctly PASSED The alternative also passes the check.
B — Duplicate regression REGRESSION The baseline passes, but this alternative fails the matching check.
C — Not yet checked NOT_RUN No check evidence has been recorded.

Run the fixture explicitly from a development checkout:

npm install
npm run demo

The demo creates a separate fixture repository and real Git worktrees. It writes reports to artifacts and retains the fixture for inspection. It does not run when a user opens the extension.

A passing command is evidence for that command, not proof of overall correctness. Single-run durations are not performance benchmarks. Comparison depends on matching checks and compatible recorded fingerprints; mismatches are inconclusive. Rerun checks after editing an implementation.

Features

  • Named code experiments: group related implementation alternatives around a question.
  • Committed baselines: pin the starting point to an exact Git revision.
  • Separate Git worktrees: edit alternatives without switching the original checkout's files.
  • Readable Earth names: identify alternatives in folder names and editor windows.
  • Earth management: rename, archive, unarchive and duplicate alternatives with their current edits.
  • Change inspection: inspect tracked diffs and untracked filenames; preview and approve supported text patches.
  • Approved checks: discover npm test, build, lint, typecheck and check scripts, or select a Node test file.
  • Recorded evidence: retain command status, bounded output and run identifiers.
  • Baseline comparison: compare matching checks and export JSON or Markdown reports.
  • Project history: search and sort compact project rows with pagination.
  • Conservative cleanup: remove history while retaining files, or delete eligible clean worktrees.

Reports summarise the latest check per Earth. JSON includes retained run history, capped at 50 runs per Earth. Individual test assertions remain in command output rather than normalised assertion records. Git worktrees can hold projects in many languages; built-in check discovery currently focuses on npm scripts and Node test files.

Project history and cleanup

Resume previous experiments from Project History. Home provides search, sorting and pagination as the project list grows.

Action Result
Remove from History Removes the catalog entry while retaining Earth files.
Delete Clean Worktrees Checks ownership and cleanliness before removing worktrees. Edits, untracked or ignored files, and new commits block cleanup.

The original source repository is not a deletion target. Individual baseline deletion is refused; deleting an entire experiment can remove its eligible clean baseline and alternatives.

FAQ

Does ParallelEarth merge changes back into my project?

Use Bring Changes Back on an alternative Earth to preview its files and create a new named branch in the source repository. Existing branches are never overwritten; the source working files, index and checked-out branch stay in place. Review and merge or cherry-pick that branch using your normal Git workflow. Keep the Earth until you have verified that your chosen changes are preserved.

Can I use it with AI coding tools?

You can use editing tools available in an Earth's editor window. ParallelEarth does not depend on an AI provider. Check the outputs using your project's own tests, builds or other relevant checks.

Is an Earth a security sandbox?

An Earth is a Git worktree, not a container or security boundary. Approved commands can access your machine, files, credentials and network. Use trusted projects and commands.

Does it upload my source code?

The extension has no source-upload backend or telemetry. Scripts, dependencies and external tools that you run may communicate over the network independently.

Why are my uncommitted changes missing from an Earth?

Earths are created from the selected committed revision. Commit the intended starting code before creating the experiment; local edits and ignored files are not automatically included.

Why is a comparison inconclusive?

The alternative needs a matching baseline command with a compatible recorded fingerprint. Different commands or environments cannot establish a like-for-like comparison. Fingerprints do not verify all installed dependencies or external services.

Execution and evidence limits

Workspace Trust and explicit command approval apply to execution. The runner provides timeouts, cancellation controls, bounded logs and concurrency limits. Git hooks and external diff/textconv are disabled for extension Git operations; repository checkout filters remain a trust consideration.

Logs and exported reports may contain sensitive project information. Review them before sharing. Container isolation, automatic AI generation, automatic merging and normalised assertion-level verification are outside the current scope.

Development

Requirements: Node.js 22.17+, npm, Git and VS Code 1.100+.

git clone https://github.com/shubhammaji1/parallel-earth.git
cd parallel-earth
npm install
npm run typecheck
npm test
npm run build

Press F5 to launch an Extension Development Host with an explicit empty workspace. Startup does not create experiments or open the fixture project.

Additional commands:

# Explicit fixture demonstration
npm run demo

# Extension-host checks (require a suitable GUI/display environment)
npm run test:host

# Build a VSIX with the repository's local packaging script
npm run package

For official VSIX packaging, create the output directory if needed and run:

npx @vscode/vsce package --no-dependencies --out artifacts/parallel-earth-0.3.0.vsix

Use the version declared in package.json when naming release artifacts. The build transpiles TypeScript; semantic checking is the separate typecheck command. Packaging alone does not verify extension behaviour; test a clean installation before releasing an update.

Documentation and feedback

  • Getting started
  • Architecture
  • Experiment isolation
  • Security model
  • Troubleshooting
  • Validation notes
  • Contributing
  • Changelog

Found a bug or a confusing step? Open an issue with your editor/OS versions, reproduction steps and relevant redacted output. If you have tried ParallelEarth, an honest registry review helps other developers understand whether it fits their workflow.

License

ParallelEarth is available under the MIT License.

New in 0.2.0: setup and repeatable evidence

Right-click an Earth for Copy Earth Path, Reveal Earth Folder or Set Up Earth. Fresh worktrees have no installed dependencies. Review and approve npm ci, npm install or a project setup script; setup outcomes are recorded separately from checks. Dependencies are never automatically shared.

Use Repeat Checks Against Baseline on an experiment, choose alternatives, a command and 2–10 runs per Earth. Every completed run is retained (up to 50 per Earth). Incomplete or changed series are inconclusive; mixed pass/fail outcomes are labelled UNSTABLE. This identifies observed variation, not its cause. A later single check replaces the comparison summary; JSON preserves retained history.

Setup and checks use one shared queue across windows using the same local storage root. Progress shows Queued, Running or Cancelled. Cancellation prevents queued commands from starting. Other tools, other roots, remote machines and test-runner workers are outside this queue. Elapsed times are not benchmarks. The old concurrency setting is deprecated and ignored.

Reports include directory paths, setup status, commands, revisions, fingerprints, repeat outcomes and queue scope. Review paths and logs before sharing.

Interrupted execution queue

An interrupted host may leave execution-queue/active beneath your storage root. ParallelEarth never automatically steals this lock: a child command may still be running. Close other ParallelEarth windows and verify/stop surviving commands before removing that active directory only, then retry. Do not share storage over a network filesystem.

New in 0.3.0: preserve alternatives and keep evidence current

  • Bring Changes Back: right-click an alternative, review the file diff, and approve creation of a new branch in the source repository. A snapshot commit preserves current working files on top of the Earth's HEAD history. The original checkout and index are retained. Existing branch names are refused. Resolve merge conflicts later using your normal Git workflow.
  • Duplicate Current Earth: copies the current tracked files and non-ignored new files, including binary files and deletions. Committed Earth changes are folded into the duplicate's changes against the experiment baseline. The duplicate starts with no check evidence; dependency setup is independent. Staging boundaries and ignored files are not copied.
  • Stale evidence: the explorer refreshes freshness while visible (approximately every 15 seconds), and comparison/export rechecks file contents and HEAD. Changed code or baseline evidence is labelled STALE and is not comparable. Legacy records show UNKNOWN until rerun. A command that changes files also invalidates its evidence. Raw command outcomes remain available in reports.

Freshness hashes include tracked and non-ignored untracked files. Ignored files, installed dependencies and external service state are outside this check. Hashes do not prove that files stayed unchanged at every instant during a command. Symlinks and submodules are refused by snapshot/freshness inspection. Git clean/checkout filters may run during snapshot/copy operations in a trusted repository. Review new files for secrets before branch creation. A branch snapshot contains the working file state, not an independent copy of staged-only content. Snapshot objects can remain in Git even if branch creation is cancelled; normal Git maintenance manages unreachable objects.

New in 0.5.0

  • App previews: right-click an Earth to start, open or stop its app in a managed terminal. Each preview gets a separate local port; choose PORT/HOST mode or Vite strict-port mode. Configure separate test databases/services when needed.
  • Environment comparison: compare current tools/configuration across Earths, and inspect the Node/npm versions and configuration hashes recorded with checks in the dashboard and exports.
  • CLI and CI: run saved experiment recipes outside VS Code with repeat counts, optional dependency setup, acceptance criteria and JSON/Markdown reports. CI returns a failing exit code when the candidate lacks passing, current, comparable evidence.
npm run build
node dist/cli.js --help
node dist/cli.js ci --repo . --storage ../earth-ci --baseline HEAD~1 --candidate HEAD --script test:json --repeat 2 --approve --output ../earth-report.json

See CLI, CI recipes, app previews and environment details for setup, exit codes, a GitHub Actions example and evidence limits.

New in 0.4.0

Open ParallelEarth: Comparison Dashboard to compare baseline and alternative Earths, including changed-file counts, setup, check status and evidence freshness. Select an Earth to search or filter individual results, inspect failure output, and review acceptance criteria.

For individual results, add an npm script using a Jest-compatible JSON reporter, for example:

{
  "scripts": {
    "test:json": "vitest run --reporter=json"
  }
}

Jest users can use jest --runInBand --json. Select the script through Run Checks and approve it as usual. ParallelEarth captures JSON stdout separately from stderr. Report stdout must contain one complete JSON document. Ordinary scripts still provide command-level evidence.

For noisy scripts, configure the reporter output file using the PARALLEL_EARTH_REPORT environment variable supplied for each run (for example, vitest run --reporter=json --outputFile="$PARALLEL_EARTH_REPORT" in a POSIX script). Use your shell's environment-variable syntax on Windows. The path is temporary and unique to that run; existing report files are never imported. Limits are 1,000 tests and the configured output byte limit. Incomplete, interrupted, duplicate or unsupported reports cannot verify criteria.

Use ParallelEarth: Manage Acceptance Criteria to add a requirement, select a recorded check command, and map its tests. Requirements may be saved before running tests and remain UNVERIFIED until mapped. Every mapped test must pass in a complete, current check series for VERIFIED. Missing/skipped tests, failed commands, unknown freshness or incomplete repeats prevent verification. Failed tests show FAILED, varying mapped results show UNSTABLE, and changed code shows STALE. Criteria describe evidence from the tests you select; passing tests do not prove that the requirement is fully covered.

Run the same check in the baseline and alternatives to compare individual regressions, recoveries, added/missing tests and skipped tests. Refresh evidence after editing files. JSON and Markdown exports retain test and criterion results.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft