From 4f64cf3d38c7e32cb265cb365e3e4bf2ee393f15 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 16 Jul 2026 14:48:12 +0000 Subject: [PATCH] =?UTF-8?q?docs(adr):=20renumber=20pinyin-search=20ADR=200?= =?UTF-8?q?097=20=E2=86=92=200098=20=E2=80=94=20resolve=20the=20second=200?= =?UTF-8?q?097=20collision?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The #3032 status-hygiene sweep renumbered the declarative-connector ADR 0096 → 0097 (the execution-surface ADR kept 0096), but the pinyin-search ADR had landed as 0097 on the same day — recreating the exact collision one slot up. Same resolution policy as #3032: the connector ADR keeps 0097 (its renumber is already propagated through code comments, tests, and zod strings), and the newer pinyin ADR moves to the free 0098 slot. Pinyin-semantic references were audited repo-wide and updated in the only three places they exist: the ADR file itself (renamed + title), the OS_SEARCH_PINYIN_ENABLED entry in content/docs/deployment/ environment-variables.mdx, and the pending pinyin-search-companion changeset (unreleased, so safe to edit). The pinyin implementation's code comments cite ADR-0045/0049/0061/0079/0093 only — no code changes needed. All 125 connector-semantic ADR-0097 references are untouched; CHANGELOG history is left as historical record (same as #3032). Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Pbmw3pMqNJfPbkvwh9Fkjs --- .changeset/pinyin-search-companion.md | 2 +- content/docs/deployment/environment-variables.mdx | 2 +- ...mpanion-column.md => 0098-pinyin-search-companion-column.md} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/adr/{0097-pinyin-search-companion-column.md => 0098-pinyin-search-companion-column.md} (98%) diff --git a/.changeset/pinyin-search-companion.md b/.changeset/pinyin-search-companion.md index ca9fd06d6..3ca6f9e95 100644 --- a/.changeset/pinyin-search-companion.md +++ b/.changeset/pinyin-search-companion.md @@ -5,7 +5,7 @@ '@objectstack/cli': minor --- -Generic pinyin search recall (#2486, ADR-0097): a locale-gated +Generic pinyin search recall (#2486, ADR-0098): a locale-gated `OS_SEARCH_PINYIN_ENABLED` switch (auto-on when the stack configures any `zh-*` locale) provisions a hidden `__search` companion column for each object's display/name field at compile time, the new diff --git a/content/docs/deployment/environment-variables.mdx b/content/docs/deployment/environment-variables.mdx index c0e83e4af..cb6186cb5 100644 --- a/content/docs/deployment/environment-variables.mdx +++ b/content/docs/deployment/environment-variables.mdx @@ -237,7 +237,7 @@ OS_MCP_SERVER_ENABLED=true os start # additionally auto-start the stdio tran ## Search -Pinyin recall for `$search` (ADR-0097): with the switch on, every object's +Pinyin recall for `$search` (ADR-0098): with the switch on, every object's display/name field gets a hidden, platform-maintained companion column storing full pinyin + initials ("张伟" → "zhangwei zw"), so lookup pickers, list quick-search and ⌘K match `zhangwei` / `zw` against CJK names — transparently, diff --git a/docs/adr/0097-pinyin-search-companion-column.md b/docs/adr/0098-pinyin-search-companion-column.md similarity index 98% rename from docs/adr/0097-pinyin-search-companion-column.md rename to docs/adr/0098-pinyin-search-companion-column.md index 8086ec111..65af56c94 100644 --- a/docs/adr/0097-pinyin-search-companion-column.md +++ b/docs/adr/0098-pinyin-search-companion-column.md @@ -1,4 +1,4 @@ -# ADR-0097: Pinyin Search via a Locale-Gated Companion Column +# ADR-0098: Pinyin Search via a Locale-Gated Companion Column - **Status**: Accepted - **Date**: 2026-07-16