Skip to content

feat(config): manage named ignore-word dictionaries (#1048) - #1047

Merged
athvin merged 3 commits into
mainfrom
issue/522-dictionaries-preprocessing
Nov 9, 2026
Merged

athvin merged 3 commits into
mainfrom
issue/522-dictionaries-preprocessing

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1048

Part of #522; the broader epic remains open for reusable named directed replacement dictionaries.

🚧 Claimed by an agent session — 2026-11-09T11:39:58.977838+00:00, session Codex:01a1be1b-0c92-7703-a4c2-25cb2c999baa on Mac-26.lan.
The claim is this open draft PR: closing it releases the ticket.

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Config studio now manages named ignore-word lists through the existing API. Viewers can read; stewards and admins can add/remove words and save a rebuild. The editor preserves drafts on failed saves/refreshes, resets them on dataset navigation, and paginates long lists.

Why

The ignore-word backend shipped in #799, but its dictionary-management UI was absent. This closes child #1048; #522 stays open for reusable named directed replacement dictionaries.

Proof

make frontend passed with the final product code (653 browser tests, 133 existing skips), as did make frontend-audit and make skills-check. After splitting the CI-sensitive journey into independent fixtures, all 12 dictionary journeys passed on desktop Chromium, mobile Chrome and mobile Safari both locally and in the pinned Linux container. Three component regressions pass; dataset-reset and refresh failures were observed before their fixes. All three Linux Config studio visual baselines compare successfully.

Risk & rollback

Saving replaces the existing list and queues a full rebuild for the addressed dataset. Configured dictionary files may be shared across datasets; the editor and guide state this existing behavior. Revert the merge to remove the UI; backend APIs and stored dictionaries remain available.

Post-merge ledger

Closed by: Codex · session Codex:01a1be1b-0c92-7703-a4c2-25cb2c999baa on Mac-28.lan · 2026-11-09T12:47:17Z · runtime evidence reconciled 2026-11-09T15:26:02.162453+00:00 by Codex on Mac-28.lan.

Specific to this change

Context — plan, discoveries, measurements, files

Plan

  • Audit existing nickname, ignore-word and inline replacement capabilities; retain E6 — Dictionaries and preprocessing #522 for the missing reusable directed replacement registry.
  • Add the paginated editor and query hooks through the existing authorized BFF route; register config.dictionary.save in the closed telemetry vocabulary.
  • Cover viewer denial, steward writes, validation, empty sets, failed reads/saves, cached refresh and dataset changes. Register readiness in the existing axe screen and update Linux baselines.
  • Document actual preprocessing behavior and storage sharing; regenerate the table inventory. Run the local frontend, supply-chain and skill gates.
  • Independent instrumentation and reuse reviews returned no findings. All 15 exact-head required contexts were green with all detect jobs successful; merged d1ebf455.
  • Complete the post-merge watch and reconcile the ledger, retaining the blocked independent runtime-log item above.

Audit and limits

er-config::TransformRule::Dictionary supplies inline exact-value maps; IgnoreWords references a named stop-word set. er-std::ignore_words canonicalizes and fingerprints rows; #799 supplies the Acme PTY engine test. Nickname pairs are symmetric, not general directed replacements. The existing dictionary file can be shared across datasets despite a dataset URL, so this delivery does not promise isolated per-dataset storage.

Validation details

The editor keeps a nullable draft over the latest query data: pristine lists refresh, unsaved changes survive refresh failures, and a dataset key remount discards another dataset's draft. A constant-key negative probe failed the route-switch regression; a stale copied-state implementation failed the refresh regression. Both pass with the final implementation.

Initial Linux WebKit CI exposed a long mutable journey and retry contamination. The final tests seed independent small sets through the real BFF and separate empty-list persistence from add/save recovery. The pinned Linux run passed all 12 cases in 15.5 seconds; its longest WebKit journey was 10 seconds. Timeouts and assertions were preserved.

The backend interface is unchanged, so no backend implementation or schema regeneration is needed. Existing engine/Postgres evidence is documented in the configuration guide. Fresh reviews are read-only and do not substitute for test gates.

@athvin athvin mentioned this pull request Nov 9, 2026
7 tasks done
@athvin athvin changed the title feat(preprocessing): complete named dictionary support (#522) feat(config): manage named ignore-word dictionaries (#522) Nov 9, 2026
@athvin athvin changed the title feat(config): manage named ignore-word dictionaries (#522) feat(config): manage named ignore-word dictionaries (#1048) Nov 9, 2026
@athvin
athvin marked this pull request as ready for review November 9, 2026 12:04
@athvin
athvin merged commit d1ebf45 into main Nov 9, 2026
51 of 53 checks passed
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.

Complete named ignore-word dictionary management in Config studio

2 participants