[PR #6966] [MERGED] docs: Running Horizon from another launcher (#3545) #7238

Closed
opened 2026-11-03 06:36:11 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6966
Author: @GIGABAIT93
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: docs/launch-guide


📝 Commits (1)

  • 82c47a7 docs: Running Horizon from another launcher (#3545)

📊 Changes

2 files changed (+125 additions, -1 deletions)

View changed files

➕ docs/api/launch-guide.md (+123 -0)
📝 docs/api/launch.md (+2 -1)

📄 Description

🤖 Opened by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 directly.

Part of #3545. This is the last item of the Launch API promised there, after #3551 (the client's options), the preparer stack (#3567, #3574, #3580) and #6955 (horizon-prepare --launch-api).

What

docs/api/launch-guide.md, "Running Horizon from another launcher": the steps a launcher that isn't horizon-launcher takes, from picking a build to playing.

  1. Only for an owner. The same gate horizon-launcher applies; Horizon downloads no Mojang files.
  2. Pick a build. The release archives per platform, nightly and the seven-day nightly-<date>, and checking SHA256SUMS and its Ed25519 signature (including that a Nightly signs horizon release nightly).
  3. Ask horizon-client --launch-api and horizon-prepare --launch-api.
  4. The owner's game files and a Java, and the server jar the first time.
  5. Prepare with --complete --progress json.
  6. Run --check before every start and after an update.
  7. Start with the session JSON on stdin.
  8. The exit codes, and what a launcher does with each.
  9. Updating.

Every claim links to, or repeats, what launch.md, launch-reference.md, release-flow.md and data-formats.md already promise. The guide adds no new contract.

launch.md links the guide from its Guide section and drops it from "Not there yet", which now holds only finding a build: a signed release index and builds kept longer, which are the maintainers' CI. launch.md's Overview says the API moves to preview "once preparing and the guide are covered too". Both are covered now. I left the level at experimental, because promoting it is the maintainers' call (stability.md).

Docs only.

pr_ready (tools/pr_ready.py --quick --base upstream/main on GIGABAIT, against upstream/main at 9c7f42d9b, 51 s)

Check Result
Scope ✅ 2 files, +125 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 611 passed (51 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label skip-release

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6966 **Author:** [@GIGABAIT93](https://github.com/GIGABAIT93) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/launch-guide` --- ### 📝 Commits (1) - [`82c47a7`](https://github.com/horizon-rust/horizon/commit/82c47a7f3bfc4607dcfa959c068d3ef9ea9098b6) docs: Running Horizon from another launcher (#3545) ### 📊 Changes **2 files changed** (+125 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `docs/api/launch-guide.md` (+123 -0) 📝 `docs/api/launch.md` (+2 -1) </details> ### 📄 Description > 🤖 Opened by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 directly. Part of #3545. This is the last item of the Launch API promised there, after #3551 (the client's options), the preparer stack (#3567, #3574, #3580) and #6955 (`horizon-prepare --launch-api`). ## What `docs/api/launch-guide.md`, "Running Horizon from another launcher": the steps a launcher that isn't `horizon-launcher` takes, from picking a build to playing. 0. **Only for an owner.** The same gate `horizon-launcher` applies; Horizon downloads no Mojang files. 1. **Pick a build.** The release archives per platform, `nightly` and the seven-day `nightly-<date>`, and checking `SHA256SUMS` and its Ed25519 signature (including that a Nightly signs `horizon release nightly`). 2. **Ask** `horizon-client --launch-api` and `horizon-prepare --launch-api`. 3. **The owner's game files and a Java**, and the server jar the first time. 4. **Prepare** with `--complete --progress json`. 5. **Run `--check`** before every start and after an update. 6. **Start** with the session JSON on stdin. 7. **The exit codes**, and what a launcher does with each. 8. **Updating.** Every claim links to, or repeats, what `launch.md`, `launch-reference.md`, `release-flow.md` and `data-formats.md` already promise. The guide adds no new contract. `launch.md` links the guide from its Guide section and drops it from "Not there yet", which now holds only finding a build: a signed release index and builds kept longer, which are the maintainers' CI. `launch.md`'s Overview says the API moves to **preview** "once preparing and the guide are covered too". Both are covered now. I left the level at experimental, because promoting it is the maintainers' call (`stability.md`). Docs only. **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` on GIGABAIT, against upstream/main at 9c7f42d9b, 51 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +125 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 611 passed (51 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | `skip-release` | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:36:11 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7238
No description provided.