lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

source_original.v1.json (2262B)


      1 {
      2   "schema": "radroots.transport_nostr.original_ingress.v1",
      3   "contract_version": 1,
      4   "state": "bounded_original_fetch_and_live_evidence",
      5   "original_event_max_utf8_bytes": 65536,
      6   "pending_events_max": 256,
      7   "pending_bytes_max": 4194304,
      8   "accounting": "Fixed reserved queue entry capacity, queue object and exact retained Box<str> lengths; no silent eviction. Other bounded session metadata, host buffers and caller-owned obtained results are separate.",
      9   "ownership": "Exact registration, relay and subscription; monotonic private scope identities; stale connection generations cannot capture. Scope drop and registration finalization remove only their owned originals.",
     10   "correlation": "The exact pinned upstream decoder and SHA256 of its serialization correlate a parsed notification to the original queued object. This key is not authenticity, profile admission or replacement wire evidence. FIFO retains distinct original spellings independently.",
     11   "fetch": "Existing monotonic work/byte/frame budgets, ordered finalization and partial results remain. Missing originals or queue loss produce incomplete evidence, never reserialized fallback.",
     12   "live": "Uses the same aggregate original queue with independent scope disposal, no inherited cumulative fetch budget and a wakeable loss signal. Queue loss or missing original returns a source error without advancing an event checkpoint. Cancelled live scopes do not invalidate another scope's physical connection.",
     13   "admission": "Original objects pass through SignedEvent.raw_json to the owning protected reader. Only that reader establishes complete signature, recipient, seal, rumor and record bindings. Original source data alone supplies no business authority.",
     14   "limits": [
     15     "This contract governs original network evidence, not a second transport or durable journal.",
     16     "Existing general EventWireLimits and ancillary direct-value policies retain their separately governed scope until coherent profile/consumer reconciliation. They do not enlarge this original-network-event bound or the protected reader's64KiB admission.",
     17     "No structured authoring enablement, stock/consent/physical truth, coherent consumer adoption or final acceptance follows from this component."
     18   ]
     19 }