Skip to content

Kanka door: its tables and wording in a data file - #34

Merged
tmoosting merged 1 commit into
mainfrom
kanka-tables
Nov 22, 2026
Merged

tmoosting merged 1 commit into
mainfrom
kanka-tables

Conversation

@tmoosting

Copy link
Copy Markdown
Member

The Kanka door's tables (its folders to element types, its keys to fields, the fixed key lists, the names it makes) and every line of its report move into src/onlyworlds/convert/kanka.json; its rules stay code. The npm SDK's Kanka door reads the same bytes, so the two packages write one folder from one file; a test in each holds the file's sha256 (53394eee…).

The door's output does not move: on the five real Kanka exports (the three in the tests and two more) every file and the printed report are byte-identical before and after, and so are 261 generated exports.

🤖 Generated with Claude Code

The Kanka import door's tables (Kanka's folders to element types, its keys
to fields, the fixed key lists, the names it makes) and every line of its
report move into src/onlyworlds/convert/kanka.json, which onlyworlds.kanka
reads; its rules stay code. The npm SDK reads the same bytes for its own
Kanka door, so the two packages write the same folder from one file; a test
holds the file's sha256.

Nothing the door writes or prints moves: on five real Kanka exports, every
export the Kanka tests build and 240 varied ones, the folder and the report
are byte for byte what the door wrote before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit ae38ff3 into main Nov 22, 2026
11 checks passed
@tmoosting
tmoosting deleted the kanka-tables branch November 22, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant