Commit graph RynthServers/Tools/RynthServerPack.Tests/ServerPackCommandsTests.cs
Author SHA1 Message Date
Daniel Wallace
d70f780e60 RynthDreamWeave: Task 6 re-review, close the source-scan gaps
- Calls: one CallPattern for the lock and Draw allow-lists, which also
  reads "?." member chains and a type-argument list before "(", so
  Reply?.Fail( and Notify<int>( count as non-launcher calls.
- Monitor is banned in WebButtons.cs and DreamWeaveWebTools.cs; the host
  takes the launcher's lock in exactly 9 places, and each lock body is
  pinned exactly (no host property read under it either).
- ServerChatText: everything before its first lock is pinned exactly
  (declarations only), so no gate, return or throw can come before the
  launcher reads the line.
- WebLauncher.cs holds no Action, Func or delegate; any scanned file
  with a raw string literal fails, since the scan does not model them.
- Usage: "Market, Suit Builder or Ability Planner". The shared two lines
  are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:27:05 -08:00
Daniel Wallace
5fbbf4e654 RynthDreamWeave: Task 6 review fixes (code never to chat, allow-list scan, result generation)
- 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>
2026-11-08 13:25:10 -08:00
Daniel Wallace
8ceba81070 ServerPack: ServerUsageLines, a server's own /rserver usage lines
An optional hook, collected once in the constructor. ServerPackCommands.Usage
appends a server's lines (trimmed, blanks dropped) after the shared two, and
"/rserver help" and an unknown word print them all. A server without the hook
prints exactly the two lines it always has (pinned on Coldeve).
ServerProjectsTests.PluginsDir is internal so other tests can share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:18:45 -08:00
f9db7bad87 Snapshot for release 2026.10.28.3 (internal 7496938) 2026-10-28 23:23:44 -04:00