Skip to content

Commit 33594a2

Browse files
author
DavidQ
committed
Audit final cleanup lane before new updates - PR_26140_081-final-cleanup-lane-audit
1 parent 01500f0 commit 33594a2

2 files changed

Lines changed: 63 additions & 8 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# PR_26140_081 Final Cleanup Lane Audit
2+
3+
## Summary
4+
- Read `docs/dev/PROJECT_INSTRUCTIONS.md`.
5+
- Performed the final cleanup-lane audit.
6+
- Found one active leftover internal barrel import in `tests/final/DeveloperToolingSystems.test.mjs`.
7+
- Replaced the old `../../tools/shared/tooling/index.js` import with direct canonical imports from the individual tooling modules.
8+
- No feature, schema, sample JSON, or runtime behavior changes were made.
9+
10+
## Cleanup Applied
11+
- `tests/final/DeveloperToolingSystems.test.mjs`
12+
- Before: imported six test dependencies from `../../tools/shared/tooling/index.js`.
13+
- After: imports each dependency directly from its owning file:
14+
- `AssetBrowser.js`
15+
- `DeveloperConsole.js`
16+
- `LiveTuningService.js`
17+
- `PropertyEditor.js`
18+
- `RuntimeInspector.js`
19+
- `SceneGraphViewer.js`
20+
21+
## Audit Results
22+
- Internal barrel guard: passed with zero baseline violations and zero new violations.
23+
- Active `/index.js` import audit:
24+
- `active_disallowed=0`
25+
- Allowed active `/index.js` references are launch/entrypoint references only.
26+
- Two `/index.js` strings remain in `tools/dev/checkSharedExtractionGuard.selftest.mjs`; they are fixture strings for guard self-tests, not active imports.
27+
- Schema/sample JSON audit:
28+
- No `*.schema.json`, `tools/schemas/**`, `games/**/*.json`, or `samples/**/*.json` diffs.
29+
- Internal barrel baseline audit:
30+
- `tools/dev/checkInternalBarrelGuard.baseline.json` exists with `violations=0`.
31+
- No dead internal barrel baseline debt remains.
32+
- Generated artifact audit:
33+
- No generated artifacts were created outside the required report locations and the required `tmp/` ZIP.
34+
- `tools/shared` dependency audit:
35+
- No runtime dependency was introduced.
36+
- The changed final test already depended on `tools/shared/tooling`; this PR only replaced its barrel import with direct file imports.
37+
38+
## Validation
39+
- `npm run check:internal-barrel-guard`
40+
- Passed.
41+
- Targeted syntax/import validation:
42+
- `node --check tests/final/DeveloperToolingSystems.test.mjs`
43+
- Direct import target audit for `tests/final/DeveloperToolingSystems.test.mjs`
44+
- Focused import/run validation for `tests/final/DeveloperToolingSystems.test.mjs`
45+
- All passed.
46+
- Active `/index.js` import audit:
47+
- Passed with zero active disallowed imports.
48+
- Schema/sample JSON diff audit:
49+
- Passed with no diffs.
50+
- `git diff --check`
51+
- Passed.
52+
- `npm run test:workspace-v2`
53+
- Passed: 59 tests.
54+
55+
## Not Run
56+
- Full samples smoke test.
57+
- Not requested for this final cleanup-lane audit.

tests/final/DeveloperToolingSystems.test.mjs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ David Quesenberry
55
DeveloperToolingSystems.test.mjs
66
*/
77
import assert from 'node:assert/strict';
8-
import {
9-
AssetBrowser,
10-
DeveloperConsole,
11-
LiveTuningService,
12-
PropertyEditor,
13-
RuntimeInspector,
14-
SceneGraphViewer,
15-
} from '../../tools/shared/tooling/index.js';
8+
import AssetBrowser from '../../tools/shared/tooling/AssetBrowser.js';
9+
import DeveloperConsole from '../../tools/shared/tooling/DeveloperConsole.js';
10+
import LiveTuningService from '../../tools/shared/tooling/LiveTuningService.js';
11+
import PropertyEditor from '../../tools/shared/tooling/PropertyEditor.js';
12+
import RuntimeInspector from '../../tools/shared/tooling/RuntimeInspector.js';
13+
import SceneGraphViewer from '../../tools/shared/tooling/SceneGraphViewer.js';
1614

1715
export async function run() {
1816
const consoleTool = new DeveloperConsole();

0 commit comments

Comments
 (0)