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
{{ message }}
Repository navigation
Commit 9806e21
Browse filesBrowse the repository at this point in the historyBrowse files
0.107.2: schema repinned to schema-dist v0.34.0-dist.109 (canonical 00.34.00 unchanged): the calendar profile refuses an era year_base other than 0 or 1, refuse-year-base-five in the replayed fixture
The reader already refused it; both fixture tests count 77 cases and 43 refusals, one names the case. A reader taking any whole year_base turns it red.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ The package version runs on its own semver; the schema it is generated from is `
4
4
5
5
## Unreleased
6
6
7
+
## 0.107.2 (2026-11-08)
8
+
9
+
- The schema pin moves to schema-dist `v0.34.0-dist.109` (canonical `00.34.00` unchanged, so `SCHEMA_VERSION` is the same; no schema file moved). The calendar profile now refuses an era whose `year_base` is present and not 0 or 1, as its field table always said, and its fixture gains `refuse-year-base-five` (77 cases, 43 refusals). `onlyworlds.calendar` already refused such an era; the replayed fixture now holds it.
10
+
7
11
## 0.107.1 (2026-11-06)
8
12
9
13
-`TOOLS` is the tools list at `9452529`: Atlas's row now says `opens_public: True` (its links open a public world with nothing signed in, and `needs` stays `account` for a private one), so `openers_for` with `TOOLS` offers Atlas as a live row on a world's public page.
Copy file name to clipboardExpand all lines: codegen/schema-dist/profiles/calendar.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,13 +41,13 @@ The TypeScript SDK holds this whole as `breakdownStep` and `formatStep` (and `pa
41
41
- the months' `names` and `lengths` are not lists of the same, non-zero length, or a month name is not a string;
42
42
- a month length, `bundles.year.steps`, `bundles.week.length` or an `every_years` is not a whole number from 1; an `except` is not a strictly ascending list of whole numbers, each larger than and a multiple of `every_years` and of the one before (`[4]` under `every_years` 4 selects no year), or an `offset` is not a whole number;
43
43
-`bundles.week.names` is not a list of strings;
44
-
-`eras` is present and not a list (`false`, `0` and `""` included), or an era lacks a string `name` or a whole-number `start`, or its `end` or `year_base` is present and not a whole number;
44
+
-`eras` is present and not a list (`false`, `0` and `""` included), or an era lacks a string `name` or a whole-number `start`, or its `end`is present and not a whole number, or its `year_base` is present and not 0 or 1;
45
45
-`intercalary` is present and not a list (`false`, `0` and `""` included), or an entry lacks a string `name` or a whole `after_month`, or its `after_month` names a month the year does not have: past the last, or below the first. A day placed after a month the year does not have has no position, and a reader never invents one; with no months, any intercalary entry is unreadable, whatever its `after_month`.
46
46
47
47
Every reader refuses the same values, or one tool shows a calendar where another shows numbers.
48
48
49
49
**What a writer must keep.** Everything it did not change, unknown keys included. A re-key never rewrites the value (it holds no element ids).
50
50
51
-
**Conformance.**`calendar.fixture.json`, beside this page: 76 cases, 52 generated from `@onlyworlds/sdk` 4.42.2, 14 for the amendment from 4.76.0 (two of them replace `refuse-version` and `era-overlap-down-later-start`), 11 for serial 89, written from its rulings (and `intercalary-after-month-out-of-range` now a refusal), and 1 for serial 90, 34 calendars with 209 steps and the words and breakdown each one reads as, and 42 values a reader must refuse. One case, `found-by-the-field-never-by-type`, also carries a world's elements and the ids a reader finds a calendar on. The steps of the two LegendKeeper calendars (`v2-except-chain-gregorian`, `v2-offset-harptos`) each match what LegendKeeper's API answered for a user's own project on 2026-10-25; the Gregorian case includes the days around Leap Day in 1900, 2000 and 2100, where a reader whose days ignore `except` while its year count keeps it would misread. A reader conforms when it passes every case.
51
+
**Conformance.** `calendar.fixture.json`, beside this page: 77 cases, 52 generated from `@onlyworlds/sdk` 4.42.2, 14 for the amendment from 4.76.0 (two of them replace `refuse-version` and `era-overlap-down-later-start`), 11 for serial 89, written from its rulings (and `intercalary-after-month-out-of-range` now a refusal), 1 for serial 90, and 1 for serial 109 (`refuse-year-base-five`: a whole-number `year_base` outside 0 or 1, the field table's range, which the refusal list had not said), 34 calendars with 209 steps and the words and breakdown each one reads as, and 43 values a reader must refuse. One case, `found-by-the-field-never-by-type`, also carries a world's elements and the ids a reader finds a calendar on. The steps of the two LegendKeeper calendars (`v2-except-chain-gregorian`, `v2-offset-harptos`) each match what LegendKeeper's API answered for a user's own project on 2026-10-25; the Gregorian case includes the days around Leap Day in 1900, 2000 and 2100, where a reader whose days ignore `except` while its year count keeps it would misread. A reader conforms when it passes every case.
52
52
53
53
Source: the TypeScript SDK's calendar kernel (`@onlyworlds/sdk` 4.42.2: `readCalendarConfig`, `breakdownStep`, `formatStep`), written from Atlas's calendar, which made the field. Amended 2026-10-25 (version 2: `except` and `offset` on an intercalary entry; an open era's end skips `down` eras), for two findings: three calendars version 1 could not hold exactly (Gregorian, Harptos and Scrolls), which now match what LegendKeeper's API answered for a user's own project on 2026-10-25, and an era-order fault found in two readers the same day. Amended 2026-10-29, serial 89 (an `after_month` naming a month the year does not have and a `grain` with nothing left after trimming are not a calendar; a `format` or `format_intercalary` that is not a string is ignored), from five readers' ports of the profile, which named the cases where a wrong reader still passed every case. Amended 2026-10-29, serial 90 (an intercalary entry on a calendar with no months is not a calendar, whatever its `after_month`, 0 included: `after_month` names a place between months, and there are none), from a reader's question after serial 89.
Copy file name to clipboardExpand all lines: codegen/schema-pin.json
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,20 @@
2
2
"_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.",
3
3
"_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.",
"pinned_by": "The maintainer: tree from `git archive` of the tag in a schema-dist checkout (206 files: the 205 the MANIFEST lists, and MANIFEST.json itself); files re-hashed against MANIFEST.json by generate_schema.py; MANIFEST self-hash matched against the raw file GitHub serves at the tag, whose ref resolves to the commit above.",
"note": "superseded by v0.34.0-dist.109 (canonical 00.34.00 unchanged, no schema file moved; calendar.md's refusal clause reads an era's year_base present and not 0 or 1, as its field table says, and calendar.fixture.json gains refuse-year-base-five, 77 cases and 43 refusals)"
0 commit comments