Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<resource>: <document>`); the door's own is a name for a thing the export never names (a frame's corner Marker, `<frame>: 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 `<resource>: <document>`, 56 frame corners, one nameless pin), its .lk export 78, each Kanka export 2 (`<entity>: hidden details`), World Anvil, Notion and Campfire none.
Expand Down
10 changes: 5 additions & 5 deletions codegen/schema-dist/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions codegen/schema-dist/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
canonical: 00.34.01
serial: 144
published: 2026-11-21
serial: 145
published: 2026-11-22
223 changes: 223 additions & 0 deletions codegen/schema-dist/profiles/charter.fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Loading
Loading