Commit graph RynthCore/tools/SectionsTests/Program.cs
Author SHA1 Message Date
Daniel Wallace
fea33eb41b Parse network on a chatTabs entry
kind must be dereth, command optional (default dn, 1-32 of a-z0-9); a bad
network is dropped and noted in the parse error, the entry is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 10:22:27 -08:00
Daniel Wallace
05a6d7d088 RynthChat server tabs: review fixes (pure apply core, pairing, clashes)
The decision core of ChatModel.ApplyServerTab moves into
ChatServerTabs.Apply, a pure function returning edits (rule updates,
inserts, removals, tab create, pin, seed mark, tab server); ChatModel
only carries them out. ChatFilterTests drives it through a small
settings model.

- A seeded entry whose tab was deleted never gets a rule turned on: a
  rule the manifest gains, or one re-added after the player deleted
  the rules, is added off. Tab listing skips a tab only an inactive
  server's rule fills.
- Owned rules pair with declared ones by content (Global-room flag,
  then when/action/mode/pattern, then leftovers), never by position,
  so a reorder or delete no longer moves on/off or colour to another
  rule. Reclaim uses the same pairing.
- Settings count as ready only after a successful read (or no file);
  a failed read is retried every 2 s, the unreadable copy kept once.
- Export leaves out server rules and server tabs; Import makes every
  imported rule the player's (no owner, server or globalRoom).
- Both rule editors lock pattern, mode, when, action, tab, move and
  delete on a server rule; on/off and colour stay live, with a note.
- No adopt-by-name: a taken name seeds "<Name> (<server name>)"
  instead, and tabServers is written only for a tab the plugin made.
  Reclaim requires the entry's name, its clash name, or a tab holding
  only the matched rules. AddCustomTab checks hidden tabs.
- Global-room discovery re-reads the entries and active servers under
  the lock. The manifest parser rejects a bad when or mode, and keeps
  a pattern's spaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:59:53 -08:00
Daniel Wallace
01f432d745 Sections manifest: an absent globalRoomFallback means Roleplay
The Dereth Network README names Roleplay as the room a world usually
borrows for the Global room, so an entry that leaves the fallback out
matches Roleplay until chat shows another room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:39:27 -08:00
Daniel Wallace
f2d7f0464c Sections manifest: parse chatTabs (server default chat tabs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:22:56 -08:00
55e15c0ac4 RynthCore as of 2026-11-10 (internal b7e3008): release 2026.11.10.1 2026-11-10 15:28:10 -05:00
539a7a3e64 Snapshot for release 2026.10.23.1 (internal 4204305) 2026-10-23 16:34:00 -04:00
c4efe5821d Snapshot for release 2026.10.21.3 (internal 04b831a) 2026-10-21 21:03:43 -04:00
5defb009a6 Snapshot for release 2026.10.21.1 (internal 6556f92) 2026-10-21 09:35:06 -04:00
516ad2bdf2 Snapshot for release 2026.10.15.2 (internal 9094d68) 2026-10-15 20:32:34 -04:00