Repository navigation
Deck Work Queue
Owner orders of 2026-11-14, recorded as given:
- Up to three Haiku deck builders work in parallel, on byte-sized, fully specified tasks. Sonnet reviews each pull request once.
- "Do not leave anything in the middle. Complete the culture decks as well. Complete Japanese, then move on to Spanish, then Telugu, then French. Then the others."
- "Build the kanjis as well." (about 1000 kanji by B1, #1146: the deferral is lifted)
- "For each blocker create separate issues" and "the codes must be language agnostic": every code or tool need is a general mechanism driven by per-language data, never Japanese logic in
lib/ortools/.
This page is a plan. It builds nothing. The sections for Spanish, Telugu, French and the others are added when Japanese is done. State was read from origin/decks-live (f7ec2370) and origin/main on 2026-11-14.
- Report issues, never improvise. A builder that meets anything unclear, missing or different from its task stops that item and reports it. The architect re-specifies. No guessing a reading, a date, a source or an id.
- Guarded, logged code. Any script a builder writes wraps its work in try/catch (including around loops over items, so one failure does not stop the rest), sends every caught failure to the app's existing logger (never a silent catch, never only a print), and repeats it in the report. No new logger.
- Ids. Card ids come only from the task's reserved range, ascending. A range left partly unused stays unused. An id is never reused or renumbered. A deck that needs more ids than reserved stops and reports.
-
Quote every YAML scalar except
true,falseand whole numbers. Tag every new file"unreviewed". LicenceCC-BY-SA-4.0. -
No local tests, no local validator, no tag, no new branch after a merge. CI checks the pull request. Pull requests target
decks-live. One Sonnet review per pull request. No deck file editsdecks/min_app.json. - Sources. A date or legacy claim is read from the creator's or work's Japanese Wikipedia page by the builder. What was not read goes to the review queue as unverified. Nothing from memory is asserted as checked.
- No quoted text. Works are named by title and creator. A card carries only what its kind allows (the batch-1 shape), never a passage longer than that shape; nothing is copied from a translation, a dictionary or a lyric sheet. Translations are the builder's own plain renderings.
-
Review-queue rows are written into the task's report (and the pull request description), one line each in the file's table shape. Only the task that owns
docs/review-queue/ja.mdin a batch edits it; the batch'sJA-04xtask collects the rest. -
Shared files (
decks/creators/ja.yaml,decks/ja/ja-topics.yaml,decks/recommendations/ja.yaml,docs/review-queue/ja.md,decks/ja/ja-path.yaml, the rules decks) have exactly one owner per batch, named in the task. A task that does not own a shared file never edits it. The one exception is stated under "Kanji lanes". -
Genre decks are not on the path. A deck with a
genre(culture, proverbs, multiword) needs no path edit; a vocab, rules or script deck without one must be listed on the path in the same pull request.
Issue #378's checklist (2026-11-13) is out of date: batches 1 to 4 have merged since.
| Fact | Value |
|---|---|
Path decks/ja/ja-path.yaml
|
137 units plus the * line: 116 written, 21 planned (7 word units of 350 words, 9 grammar units, 5 kanji units) |
Cards in decks/ja/*.yaml
|
4,032; highest Japanese id ja-4577
|
| Core files / layer files | 239 files in decks/ja/, 298 in decks/ja/en/
|
| Listed decks missing a file | 0 (every deck a written unit lists exists, sentences and readings included) |
| Culture |
ja-culture-1 (18 items), 25 creators, 8 eras, 9 recommendations |
| Proverbs / multi-word |
ja-proverbs-1 12 cards; ja-multiword-compound-verbs 8, ja-multiword-te-auxiliaries 9 |
| Topics / situations | 9 topics; ja-situations, 6 sheets |
| Kanji |
ja-kanji-1, 7 cards (days of the week) |
| Cards without notes | 900: 850 on sentence cards, 40 in ja-en-hiragana, 10 on word cards |
Broad ipa missing |
6 cards, all in ja-family
|
phonetic |
0 of 4,032 cards; no decks/ja/ja-phonetics.yaml
|
| Facts file | none (decks/ja/ja-facts.yaml does not exist) |
| Review queue | 262 rows in docs/review-queue/ja.md
|
| Ids in use | 1 to 4577; the ranges below sit above them |
| # | Open item | Size | Tasks |
|---|---|---|---|
| 1 | Path: 21 planned units. 7 word units (money, society, university, food-culture, literature, verbs-5, abstract-words: 350 words, each with sentences and a reading deck) and 9 grammar units (conjunctions, adjective past, likes, comparison, relative clauses, sonkeigo, kenjougo, transitivity, teineigo) | 16 units | JA-023 to JA-038 |
| 2 | Path: the 5 planned kanji units are replaced by 37 (below) | 1 path edit | JA-001 |
| 3 | Culture decks beyond batches 1 and 2 (default taken: complete is 4 culture decks of 18, so 3 more) | 54 items, about 36 new creators | JA-002, 005, 008 |
| 4 | More proverbs (12 now) | 40 cards, 2 decks | JA-003, 006 |
| 5 | More multi-word decks (17 cards now) | 60 cards, 3 decks | JA-004, 007, 009 |
| 6 | Topics growth (9 now) | about 14 topics: 8 culture, 6 kanji | JA-010, JA-011 |
| 7 | Creators and eras growth | rides on 3 | with JA-002, 005, 008 |
| 8 | More recommendations (9 now, source-it-yourself) | 20 works | JA-012 |
| 9 | Situations growth (6 sheets) | 4 sheets | JA-013 |
| 10 | Notes gap | 900 cards | JA-014 to JA-022 |
| 11 | Professional decks (#1139, hidden) | none: professions is empty in decks/sections.yaml
|
held, nothing to build; needs the owner's list of professions first |
| 12 | Narrow IPA for every card; broad ipa on the 6 missing |
4,032 cards plus all new | JA-039 to JA-041 |
| 13 | Review-queue rows for everything new | per batch | JA-042 to JA-044 |
| 14 | Facts file | about 30 facts | JA-046 |
| 15 | Kanji, about 1,000 by B1 | 1,026 school kanji, 7 done | JA-100 to JA-137 |
| 16 | Docs: stale statements (build-deck skill says narrow IPA tools are unbuilt; #378 and Plan-Language-Completeness counts) | 3 small edits | JA-045 |
| 17 | Blockers that need code or tools | 3 issues | section C |
Order and parallelism: three builders at most. A lane is a serial chain on one builder. Lanes marked PARALLEL share no file and may run at once.
| Batch | Lane A (culture) | Lane B (path and kanji) | Lane C (genre decks) |
|---|---|---|---|
| 1 | JA-002 | JA-001, then JA-101 to JA-103 | JA-003 then JA-004 |
| 2 | JA-005, then JA-008 | JA-104 to JA-108 (and JA-100's lists feed 109 on) | JA-006, JA-007, JA-009 |
| 3 | JA-010, JA-012 | JA-109 to JA-137 in grade order, then JA-011 | JA-013, JA-046 |
| 4 | Sentence notes JA-014 to JA-022: three at a time, any lane | Word units JA-023 to JA-029, then grammar units JA-030 to JA-038, serial (they own the path and the rules decks) | |
| Last | JA-039, JA-040, JA-041 serial, only after every content pull request has merged (the IPA run touches every file) |
Review-queue carriers JA-042 to JA-044 run after batches 1, 2 and 3. JA-045 and JA-100 are docs and go straight to main (JA-100 is the Sonnet job).
The first three parallel-ready tasks: JA-001, JA-002, JA-003. (JA-101 waits for JA-001's path merge.)
| Task | Range | Task | Range |
|---|---|---|---|
| JA-002 culture-2 | ja-4600 to 4649 | JA-004 suru verbs | ja-4850 to 4899 |
| JA-005 culture-3 | ja-4650 to 4699 | JA-007 compound verbs 2 | ja-4900 to 4949 |
| JA-008 culture-4 | ja-4700 to 4749 | JA-009 idiomatic verbs | ja-4950 to 4999 |
| JA-003 proverbs-2 | ja-4750 to 4799 | Kanji JA-1nn (nn 01 to 37) | ja-(5000 + 60 x (nn - 1)) for 60 ids; JA-101 5000 to 5059, JA-137 7160 to 7219 |
| JA-006 proverbs-3 | ja-4800 to 4849 | JA-013 situations | ja-7300 to 7499 |
| Word unit JA-023 to JA-029 | 150 each from ja-8000 (JA-023 8000 to 8149, JA-029 8900 to 9049) | Grammar unit JA-030 to JA-038 | 60 each from ja-9100 (JA-030 9100 to 9159, JA-038 9580 to 9639) |
Recommendations take string ids (ja-rec-...), creators ja-<name>, topics ja-<name>: no numbers.
-
RULE-CULT. Template:
decks/ja/ja-culture-1.yamland its layer,decks/creators/ja.yaml,wiki/Plan-Culture-Japanese.md("Rules applied"). 18 items per deck, short items first, level A2 or B1 per item. Public-domain basis only: the author died in 1955 or earlier (the validator floor), an anonymous work first published before 1900; noquotationitems; each item has the batch-1sourceblock. Text shown in modern kana. Each creator: a short A2-level bio, dates (circawhere uncertain), era, a legacy line with one or two checkable items each with a source link, no image. Candidates are taken in the order listed in the task: the first 18 that pass are the deck and the rest are the reserve. The excerpt is no longer than the longest excerpt inja-culture-1. A creator whose dates the builder could not read, or an item whose text it could not read on the page, is dropped and replaced from the reserve list; it is never filled in. -
RULE-PV. Template
ja-proverbs-1.genre: "proverbs",basis: "oral-tradition",sourceblock as in proverbs-1, oneliteralnote and a meaning, modern kana, level A2 or B1. Proverbs not already used inja-proverbs-1(the builder lists those first). -
RULE-MW. Template
ja-multiword-compound-verbs.genre: "multiword", apattern_family,level, ausagenote on every card,wordsandbasesfor each part, parts already taught are written byref, a new part gets a card. -
RULE-NOTE. Add a typed note (
usage,note,registeror the kinds Deck-Format "Notes" lists) only where the sentence has one teachable point: a particle choice, a politeness level, an ellipsis, a word-order point. Ids of the notes in the core, text in the layer, transliteration after every Japanese word in note prose. A card with nothing to teach gets no note and is listed in the report. Card ids and every existing field stay as they are. -
RULE-UNIT (word and grammar units).
.claude/skills/build-deck/SKILL.mdin full: core, layer,-sentencescore and layer, the reading deck (single-file, passages from the path entry), the unit's rules rows (every word of its kind, in every table of its kind), theja-set card where it teaches a closed group, the facts the checklist asks for. The path entry changes fromplannedto written in the same pull request. A conjunctions unit follows the shape ofbn-grammar-conjunctions(a vocab core with a set card). - RULE-KANJI, below.
Source of the set: the school kanji (kyoiku kanji), 1,026 characters in six grades (80, 160, 200, 202, 193, 191), from the Ministry of Education's grade-by-grade list (the Course of Study's appended table, cited by name only); about 1,000 by B1 is the owner's target. A list of characters is a fact. Readings and meanings are written by the builder in its own words from the joyo kanji table's readings; KANJIDIC2 and every dictionary text are not copied (no share-alike obligation enters the deck). No stroke-order images.
RULE-KANJI (each of JA-101 to JA-137, one deck of 20 to 40 kanji, ja-kanji-N with N = task number minus 99):
- Files:
decks/ja/ja-kanji-N.yaml,decks/ja/en/ja-en-kanji-N.yaml, and the unit's path entry (written form, deck also added toalphabet). Template:ja-kanji-1andja-en-kanji-1, and Deck-Format "Japanese kanji".script: han,scripts: [han, kana], tagsscript,unreviewed,levelby the unit's place in the path (before the A2 milestoneA2, after itB1). - One card per kanji, in the task's list order.
targetthe kanji,target_scripts.kanathe one reading the unit teaches it by (the word it stands for alone, else its commonest word),words, romajireading(Hepburn,ja-romanisation), broadipa,pos: "letter",bases: "self". Nophonetic. The layer's noten1has this exact shape:X (kana): on readings ... ; kun readings .... It is in W (romaji), meaning.with every kana followed by its romaji. - Two examples per card, each with
target_scripts.kana,reading,ipa,words. Examples use only words already taught: a word that is a card of a deck listed on the path at an earlier unit than this one (or an earlier card of this deck). The card's kanji appears in at least one example. A kanji with fewer than two such examples is not built: the builder reports it and the architect moves it to a later deck. - The rule for when new sentences may show kanji (proposed here, default taken): in any card or example written after JA-001, a kanji is written as a kanji only if it is taught by then (its card is in a kanji deck at an earlier path position, or earlier in the same deck). Every other kanji in that sentence is written in kana. Existing kana decks are untouched and ids never change (ADR-0053). Until blocker B2 lands this rule is the builder's and the reviewer's, not the validator's.
- Uncertain readings, grade membership or meanings: one review-queue row per kanji, in the report.
- Not touched:
ja-topics.yaml(JA-011), the path outside the task's own entry,decks/min_app.json, other kanji decks.
Kanji lanes (the one exception to rule 9). JA-001 first rewrites the five planned kanji units into 37 planned units and spaces them with at least one other unit between every two, so the entries never touch. A kanji task then edits only its own entry. Two kanji lanes may run at once under this rule; if a rebase finds a conflict in the path, the builder stops and reports.
| Task | Kanji (grade) | Count | Deck, ids |
|---|---|---|---|
| JA-100 | Done (Sonnet, docs on main): the exact lists for grades 3 to 6 (200, 202, 193, 191 = 786, no repeats, none missing, checked against the Wikipedia grade table) and the split into JA-109 to JA-137 are in the rows below; grades 1 and 2 are the lists above, unchanged | docs | none |
| JA-101 | 一右雨円王音下花貝学気九休玉空犬見五口校左三山子 (1) | 24 | ja-kanji-2 |
| JA-102 | 四糸字耳七車手十出女小上森人正生青夕石赤千川先早 (1) | 24 | ja-kanji-3 |
| JA-103 | 草足村大男竹中虫町天田二入年白八百文本名目立力林六 (1) | 25 | ja-kanji-4 |
| JA-104 | 引羽雲園遠何科夏家歌画回会海絵外角楽活間丸岩顔汽記帰弓牛魚京強教 (2) | 32 | ja-kanji-5 |
| JA-105 | 近兄形計元言原戸古午後語工公広交光考行高黄合谷国黒今才細作算止市 (2) | 32 | ja-kanji-6 |
| JA-106 | 矢姉思紙寺自時室社弱首秋週春書少場色食心新親図数西声星晴切雪船線 (2) | 32 | ja-kanji-7 |
| JA-107 | 前組走多太体台地池知茶昼長鳥朝直通弟店点電刀冬当東答頭同道読内南 (2) | 32 | ja-kanji-8 |
| JA-108 | 肉馬売買麦半番父風分聞米歩母方北毎妹万明鳴毛門夜野友用曜来里理話 (2) | 32 | ja-kanji-9 |
| JA-109 | 丁予化区反世主仕他代写去号央平打氷由申皮皿礼両全列 (3) | 25 | ja-kanji-10, ids ja-5480 to ja-5539 |
| JA-110 | 向守安州式曲有次死羊血住助医君坂対局役投決究豆身返 (3) | 25 | ja-kanji-11, ids ja-5540 to ja-5599 |
| JA-111 | 事使具取受味命和始委定実岸幸所放昔服板油波注泳物者 (3) | 25 | ja-kanji-12, ids ja-5600 to ja-5659 |
| JA-112 | 育苦表乗係品客屋度待急拾持指昭柱洋炭界畑発相県研神 (3) | 25 | ja-kanji-13, ids ja-5660 to ja-5719 |
| JA-113 | 秒級美負追送重面倍勉員宮島庫庭息旅根流消病真荷起速 (3) | 25 | ja-kanji-14, ids ja-5720 to ja-5779 |
| JA-114 | 配酒院動商問宿帳悪族深球祭章笛第終習転進部都勝寒悲 (3) | 25 | ja-kanji-15, ids ja-5780 to ja-5839 |
| JA-115 | 暑期植歯温港湖湯登着短童筆等落葉軽遊運開陽階集飲想 (3) | 25 | ja-kanji-16, ids ja-5840 to ja-5899 |
| JA-116 | 意感暗業漢福詩路農鉄様緑練銀駅鼻横箱調談整橋薬館題 (3) | 25 | ja-kanji-17, ids ja-5900 to ja-5959 |
| JA-117 | 不井夫欠氏付令以功加包司失必未末札民辺争仲伝兆共印各好成灯 (4) | 29 | ja-kanji-18, ids ja-5960 to ja-6019 |
| JA-118 | 老衣阪位低佐児兵冷初別利努労完岐希折改材束求沖臣良芸例典刷 (4) | 29 | ja-kanji-19, ids ja-6020 to ja-6079 |
| JA-119 | 卒協参周固奈季官岡底府径念松果治法泣牧的芽英阜便信勇単城変 (4) | 29 | ja-kanji-20, ids ja-6080 to ja-6139 |
| JA-120 | 建昨栃栄浅省祝約茨要軍飛香倉候借孫害差席帯徒挙料案梅残浴特 (4) | 29 | ja-kanji-21, ids ja-6140 to ja-6199 |
| JA-121 | 笑訓連郡健側副唱埼崎巣康敗望梨械清産票菜貨陸鹿博媛富散景最 (4) | 29 | ja-kanji-22, ids ja-6200 to ja-6259 |
| JA-122 | 極満滋無然焼結給街覚賀達量隊順飯働塩愛戦照節続置試辞群察徳 (4) | 29 | ja-kanji-23, ids ja-6260 to ja-6319 |
| JA-123 | 旗漁熊種管説関静億器標潟熱縄課輪選養機積録観類験鏡願競議 (4) | 28 | ja-kanji-24, ids ja-6320 to ja-6379 |
| JA-124 | 久士仏支比刊句可史圧布弁旧永犯示仮件任再因団在似余判告囲 (5) | 28 | ja-kanji-25, ids ja-6380 to ja-6439 |
| JA-125 | 均序志応快技条災状防価制効妻居往性招易枝武毒河版肥舎述非 (5) | 28 | ja-kanji-26, ids ja-6440 to ja-6499 |
| JA-126 | 保則厚型政故査独祖紀迷逆限修個容師格桜殺留益破粉素耕能脈 (5) | 28 | ja-kanji-27, ids ja-6500 to ja-6559 |
| JA-127 | 航財造停務基堂婦寄常張得情授採接救断液混率現略眼移経術規 (5) | 28 | ja-kanji-28, ids ja-6560 to ja-6619 |
| JA-128 | 設許貧責険備喜営報属復提検減測程税統絶証評象貯貸費貿過勢 (5) | 28 | ja-kanji-29, ids ja-6620 to ja-6679 |
| JA-129 | 墓夢幹損準禁罪義解豊資鉱飼像境増態慣構歴演精綿総製複適酸 (5) | 28 | ja-kanji-30, ids ja-6680 to ja-6739 |
| JA-130 | 銅際雑領導暴潔確編賛賞質燃築興衛輸績講謝織職額識護 (5) | 25 | ja-kanji-31, ids ja-6740 to ja-6799 |
| JA-131 | 亡寸己干仁収尺片冊処幼庁穴危后吸存宅宇机灰至舌乱卵否困 (6) | 27 | ja-kanji-32, ids ja-6800 to ja-6859 |
| JA-132 | 孝忘我批私系並乳供券刻呼垂宗宙宝届延忠承担拝拡枚沿若奏 (6) | 27 | ja-kanji-33, ids ja-6860 to ja-6919 |
| JA-133 | 姿宣専巻律映染段泉洗派皇看砂紅肺胃背退革俳俵値党射将展 (6) | 27 | ja-kanji-34, ids ja-6920 to ja-6979 |
| JA-134 | 座従恩朗株班秘納純胸蚕討針降陛除骨域密捨探推欲済異盛窓 (6) | 27 | ja-kanji-35, ids ja-6980 to ja-7039 |
| JA-135 | 翌脳著視訪訳郵郷閉頂割創勤善尊就揮敬晩棒痛筋策衆裁装補 (6) | 27 | ja-kanji-36, ids ja-7040 to ja-7099 |
| JA-136 | 詞貴傷幕暖源盟絹署聖腸腹蒸裏誠賃預層暮模疑磁穀誌認誤銭 (6) | 27 | ja-kanji-37, ids ja-7100 to ja-7159 |
| JA-137 | 閣障劇敵権潮熟蔵誕論諸遺奮憲操樹激糖縦鋼優厳縮覧簡臨難臓警 (6) | 29 | ja-kanji-38, ids ja-7160 to ja-7219 |
The grade 1 list (80) is the seven in ja-kanji-1 plus the 73 above; grade 2 is the 160 above. Both were counted (no repeats, no overlap); the reviewer checks them against the grade table.
Kanji lists and card shape (JA-100, read 2026-11-14). Sources: Japanese Wikipedia 学年別漢字配当表 (the official grade table, order within a grade is reading order) and English Wikipedia "Kyōiku kanji" (numbers 1 to 1,026, strokes, on and kun readings, short meanings), both read 2026-11-14. Verified: grades 1 to 6 are 80, 160, 200, 202, 193, 191 = 1,026 (the 2020 table; grade 4 gained 20 prefecture kanji, so the older 200/185/181 counts no longer hold); both pages agree on every grade's set; grades 1 and 2 above equal the pages' sets; the 786 kanji of JA-109 to JA-137 have no repeat and none is missing. Order inside a grade: fewest strokes first (a component usually has fewer strokes than the kanji built on it), ties in the English page's number order; the lists below are plain characters, the rows keep the ids reserved above (ja-(5000 + 60 x (nn - 1)), 60 ids per task).
Card shape, as in decks/ja/ja-kanji-1.yaml and decks/ja/en/ja-en-kanji-1.yaml on decks-live: deck header schema: 1, id: "ja-kanji-N", part: "core", kind: "vocab", language: { code: "ja", iso639_3: "jpn", name: "Japanese", script: "han", scripts: ["han", "kana"], tts: "ja-JP" }, license: "CC-BY-SA-4.0", tags: ["script", "unreviewed"]. Each card: id, target (the kanji), target_scripts: { kana: "..." }, words: ["<kanji>"], reading (romaji), ipa (broad), pos: "letter", notes: [{ id: "n1", kind: "usage" }], bases: "self". The English layer (kind: "layer", core, native: { code: "en", ... }, name, description) maps each card id to native (a short meaning) and notes.n1 in the RULE-KANJI shape. Where to read the data: on and kun readings, strokes and the short meaning from the English Wikipedia "Kyōiku kanji" table; the readings are re-written in the builder's own words, never pasted from a dictionary. Anything a builder cannot read there or is unsure of goes to the review queue as unverified.
Fields common to all rows: branch is decks/ja-<topic> off decks-live; "Not touched" always includes every file not named; the fixed rule 1 and 2 apply.
| Id | Branch | Creates / edits | Content rules | Inputs | Expected output | Owns (shared) | Not touched | Lane, parallel |
|---|---|---|---|---|---|---|---|---|
| JA-001 | decks/ja-kanji-path | edit decks/ja/ja-path.yaml only |
Exact procedure. (1) Delete the five planned entries whose planned.id is ja-kanji-2, -3, -4, -5, -6 (each is the - planned: { id: "ja-kanji-N", grammar: "script-kanji-N", words: 0 } line and its listening_passages and reading_passages). They are path unit names, not cards, so deleting and renumbering them touches no card id and no history. The ja-kanji-1 entry (- decks: ["ja-kanji-1"], words: 0, milestone: "A1") and its place in alphabet stay as they are. (2) Insert 37 new entries, one per N from 2 to 38, each directly after the unit whose id is the anchor in the list below (an anchor is a unit's first decks entry, or planned.id for a planned unit; ids, not line numbers). Two kanji entries never share an anchor, and every anchor is a non-kanji unit, so at least one other unit sits between two kanji units. Entry shape, with N filled in: - planned: { id: "ja-kanji-N", grammar: "script-kanji-N", words: 0 } then listening_passages: with - { id: "kanji-N-heard", text: { "en": "Hearing words whose kanji unit N teaches" } } then reading_passages: with - { id: "kanji-N-signs", text: { "en": "Reading signs and short lines that use the kanji taught up to unit N" } }. (3) No words, milestone or alphabet change: the entries count 0 words, the milestones stay on ja-kanji-1 (A1), ja-geography (A2) and ja-grammar-teineigo (B1), and the header comment's word totals stay. The rule: the 37 decks are spread evenly after ja-kanji-1: grades 1 to 4 (23 decks, ja-kanji-2 to 24) over the 39 non-kanji units between ja-help and ja-geography (anchor index floor(j x 39 / 23) minus 1, j = 1 to 23), grades 5 and 6 (14 decks, ja-kanji-25 to 38) over the 45 non-kanji units between ja-geography and ja-grammar-teineigo (index floor(j x 45 / 14) minus 1, j = 1 to 14). Anchors: ja-kanji-2 after ja-daily-life; 3 after ja-grammar-te-kudasai; 4 after ja-seasons; 5 after ja-grammar-te-iru; 6 after ja-grammar-conjunctions; 7 after ja-weather; 8 after ja-grammar-plain-present; 9 after ja-shopping; 10 after ja-grammar-adjective-past; 11 after ja-eating-out; 12 after ja-grammar-permission; 13 after ja-hobbies; 14 after ja-grammar-comparison; 15 after ja-music; 16 after ja-grammar-giving-receiving; 17 after ja-grammar-obligation; 18 after ja-chores; 19 after ja-verbs-3; 20 after ja-phone; 21 after ja-journey; 22 after ja-nature; 23 after ja-grammar-potential; 24 after ja-grammar-intention; 25 after ja-feelings; 26 after ja-grammar-quotation; 27 after ja-grammar-te-auxiliaries; 28 after ja-grammar-relative-clauses; 29 after ja-business; 30 after ja-manners; 31 after ja-cinema; 32 after ja-history; 33 after ja-festivals; 34 after ja-housing; 35 after ja-law; 36 after ja-onomatopoeia; 37 after ja-society; 38 after ja-verbs-5. When a kanji deck is later written its words come from the units before its anchor, so its examples are never circular. If the file differs from decks-live f7ec2370 (an anchor missing), stop and report. |
the path file | one path edit, 37 planned kanji entries, 5 removed | the path (batch 1) | everything else | B, first; PARALLEL with A and C |
| JA-002 | decks/ja-culture-2 | create ja-culture-2, layer ja-en-culture-2; edit creators/ja.yaml
|
RULE-CULT, 18 items. Ordered candidates (work, creator): 1 Tosa Nikki, Ki no Tsurayuki; 2 Taketori Monogatari, anonymous; 3 Genji Monogatari, Murasaki Shikibu; 4 a Kokin Wakashu waka, Ono no Komachi; 5 Tsurezuregusa, Yoshida Kenko; 6 Heike Monogatari, anonymous; 7 a Manyoshu poem, Kakinomoto no Hitomaro; 8 a Manyoshu poem, Otomo no Yakamochi; 9 a waka, Izumi Shikibu; 10 a haiku, Kikaku; 11 a haiku, Joso; 12 Sonezaki Shinju, Chikamatsu Monzaemon; 13 Fushikaden, Zeami; 14 Koshoku Ichidai Otoko, Ihara Saikaku; 15 Oraga Haru, Kobayashi Issa; 16 a Manyoshu poem, Yamanoue no Okura; 17 a Kokin Wakashu waka, Ki no Tomonori; 18 a Kokin Wakashu waka, Oshikochi no Mitsune; reserve 19 Fujiwara no Toshiyuki, 20 Henjo |
wiki/Plan-Culture-Japanese.md, ja-culture-1.yaml as the template |
18 cards, up to 18 creators, an era only if new | creators/ja.yaml (batch 1) | topics, recommendations, path | A, first; PARALLEL |
| JA-003 | decks/ja-proverbs-2 | create ja-proverbs-2, layer |
RULE-PV, 20 cards: the Edo iroha karuta proverbs in iroha order (starting from い), skipping those already in ja-proverbs-1 (list its ids and targets first), taking the first 20 whose text the builder read on the page |
ja.wikipedia page on the iroha karuta | 20 cards | none | creators, topics | C; PARALLEL |
| JA-004 | decks/ja-multiword-suru | create ja-multiword-suru-verbs, layer |
RULE-MW, pattern_family: "suru-verb". Selection: scan the cores of ja-work, ja-school, ja-business, ja-technology, ja-phone, ja-hobbies, ja-sports in that order, cards in id order, and take each pos: "noun" card whose entry on ja.wiktionary lists a noun plus する verb, until 20; the noun is written by ref, the card's target is the noun plus する (modern kana), words is the two parts. Fewer than 20 found: report the count, do not fill |
taught nouns of those decks | 20 cards | none | other | C after 003 |
| JA-005 | decks/ja-culture-3 |
ja-culture-3, layer, creators |
RULE-CULT, 18 items. Ordered candidates (work, creator): 1 Ichiaku no Suna, Ishikawa Takuboku; 2 Kaze no Matasaburo, Miyazawa Kenji; 3 Kumo no Ito, Akutagawa Ryunosuke; 4 a poem, Kaneko Misuzu; 5 a poem, Nakahara Chuya; 6 Lemon, Kajii Motojiro; 7 Takekurabe, Higuchi Ichiyo; 8 Maihime, Mori Ogai; 9 Botchan, Natsume Soseki; 10 Hashire Merosu, Dazai Osamu; 11 Kono michi, Kitahara Hakushu; 12 a tanka, Masaoka Shiki; 13 a tanka, Yosano Tekkan; 14 Yume Juya, Natsume Soseki (a second item for the creator, no new creator row); 15 a poem, Ishikawa Takuboku (second item, no new row); 16 a poem, Hagiwara Sakutaro (died 1942); 17 Gongitsune, Niimi Nankichi (died 1943); 18 a short story, Izumi Kyoka (died 1939); reserve 19 a second poem, Yosano Akiko; 20 a second poem, Miyazawa Kenji. Every item passes the floor check (died 1955 or earlier) or is dropped | as 002 | 18 cards | creators (batch 2) | as 002 | A; after 002 merges |
| JA-006 | decks/ja-proverbs-3 |
ja-proverbs-3, layer |
RULE-PV, 20 cards: the Kyoto and Osaka (Kamigata) iroha karuta proverbs in iroha order, skipping any whose meaning is already in proverbs-1 or -2, the first 20 whose text the builder read on the page | ja.wikipedia | 20 | none | C | |
| JA-007 | decks/ja-multiword-compound-2 |
ja-multiword-compound-verbs-2, layer |
RULE-MW, compound-verb. Pairs: the stem of a verb taught in ja-everyday-verbs, ja-more-verbs, ja-verbs-3 or ja-verbs-4 plus one of these second verbs: だす, すぎる, あう, かえる, なおす, こむ, あげる, おす, わすれる, きる, かける, つく. Take pairs in the order of that second-verb list and card ids, only those attested as compound verbs on ja.wiktionary, until 20, excluding the 8 targets of ja-multiword-compound-verbs
|
the decks named | 20 | none | C, PARALLEL with 005 | |
| JA-008 | decks/ja-culture-4 |
ja-culture-4, layer, creators |
RULE-CULT, 18 items. Ordered candidates (work, creator): 1 Kagome Kagome, anonymous; 2 an Edo lullaby, anonymous; 3 Soran Bushi, anonymous; 4 Kuroda Bushi, anonymous; 5 a poem from Sankashu, Saigyo; 6 a Shin Kokinshu poem, Fujiwara no Teika; 7 to 14 eight Hyakunin Isshu poems by eight different poets not used in 002, 005 or earlier, taken in poem-number order, skipping poets whose dates are unknown; 15 Ise Monogatari, anonymous; 16 Sarashina Nikki, the daughter of Sugawara no Takasue; 17 Ukigumo, Futabatei Shimei (died 1909); 18 the Kana preface of Kokin Wakashu, Ki no Tsurayuki; reserve 19 Konjaku Monogatari, anonymous; 20 a second Saigyo poem. Visual and music works are not culture cards (no text to show): they go to recommendations | 18 | creators (batch 2) | A after 005 | ||
| JA-009 | decks/ja-multiword-idioms |
ja-multiword-idiomatic-verbs, layer |
RULE-MW, pattern_family: "idiomatic-verb". The 20 targets, in kana: きになる, きにいる, きをつける, きがつく, きにする, めがあう, めをとおす, めをさます, てがかかる, てをかす, てをぬく, くちがかるい, くちをだす, あたまにくる, あたまをひやす, はなにつく, みみにする, ほねがおれる, うでをみがく, かおがひろい; one that ja.wiktionary or ja.wikipedia does not attest is dropped and replaced, in order, by きがきく, めがたかい, みみがいたい. Meaning not literal; the literal reading in a usage note |
20 | none | C | ||
| JA-010 | decks/ja-topics-culture | edit ja-topics.yaml
|
add 8 culture topics (haiku, waka and tanka, classical prose, Heian court, Edo literature, school songs, proverbs, modern literature): each summary in English, decks and cards of the culture, proverb and multiword decks that exist |
merged culture decks | 8 topics |
ja-topics.yaml (batch 3) |
A | |
| JA-011 | decks/ja-topics-kanji | edit ja-topics.yaml
|
6 kind: "script" topics, one per grade: decks and chars copied from the merged kanji decks (no char taught in none of them) |
merged kanji decks | 6 topics |
ja-topics.yaml (after JA-010) |
B, after the grade decks merge | |
| JA-012 | decks/ja-recommendations-2 | edit recommendations/ja.yaml, creators/ja.yaml
|
20 works not in the public domain (film, series, book, song, play, comic), the shape of the nine existing, 3 to 8 questions each, no quote, no link unless checked; creators added where needed | the file | 20 entries | recommendations, creators (batch 3) | A | |
| JA-013 | decks/ja-situations-2 | edit ja-situations.yaml, layer |
4 sheets (hotel, post and bank, greetings and apologies, emergencies), widely used words and phrases only, no over-translation | situations rules | 4 sheets | situations file | C | |
| JA-014 to 022 | decks/ja-notes-1 to -9 | edit the cores and layers named | RULE-NOTE. The files per task (cards without notes in brackets): 014 about-me 6, addressing 6, adjectives-2 14, adverbs 6, animals 10, appearance 17, arts 8, body 8, business 8, calendar 10, careers 8, chores 18 (all -sentences) plus ja-calendar 2; 015 cinema, clothes, cooking, daily-life, demonstratives, describing, directions, eating-out, emergencies, environment, everyday-verbs, family, feelings sentences, plus ja-clothes, ja-demonstratives, ja-family 1 each; 016 festivals, food, geography, government and the grammar sentences case-particles to more-particles; 017 grammar sentences nagara-tari to te-kudasai, groceries, health; 018 help to market sentences; 019 more-verbs to quantities sentences plus ja-numbers-1-20 2, ja-pronouns 1; 020 questions to things sentences plus ja-questions, ja-seasons 1; 021 time to workplace sentences; 022 ja-en-hiragana (40 cards: a note on the sound or the look-alike) |
the named files | notes where a point exists | none | other files | any lane, PARALLEL with all |
| JA-023 to 029 | decks/ja-unit-money, -society, -university, -food-culture, -literature, -verbs-5, -abstract-words | the unit's files (RULE-UNIT) | order: money 45 words, society 50, university 50, food-culture 50, literature 50, verbs-5 50, abstract-words 55; the rules rows | the path entries | per unit: core, layer, sentences, reading, rules rows, path entry | path and the rules decks (serial) | D, serial | |
| JA-030 to 038 | decks/ja-gram-conjunctions, -adjective-past, -likes, -comparison, -relative, -sonkeigo, -kenjougo, -transitivity, -teineigo | RULE-UNIT | grammar units as planned in the path | the path entries | per unit: rules core, layer, sentences, reading | path and rules decks (serial) | D, serial after 029 | |
| JA-039 | decks/ja-ipa-family | edit ja-family.yaml
|
add the broad ipa to the 6 cards, by tools/transcribe.py ja
|
6 cards | last-batch prep, PARALLEL | |||
| JA-040 | decks/ja-phonetics-rules | create decks/ja/ja-phonetics.yaml
|
Sonnet. kind: "phonetics", ordered regex rules over the broad ipa, each with a source; only well-attested rules (vowel devoicing, moraic nasal assimilation, the usual allophones), nothing guessed. The validator's IPA test refuses U+1D5D (compressed-vowel mark): use combining marks only, and report if a rule needs it |
the Plan-Ipa page, decks/es/es-phonetics.yaml as the shape |
one rules file | last | ||
| JA-041 | decks/ja-ipa-run | edit every decks/ja/** file via the tools |
run tools/import_phonetic.py ja --write, then tools/derive_phonetic.py ja --write, report counts (filled, unchanged, invalid) |
JA-040 merged, every content PR merged |
phonetic and phonetic_source on every card; no hand edit |
every decks/ja file |
last, serial | |
| JA-042 to 044 | decks/ja-queue-1 to -3 | edit docs/review-queue/ja.md
|
append the rows from the reports of the batch, one line each, table shape of the file | the reports | rows | the file | after each batch | |
| JA-045 | main, docs | edit the build-deck skill (narrow IPA tools exist, ja is waiting for a rules file), the #378 checklist, Plan-Language-Completeness
|
straight to main | the audit above | 3 edits | docs | ||
| JA-046 | decks/ja-facts | create decks/ja/ja-facts.yaml
|
Deck-Format "Facts files": 30 short, true, surprising facts, each tagged, each read from a ja.wikipedia page; uncertain ones left out | one file | C |
Each is a separate issue to open (owner: "For each blocker create separate issues"), and each is language-agnostic. Checked and not blockers: conjunction and particle tables (Bengali and Assamese built conjunctions as vocab decks with a set card, and ja-grammar-case-particles is a rules deck), the narrow-IPA deriver (tools/derive_phonetic.py, per-language decks/<lang>/<lang>-phonetics.yaml, built for es, bn, hi), the kanji format (ADR-0053, target_scripts, #994), and the source-it-yourself recommendations (built in the app).
- Title: Script-unit cards carry structured character data: readings by kind, level, strokes, radical.
-
Generic mechanism: an optional
characterblock on a card of a script deck:readings(a list of{ kind, text, reading }),level(a named scheme and its value),strokes(a number),radical(a character). The model, the parser, the validator and Deck-Format get it. Today a kanji's on and kun readings, and a hanzi's, are only prose in a layer's note, so no filter, no question and no search can use them. -
Data a language supplies: the reading kinds it has, with names for the app (
on,kunfor Japanese;pinyinfor Chinese), the script each kind's text is written in, and its level schemes (grade,jlpt;hsk). The language entry or the path carries them; no language name appears inlib/ortools/. -
Languages that would use it: Japanese (1,026 kanji), Chinese (the
characters-Ndecks), Cantonese, Korean hanja. -
Fixture:
zzwith a character deck of three cards (two readings kinds, one with a level and strokes), one card with a reading in the wrong script (error), one with a negative stroke count (error), a layer carrying the prose as before. -
AGENTS.md fit: a language is data (kinds and schemes are data);
lib/corestays Flutter-free; a new card field is refused by released apps, so the deck files that use it carry adecks/min_app.jsonentry (ADR-0052); card ids untouched; tests check behaviour. Until it lands, the kanji tasks keep the readings in the fixed note shape, and a later task migrates them.
- Title: A path can gate a script: a card or example may use only the characters already taught.
-
Generic mechanism: a path declares, per script,
character_gating: { script, mode }(warnorerror) with an optional allow-list. For each unit position the validator computes the set of characters taught so far by the path's character decks (script-tagged decks inalphabet, one character per card) and checks every target, example andtarget_scriptsspelling in a unit at that position: a character of a gated script not yet taught is reported. A card whose spelling is written in another script of the language (kana) is not checked. - Data a language supplies: the gated script ids, the mode, the allow-list (a character that is taught outside a deck, such as a repeat mark).
- Languages that would use it: Japanese (kanji), Cantonese and Chinese if their courses gate hanzi, Korean for hanja.
-
Fixture:
zzpath with a character unit of two characters; a sentence in a later unit using only those: ok; a sentence using a third: error; the same sentence in a unit before the character unit: error;mode: warnturns the error into a warning; a sentence in the language's other script: ok. -
AGENTS.md fit: pure data in the path; no language branch in the validator; the existing checks are untouched when
character_gatingis absent, so no existing deck changes;lib/coreuntouched. It turns the builder rule of JA-1nn ("show a kanji only if taught") into a CI check.
-
Title: A script topic's
charsmust match the cards of itsdecks, and a tool writes them. -
Generic mechanism: for a topic of
kind: "script"that listsdecks, the validator checks that every character incharsis thetargetof a card of those decks (or ascript_unitsfeature) and that no single-character card of those decks is left out;tools/topic_chars.py <lang>writescharsfrom the decks, so a topic of 200 kanji is never copied by hand. Todaycharsis only checked for shape (validate_decks.py, the topics checks), so a copy error ships. -
Data a language supplies: none beyond the topic's own
decks. - Languages that would use it: every language with script topics: Japanese (hiragana, katakana, six kanji grades), Bengali, Hindustani, Telugu and the other Indic scripts, Chinese.
-
Fixture:
zztopics file: a topic whosecharsmatch its deck (ok), one with an extra character (error), one missing a card's character (error), one with onlyscript_units(ok); the tool run on a copy writes the matching list. - AGENTS.md fit: a generic tool and a generic check driven by existing data; no new card field; stdlib and PyYAML only like the other tools; tests added beside the tool.
Counts above come from reading every decks/ja/*.yaml on decks-live with PyYAML (cards, notes, ids, ipa, phonetic) and the path file. The grade 1 and 2 lists were counted (80 including the seven built, 160) with no repeats. The culture, proverb and multi-word candidate lists name works and creators only; their dates and legal basis are read by the builder from the creator's Japanese Wikipedia page, as in Plan-Culture-Japanese, and the reviewer owns the legal opinion. Nothing in this page was run through the validator; CI does that on each pull request.
1. Learner guides
- Learner Guide
- Getting Started
- Today and Daily Lessons
- Drills and Skills
- Courses and Paths
- Proficiency Levels
- Scripts and Readings
- Readings ISO 15919
- Speaking and Listening
- Progress and Stats
- Profiles and Settings
- Backup and Restore
- Reporting a Problem
2. Deck building guides
- Deck Building Guide
- Deck Format
- Private Language Package
- Romanising Indic Languages
- Deck Licences and Quoted Books
- Deck Tools
3. Review guides
4. Translation guide
5. Building on iOS
6. Roadmap
7. Sources and attributions
8. Contribution and agentic coding