Add audit plan for slugify branch pass 3 and implement critical fixes

- Introduced a comprehensive audit plan for the slugify branch, detailing findings from a holistic review of 110 files, including 1 critical bug and 2 correctness issues.
- Completed todos addressing model JSON renaming, syncback updates, and test enhancements for roundtrip fidelity.
- Added tests for reserved names and ensured correct handling of slugified instances, preserving compound extensions in model files.
- Refactored change processing logic to correctly manage the `name` field in model files, enhancing metadata handling and ensuring compliance with round-trip identity standards.
This commit is contained in:
Joe 2026-02-11 01:31:09 -06:00
parent 2a917bf8e1
commit bb266789c0
14 changed files with 843 additions and 23 deletions

View file

@ -0,0 +1,30 @@
---
source: tests/tests/build.rs
expression: contents
---
<roblox version="4">
<Item class="DataModel" referent="0">
<Properties>
<string name="Name">reserved_name_override</string>
</Properties>
<Item class="ReplicatedStorage" referent="1">
<Properties>
<string name="Name">ReplicatedStorage</string>
</Properties>
<Item class="ModuleScript" referent="2">
<Properties>
<string name="Name">CON</string>
<string name="Source"><![CDATA[return "I am CON"
]]></string>
</Properties>
</Item>
<Item class="ModuleScript" referent="3">
<Properties>
<string name="Name">PRN</string>
<string name="Source"><![CDATA[return "I am PRN"
]]></string>
</Properties>
</Item>
</Item>
</Item>
</roblox>

View file

@ -0,0 +1,10 @@
{
"name": "reserved_name_override",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"$path": "src"
}
}
}

View file

@ -0,0 +1 @@
return "I am CON"

View file

@ -0,0 +1,3 @@
{
"name": "CON"
}

View file

@ -0,0 +1 @@
return "I am PRN"

View file

@ -0,0 +1,3 @@
{
"name": "PRN"
}