Variables
Every environment variable the workspace's crates define, modules, packages and contracts alike, from their variables.toml, by the crate defining it, and each namespace a crate computes names in. A runtime flag may name one to read when it is absent, as its command's reference says, and a spec field never reads one.
Defined
Each variable with its type, its default, and the crate defining it.
ALL_PROXY, string, fromcore: This machine's proxy for every protocol, which Link hands the programs it installs and runsAWS_RESPONSE_CHECKSUM_VALIDATION, string, fromcore: When AWS's libraries check a response's checksum, which Link sets for rclone's run against a bucket that doesn't send oneCLICOLOR_FORCE, string, fromcore: Set: colors even in a pipe or a file.COLUMNS, string, fromcore: Your terminal's width, where Link can't ask the terminal.DBUS_SESSION_BUS_ADDRESS, string, fromcore: Your desktop's bus, which a sandbox opens only when its spec grants the desktop.DISPLAY, string, fromcore: Your X11 desktop, which a sandbox opens only when its spec grants the desktop.GIT_TERMINAL_PROMPT, string, fromcore: Whether git may ask in a terminal for a credential:0keeps it from asking, as Link sets it for a git it runs alone.GOOGLE_APPLICATION_CREDENTIALS, string, fromcore: The key file a program using Google Cloud's libraries signs in with, which Link passes on only to a cloud's own runHOME, string, fromcore: Must be absolute, or commands that delete or trust a folder refuse.HOSTNAME, string, fromcore: This machine's name, where the system doesn't give one: scrubbed from reports.HTTPS_PROXY, string, fromcore: This machine's HTTPS proxy, which Link hands the programs it installs and runsHTTP_PROXY, string, fromcore: This machine's HTTP proxy, which Link hands the programs it installs and runsLANG, string, fromcore: Your locale, kept for programs Link runs.LNK_CORE, string, fromcore: A core program a test runs in place of the one built beside it, for testsLNK_EXE, string, fromcore: Thelnkthat started a module, which it runs for other commands.LNK_GITHUB_URL, string, fromcore: Where a module from outside Link is read from in place ofhttps://github.com(tests): a location of the kindsLNK_RELEASES_URLtakes, holding each repository's releases at<owner>/<repo>/releases/latest/download. Its pinned key is still checked.LNK_INSECURE, string, fromcore:1: install withoutssh-keygen, so without checking the signature.LNK_INSTALL_DIR, string, fromcore: Wherelnkgoes; modules go next to it.LNK_MACHINE_DIR, string, fromcore: This machine's folder [default:~/.lnk], for one process and what it runs: a sandbox's session whose settings can't be in the folder it writes. A relative value is ignored.LNK_MODULES, string, fromcore: The module listing (lnk module list --json)lnkhands the module it runs, for that process alone, so its questions start no otherlnk.LNK_NO_BROWSER, string, fromcore: Set to open no browser: a command that would open a page, such aslnk issue createorlnk agent connect, prints its address insteadLNK_RELEASES_URL, string, fromcore: Where releases are read from (tests, staging and dev builds). Signatures remain required. An HTTPS address with no login, backslash, query or fragment, a bucket of yours (s3:/// or gs:///, read with that cloud's CLI and your login) or a folder here (file:///); debug builds also accept HTTP on this machine.LNK_TEST_RELEASE_SIGNERS, string, fromcore: An allowed-signers file whose keys are trusted beside the built-in release signer (tests). Only debug builds read it.LNK_UPDATE_NOTICE, string, fromcore:off: commands never check for or announce a newer release.LNK_VERSION, string, fromcore: The release version to install, such as0.14.0. A releasedlnkrefuses a version older than itself.LOGNAME, string, fromcore: Who you are, whereUSERisn't set: kept for programs Link runs, and scrubbed from reports.NODE_EXTRA_CA_CERTS, string, fromcore: Certificates Node.js trusts besides its ownNODE_USE_ENV_PROXY, string, fromcore: Node.js's switch to send its requests throughHTTPS_PROXY, set to 1 for a program Link runs in NodeNO_COLOR, string, fromcore: Set: no colors. Colors show only on a terminal.NO_PROXY, string, fromcore: The hosts this machine reaches without its proxyPATH, string, fromcore: Where Link finds the programs it runs, and the modules besidelnk.PLAYWRIGHT_BROWSERS_PATH, string, fromcore: Where Playwright keeps the browsers it installsSHELL, string, fromcore: Your shell, which a box opened here runs.SSH_CONNECTION, string, fromcore: Set over SSH: sign-ins print their address instead of opening a browser.SSH_TTY, string, fromcore: Set over SSH: sign-ins print their address instead of opening a browser.SSL_CERT_FILE, string, fromcore: The certificates this machine trusts, as OpenSSL and the programs built on it read themTERM, string, fromcore: Your terminal's kind, kept for programs Link runs.TMPDIR, string, fromcore: Where programs Link runs keep temporary files.TZ, string, fromcore: The time zone a program reports its times inUSER, string, fromcore: Who you are: named in a box's or a service's unit, kept for programs Link runs, and scrubbed from reports.WAYLAND_DISPLAY, string, fromcore: Your Wayland desktop, which a sandbox opens only when its spec grants the desktop.XDG_CONFIG_HOME, string, fromcore: Your settings folder (Linux) [default:~/.config]: where services' units and programs' dot files are.XDG_RUNTIME_DIR, string, fromcore: Your runtime folder (Linux), where Link's sockets and services live.all_proxy, string, fromcore:ALL_PROXYas some programs spell ithttp_proxy, string, fromcore:HTTP_PROXYas some programs spell ithttps_proxy, string, fromcore:HTTPS_PROXYas some programs spell itno_proxy, string, fromcore:NO_PROXYas some programs spell itnpm_config_https_proxy, string, fromcore: npm's HTTPS proxynpm_config_noproxy, string, fromcore: The hosts npm reaches without its proxyLNK_ASKER_BUILT_FROM, string, fromlink-core: The commit the program asking a question was built from, handed to the module answering it, which refuses the question when it was built from another.LNK_BUILD, string, fromlink-core: The build a program is compiled as:dev,stagingorprod, set bylnk bundle createas it compiles a bundle's programs and read as each is compiled. Left out, a build from source.LNK_DEV_SIGNER, string, fromlink-core: The allowed-signers line of the key a dev build is signed with, whichlnk bundle create --build devderives from your signer and a dev build reads as it's compiled, refusing to compile without it.LNK_PROD_SIGNER, string, fromlink-core: The allowed-signers line of the signer a prod build is signed with, whichlnk bundlederives from the bundle's signer and a prod build reads as it's compiled, trusting it alone.LNK_DISCORD_API, string, fromdiscord: Discord's HTTP API, for tests; the Gateway's address comes from itLNK_DISCORD_TOKEN, string, carries the secretdiscord.bot_token, fromdiscord: The Discord bot's token, read by connect, which asks for it when it's unsetLNK_SIGNAL_CLI, string, fromsignal: On Link Harness, asignal-cliof your own to carry Signal with, for tests; the account stays in~/.lnk/safe/agents/<agent>/connections/signalLNK_SIGNAL_NUMBER, string, fromsignal: The agent's Signal number, with its country code, not yours; connect asks for it when it's unsetLNK_SIGNAL_OWNER, string, fromsignal: Your Signal number, with its country code, not the agent's; connect asks for it when it's unsetLNK_SLACK_API, string, fromslack: Slack's Web API, for testsLNK_SLACK_APP_TOKEN, string, carries the secretslack.app_token, fromslack: The app-level token (xapp-...), with the bot token or neither, read by connect, which asks for it when it's unsetLNK_SLACK_BOT_TOKEN, string, carries the secretslack.bot_token, fromslack: The bot token (xoxb-...), with the app token or neither, read by connect, which asks for it when it's unsetLNK_TELEGRAM_API, string, fromtelegram: Telegram's Bot API, for testsLNK_TELEGRAM_TOKEN, string, carries the secrettelegram.bot_token, fromtelegram: The bot token from BotFather, read by connect, which asks for it when it's unset; no flag takes a connection's tokenLNK_MODEL_CREDENTIAL, string, fromdeepseek: The model's key in dsh's .env, which its provider reads by namenpm_config_cache, string, fromdeepseek: npm's cache folder, which a harness's install gives npm inside the harness's home, never the machine user's.npm_config_update_notifier, string, fromdeepseek: Whether npm checks for a newer npm: false in a harness's install, so npm never checks for its own updates.HERMES_HOME, string, fromhermes: Where Hermes keeps its configuration and state: the agent's own folder, given to each Hermes process it runs.LNK_HERMES_MANAGED_GATEWAY, string, fromhermes: Set to 1 in the Hermes gateway Link starts, so its workarounds know Link manages itLNK_HERMES_MODEL_URL, string, fromhermes: The model's address in Hermes's config.yaml, reached through Link's proxy with the proxy's secret in itLNK_OPENCLAW_GATEWAY_TOKEN, string, fromopenclaw: The OpenClaw gateway's token, kept in its .env and read back from itLNK_OPENCLAW_MODEL_URL, string, fromopenclaw: The model's address in an OpenClaw provider's entry, reached through Link's proxy with the proxy's secret in itNODE_OPTIONS, string, fromopenclaw: Node.js's options, which OpenClaw's gateway is started with, with Link's own addedOPENCLAW_HOME, string, fromopenclaw: Where OpenClaw keeps its configuration and state, which OpenClaw's processes never inherit: Link names their folders itself.LNK_*, a namespace, fromaws: CLI test overrides: append the uppercase program name (such as AWS) toLNK_when selecting the external AWS CLI.LNK_*, a namespace, fromgcp: CLI test overrides: append the uppercase program name (such as GCLOUD or GSUTIL) toLNK_when selecting the external Google Cloud CLI.ANTHROPIC_API_KEY, string, fromagent: The provider's own key variable, read bylnk agent start,create,moveandmodel set: no flag takes a key. With no model yet, the one that is set (several set: refused, to unset all but one); with a hosted model, its provider's, to renew the key; with--model, the provider its name says; with a model on this computer, one that is set is asked about in a terminal (switch to that provider?), else said. Never passed to a harness or to a box.CURL_CA_BUNDLE, string, fromagent: Certificates curl trusts, which a harness's installer is given.LNK_AGENT, string, fromagent: The agent's name, for harness programs.LNK_AGENT_FOLDER, string, fromagent: The agent's own folder (~/Link/Agents/<name>/agent), for a harness that keeps Link's collections (Link Harness): each one kept atfilea folder of it.LNK_AGENT_ID, string, fromagent: The agent's ID, for harness programs.LNK_AGENT_SERVICE, string, fromagent: The service the agent acts as, its bare ID, for harness programs: what its bridge calls prove beside its ID.LNK_FALLBACK_CREDENTIAL, string, fromagent: The fallback's key onlnk agent start --model.fallback_model, read before its provider's own variable.LNK_FILES, string, fromagent: The agent's Home, its files folder, for harness programs.LNK_MEASURES, string, fromagent: For harness programs: the file in the harness's home it may append its own measures to, as OTLP (.lnk/safe/measures/measures.jsonl), whichlnk measurereads.LNK_OWNER, string, fromagent: The agent's owner, for harness programs.LNK_PORT, string, fromagent: The agent's base port, for harness programs: every agent's own.LNK_TEST_BRIDGE_NONE_FOR_MS, string, fromagent: Debug builds only: milliseconds an empty shared bridge waits before it stops.LNK_TEST_MIGRATE_STOP, string, fromagent: Debug builds only: stop migration before this numbered step so recovery can be tested.OPENAI_API_KEY, string, fromagent: The provider's own key variable, read bylnk agent start,create,moveandmodel set: no flag takes a key. With no model yet, the one that is set (several set: refused, to unset all but one); with a hosted model, its provider's, to renew the key; with--model, the provider its name says; with a model on this computer, one that is set is asked about in a terminal (switch to that provider?), else said. Never passed to a harness or to a box.OPENROUTER_API_KEY, string, fromagent: The provider's own key variable, read bylnk agent start,create,moveandmodel set: no flag takes a key. With no model yet, the one that is set (several set: refused, to unset all but one); with a hosted model, its provider's, to renew the key; with--model, the provider its name says; with a model on this computer, one that is set is asked about in a terminal (switch to that provider?), else said. Never passed to a harness or to a box.PIP_CERT, string, fromagent: Certificates pip trusts, which a harness's installer is given.REQUESTS_CA_BUNDLE, string, fromagent: Certificates Python's requests trusts, which a harness's installer is given.LNK_*, a namespace, fromagent: Link's own variables, none holding a secret, forwarded whole to the agent's background bridges and its owner's shared harness service.LNK_CODE, string, fromharness-contract: The code tool's address in a harness's environment: its project's language servers, each in a sandboxLNK_FILE, string, fromharness-contract: The file tool's address in a harness's environment: its files read and written as its sandbox file saysLNK_RUN, string, fromharness-contract: The run tool's address in a harness's environment: its commands, each in a sandbox of its ownLNK_MODEL_URL, string, frommodel: The calling agent's granted model namespace, which the typed model commands call when it's setLNK_FALLBACK_MODEL_URL, string, fromlink-model-contract: The fallback model's namespace, handed to a sandbox whose grant has one, besideLNK_MODEL_URLLNK_STORE_AGENT, string, fromstore: Storage driver protocol: the agent the storage bridge selected for the request being servedLNK_STORE_DIR, string, fromstore: Storage driver protocol: the absolute folder holding the agent collections the storage bridge asks the driver to serveCHROMIUM, string, frombrowser-tool: The Chromium the browser's tests drive, ahead of one on PATH or Playwright'sLNK_TEST_NOTES_PARENT, string, frommemory-tool: A folder the notes test, on a Mac, saves beneath where memory's sandbox can't read it; the test runs only when it's setLNK_MEMORY, string, frommemory: The agent's memory's address in its harness's environment: an MCP server over HTTPLNK_MEMORY_DRIVER, string, frommemory: The store driver the agent's spec keeps its conversations by, the only one memory runs to read them; unset, it runs noneLNK_MEMORY_FROM, boolean, frommemory: 1 when the agent's harness is sent messages from others, so memory writes notes only in the owner's conversationsLNK_MEMORY_MODEL, string, frommemory: The address of the embedding model memory ranks by, an OpenAI-style API on this machine; empty when no runtime here has the modelLNK_MEMORY_NOTES, string, frommemory: The agent's notes file memory may write; unset, it writes nothing of the agent's folderLNK_MEMORY_SPEC, string, frommemory: The agent's [tool.memory] opinions as JSON, in the environment of every memory command; unset, the engine's ownLNK_RUN_CONTEXT, string, fromlink-run-tool-contract: The run server's protected context, its named routes and the agent's binding lookup, read outside every task's sandbox and never passed to a taskLNK_CRONTAB, string, fromscheduler-tool: A program to stand in for crontab in tests: the scheduler's cron driver writes its line through it, on a Mac tooLNK_TEST_SCHEDULER_WAKE, string, fromscheduler-tool: Set by the runner's test of a wake beside another runner's firing, to run that test alone in a child of its ownBRAVE_API_KEY, string, fromweb-tool: Your Brave Search API key, in web's environment, never the harness'sLNK_WEB_SEARCH, string, fromweb-tool: The search API web uses when both keys are set: brave or tavilyLNK_WEB_SEARCH_URL, string, fromweb-tool: Where search requests go instead of the provider's API, for tests: read only by a debug build, https or http to loopbackTAVILY_API_KEY, string, fromweb-tool: Your Tavily API key, in web's environment, never the harness'sLNK_RESOURCE_JOURNAL, string, fromcloud-contract: Private JSONL file for durable machine launch intents and sibling disposable-job identity records; unset disables journaling.AWS_DEFAULT_REGION, string, frombox: Read once bylnk cloud connect aws: the login to reuse and its region.AWS_PROFILE, string, frombox: Read once bylnk cloud connect aws: the login to reuse and its region.AWS_REGION, string, frombox: Read once bylnk cloud connect aws: the login to reuse and its region.CLOUDSDK_CONFIG, string, frombox: gcloud's own settings, as gcloud reads them:lnk cloud connect gcpasks gcloud where its login is.LNK_AWS, string, frombox: The cloud CLIs the adapters run (tests).LNK_BOX, string, frombox: In a setup script's environment: the box it sets up.LNK_BOX_HERE, string, frombox: In whatlnk box runandlnk box sshrun in a box here: the box's name.lnk box userrefuses there, since a box user is a login on a machine of its own.LNK_BOX_SSH, string, frombox: Howlnk boxreaches a box:direct, its port 22;tunnel, through its cloud's own tunnel over HTTPS (AWS Systems Manager, Google Cloud's IAP), where port 22 can't be reached, as from a Claude Code cloud session. A tunnel to a box on AWS needs AWS'ssession-manager-pluginhere. Anything else fails, saying so.LNK_GCLOUD, string, frombox: The cloud CLIs the adapters run (tests).LNK_SSH, string, frombox: Whatlnk boxruns (tests).LNK_SSH_KEYGEN, string, frombox: Whatlnk boxruns (tests).LNK_TEST_BOX_END, string, frombox: Debug builds only: read the disposable-box ending policy from this file instead of/etc/lnk/end.json.LNK_*, a namespace, frombox: SSH program overrides: append the uppercase program name with dashes changed to underscores, such asLNK_SSHorLNK_SSH_KEYGEN.LNK_JOB_OUT, string, fromenv: In a job's environment: the folder whose files go to its bucket with--out.LNK_SUDO, string, fromenv: What runs a root stage, service or job on a box, for tests. A debug build reads it; a release build doesn't.LNK_TEST_BOX_ROOT, string, fromenv: A folder standing for/wherelnk box userkeeps a box's users and their programs, owned by the user rather than root, for tests of a stand-in box. A debug build reads it; a release build doesn't.LNK_TEST_JOB_GROUP, string, fromenv: Debug builds only: sample this process group instead of the current job process tree.LNK_TEST_KEEPER, string, fromenv: The socket of a keeper of your secrets that a test serves, used in place of/run/lnk-secrets/keeper.sockwhether or not this machine has thelnk-secretsuser. A debug build reads it; a release build doesn't.LNK_TEST_MACHINE_KIND, string, fromenv: A file read in place of/etc/lnk/kind.toml, owned by the user rather than root, for tests of a stand-in box. A debug build reads it; a release build doesn't.LNK_TEST_WORKERS_CONFIG, string, fromenv: A trusted worker configuration file for a test's stand-in box, owned by the current user or root. A debug build reads it; a release build doesn't.DEBIAN_FRONTEND, string, fromsandbox: How Debian's installer asks:noninteractiveas the sandbox installs bubblewrap with apt on a box, where no one answers, so nothing waits on a question.LNK_CHECK_SECRET, string, fromsandbox: The bait secretlnk sandbox checkgives a helper it starts outside the sandbox, in its environment, for the probe that tries to read another program's environment: never a real secret.LNK_PROBE_*, string, fromsandbox: Whatlnk sandbox checkhands each probe it runs inside the sandbox: its bait and what it tries (LNK_PROBE_ARG), the folders it reads or writes, the ports and machines it reaches. Its*: What the probe is handed, asARGorCANARY.LNK_SANDBOX_LEARN_FD, string, fromsandbox: Into the sandbox, for its first program, which removes it: the descriptor it writes each program started to. A program inside that sets it only records what it runs itself.LNK_TEST_CA, string, fromsandbox: A certificate authority's PEM file the sandbox's proxy trusts beside this machine's, for a test's own host over TLS. A debug build reads it; a release build doesn't.LNK_TEST_ON_CLOUD, string, fromsandbox:1: the sandbox takes this machine for a cloud's, refusing[lan]what it refuses there (tests). Nothing makes a cloud's machine not one.LNK_TEST_RESOLVE, string, fromsandbox:name=address, comma separated: the sandbox's proxy gives each name those addresses without asking this machine's resolver (tests, on a machine without DNS). A debug build reads it; a release build doesn't.SSH_ORIGINAL_COMMAND, string, fromsandbox: The command an SSH client asked for, whichlnk sandbox enter, a key's forced command, runs in the sandbox.LD_AUDIT, string, fromlink-sandbox-confine: Libraries the system's dynamic loader hands every symbol a program binds: never inherited by a confined program.LD_LIBRARY_PATH, string, fromlink-sandbox-confine: Folders the system's dynamic loader searches for a program's libraries before its own: never inherited by a confined program.LD_PRELOAD, string, fromlink-sandbox-confine: Libraries the system's dynamic loader loads into every program first, which a confined program never inherits, andlnk sandbox checksets to prove a loaded library stays inside the sandbox too.LNK_PROXY_LISTENER_FD, string, fromsandbox-client: Proxy startup protocol: inherited TCP listener descriptor, validated against the requested loopback address before use.LNK_SANDBOX_OPEN, string, fromsandbox-client: Sandbox browser protocol: authenticated loopback proxy URL used by the browser-opening shim.LNK_TEST_BOOTSTRAP, string, fromsecret: Debug builds only: permit the bootstrap test launcher to receive box credentials without root.LNK_TEST_TPM_DEVICE, string, fromsecret: Debug builds only: TPM device path used in place of/dev/tpmrm0.LNK_TEST_TPM, string, fromlink-secret-contract: Debug builds only: substitute the TPM tool for isolated secret-storage tests.LNK_TEST_TPM_RUN, string, fromlink-secret-contract: Debug builds only: private operation folder used by isolated TPM tests.LNK_PERSONAL_DIR, string, fromstorage: Your files folder, an absolute path.LNK_RCLONE, string, fromstorage: Run this rclone instead, unchecked (tests).AWS_*, a namespace, fromstorage: AWS's sign-in variables, removed from a run that signs in as a cloud's own accountRCLONE_*, a namespace, fromstorage: rclone's own settings, each removed from its run so only Link's config file sets it upLNK_ARTIFACT_BUDGET, string, fromlink-artifact: Positive byte budget for the shared immutable-download cache; defaults to 2147483648 bytes.LNK_ARTIFACT_CACHE, string, fromlink-artifact: Shared folder for verified immutable downloads; defaults to this machine's cache/artifacts folder.CARGO, string, fromlink-component: The Cargo that builds a component's programs for its tests [default: cargo].LNK_BUILT_FROM, string, fromlink-component: The commit a release build from source was built from, which a component's build script gives each program as it's compiled (link_component::SOURCE_VARIABLE), so a question names the commit its asker was built from.LNK_DESCRIPTION_PROTOCOL, string, fromlink-component: The description protocol version of the program asking another for its description orlnkfor its registry (link_component::PROTOCOL_VARIABLE). The answerer answers in it, and refuses one below the oldest it accepts, naming the upgrade.LNK_EXEC_DIR, string, fromlink-files: Absolute adapter program directory, staged during install and read only during a run. It grants no filesystem access.LNK_UPGRADE_PROTOCOL, string, fromlink-files: The upgrade protocol version of the core asking a program of a release what it changes, or to make its changes (link_files::upgrade::PROTOCOL_VARIABLE): the program answers in that version, and refuses one below the oldest it accepts, naminglnk upgrade. A program asked to write its files refuses an asker that states none.LNK_INNER, string, fromlink-format: Set for a nested Link command: leave next steps and the report footer to the outer command. An absolute folder is where it leaves its trace if it fails, for the outer report.LNK_OUTPUT_COLOR, string, fromlink-format: Output color preference: always, never or auto; aliases on/off and boolean spellings are accepted.LNK_OUTPUT_EMPHASIS, string, fromlink-format: Output emphasis preference: always, never or auto; aliases on/off and boolean spellings are accepted.LNK_OUTPUT_LINKS, string, fromlink-format: Output link preference: always, never or auto; aliases on/off and boolean spellings are accepted.LNK_OUTPUT_SYMBOLS, string, fromlink-format: Output symbols: emoji, plain or none; defaults to emoji.RUST_LOG, string, fromlink-format: What a service Link runs logs, as a Rust tracing filter such asdebug[default: info]. The HTTP crates it calls through stay at warnings, as they log credentials below that.LNK_INTERACTIONS, string, fromlink-interactions: The machine's interaction store, an absolute folder, for a harness whose HOME is its own: lnk-agent names it where the harness reaches Link's settings, and the harness's tool calls then carry their work's binding.LNK_SECURITY, string, fromlink-keychain: Debug builds only: a Keychain tool stand-in for tests, which enables Keychain access on the test host; release builds always run/usr/bin/security.LNK_SECRETS_FD, string, fromlink-secretive: Private Link child-process protocol: descriptor for the sealed-off secret handoff pipe; never a credential value.LNK_SECRET_DUMPABLE, string, fromlink-secretive: Debug builds only: a nonempty value leaves process dumping enabled for a debugger or memory-isolation test.LNK_SERVICES, string, fromlink-service: Set to off to disable background service management.LNK_TEST_SERVICE_CONFIG, string, fromlink-service: Debug builds only: select another service configuration path while preserving root ownership, ancestor, mode and no-link trust checks.LNK_HISTORY_PROTOCOL, string, fromlink-spec: The history protocol version a program askinglnkfor the release's history states:lnk upgradeasking the downloaded core, or a module its own core (link_spec::history::PROTOCOL_VARIABLE). The core answers in it, and refuses one below the oldest it accepts, naming the upgrade.