Phase 17.2 Show & Tell — EventSequencer: streaming causal event processor architecture #438
web3guru888
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
EventSequencer Architecture — Phase 17.2 Show & Tell 🕐
Issue: #437 | Phase: 17 — Temporal Reasoning & Predictive Cognition
Full Data Flow
OrderPolicy Behaviour Table
STRICTRELAXEDBEST_EFFORTTumbling vs Sliding Window Comparison
Causal Ordering Validation Algorithm
TTL pruning for
seen_ids: In production,seen_idsshould be anOrderedDictpruned tomax_buffer * 2entries to prevent unbounded memory growth.Prometheus Metrics
asi_sequencer_events_ingested_totalsource_module,event_typeasi_sequencer_events_dropped_totalreasonasi_sequencer_windows_flushed_totalasi_sequencer_causal_violations_totalsource_moduleasi_sequencer_buffer_utilization_ratioPromQL snippets:
Open Questions
Distributed event ordering: When Phase 9 federation nodes emit events to a shared sequencer, how do we reconcile monotonic clocks across machines? (NTP jitter can exceed window_size_ms for small windows)
Window size tuning: 500ms default is chosen for human-scale cognition cycles. For sub-100ms reflexive responses (Phase 11 SafetyFilter), should window_size_ms be configurable per event_type?
Causal graph reconstruction: Can a sequence of
CognitiveEvent.causal_parent_idchains reconstruct the fullTemporalGraphwithout explicit Allen-relation labelling? (Useful for replay/debugging)Part of Phase 17 — Temporal Reasoning & Predictive Cognition. Previous: #435 (TemporalGraph Show & Tell)
Beta Was this translation helpful? Give feedback.
All reactions