@founderhq/events-core
v0.7.0
Published
Dependency-free FounderHQ Events protocol and cross-platform client primitives
Readme
@founderhq/events-core
Dependency-free Events protocol v2 types, canonical $ taxonomy, UUIDv7
session generation, deterministic state/property helpers, canonical JSON, and
the cross-platform executable conformance contract.
fixtures/conformance-v2.json contains the portable action DSL, injected
provider inputs, expected wire/persistence/directive outcomes, and the required
session, identity, retry, rotation, oversize, persistence, offline,
remote-config, consent, pageview-resilience, mobile, and Node scenarios.
Platform exceptions come from FOUNDERHQ_PLATFORM_CAPABILITIES.
The pageview cases include failed hard-unload delivery followed by a persisted
restart fallback and distinct 30-minute-idle and 24-hour-age rollovers. Remote
config actions must traverse the mobile transport and cache, while web re-arm
uses real DOM and History events.
Each platform runner must execute only the declared actions, then canonically
compare every request plus normalized persistence/directive state; additional
flushes and field-level cherry-picking are contract violations.
