You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
charter_of(world, reader) and domains_of(world, reader): the charter profile's packet (schema-dist profiles/charter.md, serial 83), the world's reading aids as one reader sees them, what a front door shows first: {charter, guide, domains}. charter is the newest marked Charter (a Law with supertype Charter carrying x_charter_of), newest by created_at as an instant (none sorts oldest), then the higher id, as {id, name, rules, skill}: rules its x_checks_rules as stored ([] when none), skill the ids its description names (any ow:// form, a site address or a bare id), lowercase, each once in the order written, kept when it is an Object of this world the reader sees, the first five of those kept, as the API's charter_skill. guide is the newest marked Guide, {id, name}. domains is every marked Domain the reader sees, {id, name, sentence, hubs}, in the order of the Guide's constructs as the reader is served them (a repeat keeps its first place, an entry that is no marked Domain is skipped), then by folded name and id; sentence is the description up to its first line break, trimmed, and hubs the distinct {type, id} its served links name, itself excluded, in the schema's field order. A Domain known only as a stub has no hubs; a hidden one is not there; a public reader of a world not open to anyone (open: True) reads nothing. The world and the reader are resolve_lens's. domains_of is the list alone. READING_AID_PAIRS, READING_AID_MARK, SKILL_MAX and the packet's types (CharterPacket, CharterRead, GuideRead, DomainRead, CharterHub) are exported. The fixture's 22 cases each run as their own test; the npm SDK's charterOf and domainsOf give the same answers.
The room mark by presence: is_room_element reads x_room_of as is_charter_element reads x_charter_of: any value but None counts, a string only when something is left after trimming White_Space, and the value is never compared. A mark of 7 now makes a room element and a mark of " " no longer does. pack and the lens and graph readers leave room elements out by the same test.
Fixed: 0.81.0 handed hidden elements' ids to a reader below the owner (a contributor, a guest, the public), in the notes of a lens kept as an element: its x_lens.notes was served whole, the notes keyed to elements the reader cannot see included, with their sentences. A lens kept as an element now serves only the notes on its served anchors and on elements the reader sees, as the API serves it; when an anchor's note goes with its anchor, x_served_trimmed names notes.
A lens row reads as the API serves that body.x_served_trimmed is added for a guest or a contributor only, never on the public rung, and names only a Message's characters and narrator and a lens's anchor fields (it named every trimmed link field, on every rung). A link to an element that is not the field's target type is left out of the row, and a Pin's element_type and element_id read "" and None when the target is unseen or not of that type (the type was kept). The owner reading as itself gets its bodies untouched, where the reader dropped its links to proposed elements and to ids in no element; an owner reading as another reader gets that reader's rows. A hop still follows the stored links. Twenty shared cases hold the rows, the same file as the npm SDK's.
The lens reader reads serial 83's rulings. An umbrella's child keeps at most its own budget (the rest counted budget) and loses its own mail rule's messages, uncounted, before its kept joins the union; the rows are made once, by the umbrella's show, and a note captions the umbrella's own anchors only; a sibling lens a child's hop reaches stays a kept element even when it is entered next. An umbrella's own hop no longer leaves its child lenses out: a child it reaches before entering it is kept as an element, as the API reads it. Nothing is hopped out of an element the fence cuts after_as_of, an anchor among them. The second hop's hops_not_served leaves out a room element or a reading aid that types would not keep. A whole-number key of x_lens refuses a float, 7.0 as well as 7.5 (this reader sees a number's text), while a date field reading 7.0 stays whole.
The doctor's Charter is the marked one. Flag 11 read the newest Law with supertype Charter made by the owner or a co-builder, which a folder could not always tell; it now reads the newest marked Charter (charter_of's selection, or the API's own front_door.charter). Every other marked Charter is a finding; an unmarked Law with supertype Charter is lore, a finding only when it carries house rules that are then never applied. compared adds marked, and charter_from reads mark where it read maker.
Doctor flag 14: a Guide or Domain entry that names a hidden or deleted element, the charter profile's Health line: a link on a marked Guide or Domain to an id that is not in the world, or to a hidden element. A hidden Guide or Domain's own hidden entries are not findings; through a guest key the flag does not run, and through a key that is not served hidden elements it checks the deleted half and names hidden in not_checked.
Client.me's docstring names reading_aids, the same packet GET /me serves beside front_door.
Schema repinned to schema-dist v0.33.0-dist.83 (from dist.82; the same canonical 00.33.00, so SCHEMA_VERSION stays and no element field moved). Serial 83 adds the charter profile and its fixture, writes the marks' presence rule, and adds lens cases, 147 in all (71 resolve, 37 graph), every one passing. The folder lint is at format 0.3.20, so every folder written now says format_version 0.3.20 (FORMAT_VERSION); the spec's 0.3.20 moves a reader's rule (world.json's charter picks among marked Charters only), and no writer's bytes change.