acdream/tests/AcDream.App.Tests/Plugins
Erik 2b65217d29 fix #363: route plugin system text to the chat window, not SpewBox
Owner direction 2026-09-07 (same instruction as the sibling unknown-
command fix, previous commit): plugin-originated text must land in
the chat window instead of retail's ClientLocal (0x1A) SpewBox-only
channel. AppAutomationSurface.PostSystemMessage -- the production
implementation of IPluginChat.PostSystemMessage that MossTank/VTank-
style plugins call -- now passes RetailLogTextType.Default instead of
ClientLocal to RuntimeCommunicationState.AddText, so the text reaches
the chat transcript via Chat.OnSystemMessage instead of the SpewBox.
This matches Decal's own AddChatText behavior for plugin output.

IPluginChat.PostSystemMessage's doc comment is updated to describe
the new destination instead of the old one. Register row AD-124
(previous commit) already covers this site alongside the sibling
unknown-command change.

Mutation check: temporarily reverted PostSystemMessage's AddText call
back to ClientLocal and confirmed the new
AppAutomationSurfaceTests.PostSystemMessage_RoutesToChatLog_NeverSpewBox
test fails (Assert.Single() on an empty chat log) before restoring the
fix. Also adds ChatVMTests.RecentLines_ShowsPluginSystemMessage_TaggedDefault
pinning that a ChatVM bound to the same ChatLog surfaces the line.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-07 08:22:22 +02:00
..
AppAutomationSurfaceIconInstalledDatTests.cs chore(plugins): remove the Smoke gate plugin; MossTank shelf icon 0x06002C41 2026-09-06 16:49:17 +02:00
AppAutomationSurfaceTests.cs fix #363: route plugin system text to the chat window, not SpewBox 2026-09-07 08:22:22 +02:00
BufferedUiRegistryTests.cs feat(mosstank): add VTank-style automation PoC 2026-08-27 18:57:21 +02:00
ExternalRenderPackPackageLifecycleTests.cs feat(mosstank): add VTank-style automation PoC 2026-08-27 18:57:21 +02:00
FilePluginStorageTests.cs feat(mosstank): add VTank-style automation PoC 2026-08-27 18:57:21 +02:00
GraphicalPluginSessionTests.cs feat(mosstank): add VTank-style automation PoC 2026-08-27 18:57:21 +02:00
LocalPluginPeerRegistryTests.cs feat(mosstank): add VTank-style automation PoC 2026-08-27 18:57:21 +02:00
PluginIconsTests.cs fix(plugin-ui): Slice B review fixes — no magenta for bad DIDs, contract threshold, integral icon bindings, nearest did art, loud markup errors 2026-09-06 15:43:56 +02:00
VtankProfilesDefaultTests.cs fix(vt): H test-restoration + disabled-rule refusal + double-side gate 2026-09-06 23:20:20 +02:00