Repository navigation
feat(config): manage named ignore-word dictionaries (#1048) - #1047
Merged
Merged
Conversation
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1048
Part of #522; the broader epic remains open for reusable named directed replacement dictionaries.
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 frontendpassed with the final product code (653 browser tests, 133 existing skips), as didmake frontend-auditandmake 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-25cb2c999baaonMac-28.lan· 2026-11-09T12:47:17Z · runtime evidence reconciled 2026-11-09T15:26:02.162453+00:00 by Codex onMac-28.lan.mainis green with this change on it — mergedd1ebf4555d4ab3d942cd9f5dd109ed2b078d2bb4at 2026-11-09T12:16:36Z. Ancestry and editor presence verified. Rust 42615656140, frontend 42615656145, infra 42615656261, and devcontainer 42615656292 succeeded. No new related failures through 2026-11-09T12:47:17Z, beyond the 30-minute watch.images— 42615656263 succeeded; the new web image was built ford1ebf455. API image reuse was verified by unchanged Rust/Dockerfile/entity inputs.deploy— descendant06bc5f0d31879af9c3007d814ffcb1acbbb9d5e7contains this merge (ancestry verified). Deploy 42639904666 cut prod to blue and dev to green. Independent CloudWatch Logs Insights readback founder-server listeningfrom prodapp.web-api-blue-59f8bbcbbb-vhd24.er-serverat 15:00:11.353Z (query1289ab65-8954-43c5-bc79-9524c430c81b) and devci.web-api-green-557958f6cb-csvzk.er-serverat 14:59:50.436Z (queryfd2d28bc-d3f6-4655-aecc-c985b1f65ca4), 2026-11-09. Evidence was collected by the independent production-readiness audit and recorded in PR #1051; this reconciliation rechecked merge ancestry..claude/skills/er-engine-ops/references/configuration.mdexplains current preprocessing behavior and file-sharing scope;.claude/skills/frontend-data-ui/references/dense-surfaces.mdrecords the added paginated surface.Specific to this change
Context — plan, discoveries, measurements, files
Plan
config.dictionary.savein the closed telemetry vocabulary.d1ebf455.Audit and limits
er-config::TransformRule::Dictionarysupplies inline exact-value maps;IgnoreWordsreferences a named stop-word set.er-std::ignore_wordscanonicalizes and fingerprints rows; #799 supplies theAcme PTYengine 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.