_mod_CROSSWATCH
Local file-backed tracker(watchlist/history/ratings).
Provider ID: CROSSWATCH
Version (module): 1.0.0
CrossWatch can act as its own local tracker.
It stores watchlist, history, and ratings as JSON on disk.
Use it for:
local backups before risky runs
staging and testing
seeding other providers from a clean dataset
Related docs:
Entry point: sync/_mod_CROSSWATCH.py
Provider surface
health()build_index(feature)add(feature, items)remove(feature, items)
Features
watchlist→providers/crosswatch/_watchlist.pyhistory→providers/crosswatch/_history.pyratings→providers/crosswatch/_ratings.py
Capabilities
bidirectional: trueprovides_ids: trueindex_semantics: "present"observed_deletes: true
Config
Config block name:
CrossWatchorcrosswatch
Common keys:
root_dir(default/config/.cw_provider)auto_snapshot(defaulttrue)retention_days(default30)max_snapshots(default64)restore_watchlist,restore_history,restore_ratings
Pair scoping (optional)
Enable:
CW_CROSSWATCH_PAIR_SCOPED=1
Scope key reads from:
CW_PAIR_KEY,CW_PAIR_SCOPE,CW_SYNC_PAIR,CW_PAIR
Effects:
state files become
watchlist.<scope>.json, etc.snapshots go under
snapshots/<scope>/
Gotchas
Timestamp comparisons can be string-based.
Use ISO8601 UTC ...Z timestamps.
Last updated
Was this helpful?