# UnifiedWriter v5.66.6 Module Filename Standardization

## Purpose

This build aligns UnifiedWriter with the iToolkits app development policy v1.9 and UnifiedControl dev-0.7.2 naming rule.  All AMD module physical files under `scripts/` use `lower_snake_case.js`.  JavaScript class names and public API names remain unchanged.

## Applied rules

- `scripts/**/*.js` physical module filenames use `lower_snake_case.js`.
- AMD dependency paths use the same lower_snake_case module ids.
- Public class names such as `EditorControl`, `WorkbenchControl`, `LegacyRuntime`, `StateStore` and `FileIoService` remain PascalCase.
- Host-facing API names such as `createEditorControl()` and `createWorkbenchControl()` remain camelCase.
- UnifiedControl is not copied into this package.  The Demo / Host config maps the `UnifiedControl` alias to the UnifiedControl package root `scripts` directory.
- UnifiedWriter imports the base Control module through `UnifiedControl/controls/control`, matching UnifiedControl dev-0.7.2.

## Renamed runtime modules

| Old file | New file |
|---|---|
| `scripts/controls/EditorControl.js` | `scripts/controls/editor_control.js` |
| `scripts/controls/WorkbenchControl.js` | `scripts/controls/workbench_control.js` |
| `scripts/controls/LegacyRuntime.js` | `scripts/controls/legacy_runtime.js` |
| `scripts/core/controlContracts.js` | `scripts/core/control_contracts.js` |
| `scripts/core/commandBus.js` | `scripts/core/command_bus.js` |
| `scripts/core/editorCore.js` | `scripts/core/editor_core.js` |
| `scripts/core/eventBus.js` | `scripts/core/event_bus.js` |
| `scripts/models/StateStore.js` | `scripts/models/state_store.js` |
| `scripts/services/FileIoService.js` | `scripts/services/file_io_service.js` |
| `scripts/commands/DefaultCommands.js` | `scripts/commands/default_commands.js` |
| `scripts/addons/docxIO.js` | `scripts/addons/docx_io.js` |
| `scripts/addons/findEx.js` | `scripts/addons/find_ex.js` |
| `scripts/addons/miniTools.js` | `scripts/addons/mini_tools.js` |
| `scripts/app/jquery.ui-shell.js` | `scripts/app/ui_shell.js` |
| `scripts/app/jquery.unified-writer.js` | `scripts/app/unified_writer.js` |
| `scripts/app/phaseB-bootstrap.js` | `scripts/app/phase_b_bootstrap.js` |
| `scripts/app/uwpsx-package.js` | `scripts/app/uwpsx_package.js` |
| `scripts/docio/docIO.js` | `scripts/docio/doc_io.js` |
| `scripts/layout/layoutEngine.js` | `scripts/layout/layout_engine.js` |
| `scripts/storage/storageAdapter.js` | `scripts/storage/storage_adapter.js` |

## Host impact

Normal Host integrations should continue to load `UnifiedWriter/main`.  Direct references to internal modules must use the new lower_snake_case paths.
