🏗️ refactor(kebab-app): consolidate PARSER_VERSION + clarify intent (fb-27)

Replace kebab-app's private `KEBAB_PARSE_MD_VERSION` literal with a
direct reference to `kebab_parse_md::PARSER_VERSION` so the parser
version cascade has a single source of truth (design §9 invariant).

Add maintenance comment on schema.rs WIRE_SCHEMAS const pointing to
docs/wire-schema/v1/ + kebab-cli wire helpers as the authoritative
sources to keep in sync.

Tighten open_existing doc comment to match the actual SQLITE_OPEN_READ_WRITE
flag (needed for WAL pragma application) — callers should still avoid
issuing mutations through this connection.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-05-07 11:58:06 +09:00
parent 39b4433549
commit 61aae1c1d5
3 changed files with 6 additions and 19 deletions

View File

@@ -79,9 +79,9 @@ impl SqliteStore {
///
/// Unlike [`Self::open`], this does NOT create the file — if it is
/// missing, returns a [`NotIndexed`] signal suitable for `error.v1`
/// translation. Stores returned by this method are intended for read-only
/// introspection (`schema_with_config`); use [`Self::open`] for any path
/// that calls `put_asset_with_bytes`.
/// translation. Opens read-write to support WAL pragmas; callers should
/// not issue mutations through this connection — use [`Self::open`] for
/// ingest paths.
///
/// **Does not run migrations** — call [`Self::run_migrations`] next if
/// you need the schema initialised.