- LaunchWire.IsSuccessShaped: a server line starting "[WEB] Launch code",
well formed or not. OnChatLine keeps a malformed one out of chat: a
pending request takes it as Refused with the unexpected-reply message;
otherwise Stale inside the stale window, NotOurs after. TryParse and
its pins are unchanged.
- An empty "[WEB] " refusal is an unexpected reply too.
- Wording: "an unexpected reply (is RynthDreamWeave up to date?)",
"Wait a few seconds between website opens.", "Couldn't open the
website."
- Tests: the raw-string guard covers only the DreamWeave files the scan
parses; the scan test's name says its catch logs through LogTagged;
the directory walkers added on this branch use
ServerProjectsTests.PluginsDir().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ServerChatText reads every line through the launcher, with no Active
gate first: a code answering our request is eaten whatever the world is
now, and opens nothing when the world is no longer DreamWeave.
- WebLauncher: a generation token (Begin when Started, Reset) and
SetResult(generation, status), which replaces the status compare and
the use of Cancel as a status setter. The no-panel note is once per
login epoch, so an answer from an earlier login can't spend it.
- An open failure reads "Market: Couldn't open your browser (code N)."
- StartLaunch's catch answers "Couldn't start the web open."
- ServerUsageLines: an optional shared hook for a server's own usage
lines; DreamWeave lists market | suit | abilities. Hookless servers
print the same two lines as before (pinned on Coldeve).
- The source scan is allow-lists: every lock is on the launcher's Gate
and calls only its members, the Stale arm is exactly eat = true, Draw
calls only ImGui, SafeImGui and click. Comments are stripped without
touching string literals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore blank line before the pending-destination doc comment, fix the stale-window test comment, and pin that a refused Begin does not extend the stale window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the _expired flag with _staleUntilMs, raised by every started Begin and never
lowered, so an earlier request's late code is eaten after overlap, Cancel or Reset.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code-shaped refusals are replaced, self-expiry in Begin, Reset keeps the throttle,
late valid codes are eaten as Stale within the code lifetime, thread contract documented.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>