1 · Source mapping
macOS device
- Canonical project ID
github.com/acme/acme-app- Configured local root
/Users/alex/Code/acme-app- Recognized field
cwd
Synthetic path-mapping lab
Reinstate maps a recognized structural path by replacing the source device’s configured project root with a portable canonical project token, then expanding that token through the destination device’s mapping. This explainer uses fixed synthetic data only; it does not accept, persist, or transmit a real local path.
Choose a direction and current Phase 1 adapter. Every value below is a public fixture invented for this page. There is no free-text field, file access, or clipboard read. No analytics script is rendered, and changing a visualizer selection makes no network request. Selections are never written to cookies, local storage, or session storage; the site's unrelated theme preference may use local storage.
Synthetic-only control: selections update this document in memory and are discarded on navigation.
1 · Source mapping
github.com/acme/acme-app/Users/alex/Code/acme-appcwd2 · Portable value
$${REPO:github.com/acme/acme-app}/src/main.goOpen /Users/alex/notes.txt unchanged3 · Destination mapping
C:\src\acme-appC:\src\acme-app\src\main.goBefore export
{"cwd":"/Users/alex/Code/acme-app/src/main.go"}Inside adapter archive
{"cwd":"${REPO:github.com/acme/acme-app}/src/main.go"}After restore
{"cwd":"C:\src\acme-app\src\main.go"}Claude Code restore recomputes its destination project-directory key fromC:\src\acme-app; it does not reuse the macOS directory key.
| Adapter | Allow-listed keys in RC8 | Additional native-layout rule |
|---|---|---|
| Claude Code | cwd, path, file,filename, filePath, file_path,projectPath, project_path,workingDirectory, workdir | Recompute the destination project-directory key from the mapped checkout root. |
| Codex CLI | cwd, path, workdir,workingDirectory, filePath, file_path | Keep the native date-partitioned rollout path and remap structural values. |
A value is considered path-like only when it is absolute, already portable, or uses a recognized Windows drive-path shape. Unknown keys remain untouched even when their text looks like a path.
This visualizer explains deterministic source behavior; it does not execute Reinstate or validate a private checkout. Use rein setup check and a pull dry-run on each real device. RC8 source checks and synthetic fixtures do not replace the remaining physical Windows, macOS amd64, WSL2, and two-device acceptance gates.
Do not paste a real private path into a website.
The current visualizer intentionally offers no such input. A future local diagnostic would need a separate threat model, reviewed client-only implementation, redaction rules, and tests proving that input never leaves the device.