mirror of
https://github.com/morluto/rea
synced 2026-10-26 14:25:49 -04:00
d5df7fd944
Share parser-owned package and runtime facts across dependency consumers. Preserve uncertain loader requests and explicit wrapper bindings without inventing unbound require authority in known modules. Cover selected source grammar through the public MCP boundary and retain ambient/type dependencies. Open each selected directory before loading its scoped policy, retaining partial directory failures and cleanup ownership. Preserve explicit caller negation precedence and source diagnostics across inventory projections. Clarify how version comparison retains container provenance without claiming semantic drift. Use independent unknown source inputs to keep candidate-limit fixtures meaningful as conditional branch evaluation becomes more precise. Fixes #6891 Fixes #6882 Fixes #6883 Fixes #6859
20 lines
737 B
TypeScript
20 lines
737 B
TypeScript
/** Independent unknown host inputs keep both conditional arms reachable. */
|
|
export const primitiveCandidateExpansionExpression = (): string =>
|
|
Array.from(
|
|
{ length: 20 },
|
|
(_, index) => `(globalThis.choice${String(index)} ? "a" : "b")`,
|
|
).join(" + ");
|
|
|
|
/** Source whose repeated doubling exceeds derived primitive string storage. */
|
|
export const primitiveByteExpansionSource = (): string => {
|
|
const declarations = ['const value0 = "x";'];
|
|
for (let index = 1; index <= 30; index += 1) {
|
|
const previous = `value${String(index - 1)}`;
|
|
declarations.push(
|
|
`const value${String(index)} = ${previous} + ${previous};`,
|
|
);
|
|
}
|
|
declarations.push("const answer = value30;");
|
|
return declarations.join("\n");
|
|
};
|