Update reflection database and enhance deduplication processes

- Updated the `rbx-dom` subproject to the latest commit for improved functionality.
- Enhanced the `/audit` command documentation to emphasize the importance of entering Plan mode before executing any actions.
- Improved the `atlas-dedup.mdc` file by adding details on user-initiated renames and ensuring ref path integrity during deduplication.
- Cleared out deprecated material color entries in `allValues.json` for better clarity.
- Updated `database.json` to reflect new properties and classes, including `AssetQualityService` and `BaseCoreGuiConfiguration`.
- Introduced new scripts for updating the reflection database, streamlining the process for generating necessary files.

These changes improve the overall functionality and maintainability of the project, ensuring better handling of deduplication and reflection updates.
This commit is contained in:
Joe 2026-02-17 07:12:00 -06:00
parent 85787f3452
commit 0afe6be441
12 changed files with 3220 additions and 283 deletions

View file

@ -0,0 +1,32 @@
#!/usr/bin/env bash
# Update Reflection Database
# Regenerates database.msgpack (Rust) and database.json (Lua) from Roblox Studio.
# Requires: Roblox Studio installed locally.
# Usage: bash scripts/update-reflection.sh [--dry-run]
set -e
cd "$(dirname "$0")/../rbx-dom"
if [ "$1" = "--dry-run" ]; then
echo "Dry run: generating reflection database (no output files)"
cargo run --bin rbx_reflector -- generate --patches patches
else
echo "Generating reflection database..."
cargo run --bin rbx_reflector -- generate --patches patches rbx_reflection_database/database.msgpack rbx_dom_lua/src/database.json
echo "Generating allValues.json..."
cargo run --bin rbx_reflector -- values rbx_dom_lua/src/allValues.json
echo "Copying to plugin/rbx_dom_lua/..."
cp rbx_dom_lua/src/database.json ../plugin/rbx_dom_lua/database.json
cp rbx_dom_lua/src/allValues.json ../plugin/rbx_dom_lua/allValues.json
cp rbx_dom_lua/src/Error.lua ../plugin/rbx_dom_lua/Error.lua
cp rbx_dom_lua/src/base64.lua ../plugin/rbx_dom_lua/base64.lua
cp rbx_dom_lua/src/PropertyDescriptor.lua ../plugin/rbx_dom_lua/PropertyDescriptor.lua
cp rbx_dom_lua/src/customProperties.lua ../plugin/rbx_dom_lua/customProperties.lua
# NOTE: init.lua and EncodedValue.lua are intentionally different in the plugin
# (findClassDescriptor, Int64/msgpack handling, float serialization) — do NOT copy them.
fi
echo "Done."