feat(wiki): add per-wiki glossary API - #29
Merged
ethenotethan merged 1 commit intoSep 4, 2026
Merged
Conversation
This was referenced Sep 4, 2026
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.
Summary
wiki.glossaryandwiki.glossary.updatefor selected registered wikisglossary.yamlpolicies withcanonicalizeandstrictmodesif_matchconcurrencyContract
Policy remains wiki-local at
<wiki-root>/glossary.yaml. Missing files preserve pre-feature behavior. Malformed files fail closed. The RPC accepts configured wiki names only; it never accepts arbitrary filesystem paths.Verification
python -m pytest -q tests/tui_gateway/test_wiki_glossary.py tests/tui_gateway/test_wiki.py— 46 passedpython -m ruff check .— passedpython -m ruff format --check tui_gateway/wiki_glossary.py tests/tui_gateway/test_wiki_glossary.py— passedKnown unrelated CI failures
The full repository matrix is red in unchanged code for:
tests/tools/test_code_execution.py: terminal stub omits the existingservice_code_controlschema fieldtests/skills/test_authoring_standards.py: existingllm-wiki-nativedescription exceeds the 60-character hardlinetests/test_tui_gateway_server.pyassertions still expect onlybflalthoughlearningis auto-enabledThe glossary test file, wiki regressions, Ruff gates, Windows footgun gate, Windows tests, e2e, OSV, and supply-chain checks pass.
Companion
Portal companion: ethenotethan/portal#471