merge: bring main (engine 2026.10.5.16) into QOL-items for PR #10

Resolves the 15 conflicting files between QOL-items and main's upstream
snapshot line. Plugin API is now 80: main's v77-v79 numbering stays and
GetMergeStackResultFn (v77 on QOL-items) moves to the end of the table as v80
in the engine and the SDK.

Details in Changelog/2026-10-07-merge-main-into-QOL-items.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-07 09:01:16 -04:00
commit 50056c1d6f
123 changed files with 13415 additions and 1182 deletions

View file

@ -0,0 +1,45 @@
# RynthCore 2026.10.5.14 — engine heartbeat is always logged
**Date:** 2026-10-06
**Branch:** `fix/heartbeat-always-logged` (from `main` 143eaa9); deployed build is the
same fix cherry-picked onto `fix/restore-sk-features` (the 2026.10.5.13 line)
**Previous release:** 2026.10.5.13 (895a63a)
**Component:** `RynthCore.Engine` only (no plugin API change)
## Problem
The launcher killed healthy, in-world clients and relaunched them every few minutes
(Silentkelpie and Silentstorm, 2026-10-06 14:46 to 15:13; launcher log lines
`WEDGE: PID … killed - engine heartbeat silent for >120s while process alive`).
- The launcher's wedge watchdog treats `RynthCore.<pid>.log` not being written for
120 s as a dead engine and kills the process.
- The engine's once-a-second heartbeat line (`hb #N … fps= … login= …`) was written
through `RynthLog.Info`, which writes at the **General category's** level.
- With `LoggingLevel = Info` and `General = Trace` (launcher logging settings), the
heartbeat was emitted at Trace and filtered out by the global Info threshold, so the
log went quiet once a character was in-world and the watchdog fired.
- The launcher copies its own `LoggingLevel` into `engine.json` on every launch, so a
hand edit of `engine.json` only lasted until the next relaunch.
- Knock-on effect: relaunches landed while the killed character was still logged in on
the server, and the new client was booted to the end-of-session screen
(`LogOffCharacter(immediate=1)` from `gmEpilogueUI`) about 35 s after launch.
## Fix
- New `RynthLog.Heartbeat(string)`: writes unconditionally (every `LoggingLevel`,
including Off), tagged `[INF]`, like `RynthLog.Error` does for errors.
- `HeartbeatLogger` writes the `hb #` line through `RynthLog.Heartbeat`.
- No change to the line format, so every launcher's `WedgeHbRegex` still parses it.
## Notes
- The startup warning about categories above the global level stays; it still applies
to every other line.
- Workaround for older engines: set the launcher's global logging level to Trace, or
turn off auto-restart of wedged clients.
## Files
- `src/RynthCore.Engine/RynthLog.cs` — `Heartbeat` method.
- `src/RynthCore.Engine/Compatibility/HeartbeatLogger.cs` — heartbeat uses it.

View file

@ -0,0 +1,117 @@
# Upstream snapshot comparison: rynth/RynthCore 2026.10.6.1 vs GitHub main
Date: 2026-10-06
Report only. Nothing has been merged or pushed.
| Side | Ref | Commit |
|---|---|---|
| Upstream (aelrynth `rynth/RynthCore`) | `aelrynth/main` | `abf9146` Snapshot for release 2026.10.6.1 (internal 1cbe514) |
| GitHub (`BlankenshipG/RynthCore`) | `origin/main` | `143eaa9` feat(ui): nav route editing, progression, charms and chat presets |
| Common base | merge-base | `913a2a0` release 2026.10.5.20 |
Upstream snapshot not on GitHub: `abf9146`, 93 files, +10168 / -597.
GitHub commits not upstream. All three are in open rynth/RynthCore PR #2; PR #1 is superseded.
- `9709a39` install-aware paths, logging levels, item drag bridge
- `4be686e` plugin overlay windows and create-time identity seeds
- `143eaa9` nav route editing, progression, charms and chat presets
## Policy for the next merge
- **Keep everything we sent up:**
- logging levels and desktop log;
- item drag bridge;
- plugin overlay windows;
- progression, charms and chat presets;
- nav route editing;
- install-aware paths.
- **Bring down the new upstream items flagged below**, merge them in and test them.
## FLAG: new upstream items to bring down, merge and test
### New files (38): missing on GitHub
- **Flight recorder** (network capture ring):
- `Net/FlightCapture.cs`, `Net/FlightFormat.cs`, `Net/FlightRecorder.cs`, `Net/FlightRing.cs`
- `tools/FlightRecorderTests`
- **Video patch:**
- `D3D9/VideoPatch.cs`, `D3D9/VideoPatchPolicy.cs`, `ImGui/VideoPatchBanner.cs`
- `tools/VideoPatchTests`
- **Meta editor:**
- `ImGui/Panels/MetaFace.Editor.cs`
- `UI/Data/MetaEditing.cs`, `UI/Data/MetaLocation.cs`, `UI/Data/MetaRuleDto.cs`
- `tools/MetaEditTests`
- **Item count HUD:**
- `ImGui/Panels/ItemCountFace.cs`
- `UI/Data/ItemHudModel.cs`, `UI/Data/ItemHudStore.cs`
- `tools/ItemHudTests`
- **Mini remote:** `ImGui/Panels/MiniRemoteFace.cs`.
- **Engine settings:**
- `Plugins/EngineSettingsFile.cs`, `Plugins/PluginPathDedupe.cs`
- `tools/EngineSettingsTests`
- **Chat filters:**
- `UI/Data/ChatFilterPresets.cs`, `UI/Data/ChatRuleMatching.cs`, `UI/Data/ChatSettingsDto.cs`
- `tools/ChatFilterTests`
- **Panels:** `UI/PanelDestroyFallback.cs`, `tools/PanelWindowTests`.
- **Install paths:** `src/Shared/RynthInstallPaths.cs`, `tools/InstallPathsTests`. See the
overlaps below.
### Upstream edits to files GitHub never changed (31): merge cleanly
- **Launcher:** `RynthUpdater.NavData`, `UsageStats`.
- **Compatibility:**
- `AcActionTrace`, `AcMainThreadQueue`, `BusyCountHooks`, `ClientActionGates`
- `GameTickHooks`, `HeartbeatLogger`, `InventoryModel`, `LoginLifecycleHooks`
- `RawPacketHooks`, `RynthCoreChatCommands`, `SmartBoxHooks`
- **D3D9:** `AcUiPassHook`, `Nav3DRenderInjector`.
- **ImGui:**
- `ImGuiBar`, `ImGuiPopOuts`, `MonsterHud`
- `MetaFace`, `MetaFace.Schedule`, `P1Faces`, `RynthNavFace`
- `UiDropTargets`, `RynthNavData`
- **Tools:** test project files, `PluginManifestTests/Program.cs`, `tools/pe_pattern.py`.
### Edited on both sides (24): needs a hand merge (14 conflict in a trial merge)
Conflicting:
- `RynthCore.App.Avalonia/LauncherDiag.cs`, `MainWindow.axaml.cs`, `RynthCore.App.Avalonia.csproj`
- `Engine/ImGui/EngineFrameController.cs`
- `Engine/ImGui/Panels/ChatFiltersFace.cs`, `Engine/ImGui/Panels/InventoryFace.cs`
- `Engine/LogPaths.cs`, `Engine/RynthCore.Engine.csproj`
- `Engine/UI/Data/ChatData.cs`, `Engine/UI/Data/MetaData.cs`
- `Injector/Program.cs`, `Loader/EntryPoint.cs`
- `StatusAgent/AgentConfig.cs`, `StatusAgent/RynthCore.StatusAgent.csproj`
Auto-merged, but changed on both sides, so review them:
- `D3D9/EndSceneHook.cs`, `EngineLifecycle.cs`, `EntryPoint.cs`
- `ImGui/Win32Backend.cs`
- `Plugins/EngineSettings.cs`, `Plugins/PluginManager.cs`
- `UI/Data/SettingsData.cs`, `UI/LayeredWindow.cs`
- `Injector.csproj`, `Loader.csproj`
## Overlaps to resolve when merging
1. **Install paths: two copies of `RynthInstallPaths`.** GitHub has
`src/RynthCore.App/RynthInstallPaths.cs`; upstream has `src/Shared/RynthInstallPaths.cs`,
linked into several projects. The two differ by about 190 lines. Keep one and update the
links (App, Engine, Injector, Loader, StatusAgent, tests).
2. **Chat presets:** our `UI/Panels/RynthChatPresets.cs` against upstream's
`ChatFilterPresets` / `ChatRuleMatching` / `ChatSettingsDto`, which touch the same
`ChatData.cs` and `ChatFiltersFace.cs`. Review both side by side; don't keep two preset
systems.
3. **Panel destroy:** our posted-destroy fix (PR #2) against upstream's
`PanelDestroyFallback.cs`, both in `LayeredWindow.cs`.
4. **Logging:** our `LogSettings.cs` and logging levels against upstream's `LogPaths.cs` and
`EngineSettingsFile.cs` changes.
## Suggested test pass after merging
- New upstream tools: `ChatFilterTests`, `EngineSettingsTests`, `FlightRecorderTests`,
`InstallPathsTests`, `ItemHudTests`, `MetaEditTests`, `PanelWindowTests`, `VideoPatchTests`.
- Existing tools: `PluginManifestTests`, `StatusAgentTests`, `LauncherUpdateTests`,
`NavDataUpdateTests`, `UsageStatsTests`.
- NativeAOT Engine publish.
- In game:
- overlay windows and item drag;
- chat presets and filters;
- meta editor;
- item count HUD;
- video patch banner;
- logging level settings in the launcher.

View file

@ -0,0 +1,66 @@
# QOL-items: main merged in, PR #10 conflicts resolved (plugin API 80)
**Date:** 2026-10-07
**Branch:** `QOL-items` ([PR #10](https://github.com/BlankenshipG/RynthCore/pull/10), into `main`)
**Merged:** `origin/main` 784ddf1 (engine 2026.10.5.16) into `QOL-items` f2bd3b2
**Plugin API:** 80 (previous: 77 on `QOL-items`, 79 on `main`)
## Why
PR #10 could not merge: `main` took the 2026-10-05 evening upstream snapshot (913a2a0) and the
three commits that sent the SK features upstream (9709a39, 4be686e, 143eaa9), and both lines
edited the same 15 files. This merge brings `main` into `QOL-items` so the PR merges cleanly.
Nothing on `main` is rewritten.
## Plugin API: GetMergeStackResult moves to v80
Both lines used API v77 for different table fields:
- `QOL-items`: v77 = `GetMergeStackResultFn`.
- `main` (upstream): v77 = `GetScreenModeFn`, `GetUiHookFlagsFn`; v78 =
`SetServerMessageInterestFn`; v79 = `GetTrainingInfoFn`, `RaiseFn`, `TrainSkillFn`.
`main`'s numbering is the one upstream ships, so it stays. `GetMergeStackResultFn` is appended
after `TrainSkillFn` as v80, in both the engine's `RynthCoreAPI` and the SDK's
`RynthCoreApiNative`. `PluginContractVersion.Current`, `RynthCoreSdkApiVersion` (SDK targets) and
`RynthCoreHost.HasGetMergeStackResult` (now `Version >= 80`) follow.
A plugin built against the old `QOL-items` SDK would read the wrong slot for
`GetMergeStackResult`. No RynthSuite plugin calls it, and RynthAi (RynthSuite `main` 272e9f5)
builds against the merged SDK, but rebuild plugins against this SDK before running them on this
engine.
## Conflicts resolved
`main`'s side already contains the `QOL-items` change plus upstream's additions in most files, so
those hunks take `main`:
- `ImGui/EngineFrameController.cs`: line endings only; `main` adds the Client::Cleanup guard.
- `ImGui/Panels/NavFace.cs`: header lists the route editor.
- `Plugins/EngineSettings.cs`: `DisabledUiHooks` read before `LoggingLevel`.
- `Plugins/LoadedPlugin.cs`: v77/v78 export pointers, `Manifest`, `NotStartedReason`.
- `RynthLog.cs`: `Heartbeat` (always written), the Move / UseDone traces, `Write` wrapper.
- `UI/Data/ChatData.cs`, `UI/Data/NavData.cs`: route editor fields and requests.
- `UI/Data/SettingsData.cs`, `ImGui/Panels/SettingsFace.cs`, `UI/Panels/SettingsPanel.cs`: the
TraceCategories row next to Button / Text / Status; the Diagnostics tab icon.
- `StatusAgent/AgentConfig.cs`: `CellDatPath` and `NavAtlasPath`.
Merged by hand:
- `Plugins/PluginContract.cs`: header lists both `RynthPluginRenderOverlay` and
`RynthPluginOnServerMessage`; table as above; `PluginContractVersion` lives only in
`PluginContractVersion.cs`.
- `Plugins/PluginManager.cs`: `main` gathers the plugin list first and loads it afterwards, so
`QOL-items`' duplicate guard (same file name or same resolved path) now records each candidate
as it is accepted instead of after loading.
- `ImGui/Panels/SettingsFace.cs`: git kept two identical copies of `TextRow`, `StatusRow` and
`ButtonRow` (both lines added them); one copy removed.
- `tools/PluginManifestTests`: the table's tail is now the v79 slots then `GetMergeStackResultFn`.
## Verification
- `RynthCore.sln` (Release, x86): builds, no errors.
- PluginManifestTests 156/156, LauncherUpdateTests 134/134, TrainingCostTests 70/70,
ReloadDeferralTests 19/19, NetMessageTests 203/203.
- StatusAgentTests does not compile, the same as on `main` (its project compiles
`AgentConfig.cs` without `RynthInstallPaths`); not caused by this merge.
- RynthSuite `main` against this SDK: RynthAi builds; host tests 431 passed, 5 known failures,
1 unrelated failure (map bake reads the real dats), the same as before.
- No release was built or deployed from this merge.

View file

@ -0,0 +1,32 @@
# RynthCore 2026.10.5.15 — "Include T11 attributes" in the Add to loot profile popup
**Date:** 2026-10-07
**Branch:** `feat/loot-add-t11-checkbox` (from `fix/restore-sk-features` 5926a46)
**Previous release:** 2026.10.5.14
**Pairs with:** RynthAi 0.5.21-legacy-ui (RynthSuite `feat/loot-add-t11-attributes`)
## What's new
The "Add to loot profile" popup has a new **Include T11 attributes** checkbox under Match. The
popup opens from the Inventory panel's right-click menu, or from "Add selected item" in the Loot
Editor.
- When checked, RynthAi adds the item's T11 conditions to the rule: tier, weapon grade,
damage %, every modifier, slot special and Cast on Strike. Each must be at least as good as
the clicked item's.
- It works with every match mode, and the preview updates as soon as it is toggled.
- The tooltip lists what is added, and why Can Wield and Zone Locked are not: they depend on
the character and on where the item was assessed.
- "(not a T11 item)" shows next to the checkbox when the item isn't T11 gear.
## Compatibility
- `LootEditItemRequestDto.IncludeT11` is new; an older RynthAi ignores it.
- `LootEditItemDraftDto.IncludeT11` and `IsT11` are new; an older RynthAi never sends them, so
they read false. With an older RynthAi the checkbox has no effect, and "(not a T11 item)"
shows for every item.
## Files
- `src/RynthCore.Engine/ImGui/Panels/LootAddDialog.cs`
- `src/RynthCore.Engine/UI/Data/LootEditData.cs`

View file

@ -0,0 +1,51 @@
# RynthCore engine 2026.10.5.16 — 2026-10-06/07 work brought onto main
**Date:** 2026-10-07
**Branch:** `integrate/main-2026-10-07` (from `main` 143eaa9), fast-forwarded into `main`
**Previous release:** 2026.10.5.15 (the T11 checkbox build on `fix/restore-sk-features`)
## Why
The night of 2026-10-06 left engine changes on three local branches, none of them on `main`.
This release puts the ones that apply to `main` on it in one line. It pairs with RynthAi
0.5.22-legacy-ui on RynthSuite `main`.
## What's in it
| Commit on main | From | Change |
|----------------|------|--------|
| b467573 | `fix/heartbeat-always-logged` 2c67875 | The heartbeat line is written at every logging level (2026.10.5.14) |
| b361152 | `SK-local` f2bd3b2 | Attribute raiser on the Skills face's Progression tab; text and status rows for Server Features |
| ead4828 | `feat/loot-add-t11-checkbox` ef0e6cf | "Include T11 attributes" checkbox in the Add to loot profile popup (2026.10.5.15) |
| (docs) | untracked in the main checkout | The upstream snapshot comparison report (`2026-10-06-upstream-snapshot-comparison.md`) |
## Left out on purpose
ab18df2 on `SK-local`, "log CoreCLR-hosted engine AVs immediately in the native crash logger",
patches the crash logger rewrite in `native/SehTrampoline/SehTrampoline.c` from a7cdbee. `main`
never got a7cdbee: its trampoline is the older 406-line version, against 674 lines on `SK-local`,
so the cherry-pick conflicted in four places. a7cdbee also changes create-time object seeding,
which overlaps `main`'s own identity seeds from 4be686e. Bringing the crash logger over is its own
port, and it only takes effect after `scripts/Build-SehTrampoline.ps1` rebuilds the native DLL.
ab18df2 stays on `SK-local` until then.
5926a46 is the same heartbeat fix as 2c67875 on the `fix/restore-sk-features` line, so it was not
picked twice.
## Conflicts resolved
`main` added a TraceCategories settings row in the same places f2bd3b2 adds its Text and Status
rows. Both are kept:
- `UI/Data/SettingsData.cs`: `SettingKind` has `TraceCategories, Text, Status`, and
`TraceCategoryLevels` stays.
- `ImGui/Panels/SettingsFace.cs`: all three switch cases, then `TraceCategoriesRow` /
`SaveCategories`, then `TextRow` / `StatusRow`.
- `UI/Panels/SettingsPanel.cs` (the Avalonia face): all three cases.
## Build
- `scripts/Publish-EngineCoreClr.ps1 -EngineOnly -MsBuildArgs '-p:Version=2026.10.5.16'` to
`out/staged-2026.10.5.16`. It built with no errors, and every warning was already on `main`.
- `RynthCore.Engine.dll` FileVersion 2026.10.5.16.
- Not deployed. The live engine (2026.10.5.15) is built from the `fix/restore-sk-features` line,
not from `main`.