mirror of
https://github.com/morluto/rea
synced 2026-10-27 06:33:32 -04:00
refactor: consolidate boundary semantics and prune redundant tests
Share parser modes and collision-free composite keys, enforce architecture guards, and consolidate redundant unit assertions into filesystem, CLI, MCP, and producer-backed workflows. Preserve concurrent upstream boundary fixes and exclude legacy Objective-C class-name bookkeeping labels. Validation: source/composition suites (3358 passing), focused canonical digest and MCP checks, typecheck/lint, Knip, formatting, architecture guards, and real Foundation archive and Apple legacy simulator CLI/MCP verification. No real Hopper, Ghidra, or IDA verification claim.
This commit is contained in:
@@ -14,16 +14,10 @@ const absoluteParts = [
|
||||
["/app", "/shared/preload.js"],
|
||||
["ignored", "/app", "preload.js"],
|
||||
["/app", "first", "/shared", "nested", "../preload.js"],
|
||||
["/app", "preload/"],
|
||||
["/app", "preload///"],
|
||||
["/app/", "./sub", "../preload.js"],
|
||||
["/app", ".."],
|
||||
["/app", "../../.."],
|
||||
["/"],
|
||||
["///"],
|
||||
["/app", "/", ""],
|
||||
["", "/app", "", "preload.js", ""],
|
||||
["/app", "..", "child", "..", "preload.js"],
|
||||
];
|
||||
|
||||
const anchoredExpressions = [
|
||||
@@ -38,21 +32,12 @@ const anchoredExpressions = [
|
||||
'path.resolve("ignored", path.dirname(__filename), "preload.js")',
|
||||
"preload.js",
|
||||
],
|
||||
['path.resolve(__dirname, "sub", "../preload.js")', "preload.js"],
|
||||
['path.resolve(__dirname, "../preload.js")', "../preload.js"],
|
||||
['path.resolve(__dirname, "preload/")', "preload"],
|
||||
['path.resolve(__dirname, "sub", __dirname, "preload.js")', "preload.js"],
|
||||
['path.resolve(__dirname, "/shared", "preload.js")', "/shared/preload.js"],
|
||||
[
|
||||
'path.resolve(dirname(fileURLToPath(import.meta.url)), "/shared/preload.js")',
|
||||
"/shared/preload.js",
|
||||
],
|
||||
["path.resolve(__dirname)", "."],
|
||||
['path.resolve(__dirname, "")', "."],
|
||||
['path.resolve(__dirname, "sub/../")', "."],
|
||||
['path.posix.resolve(`/app`, `/shared`, "preload.js")', "/shared/preload.js"],
|
||||
['path.posix.resolve("" + "/app", "preload.js")', "/app/preload.js"],
|
||||
['path.posix.resolve(`/` + `app`, "preload.js")', "/app/preload.js"],
|
||||
] as const;
|
||||
|
||||
const unknownExpressions = [
|
||||
|
||||
Reference in New Issue
Block a user