lib

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

public_ingress.v1.json (3359B)


      1 {
      2   "schema": "radroots.public_ingress.v1",
      3   "contract_version": 1,
      4   "state": "implementation_and_qualification_pending",
      5   "event_max_utf8_bytes": 65536,
      6   "retained_heads_per_explicit_scope": 1,
      7   "successor_source_limits": "Explicit Event wire/envelope/SignedEvent bounds permit64KiB content, tag elements and total tags inside a64KiB original event. EventCodec exposes the existing caller-owned limit type; fetch/live use it coherently. Frozen legacy defaults and private profile limits are unchanged.",
      8   "independent_vectors": {
      9     "path": "crates/nostr/tests/fixtures/public_heads.v1.json",
     10     "sha256": "96aef2300e1b6d0b13a4ce60ab3d106c223d08fffa640e43b2598ce2b6c4c7e9",
     11     "count": 31,
     12     "producer": "tools/protocol_oracle/public_heads.mjs",
     13     "package_lock": "tools/protocol_oracle/package-lock.json",
     14     "provenance": "tools/protocol_oracle/provenance.v1.json",
     15     "primary_bip340_vector0_matched_first": true,
     16     "standalone_projections": [
     17       "crates/protocol/tests/fixtures/public_profiles.v1.json",
     18       "crates/transport_nostr/tests/fixtures/public_large.v1.json"
     19     ],
     20     "producer_sha256": "4f363c6ba7c4bd0b4f387352a23b0badd8d6009ae30596fe5cf8e75543b1c6da",
     21     "package_lock_sha256": "bd23a2b631ddd90c91ce044187e4feaaf27fb1f4590da2e203afc28d8ea6cd22",
     22     "provenance_sha256": "145d2cb14377bf67c0e65c452ed07ba10577a1e8ea1db3979d2d2780cb31a7a6"
     23   },
     24   "ranking": "Authenticate original NIP01 ID and BIP340 signature, derive the raw numeric-kind coordinate using frozen first-d semantics, then greatest created_at and lowest lexicographic event ID. Evaluate supported profile and clock only after selection.",
     25   "listing": "Kind30402 with one canonical sixteen-byte lowercase-hex d, one closed radroots.listing v1 profile and consistent standard default-option projections. Duplicate/ambiguous known projection tags are invalid-profile evidence, never permission to fall back.",
     26   "capabilities": "Kind18890, closed radroots.capabilities v1, one to three profile claims (repeated profiles remain allowed by the supplied schema), one to eight unique versions and features per claim; valid_until strictly after author time and at most30 days later. Empty tags. Claims grant no permission, stock or hosted authority.",
     27   "clock": "Caller injects observation time. A selected head authored after that observation is retained as anomalous, with no older fallback. Expired selected capability claims remain selected and noncurrent. No ambient time, hidden tolerance, automatic purge or global-completeness claim.",
     28   "ownership": "Protocol decodes passive data using canonical Domain constructors. Nostr verifies signatures and retains original selected bytes, reusing existing head ordering. No IO, durable state or automatic publication.",
     29   "limits": [
     30     "No structured authoring enablement, durable discovery installation, business transition, stock reservation, consent or physical-truth claim.",
     31     "Coherent source/API/notice/generator/artifact and supported-consumer adoption remains separate."
     32   ],
     33   "direct_typed_entry": "Protocol decode_observed enforces the complete64KiB signed JSON budget using the existing allocation-free counter before profile/domain materialization. Standard price spellings compare exact checked minor value/currency without rounding nonzero excess precision or rewriting original tags."
     34 }