Files
devvm/internal/msg/docs.go
T
w3cjandClaude Opus 5.5 cb36951de2 refactor(git-protect): drop strict, convert strict VMs to on
devvm git-protect strict (0.1.0, 0.1.1-rc.1) set diff.ignoreSubmodules =
all in the locked .git/config, which can't keep git on this machine out
of a submodule the VM adds: a .gitmodules ignore line the VM writes
overrides it, and git add -A/-u, describe --dirty, diff-index,
diff-files, fetch and pull recursion and --ignore-submodules on the
command line enter submodules anyway (#37). --clone is the only way to
keep VM code away from host git.

- devvm git-protect takes on|off; strict is a usage error
  (git_protect_strict_refused) naming devvm clone on. Use, help,
  completion (Modes) and --json reflect it.
- A VM left strict reads as on (Mode, Next) and is pinned and kept as on.
  The first check that finds it stopped (Check, then converter.unstrict:
  launches, devvm stop, devvm clone on and its undo) removes the value all
  from the .git/config of each repo its state recorded before that check,
  under the host's git lock, and only where .git's identity is the
  recorded git_id (a replaced .git, or a VM with no record after devvm
  adopt, is left alone, its all named with the manual remedy:
  git_strict_unknown). Each config is read through safefile first,
  unlocked for the edit and locked again even after an interrupt
  (context.WithoutCancel), and checked to still be a regular file in that
  .git afterwards (git_lock_raced). On a watching host, a config whose sum
  isn't the check's is left, and the new sums go into the watch's. An
  interrupt records nothing. Then on is recorded (mode and next) with one
  warning (git_strict_converted), none when next is off. Set on/off and
  Unlock (devvm rm) remove it the same way, silently (strictLeft).
- strict recorded nothing about a value it overwrote, so nothing can be
  restored: only all is removed (--unset-all '^all$'); any other value is
  the user's and stays. This fixes off, which unset any local value.
- A config another VM keeps locked keeps it, named with the manual
  remedy (git_strict_kept, via msg.M.Value), and its repo goes in the
  state's strict_left, retried at each later stopped check until empty.
  A config git can't change is named (git_strict_left).
- Messages: git_locked and git_embedded_new say what on can't stop;
  git_locked_strict and git_config_failed go.
- Docs: .git protection's Strict section becomes VMs that were strict,
  with the remedies; on and Not covered say a submodule or repo the VM
  adds runs through host git until the next check names it, and only
  --clone keeps VM code away; attack vectors, How it works, the design
  notes, the commands table, ls, the cli skill and the CLI reference
  follow.
- Tests: strict_test.go (conversion, values kept, off/on/unlock, nested,
  kept and retried, replaced and unrecorded .git, interrupted, next off,
  changed since the check, Linux pins and sums, Watch, next, a failed
  edit), TestUnstrictFIFO, msg TestValue, git_protect.txtar,
  git_pins.txtar, fixture_v010_strict.txtar (0.1.0's app VM made strict
  on macOS), e2e project checks on macOS and Linux.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 07:20:00 -07:00

587 lines
42 KiB
Go

package msg
// docs links messages to the docs page that says more: message ID to
// "page#anchor", a page in docs/content/docs (a folder's _index.md for a
// section) and a heading on it. devvm
// prints the page's address on the line after the message's text.
// TestDocLinks checks every entry.
var docs = map[string]string{ //nolint:gosec // message IDs and pages, not credentials
"backend_lacks": "backends#when-a-backend-lacks-something",
"backend_unreviewed": "backends#when-a-backend-lacks-something",
"backend_unreviewed_used": "contributing/testing#unreviewed-emulations",
"backend_unknown_vm": "backends#a-vms-backend",
"ports_forward_failed": "using/ports-size#ports",
"net_tier_backend": "backends#when-a-backend-lacks-something",
"disk_low": "using/troubleshooting#not-enough-free-space",
"disk_low_warning": "using/ports-size#free-space",
"disk_free_unknown": "using/troubleshooting#not-enough-free-space",
"program_missing": "backends/lima#requirements",
"program_broken": "backends/lima#requirements",
"program_old": "backends/lima#requirements",
"lima_host_unsupported": "backends/lima#requirements",
"program_missing_fix": "backends/lima#requirements",
"program_broken_fix": "backends/lima#requirements",
"program_old_fix": "backends/lima#requirements",
"upgrade_no_latest": "using/upgrading#upgrading",
"upgrade_latest_older": "using/upgrading#an-older-release",
"upgrade_brew_version": "using/upgrading#an-older-release",
"upgrade_prerelease_ahead": "using/upgrading#trying-a-prerelease",
"upgrade_checkout_build": "using/upgrading#how-devvm-upgrade-upgrades",
"upgrade_go_install": "using/upgrading#how-devvm-upgrade-upgrades",
"upgrade_other_install": "using/upgrading#how-devvm-upgrade-upgrades",
"upgrade_no_key": "using/upgrading#how-devvm-upgrade-upgrades",
"upgrade_download_failed": "using/upgrading#upgrading",
"upgrade_bad_signature": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_no_archive": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_bad_checksum": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_bad_archive": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_new_failed": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_failed": "using/upgrading#what-devvm-upgrade-checks",
"upgrade_rollback_failed": "using/upgrading#how-devvm-upgrade-upgrades",
"upgrade_brew_failed": "using/upgrading#how-devvm-upgrade-upgrades",
"lima_arch_unsupported": "backends/lima#requirements",
"no_kvm": "backends/lima#requirements",
"kvm_access": "backends/lima#requirements",
"lima_global_config": "backends/lima#devvms-lima-home",
"vm_has_networks": "backends/lima#devvms-lima-home",
"lima_home_too_long": "backends/lima#limits",
"mount_comma": "backends/lima#limits",
"mount_cache_invalid": "backends/lima#the-project-folders-cache",
"mount_cache_unchosen": "backends/lima#the-project-folders-cache",
"mount_cache_remount_failed": "backends/lima#when-the-cache-mode-changes",
"mount_cache_unmounted": "backends/lima#when-the-cache-mode-changes",
"mount_cache_unchecked": "backends/lima#when-the-cache-mode-changes",
"project_unmounted": "backends/lima#when-the-cache-mode-changes",
"project_unchecked": "backends/lima#when-the-cache-mode-changes",
"mount_cache_no_choice": "backends/lima#the-project-folders-cache",
"disk_shrink": "backends/lima#limits",
"image_in_use": "using/images#deleting-images",
"image_building": "using/images#deleting-images",
"qemu_refused": "internals/lima#confinement",
"qemu_pins_invalid": "safety/git-protection#linux-hosts",
"qemu_pins_failed": "safety/git-protection#linux-hosts",
"start_no_ssh": "using/troubleshooting#a-vm-wont-boot",
"lima_log_unredacted": "using/troubleshooting#a-command-fails",
"no_ubuntu_image": "using/troubleshooting#base-cant-build-on-lima",
"no_ubuntu_release": "using/troubleshooting#base-cant-build-on-lima",
"origin_no_boot": "using/troubleshooting#base-cant-build-on-lima",
"ubuntu_unreachable": "using/troubleshooting#base-cant-build-on-lima",
"ubuntu_bad_signature": "using/troubleshooting#a-download-doesnt-check-out",
"ubuntu_newest_older": "using/troubleshooting#a-download-doesnt-check-out",
"unknown_layer": "using/images#layers",
"default_layer_gone": "using/settings#layers-for-new-vms",
"default_layer_lacks": "using/settings#layers-for-new-vms",
"layer_name_invalid": "using/customizing#your-own-layers",
"layer_name_reserved": "using/customizing#your-own-layers",
"layer_created": "using/customizing#your-own-layers",
"base_features": "using/customizing#choosing-features",
"base_features_none": "using/customizing#choosing-features",
"unknown_feature": "using/customizing#choosing-features",
"script_failed": "using/troubleshooting#a-build-fails",
"build_sources_unreachable": "using/troubleshooting#no-package-source-answers",
"packages_lists_missing": "using/troubleshooting#a-build-fails",
"packages_missing": "using/troubleshooting#base-cant-build-on-lima",
"packages_not_newest": "using/troubleshooting#a-build-fails",
"packages_refused": "using/troubleshooting#a-build-fails",
"packages_stale": "using/troubleshooting#base-gets-old-package-lists",
"packages_stale_mirror": "using/settings#an-ubuntu-mirror",
"rebuild_replaces": "using/images#rebuilding",
"layer_exists": "using/customizing#your-own-layers",
"images_stale_note": "using/images#cleaning-up",
"images_unused": "using/images#cleaning-up",
"folders_not_private": "using/space#devvms-data-folder",
"layout_newer": "using/troubleshooting#a-newer-devvm-changed-devvms-folders",
"layout_unchecked": "using/troubleshooting#a-file-devvm-cant-read",
"vm_state_unreadable": "using/troubleshooting#a-file-devvm-cant-read",
"vms_stray": "using/space#what-devvm-doctor-finds-in-vms",
"vm_folder_stateless": "using/space#what-devvm-doctor-finds-in-vms",
"vms_unreadable": "using/space#what-devvm-doctor-finds-in-vms",
"retention_busy": "using/settings#retention",
"retention_unreadable": "using/settings#retention",
"retention_failed": "using/settings#retention",
"retention_bad": "using/settings#retention",
"set_in_config": "using/settings#configtoml",
"gc_backend_skipped": "using/images#cleaning-up",
"gc_orphans_unknown": "using/space#leftovers-of-a-vm-deleted-outside-devvm",
"gc_orphan_elsewhere": "using/space#leftovers-of-a-vm-deleted-outside-devvm",
"gc_orphan_recent": "using/space#leftovers-of-a-vm-deleted-outside-devvm",
"gc_older_than_needs_history": "using/images#cleaning-up",
"bad_duration": "using/command-line#flags-and-values",
"gc_names_need_tools": "using/images#cleaning-up",
"gc_tools_making": "using/images#cleaning-up",
"unknown_tool": "using/toolchains#adding-and-removing-tools",
"images_total": "using/space#devvm-space",
"space_backend_unknown": "using/space#devvm-space",
"space_stray": "using/space#vms-devvm-has-no-state-for",
"space_caches_note": "using/space#limas-caches",
"tool_not_locked": "using/images#shared-tools",
"vm_outdated": "using/images#outdated-vms",
"bad_path": "backends/lima#limits",
"vm_name_no_room": "backends/lima#limits",
"vm_other_folder": "using/vms#a-folder-made-again",
"vm_other_folder_rm": "using/vms#a-folder-made-again",
"vm_other_folder_adopt": "using/vms#a-folder-made-again",
"rm_unknown_vm": "using/vms#a-vm-whose-folder-is-gone",
"rm_vm_folder_there": "using/vms#a-vm-whose-folder-is-gone",
"rm_vm_lost": "using/space#leftovers-of-a-vm-deleted-outside-devvm",
"vm_moved_here": "using/vms#a-moved-or-renamed-folder",
"vms_moved_here": "using/vms#a-moved-or-renamed-folder",
"adopt_move_refused": "using/vms#a-moved-or-renamed-folder",
"move_folder_changed": "using/vms#a-moved-or-renamed-folder",
"project_folder_changed": "using/vms#a-nested-project-replaced",
"project_folder_changed_stopped": "using/vms#a-nested-project-replaced",
"project_in_vm_folder": "using/vms#a-nested-project-replaced",
"adopt_folder_there": "using/vms#a-moved-or-renamed-folder",
"adopt_has_vm": "using/vms#a-moved-or-renamed-folder",
"adopt_clone": "using/vms#a-moved-or-renamed-folder",
"rm_gone_stopped": "using/vms#a-vm-whose-folder-is-gone",
"rm_gone_clone": "using/vms#a-vm-whose-folder-is-gone",
"space_folder_gone": "using/vms#a-vm-whose-folder-is-gone",
"space_folder_not_connected": "using/vms#a-folder-on-a-disk-that-isnt-connected",
"rm_vm_not_connected": "using/vms#a-folder-on-a-disk-that-isnt-connected",
"vm_unfinished": "using/troubleshooting#a-vm-whose-creation-didnt-finish",
"create_running": "using/troubleshooting#a-vm-whose-creation-didnt-finish",
"no_parent_vm": "using/vms#a-subfolder",
"using_parent_vm": "using/vms#a-subfolder",
"rm_parent_vm": "using/vms#a-subfolder",
"widen_parent_vm_refused": "using/vms#a-subfolder",
"tools_joined": "using/toolchains#adding-and-removing-tools",
"next_start": "using/vms#restarting-and-stopping",
"history_not_exported": "using/coding-agents#history",
"history_too_large": "using/coding-agents#history",
"history_not_imported": "using/coding-agents#importing-history",
"history_import_unsafe": "using/coding-agents#importing-history",
"history_import_less_strict": "using/coding-agents#importing-history",
"history_import_tier_unknown": "using/coding-agents#importing-history",
"history_no_export": "using/coding-agents#importing-history",
"history_import_later": "using/coding-agents#importing-history",
"git_replaced": "safety/git-protection#not-covered",
"git_appeared": "safety/git-protection#when-devvm-reports-git",
"git_embedded_new": "safety/git-protection#when-devvm-reports-git",
"git_hooks_unlocked": "safety/git-protection#when-devvm-reports-git",
"unsafe_folder": "using/settings#project-folders-devvm-refuses",
"unsafe_folder_inside": "using/settings#project-folders-devvm-refuses",
"unsafe_folder_used": "using/settings#project-folders-devvm-refuses",
"cpus_not_number": "using/ports-size#size-and-ports",
"size_not_gib": "using/ports-size#size-and-ports",
"too_many_cpus": "using/ports-size#size-and-ports",
"too_much_memory": "using/ports-size#size-and-ports",
"port_invalid": "using/ports-size#size-and-ports",
"devvm_other_first": "using/upgrading#one-devvm",
"host_memory_low": "getting-started/install#requirements",
"host_cpus_few": "getting-started/install#requirements",
"base_fitted": "using/ports-size#size-and-ports",
"ports_list_needed": "using/ports-size#ports",
"ports_rm_all": "using/ports-size#ports",
"ports_taken": "using/troubleshooting#a-listed-port-isnt-forwarded",
"ca_not_certificate": "using/settings#a-companys-ca",
"ca_not_ca": "using/settings#a-companys-ca",
"ca_invalid": "using/settings#a-companys-ca",
"ca_link": "using/settings#a-companys-ca",
"ca_folder_link": "using/settings#a-companys-ca",
"ca_unreadable": "using/settings#a-companys-ca",
"ca_folder_unreadable": "using/settings#a-companys-ca",
"doctor_proxy_ca": "using/troubleshooting#tls-errors-behind-a-company-proxy",
"doctor_pins_apparmor": "safety/git-protection#ubuntu",
"doctor_git_bare": "safety/git-protection#bare-repos",
"doctor_pins_sysctl": "safety/git-protection#when-linux-cant-lock",
"doctor_pins_max": "safety/git-protection#when-linux-cant-lock",
"doctor_pins_failed": "safety/git-protection#when-linux-cant-lock",
"git_pin_linked": "safety/git-protection#hard-links",
"git_pin_again": "safety/git-protection#when-git-on-this-machine-replaces-a-locked-file",
"git_pin_linked_run": "safety/git-protection#hard-links",
"git_pin_lost": "safety/git-protection#when-git-on-this-machine-replaces-a-locked-file",
"git_pins_missing": "safety/git-protection#linux-hosts",
"git_pins_unrecorded": "safety/git-protection#when-git-on-this-machine-replaces-a-locked-file",
"git_pins_none": "safety/git-protection#linux-hosts",
"net_direct_route": "safety/network#when-it-isnt-enforced",
"net_unenforced_stop": "using/troubleshooting#a-vm-shows-as-unenforced",
"net_unenforced": "using/troubleshooting#a-vm-shows-as-unenforced",
"net_open_log": "safety/network#logs",
"pick_failed": "using/images#choosing-in-a-list",
"pick_too_small": "using/images#choosing-in-a-list",
"net_learning": "safety/network#learning-the-hosts-a-vm-needs",
"net_learning_since": "safety/network#learning-the-hosts-a-vm-needs",
"net_learn_started": "safety/network#learning-the-hosts-a-vm-needs",
"net_learning_lock": "safety/network#locking-it",
"net_transparent_set": "safety/network#tools-that-ignore-the-proxy",
"net_not_learning": "safety/network#learning-the-hosts-a-vm-needs",
"net_learned_partial": "safety/network#locking-it",
"net_open_policy": "safety/network#network-tiers",
"net_allows_unused": "safety/network#network-tiers",
"net_proxy_unreachable": "using/troubleshooting#the-proxy-doesnt-start",
"json_shows_only": "using/command-line#output-for-scripts",
"not_a_rule": "safety/network#rules",
"proxy_start_failed": "using/troubleshooting#the-proxy-doesnt-start",
"proxy_port_taken": "using/troubleshooting#the-proxy-doesnt-start",
"proxy_stop_failed": "using/troubleshooting#the-proxy-doesnt-start",
"upstream_proxy_scheme": "safety/network#behind-a-company-proxy",
"upstream_proxy_invalid": "safety/network#behind-a-company-proxy",
"ubuntu_mirror_invalid": "using/settings#an-ubuntu-mirror",
"proxy_password_in_config": "safety/network#behind-a-company-proxy",
"proxy_password_missing": "safety/network#behind-a-company-proxy",
"secret_host_only": "safety/network#behind-a-company-proxy",
"upstream_proxy_gone": "using/troubleshooting#behind-a-company-proxy",
"net_proxy_down_stopped": "using/troubleshooting#the-proxy-doesnt-start",
"no_secret": "safety/network#saving-and-binding-secrets",
"bad_secret_name": "safety/network#your-own-secrets",
"secret_name_taken": "safety/network#your-own-secrets",
"bad_secret_host": "safety/network#your-own-secrets",
"bad_secret_header": "safety/network#your-own-secrets",
"bad_secret_env": "safety/network#your-own-secrets",
"bad_secret_prefix": "safety/network#your-own-secrets",
"secret_needs_host": "safety/network#your-own-secrets",
"secret_needs_env": "safety/network#your-own-secrets",
"secret_new_like": "safety/network#your-own-secrets",
"bad_secret_scheme": "safety/network#your-own-secrets",
"bad_request_path": "safety/network#rules-by-method-and-path",
"bad_methods": "safety/network#rules-by-method-and-path",
"rule_not_narrowable": "safety/network#rules-by-method-and-path",
"rule_narrows": "safety/network#rules-by-method-and-path",
"rule_narrows_nothing": "safety/network#rules-by-method-and-path",
"rule_narrows_http_only": "safety/network#rules-by-method-and-path",
"rule_narrows_unknown": "safety/network#rules-by-method-and-path",
"secrets_other_binary": "safety/network#your-own-secrets",
"proxy_other_binary": "safety/network#rules-by-method-and-path",
"secret_scheme_header": "safety/network#your-own-secrets",
"token_not_ascii": "safety/network#saving-and-binding-secrets",
"token_too_long": "safety/network#saving-and-binding-secrets",
"secret_binding_changed": "safety/network#your-own-secrets",
"secret_stale": "safety/network#your-own-secrets",
"secret_hosts_grown": "safety/network#your-own-secrets",
"secret_too_many_hosts": "safety/network#your-own-secrets",
"secret_fixed": "safety/network#your-own-secrets",
"secret_env_taken": "safety/network#your-own-secrets",
"custom_secrets_unreadable": "safety/network#your-own-secrets",
"custom_secret_refused": "safety/network#your-own-secrets",
"token_is_placeholder": "safety/network#saving-and-binding-secrets",
"secret_not_saved": "safety/network#your-own-secrets",
"login_fields_withheld": "using/coding-agents#codex-and-opencode-logins",
"login_passed": "using/settings#configtoml",
"login_pass_bound": "using/coding-agents#api-keys-the-proxy-puts-in",
"login_withheld": "using/settings#configtoml",
"pi_settings_dropped": "using/coding-agents#pis-settings",
"pi_trusts_all": "using/coding-agents#pis-settings",
"codex_no_key": "using/coding-agents#codex-and-opencode-logins",
"codex_no_chatgpt": "using/coding-agents#codex-and-opencode-logins",
"codex_refresh_failed": "using/coding-agents#codex-and-opencode-logins",
"opencode_refresh_failed": "using/coding-agents#codex-and-opencode-logins",
"login_read_failed": "using/coding-agents#codex-and-opencode-logins",
"login_capture_refused": "using/coding-agents#logins-made-in-a-vm",
"setid_files": "using/troubleshooting#devvm-names-set-id-files",
"setid_root_files": "using/troubleshooting#devvm-names-set-id-files",
"home_not_absolute": "using/troubleshooting#home-isnt-an-absolute-path",
"net_unenforced_restart": "using/troubleshooting#a-vm-shows-as-unenforced",
"adopt_failed": "using/vms#a-folder-made-again",
"clone_needs_git": "using/clone#requirements",
"flag_needs_flag": "using/troubleshooting#a-command-is-refused-before-it-runs",
"repos_value": "using/clone#folders-of-repos",
"repos_not_workspace": "using/clone#folders-of-repos",
"workspace_repo_unknown": "using/clone#folders-of-repos",
"workspace_repos_past": "using/clone#folders-of-repos",
"workspace_skipped": "using/clone#folders-of-repos",
"workspace_repo_dropped": "using/clone#adding-a-repo",
"uncommitted_not_copied_repos": "using/clone#whats-copied",
"workspace_files_failed": "using/clone#the-folders-own-files",
"workspace_files_skipped": "using/clone#the-folders-own-files",
"no_terminal_fetch_repos": "using/clone#deleting-the-vm",
"clone_fetch_mounted": "using/clone#fetching-the-vms-work",
"clone_repo_changed": "using/clone#fetching-the-vms-work",
"clone_repo_mounted": "using/clone#folders-of-repos",
"clone_repo_unchecked": "using/clone#deleting-the-vm",
"clone_folder_mounted": "using/clone#requirements",
"workspace_inside_repo": "using/clone#folders-of-repos",
"clone_add_name": "using/clone#adding-a-repo",
"clone_check_repo_changed": "using/clone#deleting-the-vm",
"clone_remote_elsewhere": "using/clone#fetching-the-vms-work",
"clone_fetch_failed": "using/clone#fetching-the-vms-work",
"clone_add_mounted": "using/clone#adding-a-repo",
"clone_add_missing": "using/clone#adding-a-repo",
"clone_add_outside": "using/clone#adding-a-repo",
"uncommitted_not_copied": "using/clone#whats-copied",
"unfetched_commits": "using/clone#deleting-the-vm",
"branch_names_invalid": "using/clone#deleting-the-vm",
"git_protect_clone": "safety/git-protection#turning-it-on-or-off",
"git_protect_failed": "safety/git-protection#turning-it-on-or-off",
"devcontainer_flag_wins": "using/devcontainer#when-its-read",
"devcontainer_ignored": "using/devcontainer#properties",
"devcontainer_unknown": "using/devcontainer#properties",
"devcontainer_initialize": "using/devcontainer#properties",
"devcontainer_feature_options": "using/devcontainer#properties",
"devcontainer_ports_ignored": "using/devcontainer#properties",
"git_unprotected": "safety/git-protection#when-linux-cant-lock",
"git_unprotected_quiet": "safety/git-protection#the-warning-at-each-launch",
"git_changed": "safety/git-protection#when-devvm-names-a-change",
"git_changed_more": "safety/git-protection#when-devvm-names-a-change",
"git_watch_blind": "safety/git-protection#what-the-watch-cant-see",
"git_watch_blind_more": "safety/git-protection#what-the-watch-cant-see",
"git_nested_unprotected": "safety/git-protection#not-covered",
"git_nested_unprotected_more": "safety/git-protection#not-covered",
"git_nested_past_bound": "safety/git-protection#nested-repos",
"git_nested_protectable": "safety/git-protection#nested-repos",
"git_nested_protectable_more": "safety/git-protection#nested-repos",
"git_nested_appeared": "safety/git-protection#when-devvm-reports-git",
"git_nested_gone": "safety/git-protection#when-devvm-reports-git",
"git_kept_locked": "safety/git-protection#nested-repos",
"git_nested_appeared_runs": "safety/git-protection#when-devvm-reports-git",
"git_nested_gitdir_outside": "safety/git-protection#not-covered",
"git_nested_bare": "safety/git-protection#bare-repos",
"git_nested_skipped": "safety/git-protection#not-covered",
"git_nested_devices": "safety/git-protection#not-covered",
"git_scan_bounded": "safety/git-protection#not-covered",
"git_kept_unread": "safety/git-protection#nested-repos",
"git_locks_left": "safety/git-protection#nested-repos",
"git_protect_on_needs_locks": "safety/git-protection#when-linux-cant-lock",
"git_protect_available": "safety/git-protection#linux-hosts",
"git_protect_next_stop": "safety/git-protection#turning-it-on-or-off",
"git_unlocked": "safety/git-protection#turning-it-on-or-off",
"git_locked": "safety/git-protection#not-covered",
"git_protect_strict_refused": "safety/git-protection#vms-that-were-strict",
"git_strict_converted": "safety/git-protection#vms-that-were-strict",
"git_strict_left": "safety/git-protection#vms-that-were-strict",
"git_strict_kept": "safety/git-protection#vms-that-were-strict",
"git_strict_unknown": "safety/git-protection#vms-that-were-strict",
"git_commondir": "safety/git-protection#not-covered",
"git_worktree_stray": "safety/git-protection#not-covered",
"git_not_locked": "safety/git-protection#when-devvm-reports-git",
"git_lock_raced": "safety/git-protection#when-devvm-reports-git",
"git_hooks_path": "safety/git-protection#not-covered",
"git_include_inside": "safety/git-protection#not-covered",
"git_hook_link_inside": "safety/git-protection#not-covered",
"git_gitdir_outside": "safety/git-protection#not-covered",
"git_gitdir_not_git": "safety/git-protection#when-devvm-reports-git",
"ssh_remote_hint": "using/ssh#agent-forwarding",
"agent_on_risk": "using/ssh#agent-forwarding",
"agent_devvm_risk": "using/ssh#devvms-own-agent",
"agent_no_keys": "using/ssh#devvms-own-agent",
"agent_key_changed": "using/ssh#devvms-own-agent",
"agent_key_unpinned": "using/ssh#devvms-own-agent",
"agent_key_no_fingerprint": "using/ssh#devvms-own-agent",
"agent_key_mounted": "using/ssh#devvms-own-agent",
"agent_confirm_needs_askpass": "using/ssh#devvms-own-agent",
"ssh_include_yourself": "using/ssh#ssh-access-by-name",
"no_code_command": "using/ssh#devvm-host-and-devvm-code",
"desktop_no_layer": "using/desktop#adding-the-desktop",
"desktop_start_failed": "using/desktop#when-the-desktop-doesnt-open",
"desktop_open_failed": "using/desktop#when-the-desktop-doesnt-open",
"clone_not_top": "using/clone#requirements",
"clone_no_commits": "using/clone#requirements",
"clone_detached": "using/clone#requirements",
"clone_needs_new_vm": "using/clone#switching-a-vm-that-exists",
"clone_show_failed": "using/clone#switching-a-vm-that-exists",
"clone_git_elsewhere": "using/clone#requirements",
"clone_alternates": "using/clone#requirements",
"remotes_taken": "using/clone#the-remote",
"fetch_until": "using/clone#the-remote",
"no_terminal_fetch": "using/clone#deleting-the-vm",
"saved_names_taken": "using/clone#deleting-the-vm",
"remote_kept": "using/clone#deleting-the-vm",
"no_terminal_delete": "using/clone#deleting-the-vm",
"clone_worktrees_unchecked": "using/clone#deleting-the-vm",
"tools_need_resolve": "using/images#shared-tools",
"mise_checksum": "using/troubleshooting#a-download-doesnt-check-out",
"tool_stepped_back": "using/troubleshooting#a-new-tool-release-isnt-there-yet",
"tool_no_download": "using/troubleshooting#a-new-tool-release-isnt-there-yet",
"tools_check_failed": "using/images#shared-tools",
"newer_tools": "using/toolchains#adding-and-removing-tools",
"tool_unbuilt": "using/troubleshooting#a-new-tool-release-isnt-there-yet",
"tool_needs_glibc": "using/from#shared-tools-and-glibc",
"tool_glibc_only": "using/from#shared-tools-and-glibc",
"tool_bad_output": "internals/images#building-tools",
"tools_need_own_base": "using/from#shared-tools-and-glibc",
"tools_wrong_base": "internals/images#building-tools",
"custom_layer_remove": "using/images#taking-layers-out-of-a-vm",
"agent_dir_comma": "using/coding-agents#mounts",
"agent_dirs_added": "using/coding-agents#mounts",
"agent_dirs_removed": "using/coding-agents#mounts",
"agent_import_none": "using/coding-agents#importing-from-this-machine",
"agent_import_link_left_out": "using/coding-agents#importing-from-this-machine",
"agent_import_opencode_skipped": "using/coding-agents#importing-from-this-machine",
"agent_import_opencode_failed": "using/coding-agents#importing-from-this-machine",
"agent_login_read_failed": "using/coding-agents#importing-from-this-machine",
"agent_import_failed": "using/coding-agents#importing-from-this-machine",
"agent_save_no_agent": "using/coding-agents#saving-a-vms-settings",
"agent_save_none": "using/coding-agents#saving-a-vms-settings",
"agent_save_refused": "using/coding-agents#saving-a-vms-settings",
"agent_save_unsafe": "using/coding-agents#saving-a-vms-settings",
"agent_save_too_much": "using/coding-agents#saving-a-vms-settings",
"agent_save_link_left_out": "using/coding-agents#saving-a-vms-settings",
"agent_save_kind_left_out": "using/coding-agents#saving-a-vms-settings",
"agent_save_unparsed": "using/coding-agents#saving-a-vms-settings",
"agent_save_placeholder": "using/coding-agents#saving-a-vms-settings",
"agent_save_not_read": "using/coding-agents#saving-a-vms-settings",
"agent_save_withheld": "using/coding-agents#saving-a-vms-settings",
"agent_save_failed": "using/coding-agents#saving-a-vms-settings",
"agent_login_no_agent": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_port_taken": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_exited": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_not_saved": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_key_copy_failed": "using/coding-agents#logging-in-with-devvm-agent-login",
"opencode_import_failed": "using/coding-agents#logging-in-with-devvm-agent-login",
"opencode_import_too_much": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_failed": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_provider_needed": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_provider_alone": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_key_only": "using/coding-agents#logging-in-with-devvm-agent-login",
"agent_login_stdin_alone": "using/coding-agents#logging-in-with-devvm-agent-login",
"no_claude_token": "using/coding-agents#claude-code-login",
"claude_token_invalid": "using/coding-agents#claude-code-login",
"claude_refresh_failed": "using/coding-agents#claude-code-login",
"claude_no_login": "using/coding-agents#claude-code-login",
"claude_env_token_wins": "using/coding-agents#claude-code-login",
"agent_login_claude_flag": "using/coding-agents#claude-code-login",
"agent_login_setup_token_alone": "using/coding-agents#claude-code-login",
"no_github_token": "safety/network#saving-and-binding-secrets",
"not_setup_token": "using/coding-agents#claude-code-login",
"keychain_save_failed": "safety/network#saving-and-binding-secrets",
"login_copy_failed": "using/coding-agents#copies",
"config_redacted": "using/coding-agents#copies",
"config_not_copied": "using/coding-agents#copies",
"bad_from": "using/from#tags-and-digests",
"from_unreachable": "using/from#tags-and-digests",
"from_cached_unreachable": "using/from#tags-and-digests",
"from_not_found": "using/from#images-only-docker-has",
"from_cached_not_found": "using/from#images-only-docker-has",
"docker_only": "using/from#images-only-docker-has",
"docker_image_changed": "using/from#images-only-docker-has",
"convert_failed": "using/from#supported-images",
"convert_bad_output": "using/from#supported-images",
"devcontainer_invalid": "using/devcontainer#when-its-read",
"devcontainer_unreadable": "using/devcontainer#when-its-read",
"devcontainer_changed": "using/devcontainer#updating-a-vm-from-the-file",
"devcontainer_new": "using/devcontainer#updating-a-vm-from-the-file",
"devcontainer_bad_value": "using/devcontainer#properties",
"devcontainer_build": "using/devcontainer#properties",
"devcontainer_feature": "using/devcontainer#properties",
"devcontainer_docker_outside": "using/devcontainer#properties",
"devcontainer_env_name": "using/devcontainer#properties",
"devcontainer_image_not_public": "using/devcontainer#properties",
"devcontainer_local_env": "using/devcontainer#variables",
"devcontainer_variable": "using/devcontainer#variables",
"devcontainer_command_failed": "using/devcontainer#commands",
"no_ssh_agent": "using/ssh#agent-forwarding",
"ssh_agent_empty": "using/ssh#agent-forwarding",
"load_key_with": "using/ssh#agent-forwarding",
"no_vm_ssh_agent": "using/ssh#agent-forwarding",
"agent_key_not_found": "using/ssh#devvms-own-agent",
"agent_key_not_recorded": "using/ssh#devvms-own-agent",
"agent_unload_failed": "using/ssh#devvms-own-agent",
"agent_load_failed": "using/ssh#devvms-own-agent",
"agent_start_failed": "using/ssh#devvms-own-agent",
"no_feature": "using/customizing#choosing-features",
"flag_blank": "using/command-line#flags-and-values",
"no_input": "using/command-line#questions-devvm-asks",
"arg_blank": "using/command-line#flags-and-values",
"no_image_named": "using/images#listing-images",
"no_image_named_from": "using/images#listing-images",
"not_an_image": "using/images#deleting-images",
"no_vm": "getting-started/first-vm#making-the-vm",
"no_vm_size": "using/ports-size#size",
"no_vm_ports": "using/ports-size#ports",
"no_vm_git_protect": "safety/git-protection#turning-it-on-or-off",
"no_vm_policy": "safety/network#changing-rules",
"no_token": "safety/network#saving-and-binding-secrets",
"bad_secret_service": "using/settings#environment",
"start_failed": "using/troubleshooting#a-command-fails",
"stop_failed": "using/troubleshooting#a-command-fails",
"delete_failed": "using/troubleshooting#a-command-fails",
"vm_create_failed": "using/troubleshooting#a-command-fails",
"sync_failed": "using/troubleshooting#a-command-fails",
"link_setup_invalid": "using/troubleshooting#a-command-fails",
"tools_unmounted": "using/troubleshooting#a-shared-tool-doesnt-mount",
"size_pending": "using/ports-size#size",
"size_pending_running": "using/ports-size#size",
"new_vm_flags_ignored": "using/images#what-a-new-vm-gets",
"new_vm_flags_ignored_run": "using/images#what-a-new-vm-gets",
"port_not_listed": "using/ports-size#ports",
"link_port_invalid": "using/links#ports",
"link_unknown_target": "using/links#adding-a-link",
"link_ambiguous_target": "using/links#adding-a-link",
"link_self": "using/links#adding-a-link",
"link_not_published": "using/links#publishing-a-port",
"link_tier_mismatch": "using/links#links-and-network-tiers",
"link_name_invalid": "using/links#names",
"link_name_host": "using/links#names",
"link_name_taken": "using/links#names",
"link_target_named": "using/links#names",
"link_trust": "using/links#a-link-joins-the-two-vms-trust",
"link_not_found": "using/links#removing-a-link",
"link_port_taken": "using/links#when-a-target-stops-or-goes",
"link_target_stopped": "using/links#when-a-target-stops-or-goes",
"link_target_unusable": "using/links#when-a-target-stops-or-goes",
"link_target_unenforced": "using/links#links-and-network-tiers",
"links_update_failed": "using/links#when-links-change",
"unpublished_linked": "using/links#publishing-a-port",
"tier_linked_clients": "using/links#links-and-network-tiers",
"tier_linked_targets": "using/links#links-and-network-tiers",
"port_not_published": "using/links#publishing-a-port",
"link_from_group": "using/links#leaving-a-group",
"no_vm_group": "using/links#groups",
"group_name_invalid": "using/links#joining-a-group",
"group_none": "using/links#joining-a-group",
"group_other": "using/links#leaving-a-group",
"group_named": "using/links#names-in-a-group",
"group_trust": "using/links#a-group-joins-the-trust-of-all-its-vms",
"group_tier_mismatch": "using/links#groups-and-network-tiers",
"group_tier_fixed": "using/links#groups-and-network-tiers",
"group_join_learning": "using/links#groups-and-network-tiers",
"net_lock_changed": "safety/network#locking-it",
"net_learn_not_global": "safety/network#learning-the-hosts-a-vm-needs",
"group_name_taken": "using/links#names-in-a-group",
"group_name_host": "using/links#names-in-a-group",
"group_link_name_clash": "using/links#names-in-a-group",
"group_name_hostname": "using/links#names-in-a-group",
"clone_seed_failed": "using/clone#whats-copied",
"remote_add_failed": "using/clone#the-remote",
"clone_check_failed": "using/clone#deleting-the-vm",
"clone_check_not_started": "using/clone#deleting-the-vm",
"clone_check_skipped": "using/clone#deleting-the-vm",
"fetch_failed": "using/clone#deleting-the-vm",
"mise_download_failed": "using/images#shared-tools",
"tools_resolve_failed": "using/images#shared-tools",
"tools_untrusted": "using/settings#a-companys-ca",
"tool_bad_version": "using/toolchains#adding-and-removing-tools",
"vm_lacks": "using/toolchains#adding-and-removing-tools",
"rule_missing": "safety/network#changing-rules",
"policy_not_rule": "safety/network#rules",
"policy_broken_deny": "safety/network#rules",
"usage_error": "using/troubleshooting#a-command-is-refused-before-it-runs",
"arg_missing": "using/troubleshooting#a-command-is-refused-before-it-runs",
"args_too_many": "using/troubleshooting#a-command-is-refused-before-it-runs",
"args_none": "using/troubleshooting#a-command-is-refused-before-it-runs",
"arg_not_choice": "using/troubleshooting#a-command-is-refused-before-it-runs",
"no_subcommand": "using/troubleshooting#a-command-is-refused-before-it-runs",
"flag_unknown": "using/troubleshooting#a-command-is-refused-before-it-runs",
"flag_needs_value": "using/troubleshooting#a-command-is-refused-before-it-runs",
"flag_bad_value": "using/troubleshooting#a-command-is-refused-before-it-runs",
"flag_bad_switch": "using/troubleshooting#a-command-is-refused-before-it-runs",
"flags_exclusive": "using/troubleshooting#a-command-is-refused-before-it-runs",
"no_command": "using/command-line#help",
"no_command_like": "using/command-line#help",
"no_command_part": "using/images#what-a-new-vm-gets",
"unknown_part": "using/images#what-a-new-vm-gets",
"unknown_part_like": "using/images#what-a-new-vm-gets",
"part_none_alone": "using/images#what-a-new-vm-gets",
"part_other_flag": "using/images#what-a-new-vm-gets",
"tool_not_layer": "using/images#layers",
"unknown_layer_like": "using/images#layers",
"remake_parent_vm": "using/vms#a-subfolder",
"remake_clone": "using/clone#switching-a-vm-that-exists",
"export_failed_kept": "using/coding-agents#history",
"remake_home_failed": "using/images#what-a-vm-made-again-keeps",
"remake_restore_failed": "using/images#a-remake-that-stops-halfway",
"remake_undo_failed": "using/images#a-remake-that-stops-halfway",
"remake_pending": "using/images#a-remake-that-stops-halfway",
"remake_running": "using/images#a-remake-that-stops-halfway",
"remake_home_lost": "using/images#a-remake-that-stops-halfway",
"rename_failed": "using/troubleshooting#a-command-fails",
}
// IssuesURL is devvm's issue tracker, which the root's help ends with.
const IssuesURL = "https://github.com/devvmhq/devvm/issues"
// PageURL returns the address of a docs page, "page#anchor" in
// docs/content/docs, or "" for "". Each command names its own page, which
// its help ends with; TestDocLinks checks them in the CLI reference.
func PageURL(doc string) string { return docURL(doc) }