[PR #1070] [CLOSED] Companion speedrun route: finish the game alone (Overworld, Nether, End) #3023

Closed
opened 2026-11-02 16:00:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1070
Author: @ludovic111
Created: 10/21/2026
Status: ❌ Closed

Base: main ← Head: feat/companion-route


📝 Commits (10+)

  • f7c8bb0 docs: companions design (local-first AI teammate, opt-in, No AI)
  • fac77bf lan: connectionless guests for companions
  • 805dc51 companion: commands, reports, rules, file and state summary
  • 53fcba1 game: companion bodies, private hub and per-player skins
  • 9b41ff8 companions: their kills and advancements stay theirs; hub cost meter
  • a0757ea companion body: look ahead before sprinting, fall back when no spot to teleport
  • 48e8439 tools: scripted companion test (follow, fight, pickups, death, reload)
  • 057ba5f companion body: cheaper paths, teleport only to a grounded owner, saved skill
  • b42d238 tools: companion test on fixed ground, 26.x rule names, sturdier steps
  • 0cf3764 horizon-ctl: companion command; summary armour no longer "-0"

📊 Changes

73 files changed (+31636 additions, -387 deletions)

View changed files

📝 crates/horizon-client/src/advancements.rs (+73 -0)
📝 crates/horizon-client/src/bin/horizon-ctl/commands.rs (+10 -0)
➕ crates/horizon-client/src/companion/end.rs (+604 -0)
➕ crates/horizon-client/src/companion/file.rs (+143 -0)
➕ crates/horizon-client/src/companion/gear.rs (+157 -0)
➕ crates/horizon-client/src/companion/mod.rs (+874 -0)
➕ crates/horizon-client/src/companion/moves.rs (+1120 -0)
➕ crates/horizon-client/src/companion/nether.rs (+1007 -0)
➕ crates/horizon-client/src/companion/perception.rs (+887 -0)
➕ crates/horizon-client/src/companion/summary.rs (+262 -0)
➕ crates/horizon-client/src/companion/techtree.rs (+948 -0)
➕ crates/horizon-client/src/companion/work.rs (+576 -0)
📝 crates/horizon-client/src/game.rs (+53 -1)
📝 crates/horizon-client/src/game/advancements.rs (+64 -10)
📝 crates/horizon-client/src/game/commands.rs (+71 -36)
📝 crates/horizon-client/src/game/commands/extra.rs (+6 -3)
➕ crates/horizon-client/src/game/companion.rs (+1214 -0)
➕ crates/horizon-client/src/game/companion_body.rs (+1670 -0)
➕ crates/horizon-client/src/game/companion_craft.rs (+1031 -0)
➕ crates/horizon-client/src/game/companion_cruise.rs (+269 -0)

...and 53 more files

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What

The goal is for the Speedrunner companion to finish Minecraft alone, from a fresh world to the dragon's
death. This branch joins the route's segments: feat/companion-planner (the Overworld), feat/companion-nether
and feat/companion-end. The route and the engine audit are in docs/companion-speedrun.md.

The route:

  1. Wood, stone and iron tools, then iron and buckets.
  2. A portal cast at a lava pool, then iron armour and a shield.
  3. The Nether: fortress, then blaze rods.
  4. Pearls: bartering, or endermen.
  5. Eyes of ender with two-throw triangulation, then the stronghold: dig down and fill the frame.
  6. The End: shoot the open crystals, pillar to the caged ones, then the sword (or beds) at the perch.

Each segment is measured headless with /tick sprint on fixed seeds, at each perception level (All-knowing and
Fair).

Engine fixes found here (each commit is companion-free and has a lan_e2e check)

  • a LAN guest's worn armour protects it; before, it counted as none;
  • a blaze fireball's fire is placed like vanilla's and burns out;
  • ghast fireballs can be hit back, and kill the ghast;
  • explosions damage, knock back and are shield-blocked for every player, not only the host;
  • each player has a hurt and attack log (hurtlog on the control socket).

Status: draft, in progress

Success rates by segment (All-knowing / Fair):

Segment All-knowing Fair
Overworld: portal lit 1–3/5 per batch 0/5
Nether: 7 rods 2/20 (6–7 min when it works); fortress reached 16/20 0/5
Stronghold 3/10 —
End: dragon killed 4–7/10 3–5/10

The Nether is the blocker. Work in progress:

  • a bartering leg (gold → fire resistance and pearls);
  • safer portal casting;
  • the first chained runs on this merged branch.

The base is main, so until the companion PR merges, the diff includes its body, skills and engine commits.

🤖 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/1070 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/21/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/companion-route` --- ### 📝 Commits (10+) - [`f7c8bb0`](https://github.com/horizon-rust/horizon/commit/f7c8bb0af2145fe2d6fb17196179f046b2c3c293) docs: companions design (local-first AI teammate, opt-in, No AI) - [`fac77bf`](https://github.com/horizon-rust/horizon/commit/fac77bf305ebf40711e267fe78a493f1b521f0f5) lan: connectionless guests for companions - [`805dc51`](https://github.com/horizon-rust/horizon/commit/805dc51d6e71bcdbe98676b50c52f88f7eb78e6b) companion: commands, reports, rules, file and state summary - [`53fcba1`](https://github.com/horizon-rust/horizon/commit/53fcba1093e7ab6b574c7e7a96baedbf85dc11fa) game: companion bodies, private hub and per-player skins - [`9b41ff8`](https://github.com/horizon-rust/horizon/commit/9b41ff8f142f94fac8c7a6d984112a46765e51ea) companions: their kills and advancements stay theirs; hub cost meter - [`a0757ea`](https://github.com/horizon-rust/horizon/commit/a0757ea03203e1a8043756f2e524a25b263bc480) companion body: look ahead before sprinting, fall back when no spot to teleport - [`48e8439`](https://github.com/horizon-rust/horizon/commit/48e8439bd10ba6cfe1cfaf5b4399015205bc6050) tools: scripted companion test (follow, fight, pickups, death, reload) - [`057ba5f`](https://github.com/horizon-rust/horizon/commit/057ba5ff01358abbaf6f2e6b5caf2e7211906d70) companion body: cheaper paths, teleport only to a grounded owner, saved skill - [`b42d238`](https://github.com/horizon-rust/horizon/commit/b42d2386d592262619d38497f0410efcb60d2818) tools: companion test on fixed ground, 26.x rule names, sturdier steps - [`0cf3764`](https://github.com/horizon-rust/horizon/commit/0cf37641f7007579146afa2f7eafd0f83d750b96) horizon-ctl: companion command; summary armour no longer "-0" ### 📊 Changes **73 files changed** (+31636 additions, -387 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/advancements.rs` (+73 -0) 📝 `crates/horizon-client/src/bin/horizon-ctl/commands.rs` (+10 -0) ➕ `crates/horizon-client/src/companion/end.rs` (+604 -0) ➕ `crates/horizon-client/src/companion/file.rs` (+143 -0) ➕ `crates/horizon-client/src/companion/gear.rs` (+157 -0) ➕ `crates/horizon-client/src/companion/mod.rs` (+874 -0) ➕ `crates/horizon-client/src/companion/moves.rs` (+1120 -0) ➕ `crates/horizon-client/src/companion/nether.rs` (+1007 -0) ➕ `crates/horizon-client/src/companion/perception.rs` (+887 -0) ➕ `crates/horizon-client/src/companion/summary.rs` (+262 -0) ➕ `crates/horizon-client/src/companion/techtree.rs` (+948 -0) ➕ `crates/horizon-client/src/companion/work.rs` (+576 -0) 📝 `crates/horizon-client/src/game.rs` (+53 -1) 📝 `crates/horizon-client/src/game/advancements.rs` (+64 -10) 📝 `crates/horizon-client/src/game/commands.rs` (+71 -36) 📝 `crates/horizon-client/src/game/commands/extra.rs` (+6 -3) ➕ `crates/horizon-client/src/game/companion.rs` (+1214 -0) ➕ `crates/horizon-client/src/game/companion_body.rs` (+1670 -0) ➕ `crates/horizon-client/src/game/companion_craft.rs` (+1031 -0) ➕ `crates/horizon-client/src/game/companion_cruise.rs` (+269 -0) _...and 53 more files_ </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What The goal is for the **Speedrunner** companion to finish Minecraft alone, from a fresh world to the dragon's death. This branch joins the route's segments: `feat/companion-planner` (the Overworld), `feat/companion-nether` and `feat/companion-end`. The route and the engine audit are in `docs/companion-speedrun.md`. The route: 1. Wood, stone and iron tools, then iron and buckets. 2. A portal cast at a lava pool, then iron armour and a shield. 3. The Nether: fortress, then blaze rods. 4. Pearls: bartering, or endermen. 5. Eyes of ender with two-throw triangulation, then the stronghold: dig down and fill the frame. 6. The End: shoot the open crystals, pillar to the caged ones, then the sword (or beds) at the perch. Each segment is measured headless with `/tick sprint` on fixed seeds, at each perception level (All-knowing and Fair). ### Engine fixes found here (each commit is companion-free and has a `lan_e2e` check) - a LAN guest's worn armour protects it; before, it counted as none; - a blaze fireball's fire is placed like vanilla's and burns out; - ghast fireballs can be hit back, and kill the ghast; - explosions damage, knock back and are shield-blocked for every player, not only the host; - each player has a hurt and attack log (`hurtlog` on the control socket). ## Status: draft, in progress Success rates by segment (All-knowing / Fair): | Segment | All-knowing | Fair | |---|---|---| | Overworld: portal lit | 1–3/5 per batch | 0/5 | | Nether: 7 rods | 2/20 (6–7 min when it works); fortress reached 16/20 | 0/5 | | Stronghold | 3/10 | — | | End: dragon killed | 4–7/10 | 3–5/10 | The Nether is the blocker. Work in progress: - a bartering leg (gold → fire resistance and pearls); - safer portal casting; - the first chained runs on this merged branch. The base is `main`, so until the companion PR merges, the diff includes its body, skills and engine commits. 🤖 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-02 16:00:53 +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#3023
No description provided.