@ttsc/unplugin 0.34.1 → 0.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/api.js +4 -0
- package/lib/api.js.map +1 -1
- package/lib/api.mjs +2 -0
- package/lib/api.mjs.map +1 -1
- package/lib/core/bridge/TtscProjectRecord.d.cts +4 -1
- package/lib/core/bridge/TtscProjectRecord.d.mts +4 -1
- package/lib/core/bridge/TtscProjectRecord.d.ts +4 -1
- package/lib/core/bridge/projectRecordArgumentsMatch.d.cts +18 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.d.mts +18 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.d.ts +18 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.js +36 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.js.map +1 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.mjs +34 -0
- package/lib/core/bridge/projectRecordArgumentsMatch.mjs.map +1 -0
- package/lib/core/bridge/projectRecordMoved.d.cts +14 -12
- package/lib/core/bridge/projectRecordMoved.d.mts +14 -12
- package/lib/core/bridge/projectRecordMoved.d.ts +14 -12
- package/lib/core/bridge/projectRecordMoved.js +17 -12
- package/lib/core/bridge/projectRecordMoved.js.map +1 -1
- package/lib/core/bridge/projectRecordMoved.mjs +17 -12
- package/lib/core/bridge/projectRecordMoved.mjs.map +1 -1
- package/lib/core/bridge/readProjectRecordFile.d.cts +4 -3
- package/lib/core/bridge/readProjectRecordFile.d.mts +4 -3
- package/lib/core/bridge/readProjectRecordFile.d.ts +4 -3
- package/lib/core/bridge/readProjectRecordFile.js +26 -3
- package/lib/core/bridge/readProjectRecordFile.js.map +1 -1
- package/lib/core/bridge/readProjectRecordFile.mjs +26 -3
- package/lib/core/bridge/readProjectRecordFile.mjs.map +1 -1
- package/lib/core/bridge/refreshProjectRecordFile.d.cts +3 -2
- package/lib/core/bridge/refreshProjectRecordFile.d.mts +3 -2
- package/lib/core/bridge/refreshProjectRecordFile.d.ts +3 -2
- package/lib/core/bridge/refreshProjectRecordFile.js +9 -3
- package/lib/core/bridge/refreshProjectRecordFile.js.map +1 -1
- package/lib/core/bridge/refreshProjectRecordFile.mjs +9 -3
- package/lib/core/bridge/refreshProjectRecordFile.mjs.map +1 -1
- package/lib/core/bridge/refreshProjectRecordFiles.d.cts +1 -1
- package/lib/core/bridge/refreshProjectRecordFiles.d.mts +1 -1
- package/lib/core/bridge/refreshProjectRecordFiles.d.ts +1 -1
- package/lib/core/bridge/refreshProjectRecordFiles.js +2 -2
- package/lib/core/bridge/refreshProjectRecordFiles.js.map +1 -1
- package/lib/core/bridge/refreshProjectRecordFiles.mjs +2 -2
- package/lib/core/bridge/refreshProjectRecordFiles.mjs.map +1 -1
- package/lib/core/index.d.cts +2 -0
- package/lib/core/index.d.mts +2 -0
- package/lib/core/index.d.ts +2 -0
- package/lib/core/index.js +4 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/index.mjs +2 -0
- package/lib/core/index.mjs.map +1 -1
- package/lib/core/next/next.js +5 -2
- package/lib/core/next/next.js.map +1 -1
- package/lib/core/next/next.mjs +5 -2
- package/lib/core/next/next.mjs.map +1 -1
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.cts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.mts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.ts +2 -0
- package/lib/core/options/TtscUnpluginOptions.d.cts +8 -0
- package/lib/core/options/TtscUnpluginOptions.d.mts +8 -0
- package/lib/core/options/TtscUnpluginOptions.d.ts +8 -0
- package/lib/core/options/resolveOptions.d.cts +4 -3
- package/lib/core/options/resolveOptions.d.mts +4 -3
- package/lib/core/options/resolveOptions.d.ts +4 -3
- package/lib/core/options/resolveOptions.js +5 -3
- package/lib/core/options/resolveOptions.js.map +1 -1
- package/lib/core/options/resolveOptions.mjs +5 -3
- package/lib/core/options/resolveOptions.mjs.map +1 -1
- package/lib/core/rollup/rollupDeliveryOptions.d.cts +6 -6
- package/lib/core/rollup/rollupDeliveryOptions.d.mts +6 -6
- package/lib/core/rollup/rollupDeliveryOptions.d.ts +6 -6
- package/lib/core/rollup/rollupDeliveryOptions.js +9 -6
- package/lib/core/rollup/rollupDeliveryOptions.js.map +1 -1
- package/lib/core/rollup/rollupDeliveryOptions.mjs +9 -6
- package/lib/core/rollup/rollupDeliveryOptions.mjs.map +1 -1
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.d.cts +10 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.d.mts +10 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.d.ts +10 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.js +13 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.js.map +1 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.mjs +11 -0
- package/lib/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.mjs.map +1 -0
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.cts +6 -0
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.mts +6 -0
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.ts +6 -0
- package/lib/core/transform/cache/createTransformCacheKey.d.cts +11 -8
- package/lib/core/transform/cache/createTransformCacheKey.d.mts +11 -8
- package/lib/core/transform/cache/createTransformCacheKey.d.ts +11 -8
- package/lib/core/transform/cache/createTransformCacheKey.js +11 -8
- package/lib/core/transform/cache/createTransformCacheKey.js.map +1 -1
- package/lib/core/transform/cache/createTransformCacheKey.mjs +11 -8
- package/lib/core/transform/cache/createTransformCacheKey.mjs.map +1 -1
- package/lib/core/transform/generation/TtscCompilerMembershipHint.d.cts +20 -0
- package/lib/core/transform/generation/TtscCompilerMembershipHint.d.mts +20 -0
- package/lib/core/transform/generation/TtscCompilerMembershipHint.d.ts +20 -0
- package/lib/core/transform/generation/applyCompilerMembership.d.cts +15 -0
- package/lib/core/transform/generation/applyCompilerMembership.d.mts +15 -0
- package/lib/core/transform/generation/applyCompilerMembership.d.ts +15 -0
- package/lib/core/transform/generation/applyCompilerMembership.js +41 -0
- package/lib/core/transform/generation/applyCompilerMembership.js.map +1 -0
- package/lib/core/transform/generation/applyCompilerMembership.mjs +39 -0
- package/lib/core/transform/generation/applyCompilerMembership.mjs.map +1 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.cts +7 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.mts +7 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.ts +7 -0
- package/lib/core/transform/generation/captureTransformGeneration.js +20 -7
- package/lib/core/transform/generation/captureTransformGeneration.js.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.mjs +20 -7
- package/lib/core/transform/generation/captureTransformGeneration.mjs.map +1 -1
- package/lib/core/transform/generation/onlyLearnedCompileFacts.d.cts +5 -5
- package/lib/core/transform/generation/onlyLearnedCompileFacts.d.mts +5 -5
- package/lib/core/transform/generation/onlyLearnedCompileFacts.d.ts +5 -5
- package/lib/core/transform/generation/onlyLearnedCompileFacts.js +7 -5
- package/lib/core/transform/generation/onlyLearnedCompileFacts.js.map +1 -1
- package/lib/core/transform/generation/onlyLearnedCompileFacts.mjs +7 -5
- package/lib/core/transform/generation/onlyLearnedCompileFacts.mjs.map +1 -1
- package/lib/core/transform/generation/primeCompilerMembership.d.cts +22 -0
- package/lib/core/transform/generation/primeCompilerMembership.d.mts +22 -0
- package/lib/core/transform/generation/primeCompilerMembership.d.ts +22 -0
- package/lib/core/transform/generation/primeCompilerMembership.js +32 -0
- package/lib/core/transform/generation/primeCompilerMembership.js.map +1 -0
- package/lib/core/transform/generation/primeCompilerMembership.mjs +30 -0
- package/lib/core/transform/generation/primeCompilerMembership.mjs.map +1 -0
- package/lib/core/transform/generation/selectReportedMembershipPolicy.d.cts +7 -7
- package/lib/core/transform/generation/selectReportedMembershipPolicy.d.mts +7 -7
- package/lib/core/transform/generation/selectReportedMembershipPolicy.d.ts +7 -7
- package/lib/core/transform/generation/selectReportedMembershipPolicy.js +43 -9
- package/lib/core/transform/generation/selectReportedMembershipPolicy.js.map +1 -1
- package/lib/core/transform/generation/selectReportedMembershipPolicy.mjs +43 -9
- package/lib/core/transform/generation/selectReportedMembershipPolicy.mjs.map +1 -1
- package/lib/core/transform/generation/transformProject.d.cts +7 -0
- package/lib/core/transform/generation/transformProject.d.mts +7 -0
- package/lib/core/transform/generation/transformProject.d.ts +7 -0
- package/lib/core/transform/generation/transformProject.js +3 -0
- package/lib/core/transform/generation/transformProject.js.map +1 -1
- package/lib/core/transform/generation/transformProject.mjs +3 -0
- package/lib/core/transform/generation/transformProject.mjs.map +1 -1
- package/lib/core/transform/project/isPossibleProgramFileName.d.cts +13 -11
- package/lib/core/transform/project/isPossibleProgramFileName.d.mts +13 -11
- package/lib/core/transform/project/isPossibleProgramFileName.d.ts +13 -11
- package/lib/core/transform/project/isPossibleProgramFileName.js +21 -13
- package/lib/core/transform/project/isPossibleProgramFileName.js.map +1 -1
- package/lib/core/transform/project/isPossibleProgramFileName.mjs +21 -13
- package/lib/core/transform/project/isPossibleProgramFileName.mjs.map +1 -1
- package/lib/core/transform/session/sharedCompileIdentity.d.cts +8 -5
- package/lib/core/transform/session/sharedCompileIdentity.d.mts +8 -5
- package/lib/core/transform/session/sharedCompileIdentity.d.ts +8 -5
- package/lib/core/transform/session/sharedCompileIdentity.js +8 -5
- package/lib/core/transform/session/sharedCompileIdentity.js.map +1 -1
- package/lib/core/transform/session/sharedCompileIdentity.mjs +8 -5
- package/lib/core/transform/session/sharedCompileIdentity.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.js +18 -0
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +18 -0
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- package/lib/core/transform/tsconfig/TtscCompilerArgumentsWitness.d.cts +19 -0
- package/lib/core/transform/tsconfig/TtscCompilerArgumentsWitness.d.mts +19 -0
- package/lib/core/transform/tsconfig/TtscCompilerArgumentsWitness.d.ts +19 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.d.cts +14 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.d.mts +14 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.d.ts +14 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.js +26 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.js.map +1 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.mjs +24 -0
- package/lib/core/transform/tsconfig/captureCompilerArguments.mjs.map +1 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.d.cts +13 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.d.mts +13 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.d.ts +13 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.js +23 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.js.map +1 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.mjs +21 -0
- package/lib/core/transform/tsconfig/compilerEnvironmentIdentity.mjs.map +1 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.d.cts +17 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.d.mts +17 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.d.ts +17 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.js +57 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.js.map +1 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.mjs +55 -0
- package/lib/core/transform/tsconfig/resolveCompilerEnvironment.mjs.map +1 -0
- package/lib/core/transform/tsconfig/transformScratchEnvironment.d.cts +6 -6
- package/lib/core/transform/tsconfig/transformScratchEnvironment.d.mts +6 -6
- package/lib/core/transform/tsconfig/transformScratchEnvironment.d.ts +6 -6
- package/lib/core/transform/tsconfig/transformScratchEnvironment.js +7 -7
- package/lib/core/transform/tsconfig/transformScratchEnvironment.js.map +1 -1
- package/lib/core/transform/tsconfig/transformScratchEnvironment.mjs +7 -7
- package/lib/core/transform/tsconfig/transformScratchEnvironment.mjs.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.js +3 -0
- package/lib/core/transform/watch/notifyProjectRecord.js.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.mjs +3 -0
- package/lib/core/transform/watch/notifyProjectRecord.mjs.map +1 -1
- package/lib/core/tsconfig/ITtscProjectMembershipPolicy.d.cts +14 -1
- package/lib/core/tsconfig/ITtscProjectMembershipPolicy.d.mts +14 -1
- package/lib/core/tsconfig/ITtscProjectMembershipPolicy.d.ts +14 -1
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.d.cts +4 -3
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.d.mts +4 -3
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.d.ts +4 -3
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.js +36 -6
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.js.map +1 -1
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.mjs +36 -6
- package/lib/core/tsconfig/mergeMembershipPolicyOverlay.mjs.map +1 -1
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.cts +3 -2
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.mts +3 -2
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.ts +3 -2
- package/lib/core/tsconfig/readProjectMembershipPolicy.js +49 -15
- package/lib/core/tsconfig/readProjectMembershipPolicy.js.map +1 -1
- package/lib/core/tsconfig/readProjectMembershipPolicy.mjs +49 -15
- package/lib/core/tsconfig/readProjectMembershipPolicy.mjs.map +1 -1
- package/lib/core/tsconfig/resolveMembershipInputExtensions.d.cts +16 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.d.mts +16 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.d.ts +16 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.js +45 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.js.map +1 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.mjs +43 -0
- package/lib/core/tsconfig/resolveMembershipInputExtensions.mjs.map +1 -0
- package/lib/core/turbopack/turbopack.d.cts +2 -2
- package/lib/core/turbopack/turbopack.d.mts +2 -2
- package/lib/core/turbopack/turbopack.d.ts +2 -2
- package/lib/core/turbopack/turbopack.js +15 -7
- package/lib/core/turbopack/turbopack.js.map +1 -1
- package/lib/core/turbopack/turbopack.mjs +15 -7
- package/lib/core/turbopack/turbopack.mjs.map +1 -1
- package/lib/core/unplugin.js +21 -8
- package/lib/core/unplugin.js.map +1 -1
- package/lib/core/unplugin.mjs +21 -8
- package/lib/core/unplugin.mjs.map +1 -1
- package/package.json +3 -3
- package/src/core/bridge/TtscProjectRecord.ts +4 -1
- package/src/core/bridge/projectRecordArgumentsMatch.ts +37 -0
- package/src/core/bridge/projectRecordMoved.ts +17 -11
- package/src/core/bridge/readProjectRecordFile.ts +39 -3
- package/src/core/bridge/refreshProjectRecordFile.ts +9 -2
- package/src/core/bridge/refreshProjectRecordFiles.ts +7 -1
- package/src/core/index.ts +2 -0
- package/src/core/next/next.ts +18 -2
- package/src/core/options/ResolvedTtscUnpluginOptions.ts +3 -0
- package/src/core/options/TtscUnpluginOptions.ts +9 -0
- package/src/core/options/resolveOptions.ts +5 -3
- package/src/core/rollup/rollupDeliveryOptions.ts +9 -5
- package/src/core/transform/cache/TRANSFORM_CACHE_MEMBERSHIP_POLICIES.ts +14 -0
- package/src/core/transform/cache/TtscCachedProjectTransform.ts +7 -0
- package/src/core/transform/cache/createTransformCacheKey.ts +13 -8
- package/src/core/transform/generation/TtscCompilerMembershipHint.ts +24 -0
- package/src/core/transform/generation/applyCompilerMembership.ts +44 -0
- package/src/core/transform/generation/captureTransformGeneration.ts +43 -10
- package/src/core/transform/generation/onlyLearnedCompileFacts.ts +7 -5
- package/src/core/transform/generation/primeCompilerMembership.ts +39 -0
- package/src/core/transform/generation/selectReportedMembershipPolicy.ts +59 -13
- package/src/core/transform/generation/transformProject.ts +12 -0
- package/src/core/transform/project/isPossibleProgramFileName.ts +28 -15
- package/src/core/transform/session/sharedCompileIdentity.ts +10 -5
- package/src/core/transform/transformTtsc.ts +21 -0
- package/src/core/transform/tsconfig/TtscCompilerArgumentsWitness.ts +19 -0
- package/src/core/transform/tsconfig/captureCompilerArguments.ts +25 -0
- package/src/core/transform/tsconfig/compilerEnvironmentIdentity.ts +20 -0
- package/src/core/transform/tsconfig/resolveCompilerEnvironment.ts +61 -0
- package/src/core/transform/tsconfig/transformScratchEnvironment.ts +7 -6
- package/src/core/transform/watch/notifyProjectRecord.ts +3 -0
- package/src/core/tsconfig/ITtscProjectMembershipPolicy.ts +15 -1
- package/src/core/tsconfig/mergeMembershipPolicyOverlay.ts +31 -6
- package/src/core/tsconfig/readProjectMembershipPolicy.ts +61 -17
- package/src/core/tsconfig/resolveMembershipInputExtensions.ts +45 -0
- package/src/core/turbopack/turbopack.ts +27 -7
- package/src/core/unplugin.ts +34 -9
|
@@ -26,6 +26,7 @@ import { createHostInputMutationTracker } from '../tracker/createHostInputMutati
|
|
|
26
26
|
import { createProjectMutationTracker } from '../tracker/createProjectMutationTracker.mjs';
|
|
27
27
|
import { settleMutationTrackers } from '../tracker/settleMutationTrackers.mjs';
|
|
28
28
|
import { trackedInputScopes } from '../tracker/trackedInputScopes.mjs';
|
|
29
|
+
import { captureCompilerArguments } from '../tsconfig/captureCompilerArguments.mjs';
|
|
29
30
|
import { compilerProjectSpelling } from '../tsconfig/compilerProjectSpelling.mjs';
|
|
30
31
|
import { createTransformScratchDirectory } from '../tsconfig/createTransformScratchDirectory.mjs';
|
|
31
32
|
import { createTransformTsconfig } from '../tsconfig/createTransformTsconfig.mjs';
|
|
@@ -44,6 +45,7 @@ import { captureFailedGenerationInputStates } from './captureFailedGenerationInp
|
|
|
44
45
|
import { captureTransformSourceHashes } from './captureTransformSourceHashes.mjs';
|
|
45
46
|
import { createGenerationProofFailures } from './createGenerationProofFailures.mjs';
|
|
46
47
|
import { mergeGenerationProofFailures } from './mergeGenerationProofFailures.mjs';
|
|
48
|
+
import { primeCompilerMembership } from './primeCompilerMembership.mjs';
|
|
47
49
|
import { projectWalkFailureFingerprint } from './projectWalkFailureFingerprint.mjs';
|
|
48
50
|
import { projectWalkStable } from './projectWalkStable.mjs';
|
|
49
51
|
import { recordGenerationProofFailure } from './recordGenerationProofFailure.mjs';
|
|
@@ -137,7 +139,7 @@ async function captureTransformGeneration(props) {
|
|
|
137
139
|
const tsconfigState = readTransformTsconfigState(props.tsconfig, materializesConfig, compilerProject.configDir);
|
|
138
140
|
const configured = createTransformTsconfig(props, scratchDirectory, tsconfigState, compilerProject);
|
|
139
141
|
const temporaryTsconfig = configured.path === props.tsconfig ? undefined : configured.path;
|
|
140
|
-
const compilerEnvironment = transformScratchEnvironment(scratchDirectory);
|
|
142
|
+
const compilerEnvironment = transformScratchEnvironment(scratchDirectory, props.compilerEnvironment);
|
|
141
143
|
if (temporaryTsconfig === undefined) {
|
|
142
144
|
delete compilerEnvironment[TTSC_SEMANTIC_CONFIG_PATH];
|
|
143
145
|
}
|
|
@@ -151,7 +153,8 @@ async function captureTransformGeneration(props) {
|
|
|
151
153
|
// relative `outDir` is anchored at the config that declares it, and the
|
|
152
154
|
// generated config lives in a system temp directory. The caller's
|
|
153
155
|
// compiler-options overlay still wins, since it wins for the compile too.
|
|
154
|
-
const
|
|
156
|
+
const membershipPrimer = primeCompilerMembership(mergeMembershipPolicyOverlay(tsconfigState.membershipPolicy, props.compilerOptions, path.dirname(props.tsconfig)), props.compilerMembership);
|
|
157
|
+
const mergedPolicy = membershipPrimer.policy;
|
|
155
158
|
// The walk before the compile matches root specs under the case policy an
|
|
156
159
|
// earlier compile reported, or a provisional cache-root approximation
|
|
157
160
|
// under this attempt's environment. The approximation does not observe
|
|
@@ -289,13 +292,13 @@ async function captureTransformGeneration(props) {
|
|
|
289
292
|
// cold subprocess and SDK reads stay off this host's event loop, and the
|
|
290
293
|
// config/walk/notification checks below include that asynchronous window.
|
|
291
294
|
await preparePluginBuildEnvironments(result, props.filesystem, undefined, projectRoot);
|
|
292
|
-
const { membershipPolicy,
|
|
295
|
+
const { membershipPolicy, membershipPolicyLearned } = selectReportedMembershipPolicy(primedPolicy, result);
|
|
293
296
|
TRANSFORM_RESULT_MEMBERSHIP.set(result, {
|
|
294
297
|
// Only the actual complete directory walk authorizes replacing a listing
|
|
295
298
|
// with program membership. A policy match cannot prove that a linked or
|
|
296
299
|
// unreadable directory was enumerated, and a changed compiler comparison
|
|
297
300
|
// answer means the primed walk used another admission policy.
|
|
298
|
-
enumeratedDirectories: before.directoryComplete && !
|
|
301
|
+
enumeratedDirectories: before.directoryComplete && !membershipPolicyLearned
|
|
299
302
|
? new Set(before.projectDirectories.map((snapshot) => snapshot.path))
|
|
300
303
|
: new Set(),
|
|
301
304
|
policy: membershipPolicy,
|
|
@@ -442,7 +445,7 @@ async function captureTransformGeneration(props) {
|
|
|
442
445
|
// settled here so a failed watcher is known before the generation is
|
|
443
446
|
// published.
|
|
444
447
|
await settleMutationTrackers([tracker, hostInputTracker, candidateTracker]);
|
|
445
|
-
const walkStable = !
|
|
448
|
+
const walkStable = !membershipPolicyLearned &&
|
|
446
449
|
projectWalkStable({
|
|
447
450
|
before,
|
|
448
451
|
configStable,
|
|
@@ -465,6 +468,7 @@ async function captureTransformGeneration(props) {
|
|
|
465
468
|
: undefined;
|
|
466
469
|
const projectInputHashes = { ...inputSnapshot.hashes };
|
|
467
470
|
const cached = {
|
|
471
|
+
compilerArguments: captureCompilerArguments(compilerEnvironment, props.runExternalCode),
|
|
468
472
|
// The pass this compile was started for. Its snapshot describes the
|
|
469
473
|
// project as of this compile, so it is settled for this pass and any
|
|
470
474
|
// later pass must re-prove it.
|
|
@@ -545,10 +549,10 @@ async function captureTransformGeneration(props) {
|
|
|
545
549
|
path: props.tsconfig,
|
|
546
550
|
});
|
|
547
551
|
}
|
|
548
|
-
if (
|
|
552
|
+
if (membershipPolicyLearned) {
|
|
549
553
|
recordGenerationProofFailure(failures, {
|
|
550
554
|
domain: "project",
|
|
551
|
-
kind: "
|
|
555
|
+
kind: "membership-policy-learned",
|
|
552
556
|
path: props.tsconfig,
|
|
553
557
|
});
|
|
554
558
|
}
|
|
@@ -576,6 +580,15 @@ async function captureTransformGeneration(props) {
|
|
|
576
580
|
restrictNotificationCoverageToProvenInputs(hostInputTracker, cached, universalInputCapture.validation);
|
|
577
581
|
mergeGenerationProofFailures(failures, universalInputCapture.failures);
|
|
578
582
|
const graphProofs = graphFailures.entries.length === 0 && graphFailures.omitted === 0;
|
|
583
|
+
if (configStable &&
|
|
584
|
+
graphProofs &&
|
|
585
|
+
adoptionFailure === undefined &&
|
|
586
|
+
result.type !== "exception" &&
|
|
587
|
+
result.graph?.membership !== undefined)
|
|
588
|
+
cached.compilerMembership = {
|
|
589
|
+
basis: membershipPrimer.basis,
|
|
590
|
+
report: result.graph.membership,
|
|
591
|
+
};
|
|
579
592
|
const universalInputs = universalInputCapture.validation !== undefined;
|
|
580
593
|
const stableProjectSnapshot = walkStable &&
|
|
581
594
|
graphProofs &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureTransformGeneration.mjs","sources":["../../../../src/core/transform/generation/captureTransformGeneration.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,MAAM,yBAAyB,GAAG,2BAA2B;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CG;AACI,eAAe,0BAA0B,CAAC,KAyEhD,EAAA;AACC,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI,IAAI,CAAC,OAAO,CAAC,KA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,gBAAA,eAAe,EAAE,sBAAsB;gBACvC,uBAAuB;AACvB,gBAAA,oBAAoB,EAAE,6BAA6B;gBACnD,aAAa;AACd,aAAA;AACF,SAAA,CAAC;AACF,QAAA,IAAI;AACF,YAAA,MAAM,uBAAuB,CAAC;AAC5B,gBAAA,OAAO,EAAE,OAAO;AAChB,gBAAA,IAAI,EAAE,gBAAgB;AACtB,gBAAA,SAAS,EAAE,gBAAgB;AAC3B,gBAAA,aAAa,EAAE,aAAa;AAC5B,gBAAA,UAAU,EAAE,sBAAsB;AAClC,gBAAA,eAAe,EAAE,sBAAsB;gBACvC,gBAAgB;gBAChB,uBAAuB;AACvB,gBAAA,oBAAoB,EAAE,6BAA6B;gBACnD,aAAa;AACd,aAAA,CAAC;;;YAGF,YAAY,GAAG,yBAAyB,EAAE;gBACxC,GAAG,EAAE,OAAO,CAAC,GAAG;AAChB,gBAAA,GAAG,EAAE,WAAW;AAChB,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE;AAC7C,aAAA,CAAC;QACJ;QAAE,OAAO,KAAK,EAAE;YACd,YAAY,GAAG,yBAAyB,EAAE;gBACxC,GAAG,EAAE,OAAO,CAAC,GAAG;AAChB,gBAAA,GAAG,EAAE,WAAW;AAChB,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE;AAC1C,aAAA,CAAC;AACF,YAAA,MAAM,KAAK;QACb;IACF;AACA,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AAC1B,QAAA,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC;IAC1E;AACA,IAAA,6BAA6B,CAAC,QAAQ,EAAE,uBAAuB,CAAC;AAChE,IAAA,OAAO,QAAQ;AACjB;;;;"}
|
|
1
|
+
{"version":3,"file":"captureTransformGeneration.mjs","sources":["../../../../src/core/transform/generation/captureTransformGeneration.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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YAAY,GAAG,yBAAyB,EAAE;gBACxC,GAAG,EAAE,OAAO,CAAC,GAAG;AAChB,gBAAA,GAAG,EAAE,WAAW;AAChB,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE;AAC7C,aAAA,CAAC;QACJ;QAAE,OAAO,KAAK,EAAE;YACd,YAAY,GAAG,yBAAyB,EAAE;gBACxC,GAAG,EAAE,OAAO,CAAC,GAAG;AAChB,gBAAA,GAAG,EAAE,WAAW;AAChB,gBAAA,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE;AAC1C,aAAA,CAAC;AACF,YAAA,MAAM,KAAK;QACb;IACF;AACA,IAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AAC1B,QAAA,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC;IAC1E;AACA,IAAA,6BAA6B,CAAC,QAAQ,EAAE,uBAAuB,CAAC;AAChE,IAAA,OAAO,QAAQ;AACjB;;;;"}
|
|
@@ -3,21 +3,21 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures.
|
|
|
3
3
|
* Whether the retained, lossless failure aggregate names only facts learned
|
|
4
4
|
* after the attempt's pre-compile observation.
|
|
5
5
|
*
|
|
6
|
-
* The retry owner carries learned dependencies and compiler
|
|
7
|
-
* the next attempt, without spending its movement budget for this
|
|
6
|
+
* The retry owner carries learned dependencies and compiler membership policy
|
|
7
|
+
* into the next attempt, without spending its movement budget for this
|
|
8
8
|
* classification. This predicate classifies recorded failures, not independent
|
|
9
9
|
* disk stability; producers must record other failed proofs. An omitted witness
|
|
10
10
|
* could be anything, so it prevents that exemption. The retry owner separately
|
|
11
11
|
* enforces the absolute attempt cap and handles refuted adoptions.
|
|
12
12
|
*
|
|
13
13
|
* @param failures The attempt's recorded proof failures.
|
|
14
|
-
* @evidence contracts/common.md#principled-implementation A nonempty aggregate
|
|
14
|
+
* @evidence contracts/common.md#principled-implementation A nonempty lossless aggregate containing only dependency-unwitnessed, case-policy-learned or membership-policy-learned qualifies for the learned-fact exemption. Other recorded failures prevent it; this classification is not independent proof of project stability.
|
|
15
15
|
* @evidence contracts/common.md#clear-and-simple-design One predicate centralizes which proof classes consume the retry movement budget, leaving actual attempts and the absolute cap to transformProject.
|
|
16
16
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts The recognized kinds express real compile facts learned after pre-witnessing, and no omitted or mixed failure is excused by a fixture-specific retry exception.
|
|
17
17
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the missing-knowledge distinction, retry consequence and conservative dropped-witness rule, with params and acknowledgment separation.
|
|
18
18
|
* @evidence contracts/performance.md#efficient-algorithms Zero omissions and nonempty entries guard an every scan that stops at the first other kind. The recorder bounds normal retained count, while the supplied kind text still contributes to Set hashing/comparison. No per-call index or copied entry list is allocated.
|
|
19
|
-
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed
|
|
20
|
-
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private
|
|
19
|
+
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed kind table is algorithm data, not cached computation. The retry owner carries learned observations.
|
|
20
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private table without acquiring state or handles.
|
|
21
21
|
* @evidenceExclude contracts/portability.md#os-neutral-implementation Classifies failure kinds by a fixed set of strings; it reads no filesystem or path.
|
|
22
22
|
*/
|
|
23
23
|
export declare function onlyLearnedCompileFacts(failures: TtscGenerationProofFailures): boolean;
|
|
@@ -3,21 +3,21 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures.
|
|
|
3
3
|
* Whether the retained, lossless failure aggregate names only facts learned
|
|
4
4
|
* after the attempt's pre-compile observation.
|
|
5
5
|
*
|
|
6
|
-
* The retry owner carries learned dependencies and compiler
|
|
7
|
-
* the next attempt, without spending its movement budget for this
|
|
6
|
+
* The retry owner carries learned dependencies and compiler membership policy
|
|
7
|
+
* into the next attempt, without spending its movement budget for this
|
|
8
8
|
* classification. This predicate classifies recorded failures, not independent
|
|
9
9
|
* disk stability; producers must record other failed proofs. An omitted witness
|
|
10
10
|
* could be anything, so it prevents that exemption. The retry owner separately
|
|
11
11
|
* enforces the absolute attempt cap and handles refuted adoptions.
|
|
12
12
|
*
|
|
13
13
|
* @param failures The attempt's recorded proof failures.
|
|
14
|
-
* @evidence contracts/common.md#principled-implementation A nonempty aggregate
|
|
14
|
+
* @evidence contracts/common.md#principled-implementation A nonempty lossless aggregate containing only dependency-unwitnessed, case-policy-learned or membership-policy-learned qualifies for the learned-fact exemption. Other recorded failures prevent it; this classification is not independent proof of project stability.
|
|
15
15
|
* @evidence contracts/common.md#clear-and-simple-design One predicate centralizes which proof classes consume the retry movement budget, leaving actual attempts and the absolute cap to transformProject.
|
|
16
16
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts The recognized kinds express real compile facts learned after pre-witnessing, and no omitted or mixed failure is excused by a fixture-specific retry exception.
|
|
17
17
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the missing-knowledge distinction, retry consequence and conservative dropped-witness rule, with params and acknowledgment separation.
|
|
18
18
|
* @evidence contracts/performance.md#efficient-algorithms Zero omissions and nonempty entries guard an every scan that stops at the first other kind. The recorder bounds normal retained count, while the supplied kind text still contributes to Set hashing/comparison. No per-call index or copied entry list is allocated.
|
|
19
|
-
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed
|
|
20
|
-
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private
|
|
19
|
+
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed kind table is algorithm data, not cached computation. The retry owner carries learned observations.
|
|
20
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private table without acquiring state or handles.
|
|
21
21
|
* @evidenceExclude contracts/portability.md#os-neutral-implementation Classifies failure kinds by a fixed set of strings; it reads no filesystem or path.
|
|
22
22
|
*/
|
|
23
23
|
export declare function onlyLearnedCompileFacts(failures: TtscGenerationProofFailures): boolean;
|
|
@@ -3,21 +3,21 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures"
|
|
|
3
3
|
* Whether the retained, lossless failure aggregate names only facts learned
|
|
4
4
|
* after the attempt's pre-compile observation.
|
|
5
5
|
*
|
|
6
|
-
* The retry owner carries learned dependencies and compiler
|
|
7
|
-
* the next attempt, without spending its movement budget for this
|
|
6
|
+
* The retry owner carries learned dependencies and compiler membership policy
|
|
7
|
+
* into the next attempt, without spending its movement budget for this
|
|
8
8
|
* classification. This predicate classifies recorded failures, not independent
|
|
9
9
|
* disk stability; producers must record other failed proofs. An omitted witness
|
|
10
10
|
* could be anything, so it prevents that exemption. The retry owner separately
|
|
11
11
|
* enforces the absolute attempt cap and handles refuted adoptions.
|
|
12
12
|
*
|
|
13
13
|
* @param failures The attempt's recorded proof failures.
|
|
14
|
-
* @evidence contracts/common.md#principled-implementation A nonempty aggregate
|
|
14
|
+
* @evidence contracts/common.md#principled-implementation A nonempty lossless aggregate containing only dependency-unwitnessed, case-policy-learned or membership-policy-learned qualifies for the learned-fact exemption. Other recorded failures prevent it; this classification is not independent proof of project stability.
|
|
15
15
|
* @evidence contracts/common.md#clear-and-simple-design One predicate centralizes which proof classes consume the retry movement budget, leaving actual attempts and the absolute cap to transformProject.
|
|
16
16
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts The recognized kinds express real compile facts learned after pre-witnessing, and no omitted or mixed failure is excused by a fixture-specific retry exception.
|
|
17
17
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the missing-knowledge distinction, retry consequence and conservative dropped-witness rule, with params and acknowledgment separation.
|
|
18
18
|
* @evidence contracts/performance.md#efficient-algorithms Zero omissions and nonempty entries guard an every scan that stops at the first other kind. The recorder bounds normal retained count, while the supplied kind text still contributes to Set hashing/comparison. No per-call index or copied entry list is allocated.
|
|
19
|
-
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed
|
|
20
|
-
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private
|
|
19
|
+
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed kind table is algorithm data, not cached computation. The retry owner carries learned observations.
|
|
20
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private table without acquiring state or handles.
|
|
21
21
|
* @evidenceExclude contracts/portability.md#os-neutral-implementation Classifies failure kinds by a fixed set of strings; it reads no filesystem or path.
|
|
22
22
|
*/
|
|
23
23
|
export declare function onlyLearnedCompileFacts(failures: TtscGenerationProofFailures): boolean;
|
|
@@ -8,26 +8,28 @@ const LEARNED_FACTS = new Set([
|
|
|
8
8
|
// The compiler's case policy, first reported by this compile's envelope,
|
|
9
9
|
// which the walk before it did not match under (samchon/ttsc#1545).
|
|
10
10
|
"case-policy-learned",
|
|
11
|
+
// Effective suffix/output settings reported after provisional root discovery.
|
|
12
|
+
"membership-policy-learned",
|
|
11
13
|
]);
|
|
12
14
|
/**
|
|
13
15
|
* Whether the retained, lossless failure aggregate names only facts learned
|
|
14
16
|
* after the attempt's pre-compile observation.
|
|
15
17
|
*
|
|
16
|
-
* The retry owner carries learned dependencies and compiler
|
|
17
|
-
* the next attempt, without spending its movement budget for this
|
|
18
|
+
* The retry owner carries learned dependencies and compiler membership policy
|
|
19
|
+
* into the next attempt, without spending its movement budget for this
|
|
18
20
|
* classification. This predicate classifies recorded failures, not independent
|
|
19
21
|
* disk stability; producers must record other failed proofs. An omitted witness
|
|
20
22
|
* could be anything, so it prevents that exemption. The retry owner separately
|
|
21
23
|
* enforces the absolute attempt cap and handles refuted adoptions.
|
|
22
24
|
*
|
|
23
25
|
* @param failures The attempt's recorded proof failures.
|
|
24
|
-
* @evidence contracts/common.md#principled-implementation A nonempty aggregate
|
|
26
|
+
* @evidence contracts/common.md#principled-implementation A nonempty lossless aggregate containing only dependency-unwitnessed, case-policy-learned or membership-policy-learned qualifies for the learned-fact exemption. Other recorded failures prevent it; this classification is not independent proof of project stability.
|
|
25
27
|
* @evidence contracts/common.md#clear-and-simple-design One predicate centralizes which proof classes consume the retry movement budget, leaving actual attempts and the absolute cap to transformProject.
|
|
26
28
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts The recognized kinds express real compile facts learned after pre-witnessing, and no omitted or mixed failure is excused by a fixture-specific retry exception.
|
|
27
29
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the missing-knowledge distinction, retry consequence and conservative dropped-witness rule, with params and acknowledgment separation.
|
|
28
30
|
* @evidence contracts/performance.md#efficient-algorithms Zero omissions and nonempty entries guard an every scan that stops at the first other kind. The recorder bounds normal retained count, while the supplied kind text still contributes to Set hashing/comparison. No per-call index or copied entry list is allocated.
|
|
29
|
-
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed
|
|
30
|
-
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private
|
|
31
|
+
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed kind table is algorithm data, not cached computation. The retry owner carries learned observations.
|
|
32
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private table without acquiring state or handles.
|
|
31
33
|
* @evidenceExclude contracts/portability.md#os-neutral-implementation Classifies failure kinds by a fixed set of strings; it reads no filesystem or path.
|
|
32
34
|
*/
|
|
33
35
|
function onlyLearnedCompileFacts(failures) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onlyLearnedCompileFacts.js","sources":["../../../../src/core/transform/generation/onlyLearnedCompileFacts.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;AACA,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;;;IAG5B,wBAAwB;;;IAGxB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"onlyLearnedCompileFacts.js","sources":["../../../../src/core/transform/generation/onlyLearnedCompileFacts.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;AACA,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;;;IAG5B,wBAAwB;;;IAGxB,qBAAqB;;IAErB,2BAA2B;AAC5B,CAAA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;AAoBG;AACG,SAAU,uBAAuB,CACrC,QAAqC,EAAA;AAErC,IAAA,QACE,QAAQ,CAAC,OAAO,KAAK,CAAC;AACtB,QAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC;QAC7B,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,KAAK,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAExE;;;;"}
|
|
@@ -6,26 +6,28 @@ const LEARNED_FACTS = new Set([
|
|
|
6
6
|
// The compiler's case policy, first reported by this compile's envelope,
|
|
7
7
|
// which the walk before it did not match under (samchon/ttsc#1545).
|
|
8
8
|
"case-policy-learned",
|
|
9
|
+
// Effective suffix/output settings reported after provisional root discovery.
|
|
10
|
+
"membership-policy-learned",
|
|
9
11
|
]);
|
|
10
12
|
/**
|
|
11
13
|
* Whether the retained, lossless failure aggregate names only facts learned
|
|
12
14
|
* after the attempt's pre-compile observation.
|
|
13
15
|
*
|
|
14
|
-
* The retry owner carries learned dependencies and compiler
|
|
15
|
-
* the next attempt, without spending its movement budget for this
|
|
16
|
+
* The retry owner carries learned dependencies and compiler membership policy
|
|
17
|
+
* into the next attempt, without spending its movement budget for this
|
|
16
18
|
* classification. This predicate classifies recorded failures, not independent
|
|
17
19
|
* disk stability; producers must record other failed proofs. An omitted witness
|
|
18
20
|
* could be anything, so it prevents that exemption. The retry owner separately
|
|
19
21
|
* enforces the absolute attempt cap and handles refuted adoptions.
|
|
20
22
|
*
|
|
21
23
|
* @param failures The attempt's recorded proof failures.
|
|
22
|
-
* @evidence contracts/common.md#principled-implementation A nonempty aggregate
|
|
24
|
+
* @evidence contracts/common.md#principled-implementation A nonempty lossless aggregate containing only dependency-unwitnessed, case-policy-learned or membership-policy-learned qualifies for the learned-fact exemption. Other recorded failures prevent it; this classification is not independent proof of project stability.
|
|
23
25
|
* @evidence contracts/common.md#clear-and-simple-design One predicate centralizes which proof classes consume the retry movement budget, leaving actual attempts and the absolute cap to transformProject.
|
|
24
26
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts The recognized kinds express real compile facts learned after pre-witnessing, and no omitted or mixed failure is excused by a fixture-specific retry exception.
|
|
25
27
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the missing-knowledge distinction, retry consequence and conservative dropped-witness rule, with params and acknowledgment separation.
|
|
26
28
|
* @evidence contracts/performance.md#efficient-algorithms Zero omissions and nonempty entries guard an every scan that stops at the first other kind. The recorder bounds normal retained count, while the supplied kind text still contributes to Set hashing/comparison. No per-call index or copied entry list is allocated.
|
|
27
|
-
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed
|
|
28
|
-
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private
|
|
29
|
+
* @evidenceExclude contracts/performance.md#reuse-equivalent-work The fixed kind table is algorithm data, not cached computation. The retry owner carries learned observations.
|
|
30
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The predicate borrows the aggregate and reads a fixed private table without acquiring state or handles.
|
|
29
31
|
* @evidenceExclude contracts/portability.md#os-neutral-implementation Classifies failure kinds by a fixed set of strings; it reads no filesystem or path.
|
|
30
32
|
*/
|
|
31
33
|
function onlyLearnedCompileFacts(failures) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onlyLearnedCompileFacts.mjs","sources":["../../../../src/core/transform/generation/onlyLearnedCompileFacts.ts"],"sourcesContent":[null],"names":[],"mappings":"AAEA;AACA,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;;;IAG5B,wBAAwB;;;IAGxB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"onlyLearnedCompileFacts.mjs","sources":["../../../../src/core/transform/generation/onlyLearnedCompileFacts.ts"],"sourcesContent":[null],"names":[],"mappings":"AAEA;AACA,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;;;IAG5B,wBAAwB;;;IAGxB,qBAAqB;;IAErB,2BAA2B;AAC5B,CAAA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;AAoBG;AACG,SAAU,uBAAuB,CACrC,QAAqC,EAAA;AAErC,IAAA,QACE,QAAQ,CAAC,OAAO,KAAK,CAAC;AACtB,QAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC;QAC7B,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,KAAK,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAExE;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ITtscProjectMembershipPolicy } from "../../tsconfig/ITtscProjectMembershipPolicy.cjs";
|
|
2
|
+
import type { TtscCompilerMembershipHint } from "./TtscCompilerMembershipHint.cjs";
|
|
3
|
+
/**
|
|
4
|
+
* Prime a walk with a native hint only while its JSON policy premise matches. A
|
|
5
|
+
* match predicts settings; current native reports and walk proofs remain
|
|
6
|
+
* required.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/common.md#principled-implementation Canonical JSON hashing compares the complete supplied config and overlay policy, including explicit option origins. A changed premise discards the previous projection before the pre-compile walk.
|
|
9
|
+
* @evidence contracts/common.md#clear-and-simple-design One operation returns both the premise identity for capture and the policy to walk; the projection helper retains native path semantics.
|
|
10
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Matching config semantics supplies no filesystem freshness claim and cannot certify a post-compile walk as pre-compile evidence.
|
|
11
|
+
* @evidence contracts/common.md#meaningful-documentation Native prose and result members distinguish prediction identity from current generation proof.
|
|
12
|
+
* @evidenceExclude contracts/portability.md#os-neutral-implementation Policy paths are serialized as supplied and projected by their owning helper; this function performs no native observation or case rewriting.
|
|
13
|
+
* @evidence contracts/performance.md#efficient-algorithms Canonical serialization sorts record keys and visits policy bytes once before hashing; a matching hint additionally copies the suffix and exclusion population. Temporary storage follows policy size.
|
|
14
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Only a hint learned under the same config policy can prime this walk; no work result, input witness or native authority is reused here.
|
|
15
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned identity and borrowed or projected policy transfer to the caller; this call retains no cache or resource.
|
|
16
|
+
*/
|
|
17
|
+
export declare function primeCompilerMembership(policy: ITtscProjectMembershipPolicy, hint?: TtscCompilerMembershipHint): {
|
|
18
|
+
/** Config-policy identity used to qualify a subsequently learned report. */
|
|
19
|
+
basis: string;
|
|
20
|
+
/** Fresh config policy, optionally projected by an equivalent prior hint. */
|
|
21
|
+
policy: ITtscProjectMembershipPolicy;
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ITtscProjectMembershipPolicy } from "../../tsconfig/ITtscProjectMembershipPolicy.mjs";
|
|
2
|
+
import type { TtscCompilerMembershipHint } from "./TtscCompilerMembershipHint.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Prime a walk with a native hint only while its JSON policy premise matches. A
|
|
5
|
+
* match predicts settings; current native reports and walk proofs remain
|
|
6
|
+
* required.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/common.md#principled-implementation Canonical JSON hashing compares the complete supplied config and overlay policy, including explicit option origins. A changed premise discards the previous projection before the pre-compile walk.
|
|
9
|
+
* @evidence contracts/common.md#clear-and-simple-design One operation returns both the premise identity for capture and the policy to walk; the projection helper retains native path semantics.
|
|
10
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Matching config semantics supplies no filesystem freshness claim and cannot certify a post-compile walk as pre-compile evidence.
|
|
11
|
+
* @evidence contracts/common.md#meaningful-documentation Native prose and result members distinguish prediction identity from current generation proof.
|
|
12
|
+
* @evidenceExclude contracts/portability.md#os-neutral-implementation Policy paths are serialized as supplied and projected by their owning helper; this function performs no native observation or case rewriting.
|
|
13
|
+
* @evidence contracts/performance.md#efficient-algorithms Canonical serialization sorts record keys and visits policy bytes once before hashing; a matching hint additionally copies the suffix and exclusion population. Temporary storage follows policy size.
|
|
14
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Only a hint learned under the same config policy can prime this walk; no work result, input witness or native authority is reused here.
|
|
15
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned identity and borrowed or projected policy transfer to the caller; this call retains no cache or resource.
|
|
16
|
+
*/
|
|
17
|
+
export declare function primeCompilerMembership(policy: ITtscProjectMembershipPolicy, hint?: TtscCompilerMembershipHint): {
|
|
18
|
+
/** Config-policy identity used to qualify a subsequently learned report. */
|
|
19
|
+
basis: string;
|
|
20
|
+
/** Fresh config policy, optionally projected by an equivalent prior hint. */
|
|
21
|
+
policy: ITtscProjectMembershipPolicy;
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ITtscProjectMembershipPolicy } from "../../tsconfig/ITtscProjectMembershipPolicy";
|
|
2
|
+
import type { TtscCompilerMembershipHint } from "./TtscCompilerMembershipHint";
|
|
3
|
+
/**
|
|
4
|
+
* Prime a walk with a native hint only while its JSON policy premise matches. A
|
|
5
|
+
* match predicts settings; current native reports and walk proofs remain
|
|
6
|
+
* required.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/common.md#principled-implementation Canonical JSON hashing compares the complete supplied config and overlay policy, including explicit option origins. A changed premise discards the previous projection before the pre-compile walk.
|
|
9
|
+
* @evidence contracts/common.md#clear-and-simple-design One operation returns both the premise identity for capture and the policy to walk; the projection helper retains native path semantics.
|
|
10
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Matching config semantics supplies no filesystem freshness claim and cannot certify a post-compile walk as pre-compile evidence.
|
|
11
|
+
* @evidence contracts/common.md#meaningful-documentation Native prose and result members distinguish prediction identity from current generation proof.
|
|
12
|
+
* @evidenceExclude contracts/portability.md#os-neutral-implementation Policy paths are serialized as supplied and projected by their owning helper; this function performs no native observation or case rewriting.
|
|
13
|
+
* @evidence contracts/performance.md#efficient-algorithms Canonical serialization sorts record keys and visits policy bytes once before hashing; a matching hint additionally copies the suffix and exclusion population. Temporary storage follows policy size.
|
|
14
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Only a hint learned under the same config policy can prime this walk; no work result, input witness or native authority is reused here.
|
|
15
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned identity and borrowed or projected policy transfer to the caller; this call retains no cache or resource.
|
|
16
|
+
*/
|
|
17
|
+
export declare function primeCompilerMembership(policy: ITtscProjectMembershipPolicy, hint?: TtscCompilerMembershipHint): {
|
|
18
|
+
/** Config-policy identity used to qualify a subsequently learned report. */
|
|
19
|
+
basis: string;
|
|
20
|
+
/** Fresh config policy, optionally projected by an equivalent prior hint. */
|
|
21
|
+
policy: ITtscProjectMembershipPolicy;
|
|
22
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var hashText = require('../utils/hashText.js');
|
|
4
|
+
var stableStringify = require('../utils/stableStringify.js');
|
|
5
|
+
var applyCompilerMembership = require('./applyCompilerMembership.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Prime a walk with a native hint only while its JSON policy premise matches. A
|
|
9
|
+
* match predicts settings; current native reports and walk proofs remain
|
|
10
|
+
* required.
|
|
11
|
+
*
|
|
12
|
+
* @evidence contracts/common.md#principled-implementation Canonical JSON hashing compares the complete supplied config and overlay policy, including explicit option origins. A changed premise discards the previous projection before the pre-compile walk.
|
|
13
|
+
* @evidence contracts/common.md#clear-and-simple-design One operation returns both the premise identity for capture and the policy to walk; the projection helper retains native path semantics.
|
|
14
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Matching config semantics supplies no filesystem freshness claim and cannot certify a post-compile walk as pre-compile evidence.
|
|
15
|
+
* @evidence contracts/common.md#meaningful-documentation Native prose and result members distinguish prediction identity from current generation proof.
|
|
16
|
+
* @evidenceExclude contracts/portability.md#os-neutral-implementation Policy paths are serialized as supplied and projected by their owning helper; this function performs no native observation or case rewriting.
|
|
17
|
+
* @evidence contracts/performance.md#efficient-algorithms Canonical serialization sorts record keys and visits policy bytes once before hashing; a matching hint additionally copies the suffix and exclusion population. Temporary storage follows policy size.
|
|
18
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Only a hint learned under the same config policy can prime this walk; no work result, input witness or native authority is reused here.
|
|
19
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned identity and borrowed or projected policy transfer to the caller; this call retains no cache or resource.
|
|
20
|
+
*/
|
|
21
|
+
function primeCompilerMembership(policy, hint) {
|
|
22
|
+
const basis = hashText.hashText(stableStringify.stableStringify(policy));
|
|
23
|
+
return {
|
|
24
|
+
basis,
|
|
25
|
+
policy: hint?.basis === basis
|
|
26
|
+
? applyCompilerMembership.applyCompilerMembership(policy, hint.report)
|
|
27
|
+
: policy,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.primeCompilerMembership = primeCompilerMembership;
|
|
32
|
+
//# sourceMappingURL=primeCompilerMembership.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primeCompilerMembership.js","sources":["../../../../src/core/transform/generation/primeCompilerMembership.ts"],"sourcesContent":[null],"names":["hashText","stableStringify","applyCompilerMembership"],"mappings":";;;;;;AAMA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,MAAoC,EACpC,IAAiC,EAAA;IAQjC,MAAM,KAAK,GAAGA,iBAAQ,CAACC,+BAAe,CAAC,MAAM,CAAC,CAAC;IAC/C,OAAO;QACL,KAAK;AACL,QAAA,MAAM,EACJ,IAAI,EAAE,KAAK,KAAK;cACZC,+CAAuB,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM;AAC7C,cAAE,MAAM;KACb;AACH;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { hashText } from '../utils/hashText.mjs';
|
|
2
|
+
import { stableStringify } from '../utils/stableStringify.mjs';
|
|
3
|
+
import { applyCompilerMembership } from './applyCompilerMembership.mjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Prime a walk with a native hint only while its JSON policy premise matches. A
|
|
7
|
+
* match predicts settings; current native reports and walk proofs remain
|
|
8
|
+
* required.
|
|
9
|
+
*
|
|
10
|
+
* @evidence contracts/common.md#principled-implementation Canonical JSON hashing compares the complete supplied config and overlay policy, including explicit option origins. A changed premise discards the previous projection before the pre-compile walk.
|
|
11
|
+
* @evidence contracts/common.md#clear-and-simple-design One operation returns both the premise identity for capture and the policy to walk; the projection helper retains native path semantics.
|
|
12
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Matching config semantics supplies no filesystem freshness claim and cannot certify a post-compile walk as pre-compile evidence.
|
|
13
|
+
* @evidence contracts/common.md#meaningful-documentation Native prose and result members distinguish prediction identity from current generation proof.
|
|
14
|
+
* @evidenceExclude contracts/portability.md#os-neutral-implementation Policy paths are serialized as supplied and projected by their owning helper; this function performs no native observation or case rewriting.
|
|
15
|
+
* @evidence contracts/performance.md#efficient-algorithms Canonical serialization sorts record keys and visits policy bytes once before hashing; a matching hint additionally copies the suffix and exclusion population. Temporary storage follows policy size.
|
|
16
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Only a hint learned under the same config policy can prime this walk; no work result, input witness or native authority is reused here.
|
|
17
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned identity and borrowed or projected policy transfer to the caller; this call retains no cache or resource.
|
|
18
|
+
*/
|
|
19
|
+
function primeCompilerMembership(policy, hint) {
|
|
20
|
+
const basis = hashText(stableStringify(policy));
|
|
21
|
+
return {
|
|
22
|
+
basis,
|
|
23
|
+
policy: hint?.basis === basis
|
|
24
|
+
? applyCompilerMembership(policy, hint.report)
|
|
25
|
+
: policy,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { primeCompilerMembership };
|
|
30
|
+
//# sourceMappingURL=primeCompilerMembership.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primeCompilerMembership.mjs","sources":["../../../../src/core/transform/generation/primeCompilerMembership.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAMA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,MAAoC,EACpC,IAAiC,EAAA;IAQjC,MAAM,KAAK,GAAG,QAAQ,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/C,OAAO;QACL,KAAK;AACL,QAAA,MAAM,EACJ,IAAI,EAAE,KAAK,KAAK;cACZ,uBAAuB,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM;AAC7C,cAAE,MAAM;KACb;AACH;;;;"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import type { ITtscCompilerTransformation } from "ttsc";
|
|
2
2
|
import type { ITtscProjectMembershipPolicy } from "../../tsconfig/ITtscProjectMembershipPolicy.cjs";
|
|
3
3
|
/**
|
|
4
|
-
* Replace
|
|
4
|
+
* Replace provisional root settings and comparison rules with native reports.
|
|
5
5
|
*
|
|
6
6
|
* Capture supplies an explicit priming answer before walking. An exception or
|
|
7
|
-
* an envelope without
|
|
7
|
+
* an envelope without reports leaves that same policy intact. A differing
|
|
8
8
|
* report marks the old walk for refusal; this operation neither performs the
|
|
9
9
|
* walk nor establishes that a predicted answer matched the native compiler.
|
|
10
10
|
*
|
|
11
|
-
* @evidence contracts/common.md#principled-implementation
|
|
11
|
+
* @evidence contracts/common.md#principled-implementation Native case, suffix and output settings replace provisional answers; set equality determines whether a fresh walk is needed. Missing reports preserve the original policy identity and explicit excludes retain authored provenance.
|
|
12
12
|
* @evidence contracts/common.md#clear-and-simple-design One report-selection operation returns the policy and changed-rule fact; capture retains ownership of enumeration authority and proof refusal.
|
|
13
13
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts No OS label or filesystem probe substitutes for a compiler report, and no report supplies missing walk evidence.
|
|
14
14
|
* @evidence contracts/common.md#meaningful-documentation Native prose states the explicit primer requirement, missing-report identity and changed-policy refusal boundary.
|
|
15
|
-
* @evidence contracts/portability.md#os-neutral-implementation
|
|
16
|
-
* @evidence contracts/performance.md#efficient-algorithms
|
|
15
|
+
* @evidence contracts/portability.md#os-neutral-implementation Native path grammar resolves directory spelling; component-boundary prefixes map only observed project root aliases to a shared anchor. Insensitive reports permit ASCII case equivalence, while non-ASCII spellings stay conservatively distinct instead of colliding through full lowercasing or Windows path.relative.
|
|
16
|
+
* @evidence contracts/performance.md#efficient-algorithms Available settings copy extension/exclusion populations; Set comparisons visit their text. At most three observed anchors are resolved once and each exclusion compares their component-boundary prefixes. Temporary storage follows those populations and path lengths; no filesystem query runs here.
|
|
17
17
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work Selects this envelope's reported rule without retaining a memo or certifying reuse of the primed walk.
|
|
18
18
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources Borrows the primer or returns a shallow policy object; capture owns retained policy and observer lifetimes, with no handle or historical state acquired here.
|
|
19
19
|
*/
|
|
20
20
|
export declare function selectReportedMembershipPolicy(primed: ITtscProjectMembershipPolicy & {
|
|
21
21
|
useCaseSensitiveFileNames: boolean;
|
|
22
22
|
}, result: ITtscCompilerTransformation): {
|
|
23
|
-
/** Borrowed primer or
|
|
23
|
+
/** Borrowed primer or native settings overlay for this capture's validators. */
|
|
24
24
|
membershipPolicy: ITtscProjectMembershipPolicy;
|
|
25
25
|
/** Whether the primed walk used a different rule from this compiler report. */
|
|
26
|
-
|
|
26
|
+
membershipPolicyLearned: boolean;
|
|
27
27
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import type { ITtscCompilerTransformation } from "ttsc";
|
|
2
2
|
import type { ITtscProjectMembershipPolicy } from "../../tsconfig/ITtscProjectMembershipPolicy.mjs";
|
|
3
3
|
/**
|
|
4
|
-
* Replace
|
|
4
|
+
* Replace provisional root settings and comparison rules with native reports.
|
|
5
5
|
*
|
|
6
6
|
* Capture supplies an explicit priming answer before walking. An exception or
|
|
7
|
-
* an envelope without
|
|
7
|
+
* an envelope without reports leaves that same policy intact. A differing
|
|
8
8
|
* report marks the old walk for refusal; this operation neither performs the
|
|
9
9
|
* walk nor establishes that a predicted answer matched the native compiler.
|
|
10
10
|
*
|
|
11
|
-
* @evidence contracts/common.md#principled-implementation
|
|
11
|
+
* @evidence contracts/common.md#principled-implementation Native case, suffix and output settings replace provisional answers; set equality determines whether a fresh walk is needed. Missing reports preserve the original policy identity and explicit excludes retain authored provenance.
|
|
12
12
|
* @evidence contracts/common.md#clear-and-simple-design One report-selection operation returns the policy and changed-rule fact; capture retains ownership of enumeration authority and proof refusal.
|
|
13
13
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts No OS label or filesystem probe substitutes for a compiler report, and no report supplies missing walk evidence.
|
|
14
14
|
* @evidence contracts/common.md#meaningful-documentation Native prose states the explicit primer requirement, missing-report identity and changed-policy refusal boundary.
|
|
15
|
-
* @evidence contracts/portability.md#os-neutral-implementation
|
|
16
|
-
* @evidence contracts/performance.md#efficient-algorithms
|
|
15
|
+
* @evidence contracts/portability.md#os-neutral-implementation Native path grammar resolves directory spelling; component-boundary prefixes map only observed project root aliases to a shared anchor. Insensitive reports permit ASCII case equivalence, while non-ASCII spellings stay conservatively distinct instead of colliding through full lowercasing or Windows path.relative.
|
|
16
|
+
* @evidence contracts/performance.md#efficient-algorithms Available settings copy extension/exclusion populations; Set comparisons visit their text. At most three observed anchors are resolved once and each exclusion compares their component-boundary prefixes. Temporary storage follows those populations and path lengths; no filesystem query runs here.
|
|
17
17
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work Selects this envelope's reported rule without retaining a memo or certifying reuse of the primed walk.
|
|
18
18
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources Borrows the primer or returns a shallow policy object; capture owns retained policy and observer lifetimes, with no handle or historical state acquired here.
|
|
19
19
|
*/
|
|
20
20
|
export declare function selectReportedMembershipPolicy(primed: ITtscProjectMembershipPolicy & {
|
|
21
21
|
useCaseSensitiveFileNames: boolean;
|
|
22
22
|
}, result: ITtscCompilerTransformation): {
|
|
23
|
-
/** Borrowed primer or
|
|
23
|
+
/** Borrowed primer or native settings overlay for this capture's validators. */
|
|
24
24
|
membershipPolicy: ITtscProjectMembershipPolicy;
|
|
25
25
|
/** Whether the primed walk used a different rule from this compiler report. */
|
|
26
|
-
|
|
26
|
+
membershipPolicyLearned: boolean;
|
|
27
27
|
};
|