66 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1.8 KiB
SessionObserver.lua prepares a persistent local recording of gameplay-related UI events and secure post-hook API attempts. It never sends gameplay/chat actions, never overrides original functions or return values, and checks issecretvalue before inspecting an argument. It keeps mount/spell, inventory/sorting, crafting, mail, social, aura and death events. Secret arguments become a redaction marker. Unsupported events/APIs are reported explicitly.
A first PLAYER_LOGIN initializes GatewayDiagnosticsSaved.sessionObservation. Existing recording rows persist across /reload; a reload saves rather than resets the recording. /whsession shows active/stopped state, rows and drops. /whsession mark adds a local marker, /whsession stop stops capture and logging started by this observer, and /whsession start resumes it. The limit is8,192rows/8MiB argument text/two hours per load. It enables original chat and combat logging only while active. The own-log flags preserve logging that was already on before observation and persist ownership across reload, so stopping restores only logs started by this recorder.
Actual local native activation is verified in docs/evidence/gameplay/native-session-observation-20261021/activation.json: a fresh marker and genuine events persisted across one controlled ReloadUI with logging active. This establishes recording for the observed local session; future installations still require their own activation check. A passing host Lua test alone proves preservation and bounds, not native client recording. Keep all private message/event payloads under private runtime storage; public evidence should contain names of event/API types and counts only. It does not capture raw packets or guarantee every client action; a continuous protocol observer and the original client logs complement it.