702 B
702 B
Future Enhancements
Dynamic Key Names
LocalData currently enforces exact, statically-registered key names for auditability. If we decide to allow dynamic names later (e.g., per-account keys), the suggested design is:
- Add a name rule type (e.g.,
StorageKeyNameRule) that supportsexactandprefixmatching. - Extend
StorageKeyEntryto carry a name rule. - Update catalog registration to validate overlapping rules and duplicates.
- Update
StorageRoutervalidation to accept keys that match the registered rules. - Require a catalog entry that documents the dynamic name pattern and rationale.
This keeps audit behavior explicit while allowing a controlled, documented escape hatch.