66 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
10 lines
2.1 KiB
Markdown
10 lines
2.1 KiB
Markdown
This temporary observer records the official 1.12-based Octo client's social API attempts, registered social/chat/addon events, and friend snapshots after `FRIENDLIST_UPDATE`. It enables the client's own chat log. It does not send social/gameplay actions, capture authentication, intercept packets, or establish server acceptance by itself.
|
|
|
|
`Observer.lua` uses the already loaded pfUI cache for persistence. The current private deployment appends an exactly marked block to pfUI.lua after preserving its complete original bytes and recording both hashes in `runtime/octo-social-observation-20261021/install.json`. A normal `/reload` loads it; the **social capture ready** message confirms activation. `/whsoccap` reports counts, `/whsoccap mark LABEL` adds a local marker, and `/whsoccap stop` detaches the hooks without replacing hooks installed afterward. `/reload` or normal logout saves the current table; reloading starts a fresh in-memory capture, so save snapshots before another reload overwrites it.
|
|
|
|
Private payloads include chat messages and social names. Keep raw logs and SavedVariables under private runtime storage. `ops/octo_social_capture.py` extracts only our table without executing Lua and produces a separate summary containing API/event names and counts. Do not commit private captures. Limits are 8,192 rows, 8 MiB of payload/name text, and 8,192 characters per argument; drops are counted. It records the listed social scope, rather than every client action.
|
|
|
|
Restore the exact journaled backup only if the installed pfUI hash still matches the installation receipt; otherwise remove only the exact marked social-observer block and preserve newer addon edits. Reload afterward. Stopping the observer does not disable the separately requested built-in chat logging; `/run LoggingChat(0)` disables that when the user finishes.
|
|
|
|
Validation: `lua tests/octo_social_observer_test.lua "$PWD"` checks arguments, multiple return values, matching events/state, limits, and detachment. `python tests/octo_social_capture_test.py` checks safe table extraction and public-summary privacy. Host Lua tests do not establish real-client activation.
|