symfonic.platform.native_entry_journal¶
native_entry_journal ¶
Opt-in, host-owned evidence that an invocation reached the kernel.
NativeEntryJournal ¶
Write metadata once for each kernel bind_run observer hook.
Supply this callable through ObservabilityServices.event_sinks and telemetry. Labels are bounded, non-sensitive operator identifiers, never user content. The host provisions the local directory and owns capacity and rotation. No run, lineage, tenant or session identifier is persisted or manufactured. Entry proves kernel reachability, not pre-kernel admission or population coverage. Each call uses a POSIX lock and synchronous fsync; remote file durability is not attested. A host-owned snapshot counts write failures even when kernel observers swallow them. Event delivery is a no-op.
Source code in src/symfonic/platform/native_entry_journal.py
capture_snapshot
property
¶
Atomically read failed writes, active writes and this journal's epoch.
bind_run ¶
Accept observer lineage while projecting only identity presence.
Source code in src/symfonic/platform/native_entry_journal.py
observe_run ¶
Use the host's best-effort observation channel with counted writes.