How peacekiller/stoned_hermine works
Stoned Hermine polls Stein.App assets, compares each result with a local SQLite snapshot, persists new or changed records, and posts a Hermine channel message for selected changes. The main script owns polling, comparison, persistence, formatting, and notification decisions; SteinAPI and StashCat.py implement the external clients, while Diff.py represents field changes. The README documents the product workflow; sampled source confirms the main call paths and client behavior.
Main entry points: StonedHermine.py Polling and orchestration · steinapi.py Stein.App client · Stashcat.py Stashcat client · Diff.py Field change record
Components 11
Asset monitoring
- Polling and orchestration
StonedHermine.py - Stein.App client
steinapi.py - Asset comparison
StonedHermine.py - Field change record
Diff.py
Local state
- Asset snapshot
StonedHermine.py - Database schema
changelogs
Hermine messaging
- Change filtering and formatting
StonedHermine.py - Stashcat client
Stashcat.py
Other components
- Operator
- Stein.App service
- Hermine service
Connections 10
- Operator → Polling and orchestration: starts
README.md - Polling and orchestration → Stein.App client: polls assets
StonedHermine.py - Stein.App client → Stein.App service: requests assets
steinapi.py - Polling and orchestration → Asset snapshot: reads and writes
StonedHermine.py - Polling and orchestration → Asset comparison: compares records
StonedHermine.py - Asset comparison → Field change record: creates changes
StonedHermine.py - Polling and orchestration → Change filtering and formatting: formats selected changes
StonedHermine.py - Polling and orchestration → Stashcat client: sends message
StonedHermine.py - Stashcat client → Hermine service: posts channel message
Stashcat.py - Polling and orchestration → Database schema: applies migrations
StonedHermine.py