Conversation
Derive a UI / resource-governance database from datadict.db (read-only input): - Categories -> Groups -> UI_DataItems (3-level hierarchy). - Group = entity (Name's prefix); the 43 transient wizard/junction entities collapse into one `Wizard` group; gs1 kept as its own group. 120 groups. - UI_DataItems.Name reduced to the field (Wizard keeps full path). All items UTF-8 with implied DataType; CharLength per default policy; ByteLength = CharLength*4; ValidationSpecs = source mask (GS1) or generated from type/allowed-values/scale. CategoryID lives on Groups (modal for gs1/Wizard). - Idempotent: rebuilt from scratch each run. 12 cats / 120 groups / 3688 items. CHANGELOG [Unreleased] updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cloud3000
added a commit
that referenced
this pull request
Jun 28, 2026
Note the UI/governance projection database and generator (#49). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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
Adds a UI / resource-governance projection of the dictionary, derived from
datadict.db(which stays untouched, read-only input).Schema: Categories → Groups → UI_DataItems
Nameprefix). The 43 transientwizard/junction entities collapse into a single
Wizardgroup;gs1iskept as its own group. 120 groups total.
CategoryIDlives on Groups(each group is one category; multi-category
gs1/Wizarduse their modalcategory). Column is
Groupname(not the reserved wordGroup).Namereduced to the field (Wizard items keep the fullsource path). All items UTF-8 with an implied
DataType:CharLengthby policy (declared VARCHAR length else 255; types otherwise),ByteLength = CharLength * 4(UTF-8 worst case),ValidationSpecs= the source mask (e.g. GS1N18,csum,gcppos2) whenpresent, else generated from type / allowed values / scale.
Verification
ByteLength = CharLength*4: 0 violations; ValidationSpecs on 3,681/3,688(7 blanks are
BLOB).tools/build_ui_dict.pyis idempotent (rebuildsui_datadict.db+ui_datadict.sqlfrom scratch).CHANGELOG
[Unreleased]updated.🤖 Generated with Claude Code