Skip to content

OnlyWorlds Unity SDK 0.24.0

Choose a tag to compare

@tmoosting tmoosting released this 28 Oct 23:12
· 346 commits to main since this release

Three of the schema's reading profiles in Unity: OWAddress (an element's address and the ow:// links that name it),
OWLens with its graph reader OWGraph (a saved way of reading a world, served as keel serves each reader), and
OWCharter (a world's Charter, Guide and Domains). The server's lens routes, an account token that reads the world it
names, and the link target of every link field. The pin moves to dist.85 and the folder check to format 0.3.20. A minor
release because it adds public API (below).

Added

  • OWAddress, the address profile (schema-dist profiles/address.md, serial 77, ruled 2026-10-26): one element
    named by one triple, the world's id, the type word and the element's id, in three spellings. The human address
    https://www.onlyworlds.com/w/<world id>/<type>/<id>, ow://<type>/<id> inside a world and
    ow://<world id>/<type>/<id> across worlds; a world alone is https://www.onlyworlds.com/w/<world id> or
    ow://<world id>. Any of them may carry a moment (@<step>, a whole number in the world's time line, at the end of
    the last path segment) and a lens (?lens=<id>), the moment first. OWAddress.ParseLink(text) reads a string to an
    OWAddressReading (Form, World, WorldIsSlug, Type, Id, Lens, Moment, Canonical, IsWorld), or null;
    TryParseLink(text, out reading, out refusal) also says why a string is refused, by the profile's own words
    (OWAddressRefusal: not_an_address, uppercase, segments, bad_world, unknown_type, bad_id, bad_moment,
    bad_lens), checked in the profile's order so every reader refuses a string for the same reason.
    OWAddress.ElementAddress(form, world, type, id, lens, moment) writes the canonical string (lowercase, the world's
    id and never its slug, nothing else) and throws OWAddressException with the Reason (also no_world and
    bad_form); overloads take a reading, or the parts as JSON in the shape the TypeScript SDK and the Python package
    take (elementAddress, parseOwLink). Only https on www.onlyworlds.com is the human form: http, the bare host
    and any other host are not addresses. A field that holds an address is public text: never resolve it on a server.
    The type words are the generated list. The profile's fixture, 133 cases, is the test.
  • OWLens, the lens profile (schema-dist profiles/lens.md, serial 78, ruled 2026-10-26): a saved way of reading
    a world, a Construct with supertype Lens whose links are its anchors and whose x_lens recipe says what to read
    (depth, types, window, from, to, undated, show, budget, mail, notes).
    OWLens.Resolve(world, lens, reader, options) is the profile's resolveLens(world, lens, reader): one pure function
    over a world snapshot that returns an OWLensResult (Kept, the ids in the budget's order; Rows, as show makes
    them; Cut, the cut counted by reason; NotesIgnored; Mail, the mail part; RefusedKey for an unreadable
    recipe), and never writes. An overload takes the lens's id in the world. The reader is an OWLensReader
    (Owner, Contributor, Guest(whole, knownOf), Public, Served for a key's own served bodies, and
    WithOwnerCounts() for the owner reading as another reader); OWLensOptions carries the reading's AsOf, the
    world's Now, the mail rule's Clock and the members list. The ten resolution rules as the profile writes them:
    visibility before resolution (hidden, proposed, room elements for the public reader), a hop both ways, a Relation
    as an edge to its own parties in the same hop, the umbrella's children each once, a hop that never crosses a room
    element, the budget's order (anchors in link order, then by type in the schema's order, newest first, then by id),
    an anchor the reader cannot see skipped and counted only for the owner, a filter lens and a template, the as_of
    fence on each element's own date (never a stub's missing one), and the mail rule read through OWMessage (unread
    by the reader's own read mark, the sender verified, thirty days, the newest kept). The cut reasons are one closed
    list, OWLensCut (budget, types, window, undated, after_as_of, anchor_not_visible, not_visible,
    hops_not_served); a reader that is not the owner never carries anchor_not_visible or not_visible, not even as
    zero. Beside it IsLens,
    IsTemplate, CheckKeys(xLens) (the first key refused, or null) and LensesFor(membership, characterUses) (the
    membership's choice wins, an empty choice is a choice). The hop reads the generated models' link fields in the
    schema's order. The profile's fixture, 84 cases, is the test.
  • OWGraph, the lens profile's graph reader (schema-dist profiles/lens.md, serial 81, the graph section):
    OWGraph.Read(world, reader, options) is the profile's worldGraph(world, reader, options), one pure function over
    the same world and the same OWLensReader as OWLens.Resolve, that reads the world as nodes and edges for that
    reader and returns an OWWorldGraph (Nodes, Edges, EdgesCut, Cut, RefusedKey for the profile's
    unreadable, and ToJson() in the profile's words); nothing is stored or written. A node (OWGraphNode) is the
    element's Id, Type, Name, and its type's Family and Icon from the presentation sidecar, with Marks
    (room, hidden, proposed) on an element a flag brought back and KnownOf on a guest's known-of stub, which has
    no edges out. An edge (OWGraphEdge) is one Source, Field, Target and Index, one per element, field and
    target, from the schema's link fields and the two declared extension links (x_lens_leads_to,
    x_spine_depends_on); Index is the target's place in the list as the reader is served it, and a link held on both
    ends is two edges. Nodes sort by id and edges by source, field and index, each by code point. Without a lens the
    nodes are every element the reader sees less room elements, hidden ones, proposed ones and map space (Map, Pin,
    Marker, Zone); OWGraphOptions.Rooms, Hidden, Proposed and MapSpace bring each back, and Cut counts what
    stayed out. With a lens (Lens, a body, or LensId, one the reader is served whole) the nodes are exactly the
    lens's kept, its cut rides along unchanged, and no flag adds to it; a lens whose x_lens cannot be read gives an
    empty graph naming the key. A link to an element that is not a node is counted in EdgesCut by its target's reason
    (OWGraphCut: the lens's cut reason, which wins over not_visible; with a lens, outside_lens for one the reader
    sees that the lens neither kept nor cut, counted for every reader; without one, the first of the four kinds not
    brought back; not_visible for one the reader does not see), and a reader that is not the owner never carries
    anchor_not_visible, not_visible, hidden or proposed; a link to an id not in the world is not counted.
    Hidden or Proposed from a reader that is not the owner, or any flag from the public reader, throws
    OWGraphRefusedException naming the flag (Flag) before the world is read; the owner reading as another reader is
    judged by that reader's rung. Parity with the TypeScript SDK 4.93.0, its test vectors and the fixture's graph cases:
    the 34 cases replay with the section's invariants checked on every answer.
  • OWGraph.DegreeOf(graph): each node's degree in a graph OWGraph.Read answered, its edges in or out, each
    counted once for every node it touches (a mirror pair counts 2 at each end, a link to itself once), every node a key
    with 0 included, enumerated in the graph's node order. It is "most linked" as a finder ranks it: the reader's own
    count, since what the reading left out has no edge. A null graph is an ArgumentNullException. Parity with the
    TypeScript SDK 4.95.0 (degreeOf) and the Python package 0.78.0 (degree_of), the TypeScript SDK's test vectors
    ported: its own graph, and every fixture graph case's answer against a direct count of its edges.
  • OWGraph.OutDegreeOf(graph): each node's out-degree in a graph OWGraph.Read answered, the number of distinct
    nodes its own link fields point at: a target listed in two fields counts once, a link to itself does not count, and a
    mirror pair counts 1 at each end. Every node is a key, 0 included, enumerated in the graph's node order. Beside
    DegreeOf ("most linked"), it says how far an element reaches out. A null graph is an ArgumentNullException.
    Parity with the TypeScript SDK 4.98.0 (outDegreeOf) and the Python package 0.80.0 (out_degree_of), the
    TypeScript SDK's test vectors ported: its own graph, and every fixture graph case's answer against a direct count of
    distinct targets.
  • OWLens.DateOf(element): an element's date as the lens profile's date table (OWLens.DateFields) reads it,
    the whole number in its type's date field, or null for a timeless type, a body with no known type (trimmed and
    folded), a date field that is absent, null or not a whole number, and anything that is not an element body
    (JObject). It reads the body it is given, so a known-of stub reads null. A timeline or a horizon can now date
    elements exactly as the lens reader's fence does, from one table. OWLens.DateFields is now read-only also through
    a cast. Parity with the TypeScript SDK 4.96.0 (DATE_FIELD, dateOf) and the Python package 0.79.0 (DATE_FIELD,
    date_of), the TypeScript SDK's test vectors ported (the table against the fixture's date_table, every type dated
    or timeless, each date field an integer field of the generated model).
  • OWClientConfig.World: an account token, or no key, reads the world it names. A client built with an account
    token (ow_a_) and World = <world id> sends world=<id> (escaped, beside the call's own parameters, on every page
    of ListAllAsync) with its Bearer and no API-Key or API-Pin on ListAsync, ListAllAsync, GetAsync and
    GetWorldAsync, and the server answers as that account's own access in the world: the owner reads it whole, a
    member as its member key reads, any other account as the public reads (a world not open to the public is a 404). A
    client built with no key and World set sends the same four reads with no credential at all, the public reader;
    until now a client always needed a key. OWClient.World says which world. The account calls
    (CreateAccountWorldAsync) work on the same client as before. Refused before anything is sent: World with a world
    key (ow_w_, ow_r_, a seat's key, a 10-digit key) or empty or white space is an ArgumentException when the
    client is built, and a client with no key and no World is refused as before; on an account client, every call that
    needs a world key (element writes, bulk, link edits, the change feed, GetMeAsync, PatchWorldAsync, proposals) is
    an InvalidOperationException, where the server answered 401 before; on an account client without World, the four
    reads are one too; on a keyless client, everything but the four reads. One rule in the request path decides it, read
    from the request: an /account route, or a GET marked as a world read. The server serves search with world= too;
    the client has no search call. OWFolderExport.ExportAsync exports through such a client: it asks no /me, and
    the folder's world.json carries no exported_as (the slice is unknown). Parity with the TypeScript SDK 4.88.0.
  • The server's lens routes. OWClient.SetMyLensesAsync(lensIds): PUT /me/lenses, the lenses this key's holder
    starts with, lens ids in order (0 to 20, repeats dropped by the server; an empty list is a choice, not an absence),
    sent as {"lenses": [...]} with the key's PIN and without X-OW-Agent or X-OW-Client, which the server's document
    declares on neither; it answers GET /me's body as a JObject. Any write key of the world sets its own holder's list;
    the server refuses a read key (403), a lens the key cannot see (404) and a lens that is not one, a template or a
    hidden one (422 not_a_lens, lens_is_template, lens_hidden). A null list is an ArgumentNullException before
    anything is sent. OWClient.WorldLensesAsync(worldId, resolve, readAs): GET /world/{world_id}/lenses, every lens
    in the world this key can see, each with its recipe echoed, the Titles it is the default for and whether this key
    chose it, answered whole as a JObject ({data, read_as}); resolve (bool?, sent as true or false when
    given) adds each lens's reading, and readAs (the owner only, with resolve; sent as read_as, escaped) reads as
    another reader. A read, so no PIN. Both take a world key, and an account token as the next entry says; on a keyless
    client each is an InvalidOperationException and nothing is sent. GetMeAsync's answer now carries
    lenses, the holder's choice in order, which OWLens.LensesFor takes as the membership's. Parity with the
    TypeScript SDK 4.92.0, its test vectors ported.
  • The lens routes on an account token, and a row's lenses. WorldLensesAsync(worldId) on an ow_a_ token sends
    its Bearer alone, the world in the path and no world=, with World set or not. SetMyLensesAsync(lensIds) on an
    account token sets the account's own list in the world World names, sending world=<id> and the Bearer, never a
    PIN; an account client without World is an InvalidOperationException before sending. On a world key both send
    as before. OWClient.SetMemberLensesAsync(worldId, memberId, lensIds):
    PATCH /account/worlds/{world_id}/members/{member_id} with {"lenses": [...]} alone (never a role, Character or
    sponsor), both ids escaped, memberId a membership id or owner for the owner's own list; it answers the row as
    served, a JObject ({id, role, kind, lenses}, and x_served_trimmed naming lenses when the list keeps a lens
    you cannot see). A member sets its own row, a seat it answers for, or any seat as a co-builder; the owner any seat.
    An account token's call: any other key, or no key, is an InvalidOperationException and a null list an
    ArgumentNullException, each before anything is sent. The server's codes are those of SetMyLensesAsync, and a 422
    when the owner names a person's row. The client's one request rule now reads a third mark beside the /account
    routes and the world reads: a route the server's document declares the account token on. Parity with the TypeScript
    SDK 4.94.0, its test vectors ported.
  • The lens profile at serial 82: changed_within and the reading aids. x_lens takes changed_within, a whole
    number of days from 1: an element a hop or a filter reaches whose updated_at is older than that many days before
    the reading's wall clock (OWLensOptions.Clock, or OWGraphOptions.Clock) is cut and counted under the new reason
    OWLensCut.Stale (stale), after window and before the budget; it never applies to an anchor, and an element with
    no time is never cut. A folder element is read by the newer of its server_updated_at and local_updated_at
    where either reads as a time, else by its updated_at, as the TypeScript SDK 4.98.0 and the Python package 0.80.0
    read it; their test vectors are ported (the exact edge, an offset, a filter, the refused values, the two stamps).
    CheckKeys refuses anything else by name, between undated and show. OWRoom.IsCharterElement(element)
    tells the charter (a Law with supertype Charter), its guide (a Construct with supertype Guide) and its domains
    (Constructs with supertype Domain) by the pair, trimmed and folded, AND the mark x_charter_of
    (OWRoom.ReadingAidMarkField, the id of the world the aid belongs to), beside IsRoomElement; the pair without the
    mark is lore. The mark counts when it is present and not null, a string only when something is left after trimming
    White_Space: 7 is a mark, " " is not (the room mark x_room_of now reads by the same rule; see Changed). Parity
    with the TypeScript SDK 4.98.0 (isCharterElement) and the Python package 0.80.0 (is_charter_element), their
    test vector ported.
    OWRoom.ReadingAidPairs holds the three pairs; read the test rather than keeping a list of them. In
    OWLens.Resolve a reading aid a hop reaches is kept, and hopped out of, only when types names its pair
    (law/charter, construct/guide, construct/domain, now legal types words); otherwise it is cut as types, and
    a lens with no types, or one naming only law or construct, keeps none. An anchor that is a reading aid is kept
    and followed like any anchor, and an aid a second hop would reach is counted hops_not_served only when types
    names its pair, as a room element is. In OWGraph.Read the reading aids are out of an unlensed graph, counted under the new
    reason OWGraphCut.ReadingAid (reading_aid), and no flag brings them back; a lens that names the pair keeps them.
    The fixture's 132 cases are the test.
  • OWCharter, the charter profile (schema-dist profiles/charter.md, serial 83, ruled 2026-10-28): a world's
    reading aids, the Charter (the rules here, for people and AIs), the Guide (start here) and the Domains (the places
    in the world), each told by OWRoom.IsCharterElement (the pair and the mark x_charter_of), and the one packet
    every front door shows first. OWCharter.CharterOf(world, reader, open, hiddenIds) is the profile's
    charterOf(world, reader): an OWReadingAids with Charter (Id, Name, Rules, Skill), Guide (Id,
    Name) and Domains (each Id, Name, Sentence, Hubs), and ToJson() in the profile's words, the shape keel
    serves as reading_aids. The Charter is the newest marked Charter the reader sees, by created_at as an instant
    (none sorts oldest) and then the higher id by code point; the Guide the same; the Domains in the Guide's
    constructs order, then by folded name and id. Rules is x_checks_rules as served (OWCharter.RulesField), an
    empty list when none; Skill the ids the Charter's text names in any ow:// form, a site address or bare, each
    once, kept when it is an Object of this world the reader sees, at most five (OWCharter.SkillMax); a Domain's
    Sentence is its description's first line, trimmed, and its Hubs the distinct (type, id) its served link fields
    name, in the schema's order (OWCharter.HubFields), never itself. OWCharter.DomainsOf is the list alone. It reads
    through the lens reader's view and the same OWLensReader (owner, contributor, guest, public, served); the public
    reader reads nothing unless open is true. Written from the profile, its fixture and keel's reader; the TypeScript
    SDK 4.100.0 (charterOf, domainsOf) and the Python package 0.82.0 (charter_of, domains_of) replay the same
    fixture, and two of the TypeScript SDK's own vectors are ported (a Guide known only as a stub orders nothing; the
    owner reading as the public reads a closed world as nothing). The fixture's 22 cases are the test.
  • OWElementTypes.LinkTargets and OWElementTypes.LinkTarget(slug, field): the type each link field points at,
    generated from the schema (the target each model's doc comment already named). The Pin's generic pair is absent: its
    element_type names its target.

Changed

  • OWRoom.IsRoomElement reads the mark x_room_of by presence, the rule IsCharterElement reads x_charter_of by
    and keel's reader reads both by: any JSON value but null counts, and a string only when something is left after
    trimming White_Space; the value is never compared. So an element of a room pair marked 7 is a room element, one
    marked " " is lore, and a mark of U+001F alone counts (it is not White_Space). It had been read as a non-empty
    string, untrimmed. The two marks go through one matcher, and OWLens.Resolve and OWGraph.Read ask that test
    everywhere they ask whether an element is a room element (the public reader's view, types, a Relation as an
    edge, the hop, hops_not_served, the graph's room kind). Serial 83's room fixture carries four of the shapes as
    its own cases (28 to 32: a number, a White_Space string, U+001F, a padded id); all five (and an empty string) are
    tests here, through each of those readers.
  • The schema pin moves to dist.85 (v0.33.0-dist.85). Serial 77 adds the address profile (profiles/address.md and
    its 133-case fixture); serial 78 adds the lens profile (profiles/lens.md and its 84-case fixture); serial 79 adds
    four Note cases to the message profile's fixture (81 to 85: a Note has no recipients and is never unread even when
    its characters names the reader, is never in a thread, and a hidden mark that is not a boolean hides it like
    true), which OWMessage already answered, and moves the folder check to format 0.3.19; serial 80 adds four lens
    cases (84 to 88: the window's edge inclusive, a reading with no as_of and no world now whose window cuts nothing,
    notes trimmed with a hidden anchor, an empty-string x_lens value refused), which OWLens already answered; serial
    81 writes the lens profile's graph section (a reading of a world as nodes and edges for one reader, and
    x_lens_leads_to, the one link the profile declares) and adds the fixture's graph kind (88 cases to 122: 34 graph
    cases, each with its own small world) and the graph tables (graph_links, graph_flags, owner_only_flags,
    edges_cut_reasons, owner_only_edges_cut_reasons), and corrects the message profile's noteOf sentence (the id of
    the newest own-hand Note, which OWMessage.NoteOf already returns); serial 82 adds the lens profile's
    changed_within key and its cut reason stale, names the charter, its guide and its domains reading aids (by the
    pair and the mark x_charter_of, in the lens profile's rule 4 and the room profile's line beside its pairs), reads a
    lens served only as a known-of stub as not there, and adds ten fixture cases (122 to 132: seven resolve cases and
    three graph cases) with the reading_aid_pairs and reading_aid_mark tables; the address profile gains the line
    on what onlyworlds.com commits to (an id never reused, an address outliving a rename, a deleted element answering like
    a missing one), which asks nothing of OWAddress; serial 83 adds the charter profile (profiles/charter.md and its
    22-case fixture: the selection of the Charter, the Guide and the Domains, and the packet a front door shows; see
    Added), writes the room mark's presence rule into the room profile with four fixture cases (28 to 32), and adds
    fifteen lens cases (132 to 147: thirteen resolve cases on two new worlds, reach and stubs, and two keys cases)
    for an umbrella's child read by its own recipe and budget, a sibling lens a child's hop reaches, a stub child and a
    stub Message, nothing hopped out of what the fence cuts, the second hop's count, a note on anchors only, and a
    fraction or an integral float refused in x_lens (a text_only case, which this SDK passes: OWJson keeps 7.0
    a float); the folder check moves to format 0.3.20; serial 84 adds four lens cases (147 to 151, on a new world,
    watch: a lens a hop reaches is served whole to the owner, and to a contributor, a guest and the public reader its
    row leaves out the hidden anchor and every note keyed to what that reader cannot see, with x_served_trimmed naming
    the fields as keel writes it) and a charter case (22 to 23: a Guide the reader holds only as a stub is still the
    Guide, {id, name}, and orders nothing), all five of which OWLens and OWCharter already answered, and writes a
    re-key line into the checks, room and spine profiles (an id a re-key moves is rewritten where a key holds it whole)
    and an editor line into the spine profile (x_spine_ keys shown read-only), none of which asks anything of this
    SDK: it never re-keys an element, and its World Browser shows every field read-only. The fixtures' test copies are re-vendored.
    Serial 85 refreshes four of the standard's description lines (supertype and subtype a classification within the
    type; a Title's grant_date and revoke_date its own, a holder's span a Relation), which reach the generated
    models' doc comments on OWTitle, and rewords the charter and checks profiles; no fixture case changed.
  • Folders declare format 0.3.20, two versions past 0.23.0's. Version 0.3.19 rules the served-trimmed mark in a folder
    (§4.4 rule 6): a file keeps x_served_trimmed exactly as the server served it, a reader reads a field the mark
    names as trimmed, never as empty, and a writer never sends the mark up. This SDK already kept the mark byte for
    byte on export and on read (OWMessage.HasUnseenRecipients reads it), and it has no push from a folder; a test now
    holds the export and the read-back to it. Version 0.3.20 rules the folder's charter shortcut in world.json
    (§4.6 (a)): it picks among marked Charters only (x_charter_of, the charter profile's mark) and never stands in
    for the mark. This SDK writes no charter key and its folder reader keeps world.json as read; OWCharter (see
    Added) selects by the mark alone. Nothing else moved: the Python package's world_for_disk (0.82.0), re-run on
    the six world cases the export tests hold, changed only format_version.
  • OWAddress.ElementAddress reads three things as the TypeScript SDK 4.89.1 and the Python package 0.73.1 do, where
    the profile's fixture is silent and the two packages agree. When several parts are wrong, the writer names
    bad_form first, then segments, then no_world, then the reader's order (a type with no id and no world is
    segments, no longer no_world). A JSON moment with a zero fraction is a whole step (3.0 writes @3), and one
    past 64 bits refuses as bad_moment instead of throwing. An empty string is present, not absent: only a JSON null or
    a missing key is absent, so world: "" refuses as bad_world, lens: "" as bad_lens, and type: "" with
    id: "" as unknown_type. The JSON overload throws ArgumentException for a key the shape does not hold (wrold,
    Type), as the packages throw a TypeError; a reading's world_is_slug and canonical are keys of it, ignored.
  • The lens profile's shared edge cases, the file the TypeScript SDK 4.91.0 and the Python package 0.74.0 both
    hold byte for byte (ten cases: a known-of stub's links, the window's edge, time_current read as the now, no
    window without a now, a to after as_of, the fence on anchors, the members list in the mail rule, a message
    not repeated among the kept, the thirty days' edge, ties by id), now replay here against OWLens, the file's
    sha256 pinned to the release.
  • A lens a guest knows only as a stub reads as nothing when it is named by its id, in OWLens.Resolve and so in
    OWGraph.Read (LensId), as the server's own reader answers it: a stub serves no links and no recipe, so the
    stored body's anchors are never followed. This SDK already looked a lens id up only among the elements the reader is
    served whole, so nothing moved; the TypeScript SDK 4.93.1's test vector (the Python package 0.77.1 holds the same)
    is ported and now holds it.

Fixed

  • A file the folder reader drops because another file serves its id now names that id in
    OWSkippedFile.Id (null for every other skip). Since the reader keeps the first file by code point, the repeat
    left Elements with only its path in Skipped, so a caller mapping ids to files could not see it, and deleting
    the served file would serve the dropped one.

  • OWLens.Resolve's rows are now the bodies keel serves the reader, for every reader below the owner resolving from
    the owner's data (a contributor, a guest, the public, the owner reading as one of them). A lens element a row
    carries had kept its x_lens.notes whole, so the notes' keys and sentences told that reader about anchors and
    elements it cannot see: now a note keyed to an element the reader cannot see is left out, an anchor's note goes
    with the anchor, and x_served_trimmed names notes beside the anchor field. A link to a visible element of
    another type than its field's target is left out, as keel checks each link against its target type. A Pin whose
    target is unseen, or not of its element_type, reads the unset pair (element_type "", element_id null); it had
    kept the hidden target's type word. x_served_trimmed names only a Message's characters and narrator (it had
    named every trimmed link field) and a lens's anchor fields, and is never written for the public reader. The owner
    reading as itself is served its bodies as stored: nothing trimmed, a link to a proposed element kept. The mail
    part's rows and the charter readers read the same served bodies. The 20 row-trim cases the
    TypeScript SDK 4.100.0 and the Python package 0.82.0 share, vendored byte for byte, are the test.

  • OWLens.Resolve's rows serve a link to a proposed element, and a lens's note keyed to one, to a contributor and a
    guest that sees it, and in a key's served bodies, as the server does: only the public reader's rows leave them out
    (with no mark). A proposed element is still in no reader's view, so it is never a row, never hopped through and never
    counted; only the served bodies changed, which had dropped both for every reader below the owner. And a body that
    stores x_served_trimmed serves none of it: the owner's row and the public reader's carry no mark, a contributor's
    and a guest's only what that reading trimmed. The stored mark had been kept, and merged with the reading's own. A
    key's served bodies (OWLensReader.Served) keep the server's mark, and a lens body given to Resolve is read with
    its mark as before. The row-trim file grew to 28 cases (the Python package 0.82.1's bytes), re-vendored byte for byte.

  • OWLensResult.NotesIgnored counts as keel's reader does: only the notes keyed to an element that is not an anchor
    and that the reader sees. A note keyed to an anchor the reader cannot see, to an element it cannot see, or to an id
    in no element counts nothing. It had counted every note on an id that was not a visible anchor, so a guest's count
    told it a hidden anchor existed. The shared lens edge file holds this as its 15th case, the same bytes as the
    TypeScript SDK 4.98.0's and the Python package 0.80.0's.

  • OWLens.Resolve and OWGraph.Read read a lens body served only as a known-of stub (known_of: true) as not there:
    it keeps and cuts nothing. It had been read as a lens with no anchors, a filter over the reader's whole view. A lens
    named by its id already read as nothing unless the reader is served it whole. The lens profile's rule 1, serial 82.

  • OWLens.Resolve leaves a lens out of the result it resolves, as the lens profile's rule 3 says: a lens that names
    itself (or a lens already entered) as an anchor no longer keeps itself. Serial 83 rules what "its own result"
    means, and OWLens.Resolve reads it as keel's reader, the TypeScript SDK 4.100.0 and the Python package 0.82.0 do:
    the union drops an element only by its id, never because it was entered. A sibling lens a child's hop reaches is
    kept as an element even when the umbrella enters it as a later child (the fixture's
    umbrella-a-siblings-lens-reached-by-a-hop-is-kept-as-an-element), and an umbrella's own hop reaches its child
    lens as an element before entering it; either one, cut, is counted under its reason. A sibling entered before the
    hop is never reached.

  • OWLens.Resolve no longer counts a link to an id that is in no element as not_visible in the owner's count: a
    dangling link is not a visibility fact, as the TypeScript SDK and the Python package read it.

  • OWLens.Resolve skips an anchor id that is in no element without counting it: it had been counted
    anchor_not_visible for the owner. Read as the TypeScript SDK and the Python package read it.

  • OWLens.Resolve serves a message or a lens whose links its reader's view trimmed with x_served_trimmed naming
    those fields, as the server marks them and the TypeScript SDK and the Python package serve them: a full row and a
    mail row now say a list was cut, and the message profile's readers (who a message is to) read the mark.

  • OWLensOptions.HiddenIds and OWGraphOptions.HiddenIds take the world's own hidden list beside each element's own
    hidden, as the TypeScript SDK and the Python package read a world's hidden (the lens profile's fixture worlds
    carry one): those ids are out of a contributor's and the public reader's view, and a graph node among them carries
    the hidden kind. Before, a world-level list could not be given, and its ids were read as visible.

  • OWLens.Resolve under show: first_line cuts the description at its first line break, CR or LF (it cut at LF
    only, so a \r\n line kept its \r), and writes description only when the body has a string one (it wrote ""),
    as the TypeScript SDK and the Python package make the row.

  • OWLens.LensesFor keeps ids that are not null or empty, each once, in the order given, as the TypeScript SDK's
    lensesInUse and the Python package's lenses_in_use do; it had returned the list as given.

  • OWLens.Resolve reads an umbrella's child lens as keel's reader reads it (the lens profile's rule 3): each child is
    resolved by its own whole recipe, its own mail rule and budget among it, so a child keeps at most its budget and
    the rest is counted budget; the union then takes the umbrella's mail rule and budget on top. Rows are built by the
    umbrella's recipe alone: a row kept through a child is shown by the umbrella's show, and a child's notes never
    reach a row. A message a child's mail rule takes out of its kept list is neither served nor counted under the
    umbrella.

  • OWLens.Resolve puts a note on a kept anchor's row only, as the lens profile's notes row says: a note keyed to a
    kept element that is not one of the lens's anchors (one a hop reached, or one kept through a child) is ignored and
    counted in notes_ignored. It had also been written on that element's row.

  • OWLens serves a known-of stub as the TypeScript SDK and the Python package do: its base keys (id, type,
    name, description, supertype, subtype, image_url, created_at, updated_at) and its type's public fields
    that are not links (the presentation sidecar's public: a Character's physicality, height, weight,
    reputation), with known_of: true. It had kept change_seq and dropped the public fields.

  • OWLens reads an element's date written with no fraction as whole, as the TypeScript SDK and the Python package
    do: a date of 7.0 reads as 7 (it read as undated), in OWLens.DateOf and the fence alike. A recipe stays strict,
    as keel's reader reads it: a float in an x_lens key (depth, window, from, to, budget, changed_within)
    is refused by name even with no fraction (2.0), and the lens is unreadable. A fraction, NaN or a number past 64
    bits is never whole.

  • OWLens.Resolve reads three rules as the lens profile and both reference readers (the TypeScript SDK and the Python
    package) read them. An element whose x_review_proposed holds any value but null, a doubt as well as a mark, is in
    no reader's view (the review profile's rule for a reader that hands a world on); it had left out only an object. An
    entry whose type is not one of the standard's is not in the world; a filter lens had kept it. An element that is not
    a lens resolves to nothing, its x_lens unread; it had been read as a lens. The fixture's cases did not reach any of
    the three.

  • OWLens.Resolve now breaks the kept elements' id tie by Unicode code point, as the lens profile's reference readers
    do (the TypeScript SDK and the Python package). It had compared ids by UTF-16 code unit, which diverges only for ids
    with a character outside the Basic Multilingual Plane (a surrogate pair sorted below U+FFFF, not above it); the hex
    ids a world holds are ASCII and were never affected.

  • The folder writers settle a filename collision id-ascending by Unicode code point, as the folder format's tie-break
    and the reference writers do (§3.2: the lowest id keeps the short name), and OWFolderReadResult.KnownOf lists its
    ids in the same order. OWFolderExport and OWFolderWriter.Write had compared ids by UTF-16 code unit, so an id
    with a character above U+FFFF sorted below one with a character in U+E000 to U+FFFF and could take the other's short
    name; ASCII ids, which every id a world mints is, were never affected. One comparer now serves the folder code and
    OWLens, whose order is unchanged.

  • OWFolderReader reads a folder in one order on every platform, and a repeated id serves the same file in every
    reader (folder format §4, clarified in v0.3.19). It visits the element files type by type, then by name, and the
    legacy spatial/ lists, comparing names by Unicode code point. Before this, Read took the file system's listing
    order (case-blind on NTFS, so a.json came before B.json on Windows), and the in-memory read compared UTF-16 code
    units. Within a layout a repeated id now keeps its first file and lists each later one in Skipped. It had served
    every copy, so the cache kept the last one. Only a folder that breaks the one-id-one-file rule is affected.

  • OWFolderWriter.WriteElement writes a renamed element's new body into the file it holds before it writes the
    new-named file, then removes the old file (folder format §4's writer note, clarified in v0.3.19). It had written the
    new file first, so an interrupted rename left two different bodies for one id. Under first-by-name, a new name
    that sorts after the old one would then have served the old body.

  • The message profile's shared edge cases, the file the TypeScript SDK 4.89.1 and the Python package both hold (26 cases:
    what a Note is to every reader, the created_at order, an edit, a Character's line), now replay here, and the
    readings they caught are fixed. HasUnseenRecipients is false for a Note, keyless or not. ThreadOf walks a chain
    through a Note without listing it. A created_at is read by the profile's strict RFC 3339 rule (no lenient parse:
    a string that is not YYYY-MM-DDTHH:MM:SS with an optional fraction and zone sorts last). NoteOf passes over a
    Note without a string id. A Note's hidden mark is the one every reader reads (OWPayload.IsHidden: anything but
    absent, null or false; ruled 2026-10-27).

Not added

  • The TypeScript SDK 4.92.0's draught(characterId, { lens }) and the frames it answers: this SDK has no client for
    the draught (GET /character/{id}/context), so it has no lens option either.
  • lenses on a member row (the TypeScript SDK's OwMember.lenses): this SDK has no members list. The lenses key
    that PATCH /account/worlds/{world_id}/members/{member_id} takes is sent by SetMemberLensesAsync; the route's other
    keys (role, Character, sponsor) have no call here.
  • The TypeScript SDK 4.94.0's expiresAt on completeSignIn's result: this SDK has no sign-in exchange
    (POST /auth/token), so there is no result to carry it.
  • No typed /me, lens-list or member-lenses model (the TypeScript SDK's OwMemberLenses): GetMeAsync,
    SetMyLensesAsync, WorldLensesAsync and SetMemberLensesAsync answer the body as served (JObject), as
    GetMeAsync always has.