D724 - A title links at load or ahead of time from one link plan

Status: assumed Date: 2026-09-26

The loader produces a link plan: the placed segments, the thunk index each import resolves to, the relocations, the thread-local storage layout, the instruction rewrites (D725) and the raw syscall sites. Handlers and stub answers attach to thunk indices when the guest starts, so the plan holds no implementation. It is stored in the title library, keyed by the executable's hash, the loader's build and the host CPU's features. Every run links afresh and compares its plan with the stored one: the stored plan is a check, not a cache, and a difference under the same key is a loader defect. orbistoun-cli link stores a plan without running the guest, and run --relink replaces one. An orbistoun-aot build is the title's folder with a launcher beside it: orbistoun's window, which plays only the executable in its folder, linking and checking as run does, or runs it with no window under --headless. It is made only by orbistoun-cli link --native. Every mode keeps the thunks, so every mode writes the same trace.

Why: native execution means the guest runs the same way in every mode; only the time of linking differs, so which one ran is not a property of the title. Keying on what the plan was computed from, rather than on what implements it, lets an implementation land without a relink. Keeping the thunks keeps the trace, and with it the loop.

Rejected: