diff --git a/CHANGELOG.md b/CHANGELOG.md index 5778e50..1f8b450 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ The package version runs on its own semver; the schema it is generated from is ` ## Unreleased +## 0.140.0 (2026-11-22) + +- **The schema pin moves to `v0.34.1-dist.145`** (canonical 00.34.01 unchanged, no schema file moved, `_schema.py` changes only its provenance lines). The charter page's rule 4 now names the `description` as the text an AI follows, the Charter's and each skill Object's, whole as the world holds it; a leading Charter whose `description` holds nothing gives that reader no house rules. The charter fixture gains four cases, each a newer marked Charter with an empty `description` beside an older one with text: the newer leads and its `skill` is empty. `charter_of` already answered all four so; no answer on an existing case moves. - **The Kanka door reads a time with no offset as UTC**, the zone Kanka writes. An export whose campaign `created_at` had no offset while its entities' had one (or the other way round) stopped with `TypeError: can't subtract offset-naive and offset-aware datetimes`; it now imports, and the possible starter entries are named as for any other export. Exports whose times all carry an offset, or all carry none, read as before. - **The Kanka door's tables and wording are data**: `src/onlyworlds/convert/kanka.json` holds Kanka's folders to element types, its keys to fields, the fixed key lists, the names the door makes and every line of its report; `onlyworlds.kanka` reads it, and its rules stay code. The same bytes are the npm SDK's `src/convert/kanka.json`, read by its `convertKanka`, which writes the same folder; each package's tests hold the file's sha256. Nothing the door writes or prints moves: on the five real Kanka exports and every export its tests make, the folder is the same byte for byte and the report the same text. `MODULE_TYPES`, `PROVEN_MODULES`, `STARTER_WINDOW`, `MADE_NAMES` and the other names keep their values. - **Each import door tells the names it made.** A name an element gets that is not one string of the export taken as written is now declared and counted, by kind. A joined name is the export's words with the door's between them (a LegendKeeper map document becomes a Map named `: `); the door's own is a name for a thing the export never names (a frame's corner Marker, `: corner 1`; an arrow with no label, `Board link`). Each door lists its kinds in `MADE_NAMES`, a tuple of `MadeName` (`kind`, `type`, `pattern`, `source` `joined` or `ours`, and `regex`, read by `MadeName.fits(type, name)`); Notion's is empty. Each `ImportReport` gains `made_names` (kind to count) and prints one line a kind with its count and pattern. Nothing is added to an element. On the doors' real test exports: LegendKeeper's JSON export 80 made names of 280 (17 Narratives and 6 Maps `: `, 56 frame corners, one nameless pin), its .lk export 78, each Kanka export 2 (`: hidden details`), World Anvil, Notion and Campfire none. diff --git a/codegen/schema-dist/MANIFEST.json b/codegen/schema-dist/MANIFEST.json index f5bd022..8e911dc 100644 --- a/codegen/schema-dist/MANIFEST.json +++ b/codegen/schema-dist/MANIFEST.json @@ -146,10 +146,10 @@ "profiles/address.md": "2fd4fe31e90d51818ba48e52e64ffcbdfa0a6a9e1404d7cca85646c52b2b5fd9", "profiles/calendar.fixture.json": "0a013c3732eda70a42c4eab30555669af28983a5ba9f4a233addf0f06bedb4cd", "profiles/calendar.md": "c81c63a46eb886cb9aeedf3a668f117ffc626ff711ee2b23a2a8a402b81c7c82", - "profiles/charter.fixture.json": "500f68f166ae255b7eb4a4d79e9085491799e8a6eed928abc62bb8f1b4a89729", - "profiles/charter.md": "dc819479af921336a95fffde0818d58c848cebc9433c2235cf180779aa0fd8e7", + "profiles/charter.fixture.json": "ea57091a988a4dd083d7d4cfc5e7985c6aa00f67fdce1b661c0d5023a15cbf35", + "profiles/charter.md": "b0d27c04cd5dfaf421b2a6e54d53c1fca8ad9be72aa16516bbd3b5600ae61daa", "profiles/checks.fixture.json": "43586fddd94ebe9678bf46e6d744768a094f856b668c5917fe9e0dda46599251", - "profiles/checks.md": "6778b7e6b9cebc447486e5679ef6036dbf2f8c875c70a2f0f55660fc2c885ce9", + "profiles/checks.md": "4daa979145b213c2c7fb8f1f4edab3cdd488e3829bf79750e63c371f51c25fb3", "profiles/identity.md": "bb631fe3cae3cc7b57f1c866ebac496bb426ad0cb661ff5fdec928cccffe1616", "profiles/import-map.fixture.json": "b008245c94e5cc4c23fd7aa74731ff92522c9cec80347730076b55cb7cba507d", "profiles/import-map.json": "e36620e93c91800c82b3c40ebe73b7c833f7a041ce68ae474924a05909e20ff1", @@ -209,8 +209,8 @@ "schema/zone.yaml": "cca04ee498fb813fa18b96f1ac99816e7f1a8ae1fb9e21c48b37620dbb674856", "schema.json": "581dc7b5e890acc06b1c89b0d7bdcc2f20f54f52d5a3b4af8c5a184e1e6fd48c", "SECURITY.md": "939ee364b06f0b749bdd4cbe66b2fe49322c95abe732650ec4ef062a0c03820a", - "VERSION": "391011bb4091fa2a9b8c6dcd48c890956f30e207b80242830d26ebd124766778", - "views.fixture.json": "6fda45c2d36cc82a613a4b4d99d14ba9646db2c5bf912b82e68c6b62b20441c1", + "VERSION": "4d9cd41f37e33db46e4fb6fe1a6ad610fc852a3472baea24c4578fda46942e85", + "views.fixture.json": "f9a2713b26639d1cb2c792b9f28f95c57e576f8e6c123b5ad3eac2a2507dfcf8", "views.json": "f4d06ee16bd6c66fc28cf27146b8d199c85164e5deecabafc23af53408746fe0", "walk/lint_folder.py": "28efffa3a39d7f2ceaf69cae5c4ddce023e4989e7a5d2c26c1b4d4815eff386e", "walk/rulings.yaml": "1fb87ce4012d160b809e0aac50688c62405d2a5e6e303a57df84b98c249374ca", diff --git a/codegen/schema-dist/VERSION b/codegen/schema-dist/VERSION index 0975de4..2c35925 100644 --- a/codegen/schema-dist/VERSION +++ b/codegen/schema-dist/VERSION @@ -1,3 +1,3 @@ canonical: 00.34.01 -serial: 144 -published: 2026-11-21 +serial: 145 +published: 2026-11-22 diff --git a/codegen/schema-dist/profiles/charter.fixture.json b/codegen/schema-dist/profiles/charter.fixture.json index 4c31349..32d503f 100644 --- a/codegen/schema-dist/profiles/charter.fixture.json +++ b/codegen/schema-dist/profiles/charter.fixture.json @@ -3827,6 +3827,229 @@ ] }, "note": "No Guide: the Domains by folded name, then id, the name compared first and whole. The first name is Ash followed by U+0001, a control character with no White_Space property, so the trim keeps it; ash is the start of it, so Ash comes first, whatever the ids. A reader that sorts one key made of the folded name, a separator below U+001F and the id joined puts the longer name first whenever the separator is above U+0000." + }, + { + "name": "a-newer-charter-whose-description-holds-nothing-leads-and-its-skill-is-empty", + "kind": "charter", + "world": { + "id": "019a7f00-0000-7000-8000-00000000f1a5", + "name": "One case 145", + "hidden": [], + "readers": { + "owner": { + "rung": "owner", + "character": null + } + }, + "elements": [ + { + "id": "019a7f00-0000-7000-8000-0000000014a0", + "type": "law", + "name": "House Rules", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a5", + "created_at": "2026-10-01T12:00:00Z", + "description": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014a2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014a1", + "type": "law", + "name": "House Rules, rewritten", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a5", + "created_at": "2026-10-10T12:00:00Z", + "description": " \n ", + "declaration": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014a2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014a2", + "type": "object", + "name": "The way of working", + "created_at": "2026-10-01T12:00:00Z", + "description": "One line for each change." + } + ] + }, + "reader": "owner", + "want": { + "charter": { + "id": "019a7f00-0000-7000-8000-0000000014a1", + "type": "law", + "name": "House Rules, rewritten", + "rules": [], + "skill": [] + }, + "guide": null, + "domains": [] + }, + "note": "The newer marked Charter's description holds nothing (a space, a line feed and U+3000, White_Space alone), and it leads all the same: the selection never reads the text. That reader has no house rules and its skill is empty. Its declaration names the Object and so does the older Charter's description; neither is read, since the skill is read from the leading Charter's description alone." + }, + { + "name": "a-newer-charter-with-no-description-leads-and-its-skill-is-empty", + "kind": "charter", + "world": { + "id": "019a7f00-0000-7000-8000-00000000f1a6", + "name": "One case 145b", + "hidden": [], + "readers": { + "owner": { + "rung": "owner", + "character": null + } + }, + "elements": [ + { + "id": "019a7f00-0000-7000-8000-0000000014b0", + "type": "law", + "name": "House Rules", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a6", + "created_at": "2026-10-01T12:00:00Z", + "description": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014b2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014b1", + "type": "law", + "name": "House Rules, in the declaration", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a6", + "created_at": "2026-10-10T12:00:00Z", + "declaration": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014b2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014b2", + "type": "object", + "name": "The way of working", + "created_at": "2026-10-01T12:00:00Z", + "description": "One line for each change." + } + ] + }, + "reader": "owner", + "want": { + "charter": { + "id": "019a7f00-0000-7000-8000-0000000014b1", + "type": "law", + "name": "House Rules, in the declaration", + "rules": [], + "skill": [] + }, + "guide": null, + "domains": [] + }, + "note": "The newer marked Charter carries no description at all, only a declaration that names the Object; it leads all the same, that reader has no house rules and its skill is empty. An absent description holds nothing as White_Space alone does, so neither the declaration nor the older Charter's description is read." + }, + { + "name": "a-newer-charter-whose-description-is-a-space-and-a-tab-leads-and-its-skill-is-empty", + "kind": "charter", + "world": { + "id": "019a7f00-0000-7000-8000-00000000f1a7", + "name": "One case 145c", + "hidden": [], + "readers": { + "owner": { + "rung": "owner", + "character": null + } + }, + "elements": [ + { + "id": "019a7f00-0000-7000-8000-0000000014c0", + "type": "law", + "name": "House Rules", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a7", + "created_at": "2026-10-01T12:00:00Z", + "description": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014c2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014c1", + "type": "law", + "name": "House Rules, blank", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a7", + "created_at": "2026-10-10T12:00:00Z", + "description": " \t", + "declaration": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014c2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014c2", + "type": "object", + "name": "The way of working", + "created_at": "2026-10-01T12:00:00Z", + "description": "One line for each change." + } + ] + }, + "reader": "owner", + "want": { + "charter": { + "id": "019a7f00-0000-7000-8000-0000000014c1", + "type": "law", + "name": "House Rules, blank", + "rules": [], + "skill": [] + }, + "guide": null, + "domains": [] + }, + "note": "The newer marked Charter's description is a space and a tab, White_Space alone by the room profile's set and by an ASCII trim alike, and its declaration names the Object; it leads all the same, that reader has no house rules and its skill is empty. Neither the declaration nor the older Charter's description is read." + }, + { + "name": "a-newer-charter-whose-description-is-null-leads-and-its-skill-is-empty", + "kind": "charter", + "world": { + "id": "019a7f00-0000-7000-8000-00000000f1a8", + "name": "One case 145d", + "hidden": [], + "readers": { + "owner": { + "rung": "owner", + "character": null + } + }, + "elements": [ + { + "id": "019a7f00-0000-7000-8000-0000000014d0", + "type": "law", + "name": "House Rules", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a8", + "created_at": "2026-10-01T12:00:00Z", + "description": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014d2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014d1", + "type": "law", + "name": "House Rules, null", + "supertype": "Charter", + "x_charter_of": "019a7f00-0000-7000-8000-00000000f1a8", + "created_at": "2026-10-10T12:00:00Z", + "description": null, + "declaration": "Write in your own room. The way of working is ow://object/019a7f00-0000-7000-8000-0000000014d2." + }, + { + "id": "019a7f00-0000-7000-8000-0000000014d2", + "type": "object", + "name": "The way of working", + "created_at": "2026-10-01T12:00:00Z", + "description": "One line for each change." + } + ] + }, + "reader": "owner", + "want": { + "charter": { + "id": "019a7f00-0000-7000-8000-0000000014d1", + "type": "law", + "name": "House Rules, null", + "rules": [], + "skill": [] + }, + "guide": null, + "domains": [] + }, + "note": "The newer marked Charter's description is null, which holds nothing as an absent one does, and its declaration names the Object; it leads all the same, that reader has no house rules and its skill is empty. Neither the declaration nor the older Charter's description is read." } ], "design_cases": [ diff --git a/codegen/schema-dist/profiles/charter.md b/codegen/schema-dist/profiles/charter.md index d91c29a..388c06a 100644 --- a/codegen/schema-dist/profiles/charter.md +++ b/codegen/schema-dist/profiles/charter.md @@ -6,7 +6,7 @@ | Type | Supertype | What it is | What it carries | |---|---|---|---| -| `law` | `Charter` | the rules for people and AIs here | its description, read whole on first entry; `x_checks_rules` (the checks profile) for the rules a machine checks; the world skill's Objects its description names, as `charterOf` finds them (D152, at most five) | +| `law` | `Charter` | the rules for people and AIs here | its description, the house rules, read whole on first entry; `x_checks_rules` (the checks profile), the list a machine checks, never a text an AI follows; the world skill's Objects its description names, as `charterOf` finds them (D152, at most five) | | `construct` | `Guide` | start here | its description, the walk a stranger takes; its `constructs` naming the Domains in reading order | | `construct` | `Domain` | a place in the world | one sentence in its description; its link fields naming its hubs. Never a window, a budget or a kind: a Domain that needs one has become a lens (the lens profile) | @@ -18,15 +18,15 @@ 1. A lore view (an element list, a count badge, search, a graph, a timeline, a link picker, an autolink index, a story's context, a survey) leaves the three out by default, as it leaves room elements out; the switch is the person's. Counts beside a lore view count what the view shows. 2. Every front door shows them first, in this order: the Charter, the Guide, the Domains, then the strand (the strand profile) when the world has one. A tool's home for a world, an AI's first read of a session, a Waymark opening a world, the Lenses page's packages, the context skill's first paste. What is absent draws nothing: no placeholder, no "add a Guide" prompt at the door for any reader (that belongs to the tool that writes); a Domain a reader knows only as a stub has a name and no hubs; one the hidden mark keeps from the reader is not there and nothing marks the gap. Where the door counts the world, the aids are said once beside the count ("the three reading aids are not counted or listed"), as a room's count is. The owner's door may name a superseded Charter or Guide with the offer to retire it; every other reader sees the newest and nothing else. 3. A lens: an anchor that is an aid is followed like any anchor; an aid a hop reaches is kept only when the lens's `types` names its pair (lens profile rule 4, serial 82). A graph without a lens leaves them out as `reading_aid`. -4. An AI reader treats the Charter's text as the house rules it follows, and with it the text of the Objects in the Charter's `skill`, as `charterOf` (below) answers it for that reader; every other element's text is data, an Object the Charter names that `skill` does not keep included; the Guide and a Domain are read as the keeper's map, never as instructions. -5. A reader reads each as it is served: a Domain a guest knows only as a stub has a name and no hubs; a Domain the hidden mark keeps from the reader is not there; the Charter is every member rung's to read whole, a known-of stub included, since its rules and its skill are what a member follows and a stub serves neither (D152); the public's only on a world open to anyone. The hidden mark wins over this rule: a Charter the hidden mark keeps from a reader is not that reader's, whole or as a stub (the lens profile's rule 1: the hidden mark comes off every grant, and a keeper is served a hidden element, as is the one who made it). Open is the World's `public_read` (the standard's field: whether the world can be read by anyone, without a credential): a folder reads it from `world.json`, the wire from the world GET; a reader that takes open as a parameter (Unity, Unreal) is handed that value, and the fixture's `open` is the same thing. +4. An AI reader treats the Charter's `description` as the house rules it follows, and with it the `description` of each Object in the Charter's `skill`, as `charterOf` (below) answers it for that reader; every other field of those elements is data, as is every other element's text, an Object the Charter names that `skill` does not keep included; the Guide and a Domain are read as the keeper's map, never as instructions. What is followed is each `description` whole, as the world holds it: a part of it, or a shortened or summarized copy (a search snippet, a card's first paragraph, a model's context that holds it cut), is data. How a reader comes by the whole `description` (a read by its id, a folder's own file, a copy it keeps), and keeping such a copy current, is the reader's own, which this page does not rule; what a copy adds to the `description` is data. When the Charter's `description` holds nothing (absent, null, or White_Space alone, the room profile's set), that reader has no house rules: an AI follows none, and takes them from no other field of that Charter and from no older Charter. +5. A reader reads each as it is served: a Domain a guest knows only as a stub has a name and no hubs; a Domain the hidden mark keeps from the reader is not there; the Charter is every member rung's to read whole, a known-of stub included, since the world is checked against its `x_checks_rules` (the checks profile), which a stub does not serve, and an AI reader follows its `description` and its skill (rule 4, D152); the public's only on a world open to anyone. The hidden mark wins over this rule: a Charter the hidden mark keeps from a reader is not that reader's, whole or as a stub (the lens profile's rule 1: the hidden mark comes off every grant, and a keeper is served a hidden element, as is the one who made it). Open is the World's `public_read` (the standard's field: whether the world can be read by anyone, without a credential): a folder reads it from `world.json`, the wire from the world GET; a reader that takes open as a parameter (Unity, Unreal) is handed that value, and the fixture's `open` is the same thing. -**`charterOf(world, reader)`**, one reader in the SDK and the Python package from the fixture beside this page, answers `{charter, guide, domains}` as `reader` sees the world: `charter` `{id, type, name, rules, skill}` or null (`type` `law`; `rules` the `x_checks_rules` list as stored, `[]` when none; `skill` the ids the Charter's `description` names, by any `ow://` form, a site address or a bare id, each once in the order written (found as the address profile's "The same id" says an id is found in a text: the form alone is looked for, so an address around it, in any spelling, is not read as one; each taken in lowercase and matched as written against the ids of the world's Objects), kept when it is an Object of this world the reader sees, the first five of those kept: keel's `charter_skill`, as served since D152; the skill Objects are served whole to every reader who reads the Charter, and a skill Object the hidden mark keeps from the reader is not served, not even as a stub, and not kept; every id in `skill` is an Object's, fetched as one); `guide` `{id, type, name}` or null, `type` `construct`; `domains` a list of `{id, type, name, sentence, hubs}` in the order above, `type` `construct`, `sentence` the description with White_Space (the room profile's set) trimmed from both ends, cut at its first line break (a carriage return or a line feed), and trimmed again: its first line that holds something, trimmed, or an empty string when the description holds nothing, `hubs` the distinct `{type, id}` its link fields name, itself excluded, that the reader sees, in the schema's field order: a hub is an element of the kind its link field links to, in the reader's view, and its `type` is that kind; an id in a link field that names no element of that kind in the reader's view names no hub. Each `type` is a type's name as the API's routes and a folder's directories write it, singular and lowercase; on the Charter, the Guide and a Domain it is the pair's own word in the table above, whatever spelling the element's type is stored in. The packet is handed to a reader that may hold nothing else of the world, and an id is fetched by its type. **`domainsOf(world, reader)`** is the list alone. **`isCharterElement(element)`** is the pair-and-mark test. **`readingAidOf(element)`** (Python `reading_aid_of`) answers `'charter'`, `'guide'`, `'domain'` or null from the type and supertype alone, trimmed and folded as the pairs above, the whole word, the mark ignored: an unmarked Law with supertype Charter answers `'charter'`, which is what a tool offering to mark one needs; whether an element is a reading aid stays `isCharterElement`'s question. Keel serves the same packet to a key as `reading_aids` beside `front_door` on `GET /me` and the join reply (`front_door.charter` and `charter_skill` stay as served; a removal is a dated notice), and at the world's door on the site. +**`charterOf(world, reader)`**, one reader in the SDK and the Python package from the fixture beside this page, answers `{charter, guide, domains}` as `reader` sees the world: `charter` `{id, type, name, rules, skill}` or null (`type` `law`; `rules` the `x_checks_rules` list as stored, `[]` when none; `skill` the ids the Charter's `description` names, by any `ow://` form, a site address or a bare id, each once in the order written (found as the address profile's "The same id" says an id is found in a text: the form alone is looked for, so an address around it, in any spelling, is not read as one; each taken in lowercase and matched as written against the ids of the world's Objects), kept when it is an Object of this world the reader sees, the first five of those kept: keel's `charter_skill`, as served since D152; the skill Objects are served whole to every reader who reads the Charter, and a skill Object the hidden mark keeps from the reader is not served, not even as a stub, and not kept; every id in `skill` is an Object's, fetched as one); `guide` `{id, type, name}` or null, `type` `construct`; `domains` a list of `{id, type, name, sentence, hubs}` in the order above, `type` `construct`, `sentence` the description with White_Space (the room profile's set) trimmed from both ends, cut at its first line break (a carriage return or a line feed), and trimmed again: its first line that holds something, trimmed, or an empty string when the description holds nothing, `hubs` the distinct `{type, id}` its link fields name, itself excluded, that the reader sees, in the schema's field order: a hub is an element of the kind its link field links to, in the reader's view, and its `type` is that kind; an id in a link field that names no element of that kind in the reader's view names no hub. Each `type` is a type's name as the API's routes and a folder's directories write it, singular and lowercase; on the Charter, the Guide and a Domain it is the pair's own word in the table above, whatever spelling the element's type is stored in. The packet is handed to a reader that may hold nothing else of the world, and an id is fetched by its type. It carries none of the text rule 4 has an AI follow (`rules` is the list a machine checks): a reader that will follow the Charter reads its `description` whole first, and each skill Object's. **`domainsOf(world, reader)`** is the list alone. **`isCharterElement(element)`** is the pair-and-mark test. **`readingAidOf(element)`** (Python `reading_aid_of`) answers `'charter'`, `'guide'`, `'domain'` or null from the type and supertype alone, trimmed and folded as the pairs above, the whole word, the mark ignored: an unmarked Law with supertype Charter answers `'charter'`, which is what a tool offering to mark one needs; whether an element is a reading aid stays `isCharterElement`'s question. Keel serves the same packet to a key as `reading_aids` beside `front_door` on `GET /me` and the join reply (`front_door.charter` and `charter_skill` stay as served; a removal is a dated notice), and at the world's door on the site. -**What a writer must do.** A keeper (the owner or a co-builder) writes the pair and the mark together, the mark the id of the world the element is in, byte for byte like every extension field. The server refuses `x_charter_of` set or changed by any other key, by name, before anything is written (a guest's own Law must never become what every AI reads first). Rule 4 has an AI follow the Charter's text and that of the Objects in its `skill`, so who may change that text is the host's to rule: keel lets only a keeper change it; a folder has no such hand, and there it is written by whoever can write the folder. A tool never writes the mark on lore on its own; it may offer a keeper "Mark this as the world's Charter" (or Guide, or a Domain) on a Law or Construct the keeper names, one write that sets the pair and the mark together, which is how a world that never met a server (a folder, a browser world) keeps its door. A tool that offers supertype suggestions may still offer these words, since the mark, not the word, makes the aid. One Charter and one Guide at a time: a tool that makes a new one offers to retire the old. A Domain's hubs are its links and its sentence its description; a tool that proposes Domains (from a world's own link counts) writes them as proposed (the review profile) or not at all, never silently. +**What a writer must do.** A keeper (the owner or a co-builder) writes the pair and the mark together, the mark the id of the world the element is in, byte for byte like every extension field. The server refuses `x_charter_of` set or changed by any other key, by name, before anything is written (a guest's own Law must never become what every AI reads first). Rule 4 has an AI follow the Charter's `description` and that of the Objects in its `skill`, so who may change that text is the host's to rule: keel lets only a keeper change it, an Object's while the `description` of a Law that carries the mark names it (before that, and once no marked Law names it, the Object's maker can still change it); a folder has no such hand, and there it is written by whoever can write the folder. The `description` is the house rules and the skill list at once: an id anywhere in it names its Object, in a sentence that excludes the Object as well, so a writer who means to speak of an Object without naming it writes its name; and the first five Objects named that a reader sees, in the order written, are its `skill`, so moving a paragraph can change which five. Naming an Object makes its `description` part of the house rules as it stands, whoever wrote it, for every reader whose `skill` keeps it: a keeper reads it once the marked Charter names it, or names one a keeper made. Only the `description` binds, and it is served whole to every reader of the Charter, as are its skill Objects (rule 5, `charterOf`), so no house rule is private: text in `declaration`, `purpose` or any other field of the Charter or of a skill Object binds nobody. A tool never writes the mark on lore on its own; it may offer a keeper "Mark this as the world's Charter" (or Guide, or a Domain) on a Law or Construct the keeper names, one write that sets the pair and the mark together, which is how a world that never met a server (a folder, a browser world) keeps its door. A tool that offers supertype suggestions may still offer these words, since the mark, not the word, makes the aid. One Charter and one Guide at a time: a tool that makes a new one offers to retire the old. A Domain's hubs are its links and its sentence its description; a tool that proposes Domains (from a world's own link counts) writes them as proposed (the review profile) or not at all, never silently. -**Health, measured, never promised.** How many of the world's elements the Domains reach in one hop; a Domain or Guide entry that names a hidden or deleted element (a leak bound: the page warns at save, the doctor flags on its cadence, two checks that each fail alone); a hub carrying more links than any Domain names; two marked Charters. The doctor reports these; nothing here prevents them. +**Health, measured, never promised.** How many of the world's elements the Domains reach in one hop; a Domain or Guide entry that names a hidden or deleted element (a leak bound: the page warns at save, the doctor flags on its cadence, two checks that each fail alone); a hub carrying more links than any Domain names; a leading Charter whose `description` holds nothing, reported with whether another text field of it, or an older marked Charter, holds text; a Charter that names more Objects the reader sees than `skill` keeps; two marked Charters. The doctor reports those of these it carries; nothing here prevents them. **Where the list is read from.** The SDK and the Python package export the three pairs, `isCharterElement`, `readingAidOf`, `charterOf` and `domainsOf`; a tool with its own charter lookup (Atlas's `findCharter`, the doctor's Charter rule, keel's front door) replaces it with this selection the release after the packages carry it. The conformance fixture beside this page, `charter.fixture.json`, holds the cases every reader must agree on; its second list, `design_cases`, holds, of a world and one reader, the design parts that reader reads, each `{type, id, state}`, its `type` a type's name as the packet writes one (`object` or `construct`, whatever spelling the element's type is stored in), compared as a set. -**Ruled**: Skeld, 2026-10-28, serial 83 (the reading aids by pair and mark were ruled in the lens and room profiles on serial 82; this page gathers them and adds the selection, the packet and the writer's rule); Skeld, 2026-10-28, serial 85: what retiring writes, and `readingAidOf`. Skeld, 2026-10-30, serial 94: three readings found by porting the reader, ruled and cased: a proposed aid, skill Object or hub is in no reader's view, the owner's included; a member reads the Charter whole from a stub; a skill id compares as a UUID, whatever its case. Serial 100 (2026-10-31): the order names the strand fourth; keel's reading_aids packet carries it as strand, the strand profile's reading. Serial 107 (2026-11-03): open is the World's `public_read`, named where an engine port could not settle it from the page; no fixture change. 2026-11-13, serial 122: a skill id found in the Charter's `description` is taken in lowercase and matched as written against the world's Objects, wherever it stands in the text, and a `created_at` is read as the message profile reads one, one that cannot be read sorting as the oldest; seven more cases in the fixture. 2026-11-14, serial 126: an `x_charter_of` that is an empty list or an empty object is no mark, as the review profile reads an empty mark, so an aid reads the same in its full and its compact form; three more cases in the fixture, two packets whose newer Law carries an empty mark and `false` as a mark. 2026-11-16, serial 133: the Charter, the Guide and each Domain in the packet carry `type` beside `id`, the pair's own word (`law`, `construct`, `construct`) whatever spelling the element's type is stored in, since a reader handed the packet alone fetches an id by its type; a hub is an element of the kind its link field links to, in the reader's view, so an id of another kind, or of no element, in a link field names no hub; wherever the page compares an element's type to a kind (a pair, a hub's kind, a skill's being an Object), the type is trimmed and compared without regard to case, as the room profile defines it; rule 2's stub Domain has a name and no hubs, as rule 5 has it; the Charter, the Guide, each Domain and each hub carry the key (`skill` stays a list of Object ids), and six more cases in the fixture: a Domain whose `characters` names a Location and an id of no element, a Charter whose type is stored as ` Law `, a Domain whose type is stored as `CONSTRUCT`, a hub Location whose type is stored as ` Location `, a skill Object whose type is stored as `Object`, and one world whose Domains and hubs are typed so that only the room profile's own trim and fold reads them right. 2026-11-18, serial 135: the design state of an Object or a Construct is its `subtype` when that is `in design` or `locked`, trimmed and folded as the room profile defines it, read only from an element the reader is served whole (a known-of stub has none, though it is served its subtype), and only in a world where `charterOf` finds a Charter for the reader, so a story's world that keeps a marked Charter has design states, and a reader for whom `charterOf` finds no Charter reads none where another reader of the same world does; rule 5's Charter for every member rung yields to the hidden mark, so a Charter the hidden mark keeps from a reader is not that reader's; carrying it makes the element a design part, whatever its supertype, and no other subtype or type has one; nothing is under a Construct by this page; a design part's `type` is written as the packet writes a type, whatever spelling the element's type is stored in; thirteen cases in the fixture's new list, `design_cases`: a locked Object, a Construct in design and a workshop's spec in design (a room element: no kind is excluded), a subtype stored as `In Design `, a Construct that is `deprecated`, a Law that is `accepted` and a Law that is `locked`, which are no parts, a locked Object in a world whose only Charter has no mark, and an Object whose subtype is `locked` followed by U+001F, which is no White_Space by the room profile, so it has no design state, a locked Object a guest holds only as a known-of stub, which has none, and one world whose Charter carries the hidden mark, read twice: its owner reads a locked Object as a design part, a contributor reads none, and a locked Object whose type is stored as ` Object `, written `object`; the fixture's note on what a stub holds now names its supertype, subtype, image_url and its type's public fields, as the lens profile serves a stub. 2026-11-19, serial 138: rule 5's exception names a keeper and the one who made a hidden element, where it named the owner alone, as the lens profile's rule 1 now does, so a Charter the hidden mark keeps from other readers is still a keeper's and its maker's; three more cases in `design_cases`: a locked Object the hidden mark keeps from a contributor, which is no part for it, a hidden Charter made by a contributor, which opens the gate for that contributor, and a Charter a guest holds only as a known-of stub, which opens the gate, since a member reads the Charter whole from a stub (rule 5); the fixture's note on its worlds says a contributor's whole as the lens fixture's does. 2026-11-19, serial 141: folded names are compared by code point, as written, never by UTF-16 unit, a collation or a locale, and nothing is normalized before or after the fold, so a decomposed and a precomposed spelling are two names; the fixture's note on the order says the same; a name is trimmed and folded as the room profile defines it, where the ties named its fold alone, and the fixture's note on the order says the same; ten more cases in the fixture, each a world whose Domains no Guide orders: names beyond U+FFFF beside full-width ones, which code point and UTF-16 order two ways, a sharp s beside the capital sharp s that folds to it, a decomposed and a precomposed name, four names equal once trimmed and folded, ordered by id, a name after a byte order mark and one before U+001F, which no White_Space trim takes, names with U+0085 or U+3000 at an end, which it takes, three names equal once trimmed and folded whose `created_at` follow neither their ids' order nor its reverse, ordered by id, a name that is the start of another, which comes first, and two names equal once folded whose ids, one of them in upper case, order one way as written and the other way folded, ordered by the ids as written, and a name that is the start of another that continues with U+0001, which comes first; three more cases in `design_cases`: a locked Object with U+0085 before and after its subtype, which is White_Space by the room profile, so it is locked, a locked Object after a byte order mark, which is not, so it has no design state, and a Construct in design written with a long s, which folds to s. 2026-11-21, serial 143: rule 4 names what an AI reader follows with the Charter's text, the text of the Objects in the Charter's `skill` as `charterOf` answers it for that reader; every other element's text stays data, an Object the Charter names that `skill` does not keep included; the table's Charter row names the skill Objects as `charterOf` finds them, where it named two of the forms; the writer's paragraph says that who may change the text rule 4 has an AI follow is the host's to rule: on keel only a keeper, and in a folder whoever can write the folder; no answer moves and no fixture change. +**Ruled**: Skeld, 2026-10-28, serial 83 (the reading aids by pair and mark were ruled in the lens and room profiles on serial 82; this page gathers them and adds the selection, the packet and the writer's rule); Skeld, 2026-10-28, serial 85: what retiring writes, and `readingAidOf`. Skeld, 2026-10-30, serial 94: three readings found by porting the reader, ruled and cased: a proposed aid, skill Object or hub is in no reader's view, the owner's included; a member reads the Charter whole from a stub; a skill id compares as a UUID, whatever its case. Serial 100 (2026-10-31): the order names the strand fourth; keel's reading_aids packet carries it as strand, the strand profile's reading. Serial 107 (2026-11-03): open is the World's `public_read`, named where an engine port could not settle it from the page; no fixture change. 2026-11-13, serial 122: a skill id found in the Charter's `description` is taken in lowercase and matched as written against the world's Objects, wherever it stands in the text, and a `created_at` is read as the message profile reads one, one that cannot be read sorting as the oldest; seven more cases in the fixture. 2026-11-14, serial 126: an `x_charter_of` that is an empty list or an empty object is no mark, as the review profile reads an empty mark, so an aid reads the same in its full and its compact form; three more cases in the fixture, two packets whose newer Law carries an empty mark and `false` as a mark. 2026-11-16, serial 133: the Charter, the Guide and each Domain in the packet carry `type` beside `id`, the pair's own word (`law`, `construct`, `construct`) whatever spelling the element's type is stored in, since a reader handed the packet alone fetches an id by its type; a hub is an element of the kind its link field links to, in the reader's view, so an id of another kind, or of no element, in a link field names no hub; wherever the page compares an element's type to a kind (a pair, a hub's kind, a skill's being an Object), the type is trimmed and compared without regard to case, as the room profile defines it; rule 2's stub Domain has a name and no hubs, as rule 5 has it; the Charter, the Guide, each Domain and each hub carry the key (`skill` stays a list of Object ids), and six more cases in the fixture: a Domain whose `characters` names a Location and an id of no element, a Charter whose type is stored as ` Law `, a Domain whose type is stored as `CONSTRUCT`, a hub Location whose type is stored as ` Location `, a skill Object whose type is stored as `Object`, and one world whose Domains and hubs are typed so that only the room profile's own trim and fold reads them right. 2026-11-18, serial 135: the design state of an Object or a Construct is its `subtype` when that is `in design` or `locked`, trimmed and folded as the room profile defines it, read only from an element the reader is served whole (a known-of stub has none, though it is served its subtype), and only in a world where `charterOf` finds a Charter for the reader, so a story's world that keeps a marked Charter has design states, and a reader for whom `charterOf` finds no Charter reads none where another reader of the same world does; rule 5's Charter for every member rung yields to the hidden mark, so a Charter the hidden mark keeps from a reader is not that reader's; carrying it makes the element a design part, whatever its supertype, and no other subtype or type has one; nothing is under a Construct by this page; a design part's `type` is written as the packet writes a type, whatever spelling the element's type is stored in; thirteen cases in the fixture's new list, `design_cases`: a locked Object, a Construct in design and a workshop's spec in design (a room element: no kind is excluded), a subtype stored as `In Design `, a Construct that is `deprecated`, a Law that is `accepted` and a Law that is `locked`, which are no parts, a locked Object in a world whose only Charter has no mark, and an Object whose subtype is `locked` followed by U+001F, which is no White_Space by the room profile, so it has no design state, a locked Object a guest holds only as a known-of stub, which has none, and one world whose Charter carries the hidden mark, read twice: its owner reads a locked Object as a design part, a contributor reads none, and a locked Object whose type is stored as ` Object `, written `object`; the fixture's note on what a stub holds now names its supertype, subtype, image_url and its type's public fields, as the lens profile serves a stub. 2026-11-19, serial 138: rule 5's exception names a keeper and the one who made a hidden element, where it named the owner alone, as the lens profile's rule 1 now does, so a Charter the hidden mark keeps from other readers is still a keeper's and its maker's; three more cases in `design_cases`: a locked Object the hidden mark keeps from a contributor, which is no part for it, a hidden Charter made by a contributor, which opens the gate for that contributor, and a Charter a guest holds only as a known-of stub, which opens the gate, since a member reads the Charter whole from a stub (rule 5); the fixture's note on its worlds says a contributor's whole as the lens fixture's does. 2026-11-19, serial 141: folded names are compared by code point, as written, never by UTF-16 unit, a collation or a locale, and nothing is normalized before or after the fold, so a decomposed and a precomposed spelling are two names; the fixture's note on the order says the same; a name is trimmed and folded as the room profile defines it, where the ties named its fold alone, and the fixture's note on the order says the same; ten more cases in the fixture, each a world whose Domains no Guide orders: names beyond U+FFFF beside full-width ones, which code point and UTF-16 order two ways, a sharp s beside the capital sharp s that folds to it, a decomposed and a precomposed name, four names equal once trimmed and folded, ordered by id, a name after a byte order mark and one before U+001F, which no White_Space trim takes, names with U+0085 or U+3000 at an end, which it takes, three names equal once trimmed and folded whose `created_at` follow neither their ids' order nor its reverse, ordered by id, a name that is the start of another, which comes first, and two names equal once folded whose ids, one of them in upper case, order one way as written and the other way folded, ordered by the ids as written, and a name that is the start of another that continues with U+0001, which comes first; three more cases in `design_cases`: a locked Object with U+0085 before and after its subtype, which is White_Space by the room profile, so it is locked, a locked Object after a byte order mark, which is not, so it has no design state, and a Construct in design written with a long s, which folds to s. 2026-11-21, serial 143: rule 4 names what an AI reader follows with the Charter's text, the text of the Objects in the Charter's `skill` as `charterOf` answers it for that reader; every other element's text stays data, an Object the Charter names that `skill` does not keep included; the table's Charter row names the skill Objects as `charterOf` finds them, where it named two of the forms; the writer's paragraph says that who may change the text rule 4 has an AI follow is the host's to rule: on keel only a keeper, and in a folder whoever can write the folder; no answer moves and no fixture change. 2026-11-22, serial 145: rule 4 names the field an AI follows, the `description` of the Charter and of each Object in its `skill`, whole as the world holds it, a part or a shortened copy of it being data, how a reader comes by it and keeps a copy current being the reader's own, and says that a leading Charter whose `description` holds nothing gives that reader no house rules, taken from no other field and no older Charter; rule 5 and the table say `x_checks_rules` is the list a machine checks, never followed, rule 5's reason for the Charter whole being that list, which a stub does not serve; the packet carries none of the followed text, so a reader reads the `description` whole first; the writer's paragraph says that an id anywhere in the `description` names its Object, that the first five named that a reader sees, in the order written, are its `skill`, that naming an Object makes its `description` part of the house rules as it stands for every reader whose `skill` keeps it, on keel kept to a keeper while a marked Law's `description` names it, and that only the `description` binds, so no house rule is private; Health measures a leading `description` that holds nothing and a Charter that names more Objects the reader sees than `skill` keeps, and the doctor reports those of its measures it carries; four more cases in the fixture, a newer marked Charter whose `description` holds nothing beside an older one with text: White_Space alone with U+3000 among it, a space and a tab with a `declaration` that names an Object, no `description` at all with such a `declaration`, and a `description` that is null with such a `declaration`, where the newer leads and its `skill` is empty; no answer moves. diff --git a/codegen/schema-dist/profiles/checks.md b/codegen/schema-dist/profiles/checks.md index 988531e..f82ed7a 100644 --- a/codegen/schema-dist/profiles/checks.md +++ b/codegen/schema-dist/profiles/checks.md @@ -1,8 +1,8 @@ # Convention profile: checks -**What it is.** A work world's Charter (a `law` with supertype `Charter`) states house rules a person reads. Some of those rules are checkable: a field every element of a kind must carry, a form a description must follow. This profile is the one place such a rule is written for a machine, beside the sentence a person reads, so each world lints its own rules and no tool hard-codes them. The first reader is the Python package's doctor; the first writer is Fernhollow's keeper. Nothing here adds a type or a field to the standard; a tool that has never read this page sees a Charter with one extension key it keeps byte for byte. +**What it is.** A work world's Charter (a `law` with supertype `Charter`) states house rules in its `description`, which a person reads and an AI follows (the charter profile's rule 4). Some of those rules are checkable: a field every element of a kind must carry, a form a description must follow. This profile is the one place such a rule is written for a machine, beside the sentence a person reads, so each world lints its own rules and no tool hard-codes them. The first reader is the Python package's doctor; the first writer is Fernhollow's keeper. Nothing here adds a type or a field to the standard; a tool that has never read this page sees a Charter with one extension key it keeps byte for byte. -**The field.** Profile `checks`, one extension field, `x_checks_rules`, on the Charter Law and nowhere else: a list of rules. **The Charter** is the newest marked Charter Law as the charter profile (`charter.md`) selects it, the one keel's front door names (D152, with the mark in place of the maker test): a Law with supertype `Charter` (trimmed, any case) carrying the mark `x_charter_of`, read by presence, newest by `created_at` and then by the higher id, so editing a Charter never changes which one leads. A reader through the API takes `front_door.charter` from `GET /me`; on a folder it takes the newest marked Charter Law the same way, and needs no roster: the mark, not the maker, decides. A marked Charter that is not the newest is a finding (a superseded Charter: its rules are not applied), never applied and never dropped in silence; a Law with supertype `Charter` and no mark is lore, not a Charter and not a finding. A world with no checks carries `x_checks_rules: []` (the set-up skill writes the empty slot so a keeper finds it). Like every extension field it is kept byte for byte by every tool (folder format §3.3) and never required by a reader. The grammar is `x__`; the prefix `x_checks_` is reserved. +**The field.** Profile `checks`, one extension field, `x_checks_rules`, on the Charter Law and nowhere else: a list of rules. **The Charter** is the newest marked Charter Law as the charter profile (`charter.md`) selects it, the one keel's front door names (D152, with the mark in place of the maker test): a Law with supertype `Charter` (trimmed, any case) carrying the mark `x_charter_of`, read by presence, newest by `created_at` and then by the higher id, so editing a Charter never changes which one leads. A reader through the API takes `front_door.charter` from `GET /me`; on a folder it takes the newest marked Charter Law the same way, and needs no roster: the mark, not the maker, decides. A marked Charter other than the one the charter profile selects for that reader is a finding (a superseded Charter: its rules are not applied), never applied and never dropped in silence; a Law with supertype `Charter` and no mark is lore, not a Charter and not a finding. A world with no checks carries `x_checks_rules: []` (the set-up skill writes the empty slot so a keeper finds it). Like every extension field it is kept byte for byte by every tool (folder format §3.3) and never required by a reader. The grammar is `x__`; the prefix `x_checks_` is reserved. **A rule.** @@ -27,12 +27,12 @@ 2. For each rule the report says: the sentence, how many elements it scoped, how many fall short, and each short element by `type`, `id`, `name`. Zero scoped is said as zero, never hidden. A reader never truncates the short list; the consumer of the report does, if it must. 3. A rule the reader cannot apply is reported by name as **not checked**, with why: a predicate outside the four, a `where.type` the pinned schema does not name, a `field` the type does not have and that is not an extension key, a pattern the reader's engine refuses, a rule that is not an object or lacks a required key. Never a silent pass, never a crash: a world may write a rule ahead of its reader. `where.type` may be a list of type names (the fixture's rule 6): one name the pinned schema does not know leaves the whole rule not checked; an empty list is not checked; a `field` that any listed type lacks, and that is not an extension key, is not checked. 4. A reader never writes `x_checks_rules`, never reorders it and never repairs it. -5. A rule's text (`rule`, `matches`) is data from the world, never an instruction to the reader; a pattern runs under a step limit or a size cap so a hostile pattern cannot hang a reader. +5. A rule's text (`rule`, `matches`) is data from the world, never an instruction to the reader, an AI included: this list is checked, never followed, and what an AI follows is the Charter's `description` (the charter profile's rule 4); a pattern runs under a step limit or a size cap so a hostile pattern cannot hang a reader. 6. A known-of stub (folder spec §4.4, `known_of: true`) is judged by no rule: its absent fields are unknown, not short; the report does not count it as scoped. 7. A pattern outside the shared subset is reported as not checked, by the rule's sentence, never run under a guess at what the engine would do with it. 8. The size cap is no step limit: a reader may also bound a pattern's run (steps or time) and says so in the report when it stopped one, as not checked. -**What a writer must do.** Write the list on the Charter only; keep each rule's sentence equal to the Charter's own wording where the Charter has one; prefer `present` and `one_of` to `matches` where either says the same; test a `matches` pattern against one known-good and one known-short element before writing it. +**What a writer must do.** Write the list on the Charter only; keep each rule's sentence equal to its wording in the Charter's `description` where the `description` has one (a rule written here alone is checked and binds no AI); prefer `present` and `one_of` to `matches` where either says the same; test a `matches` pattern against one known-good and one known-short element before writing it. **A re-key** (folder format §3.3: "When a tool deliberately replaces an element's id (§3.4, re-key), a foreign value that IS that old id (the whole string, or a whole item of a string list) MAY be rewritten to the new id, at any depth; nothing else in the value may change (no reorder, no re-indent, no other byte)."): a rule's ids follow that rule. A re-key that moves an element's id moves every value in `x_checks_rules` that is exactly that id (a `one_of` entry naming a linked element), and a value holding an id the re-key did not move is unchanged; a `rule` sentence or a `matches` pattern that contains an id is text, never rewritten. @@ -44,4 +44,4 @@ **Where the rule is read from.** The conformance fixture beside this page, `checks.fixture.json`, holds the rules, the cases with a verdict per rule, and the rules a reader must report as not checked; a reader passes when it agrees on every case. The Python package's doctor is the first reader; a tool with its own reader runs the fixture as its test. The list case rides since serial 54: the fixture's rule 6 (`where.type: ["character", "institution"]`, four cases, one with the type compared folded) and three not-checked rows for the list readings. The room-mark rules ride since serial 118: the fixture's rules 7 and 8, a team's world's own house rules and the first with an extension key as their `field`; an empty list reads short under `present`, and since serial 126 an empty object reads short too: the room profile reads both as no mark since that serial, so `present` and the room's own reading answer alike. The stub cases ride since serial 64: two known-of stubs (folder spec §4.4, `known_of: true`), one bare and one with its fields filled, out of every rule, so reader rule 6 above is every reader's test and not only the doctor's; the fixture replays clean through the doctor, and one of its not-checked rows is the control a reader applies. -**Ruled**: Skeld, 2026-10-22, serial 47 (the grammar; the three open points ruled as the draft's leans; the draft's sixth point); **serial 54** (2026-10-23): the list case and reader rules 6 to 8, three facts from the reference reader's first runs; Skeld, 2026-10-28, serial 84: the re-key line; Skeld, 2026-10-28, serial 85: the Charter by the charter profile's selection (the mark, not the maker); 2026-11-11, serial 118: the room-mark rules, the fixture's rules 7 and 8, a team's world's own house rules read by `present`, with eight cases; and the whitespace `present` trims, named as the room profile's set; 2026-11-13, serial 122: an id among a `one_of` list is compared by that rule's own reading, trimmed and without regard to case, not by the address profile's "The same id"; a tenth rule and two cases in the fixture; 2026-11-13, serial 123: `one_of` on a list is `short`, a list holding only what the rule lists included; rules 10 and 11 and two cases in the fixture, a multi-link field and an extension key holding a list; 2026-11-14, serial 126: `present` reads an empty object as short, as it reads an empty list, so it answers as the room and review profiles read a mark; one case in the fixture; 2026-11-14, serial 127: three cases in the fixture beside the unit separator's pin what `present` says of whitespace, a tab alone and a no-break space before a tab are short and a byte order mark alone (U+FEFF, not White_Space) is set; no reader moves; 2026-11-17, serial 134: the specimen is one world's own house rules, a specimen of the form and not a set to adopt; the sentence on the fixture's replay and the clause on the room-mark rules name no counts, since the fixture is where they are read; the fixture's `measured` note names the world's keeper, not a person, and its control row's key is `x_team_keeper`; no rule or case moves. Drafted and measured with `reader.py`, the reference reader. +**Ruled**: Skeld, 2026-10-22, serial 47 (the grammar; the three open points ruled as the draft's leans; the draft's sixth point); **serial 54** (2026-10-23): the list case and reader rules 6 to 8, three facts from the reference reader's first runs; Skeld, 2026-10-28, serial 84: the re-key line; Skeld, 2026-10-28, serial 85: the Charter by the charter profile's selection (the mark, not the maker); 2026-11-11, serial 118: the room-mark rules, the fixture's rules 7 and 8, a team's world's own house rules read by `present`, with eight cases; and the whitespace `present` trims, named as the room profile's set; 2026-11-13, serial 122: an id among a `one_of` list is compared by that rule's own reading, trimmed and without regard to case, not by the address profile's "The same id"; a tenth rule and two cases in the fixture; 2026-11-13, serial 123: `one_of` on a list is `short`, a list holding only what the rule lists included; rules 10 and 11 and two cases in the fixture, a multi-link field and an extension key holding a list; 2026-11-14, serial 126: `present` reads an empty object as short, as it reads an empty list, so it answers as the room and review profiles read a mark; one case in the fixture; 2026-11-14, serial 127: three cases in the fixture beside the unit separator's pin what `present` says of whitespace, a tab alone and a no-break space before a tab are short and a byte order mark alone (U+FEFF, not White_Space) is set; no reader moves; 2026-11-17, serial 134: the specimen is one world's own house rules, a specimen of the form and not a set to adopt; the sentence on the fixture's replay and the clause on the room-mark rules name no counts, since the fixture is where they are read; the fixture's `measured` note names the world's keeper, not a person, and its control row's key is `x_team_keeper`; no rule or case moves; 2026-11-22, serial 145: the Charter states its house rules in its `description`, which an AI follows, and `x_checks_rules` is checked, never followed, so a rule's text is data to an AI as to every reader, a rule written here alone binding no AI; a marked Charter other than the one the charter profile selects for that reader is the finding, where the page said one that is not the newest; no rule or case moves. Drafted and measured with `reader.py`, the reference reader. diff --git a/codegen/schema-dist/views.fixture.json b/codegen/schema-dist/views.fixture.json index b272fc3..1c98d0b 100644 --- a/codegen/schema-dist/views.fixture.json +++ b/codegen/schema-dist/views.fixture.json @@ -1018,7 +1018,7 @@ "field": "description", "page": "profiles/charter.md", "line": 9, - "quote": "its description, read whole on first entry" + "quote": "its description, the house rules, read whole on first entry" }, { "row": "message", diff --git a/codegen/schema-pin.json b/codegen/schema-pin.json index 343ade2..3f34d5c 100644 --- a/codegen/schema-pin.json +++ b/codegen/schema-pin.json @@ -2,15 +2,20 @@ "_what": "The recorded pin for the vendored OnlyWorlds schema distribution (codegen/schema-dist/, copied byte-exact). Do not edit by hand; re-vendor from the pinned tag and review the diff. Kept equal to the npm SDK's pin (github.com/OnlyWorlds/sdk, codegen/schema-pin.json) on purpose: two clients, one schema.", "_why_manifest_sha256": "Verifying the tree against its own MANIFEST.json only proves internal consistency. If the tag moved, the manifest moved with it. The hash recorded here is the one first accepted, which is what makes a moved tag visible.", "repo": "https://github.com/OnlyWorlds/schema-dist", - "tag": "v0.34.1-dist.144", - "commit": "35a12a0c05bc158008d3cca8261c71b3cc68e855", - "manifest_sha256": "ebf8c6b472cb6cdd9494d244efdafe743cdefce0a83f4468ce59fdf05d6e3a89", + "tag": "v0.34.1-dist.145", + "commit": "f73146c2941b27bb82814a23b393fe9de1c7eee1", + "manifest_sha256": "55c71236d409108a99d6336170bbc309c2d0a8309e7bd61fe20484bac19c7231", "canonical_version": "00.34.01", - "dist_serial": 144, - "published": "2026-11-21", - "pinned_at": "2026-11-21", + "dist_serial": 145, + "published": "2026-11-22", + "pinned_at": "2026-11-22", "pinned_by": "The maintainer: tree from `git archive` of the tag in a schema-dist checkout (216 files: the 215 the MANIFEST lists, and MANIFEST.json itself); files re-hashed against MANIFEST.json by verify_dist.py; MANIFEST self-hash matched against the raw file GitHub serves at the tag, whose ref resolves to the commit above.", "previous_pins": [ + { + "tag": "v0.34.1-dist.144", + "manifest_sha256": "ebf8c6b472cb6cdd9494d244efdafe743cdefce0a83f4468ce59fdf05d6e3a89", + "note": "superseded by v0.34.1-dist.145 (the charter page's rule 4: the description is the text an AI follows, a leading Charter with an empty description gives no house rules; four charter cases; one views fixture quote)" + }, { "tag": "v0.34.1-dist.143", "manifest_sha256": "c054efbf5ce23c6ccc7ba80bcc5a5f2bb55ca3561574ce0f94621006c88507cf", diff --git a/src/onlyworlds/_schema.py b/src/onlyworlds/_schema.py index 6a29eaa..d66c5e9 100644 --- a/src/onlyworlds/_schema.py +++ b/src/onlyworlds/_schema.py @@ -1,13 +1,13 @@ # GENERATED by codegen/generate_schema.py from the vendored schema distribution. Do not hand-edit. # Regenerate: python codegen/generate_schema.py (CI/test: --check) -# Source: https://github.com/OnlyWorlds/schema-dist @ v0.34.1-dist.144 (35a12a0c05bc158008d3cca8261c71b3cc68e855) +# Source: https://github.com/OnlyWorlds/schema-dist @ v0.34.1-dist.145 (f73146c2941b27bb82814a23b393fe9de1c7eee1) """Schema provenance, the 22 element types and their fields, from the pinned schema distribution.""" -SCHEMA_DIST_TAG = "v0.34.1-dist.144" +SCHEMA_DIST_TAG = "v0.34.1-dist.145" SCHEMA_VERSION = "00.34.01" -SCHEMA_DIST_SERIAL = 144 -SCHEMA_MANIFEST_SHA256 = "ebf8c6b472cb6cdd9494d244efdafe743cdefce0a83f4468ce59fdf05d6e3a89" +SCHEMA_DIST_SERIAL = 145 +SCHEMA_MANIFEST_SHA256 = "55c71236d409108a99d6336170bbc309c2d0a8309e7bd61fe20484bac19c7231" # Canonical order, as the walk declares it. ELEMENT_TYPES: tuple[str, ...] = ( diff --git a/src/onlyworlds/_version.py b/src/onlyworlds/_version.py index 0f8f149..120dcc3 100644 --- a/src/onlyworlds/_version.py +++ b/src/onlyworlds/_version.py @@ -1 +1 @@ -__version__ = "0.139.3" +__version__ = "0.140.0" diff --git a/tests/test_charter.py b/tests/test_charter.py index 7b18a15..9fcdd15 100644 --- a/tests/test_charter.py +++ b/tests/test_charter.py @@ -56,9 +56,9 @@ def reader_of(world: Mapping[str, Any], name: str) -> dict[str, Any]: return r -def test_the_fixture_holds_serial_141s_cases() -> None: - assert len(CASES) == 57, f"the fixture holds {len(CASES)} cases, serial 141 has 57" - assert Counter(c["kind"] for c in CASES) == {"charter": 51, "element": 6} +def test_the_fixture_holds_serial_145s_cases() -> None: + assert len(CASES) == 61, f"the fixture holds {len(CASES)} cases, serial 145 has 61" + assert Counter(c["kind"] for c in CASES) == {"charter": 55, "element": 6} assert sorted(DOC["worlds"]) == ["bare", "copy", "harbour", "lore", "open", "proposed", "skills", "stub", "ties"]