From 399f0d428050ee104f16e8d4a289b65a4a68eb13 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 27 Jul 2026 20:20:34 +0200 Subject: docs: record autoselect metadata flag in national-bibles spec+plan --- docs/superpowers/specs/2026-07-27-lectio-national-bibles-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/superpowers/specs') diff --git a/docs/superpowers/specs/2026-07-27-lectio-national-bibles-design.md b/docs/superpowers/specs/2026-07-27-lectio-national-bibles-design.md index 96b61f9..adc5ac0 100644 --- a/docs/superpowers/specs/2026-07-27-lectio-national-bibles-design.md +++ b/docs/superpowers/specs/2026-07-27-lectio-national-bibles-design.md @@ -10,7 +10,7 @@ - **Corpus text format:** 6 tab-separated columns, exactly, UTF-8, one row per verse: `Book · Abbrev · BookNum · Chapter · Verse · Text`. Rows whose column count != 6 are skipped by the loader (existing behaviour, unchanged). - **`Book` column:** the canonical English book name, and it MUST be a member of the canonical book set (the 73 keys in `internal/bible/books.ini`). Lookups key on this column; `Abbrev` (col 2) and `BookNum` (col 3) are informational and ignored by the loader. -- **Metadata sidecar:** `.ini`, full-line-comment INI (parsed by `internal/ini`), keys: `lang` (required), `name` (required), `psalm_system` (required: `vulgate`|`hebrew`|`drb`), `sigla` (optional, a `books.ini` dialect id). +- **Metadata sidecar:** `.ini`, full-line-comment INI (parsed by `internal/ini`), keys: `lang` (required), `name` (required), `psalm_system` (required: `vulgate`|`hebrew`|`drb`), `sigla` (optional, a `books.ini` dialect id), `autoselect` (optional, default `true`). `autoselect = false` excludes a corpus from language auto-match (reachable only via explicit `reading_version`/`--ref`) — the built-in `wuj` sets this because it is incomplete, so Polish is not silently re-served the defective Wujek; a corrected Wujek drop-in auto-serves. - **Delivery:** both compile-in (glob `go:embed` + Makefile validate/embed) and runtime drop-in (a user directory, overrides built-ins). Same format and validator for both. - **User corpus directory:** `~/.config/lectio/corpora/` (consistent with `~/.config/lectio/calendars/`; see Open Decision D1). - **Selection order (offline reading text):** `reading_version` (explicit corpus code) → corpus whose `lang` matches `reading_lang` → corpus whose `lang` matches `ui_language` → Latin `vul` fallback. Defaults preserved via the `ui_language` step (en→drb; pl→no pl corpus→vul). -- cgit v1.3