DocsOIntelSnapshots & Session Intelligence
Features

Snapshots & Session Intelligence

OIntelorravo.com/docs/ointel/snapshots-sessions

Snapshot System

Snapshots capture the full check result set at a point in time, stored in wp_ointel_snapshots.

php// Take a new snapshot
OIntel_Snapshot::take(): int  // returns snapshot ID

// List all snapshots
OIntel_Snapshot::get_all(): array

// Compare two snapshots — returns array of changed checks
OIntel_Snapshot::diff( int $id_a, int $id_b ): array

// Delete a snapshot
OIntel_Snapshot::delete( int $id ): bool

The Snapshots admin tab lets you take a snapshot, select any two, and view a side-by-side diff showing which checks changed from pass → fail or vice versa, and how the score changed.

Session Intelligence

The Sessions tab tracks active WordPress sessions, login history, and admin activity.

phpOIntel_Sessions::get_active(): array     // All users with an active WP session
OIntel_Sessions::get_login_history( int $limit ): array
OIntel_Sessions::get_admin_activity( int $limit ): array
OIntel_Sessions::revoke_session( int $user_id, string $token ): void

Admin activity log tracks: post edits, option changes, user role changes, plugin activations/deactivations, and file edits.

Snapshots & Session Intelligence — OIntel Docs — Orravo