@ttsc/unplugin 0.31.0 → 0.31.1
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/lib/core/bun/bun.d.cts +3 -2
- package/lib/core/bun/bun.d.mts +3 -2
- package/lib/core/bun/bun.d.ts +3 -2
- package/lib/core/bun/bun.js +8 -4
- package/lib/core/bun/bun.js.map +1 -1
- package/lib/core/bun/bun.mjs +8 -4
- package/lib/core/bun/bun.mjs.map +1 -1
- package/lib/core/observer/createInputObserver.js +6 -5
- package/lib/core/observer/createInputObserver.js.map +1 -1
- package/lib/core/observer/createInputObserver.mjs +6 -5
- package/lib/core/observer/createInputObserver.mjs.map +1 -1
- package/lib/core/observer/openIsolatedRecursiveWatch.d.cts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.d.mts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.d.ts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.js +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.js.map +1 -1
- package/lib/core/observer/openIsolatedRecursiveWatch.mjs +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.mjs.map +1 -1
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.cts +12 -3
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.mts +12 -3
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.ts +12 -3
- package/lib/core/transform/cache/selectCachedGenerationAction.d.cts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.mts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.ts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.js +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.js.map +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs.map +1 -1
- package/lib/core/transform/deliverCachedTransform.d.cts +36 -0
- package/lib/core/transform/deliverCachedTransform.d.mts +36 -0
- package/lib/core/transform/deliverCachedTransform.d.ts +36 -0
- package/lib/core/transform/deliverCachedTransform.js +73 -0
- package/lib/core/transform/deliverCachedTransform.js.map +1 -0
- package/lib/core/transform/deliverCachedTransform.mjs +71 -0
- package/lib/core/transform/deliverCachedTransform.mjs.map +1 -0
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.cts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.mts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.ts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js +6 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js.map +1 -1
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs +6 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.d.cts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.d.mts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.d.ts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.js +8 -7
- package/lib/core/transform/envelope/selectExternalInputPaths.js.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs +8 -7
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs.map +1 -1
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.cts +15 -12
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.mts +15 -12
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.ts +15 -12
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.cts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.mts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.ts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.js +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.js.map +1 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs.map +1 -1
- package/lib/core/transform/generation/transformProject.d.cts +9 -7
- package/lib/core/transform/generation/transformProject.d.mts +9 -7
- package/lib/core/transform/generation/transformProject.d.ts +9 -7
- package/lib/core/transform/generation/transformProject.js +14 -9
- package/lib/core/transform/generation/transformProject.js.map +1 -1
- package/lib/core/transform/generation/transformProject.mjs +14 -9
- package/lib/core/transform/generation/transformProject.mjs.map +1 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.cts +11 -4
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.mts +11 -4
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.ts +11 -4
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js +44 -7
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js.map +1 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs +44 -7
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/WatchBroker.d.cts +14 -4
- package/lib/core/transform/tracker/broker/WatchBroker.d.mts +14 -4
- package/lib/core/transform/tracker/broker/WatchBroker.d.ts +14 -4
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.cts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.mts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.ts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.js +89 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.js.map +1 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs +89 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs.map +1 -0
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.cts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.mts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.ts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.js +12 -13
- package/lib/core/transform/tracker/broker/drainWatchBroker.js.map +1 -1
- package/lib/core/transform/tracker/broker/drainWatchBroker.mjs +12 -13
- package/lib/core/transform/tracker/broker/drainWatchBroker.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/getWatchBroker.d.cts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.d.mts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.d.ts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.js +87 -17
- package/lib/core/transform/tracker/broker/getWatchBroker.js.map +1 -1
- package/lib/core/transform/tracker/broker/getWatchBroker.mjs +87 -17
- package/lib/core/transform/tracker/broker/getWatchBroker.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.cts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.mts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.ts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.js +11 -14
- package/lib/core/transform/tracker/broker/openBrokeredWatch.js.map +1 -1
- package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs +11 -14
- package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.cts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.mts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.ts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.js +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.mjs +7 -7
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.cts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.mts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.ts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.js +10 -11
- package/lib/core/transform/tracker/broker/watchBrokerSource.js.map +1 -1
- package/lib/core/transform/tracker/broker/watchBrokerSource.mjs +10 -11
- package/lib/core/transform/tracker/broker/watchBrokerSource.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.d.cts +7 -4
- package/lib/core/transform/transformTtsc.d.mts +7 -4
- package/lib/core/transform/transformTtsc.d.ts +7 -4
- package/lib/core/transform/transformTtsc.js +37 -92
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +37 -92
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- package/lib/core/transform/validation/TtscGenerationProof.d.cts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.d.mts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.d.ts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.js +149 -0
- package/lib/core/transform/validation/TtscGenerationProof.js.map +1 -0
- package/lib/core/transform/validation/TtscGenerationProof.mjs +149 -0
- package/lib/core/transform/validation/TtscGenerationProof.mjs.map +1 -0
- package/lib/core/transform/validation/matchesCachedSource.d.cts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.d.mts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.d.ts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.js +28 -22
- package/lib/core/transform/validation/matchesCachedSource.js.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.mjs +28 -22
- package/lib/core/transform/validation/matchesCachedSource.mjs.map +1 -1
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.cts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.mts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.ts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.js +4 -4
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.js.map +1 -1
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs +4 -4
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs.map +1 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.cts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.mts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.ts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.js +2 -2
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.js.map +1 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs +2 -2
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.cts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.mts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.ts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.js +5 -3
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.js.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs +5 -3
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.cts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.mts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.ts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.js +5 -5
- package/lib/core/transform/validation/matchesUniversalHostInputs.js.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputs.mjs +5 -5
- package/lib/core/transform/validation/matchesUniversalHostInputs.mjs.map +1 -1
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.cts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.mts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.ts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.js +31 -12
- package/lib/core/transform/validation/nativeInputPredicatesHold.js.map +1 -1
- package/lib/core/transform/validation/nativeInputPredicatesHold.mjs +31 -12
- package/lib/core/transform/validation/nativeInputPredicatesHold.mjs.map +1 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.cts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.mts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.ts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.js +2 -2
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.js.map +1 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs +2 -2
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs.map +1 -1
- package/lib/core/transform/watch/notifyWatchInputs.js +3 -0
- package/lib/core/transform/watch/notifyWatchInputs.js.map +1 -1
- package/lib/core/transform/watch/notifyWatchInputs.mjs +3 -0
- package/lib/core/transform/watch/notifyWatchInputs.mjs.map +1 -1
- package/lib/core/turbopack/turbopack.js +2 -1
- package/lib/core/turbopack/turbopack.js.map +1 -1
- package/lib/core/turbopack/turbopack.mjs +2 -1
- package/lib/core/turbopack/turbopack.mjs.map +1 -1
- package/package.json +3 -3
- package/src/core/bun/bun.ts +8 -4
- package/src/core/observer/createInputObserver.ts +6 -5
- package/src/core/observer/openIsolatedRecursiveWatch.ts +11 -12
- package/src/core/transform/cache/TtscCachedProjectTransform.ts +13 -3
- package/src/core/transform/cache/selectCachedGenerationAction.ts +9 -1
- package/src/core/transform/deliverCachedTransform.ts +97 -0
- package/src/core/transform/envelope/selectDeclaredProjectInputKeys.ts +5 -2
- package/src/core/transform/envelope/selectExternalInputPaths.ts +7 -7
- package/src/core/transform/filesystem/TtscTransformFilesystemOperations.ts +15 -12
- package/src/core/transform/generation/selectTransformAttemptDisposition.ts +3 -1
- package/src/core/transform/generation/transformProject.ts +13 -9
- package/src/core/transform/inputs/preparePluginBuildEnvironments.ts +41 -7
- package/src/core/transform/tracker/broker/WatchBroker.ts +15 -4
- package/src/core/transform/tracker/broker/WatchBrokerTransport.ts +82 -0
- package/src/core/transform/tracker/broker/drainWatchBroker.ts +12 -13
- package/src/core/transform/tracker/broker/getWatchBroker.ts +89 -18
- package/src/core/transform/tracker/broker/openBrokeredWatch.ts +11 -14
- package/src/core/transform/tracker/broker/usesWatchBroker.ts +7 -7
- package/src/core/transform/tracker/broker/watchBrokerSource.ts +10 -11
- package/src/core/transform/transformTtsc.ts +36 -92
- package/src/core/transform/validation/TtscGenerationProof.ts +201 -0
- package/src/core/transform/validation/matchesCachedSource.ts +27 -21
- package/src/core/transform/validation/matchesCompleteInputSnapshot.ts +5 -3
- package/src/core/transform/validation/matchesNarrowPersistentInputs.ts +3 -1
- package/src/core/transform/validation/matchesUniversalHostInputTrees.ts +6 -2
- package/src/core/transform/validation/matchesUniversalHostInputs.ts +6 -4
- package/src/core/transform/validation/nativeInputPredicatesHold.ts +36 -14
- package/src/core/transform/validation/notificationsProveProgramUnchanged.ts +3 -1
- package/src/core/transform/watch/notifyWatchInputs.ts +3 -0
- package/src/core/turbopack/turbopack.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAA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AAI,EAAE,CAAC,EAAE;QACzE,GAAG,CAAC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
1
|
+
{"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,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I,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC;AACvC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,gBAAgB;YAAE,GAAG,CAAC,KAAK,CAAC;AACxD,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE;QACzE,GAAG,CAAC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -23,8 +23,8 @@ import { isTransformScratchInput } from '../tsconfig/isTransformScratchInput.mjs
|
|
|
23
23
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
24
24
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
25
25
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
26
|
-
* precede each own-key membership test
|
|
27
|
-
*
|
|
26
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
27
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
28
28
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
29
29
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
30
30
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -40,10 +40,14 @@ function selectDeclaredProjectInputKeys(props) {
|
|
|
40
40
|
}
|
|
41
41
|
const graph = props.result.graph;
|
|
42
42
|
const keys = new Set();
|
|
43
|
+
const seen = new Set();
|
|
43
44
|
const add = (entry) => {
|
|
44
45
|
if (typeof entry !== "string" || entry.length === 0)
|
|
45
46
|
return;
|
|
46
47
|
const absolute = path.resolve(props.projectRoot, entry);
|
|
48
|
+
if (seen.has(absolute))
|
|
49
|
+
return;
|
|
50
|
+
seen.add(absolute);
|
|
47
51
|
if (isTransformScratchInput(absolute, props.scratchDirectory))
|
|
48
52
|
return;
|
|
49
53
|
const key = toProjectKey(props.projectRoot, absolute, props.identities);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,I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AC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
1
|
+
{"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YA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AA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,gBAAgB;YAAE,GAAG,CAAC,KAAK,CAAC;AACxD,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE;QACzE,GAAG,CAAC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -34,17 +34,15 @@ var envelopeGraphIndexes = require('./envelopeGraphIndexes.js');
|
|
|
34
34
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
35
35
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
36
36
|
* candidate, dependency and host lists, followed by every collected member's
|
|
37
|
-
* filter pass.
|
|
38
|
-
* observations
|
|
39
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
37
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
38
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
40
39
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
41
40
|
* output allocate population-sized storage; final string sorting adds output
|
|
42
41
|
* comparison work.
|
|
43
42
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
44
43
|
* Generation state shares completed graph parsing, while this call's native
|
|
45
44
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
46
|
-
*
|
|
47
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
45
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
48
46
|
* and membership policy must represent the same stable generation view.
|
|
49
47
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
50
48
|
* Its collections are local to the call and released on return; only the
|
|
@@ -137,6 +135,11 @@ function selectExternalInputPaths(props) {
|
|
|
137
135
|
}
|
|
138
136
|
const absolute = path.resolve(props.projectRoot, member);
|
|
139
137
|
const spelling = path.resolve(absolute);
|
|
138
|
+
// Classify each lexical address once, including rejected walk members.
|
|
139
|
+
// Physical aliases remain distinct so retargeting is still observable.
|
|
140
|
+
if (seen.has(spelling))
|
|
141
|
+
continue;
|
|
142
|
+
seen.add(spelling);
|
|
140
143
|
const identity = pathIdentityKey.pathIdentityKey(absolute, identities);
|
|
141
144
|
const observation = graphIndexes.inputObservations.get(spelling);
|
|
142
145
|
const missingCandidate = resolutionCandidates.has(spelling) &&
|
|
@@ -144,14 +147,12 @@ function selectExternalInputPaths(props) {
|
|
|
144
147
|
(observation === undefined && !filesystem.exists(absolute)));
|
|
145
148
|
if (identity === excluded ||
|
|
146
149
|
isTransformScratchInput.isTransformScratchInput(absolute, props.scratchDirectory) ||
|
|
147
|
-
seen.has(spelling) ||
|
|
148
150
|
(!missingCandidate &&
|
|
149
151
|
isProjectWalkPath.isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
|
|
150
152
|
continue;
|
|
151
153
|
}
|
|
152
154
|
// Preserve distinct lexical aliases even when they currently select the
|
|
153
155
|
// same physical file. A later retarget must validate the alias itself.
|
|
154
|
-
seen.add(spelling);
|
|
155
156
|
output.push(absolute);
|
|
156
157
|
}
|
|
157
158
|
output.sort();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWalkPath"],"mappings":";;;;;;;;;;;AAaA
|
|
1
|
+
{"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWalkPath"],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAIA,2DAA6B;AACpE,IAAA,MAAM,UAAU,GAAGC,2DAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;IAChC,MAAM,UAAU,GAAGC,qCAAkB,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;AACF,IAAA,MAAM,YAAY,GAAGC,yCAAoB,CAAC,UAAU,EAAE;QACpD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,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ndexes } from './envelopeGraphIndexes.mjs';
|
|
|
32
32
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
33
33
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
34
34
|
* candidate, dependency and host lists, followed by every collected member's
|
|
35
|
-
* filter pass.
|
|
36
|
-
* observations
|
|
37
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
35
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
36
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
38
37
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
39
38
|
* output allocate population-sized storage; final string sorting adds output
|
|
40
39
|
* comparison work.
|
|
41
40
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
42
41
|
* Generation state shares completed graph parsing, while this call's native
|
|
43
42
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
44
|
-
*
|
|
45
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
43
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
46
44
|
* and membership policy must represent the same stable generation view.
|
|
47
45
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
48
46
|
* Its collections are local to the call and released on return; only the
|
|
@@ -135,6 +133,11 @@ function selectExternalInputPaths(props) {
|
|
|
135
133
|
}
|
|
136
134
|
const absolute = path.resolve(props.projectRoot, member);
|
|
137
135
|
const spelling = path.resolve(absolute);
|
|
136
|
+
// Classify each lexical address once, including rejected walk members.
|
|
137
|
+
// Physical aliases remain distinct so retargeting is still observable.
|
|
138
|
+
if (seen.has(spelling))
|
|
139
|
+
continue;
|
|
140
|
+
seen.add(spelling);
|
|
138
141
|
const identity = pathIdentityKey(absolute, identities);
|
|
139
142
|
const observation = graphIndexes.inputObservations.get(spelling);
|
|
140
143
|
const missingCandidate = resolutionCandidates.has(spelling) &&
|
|
@@ -142,14 +145,12 @@ function selectExternalInputPaths(props) {
|
|
|
142
145
|
(observation === undefined && !filesystem.exists(absolute)));
|
|
143
146
|
if (identity === excluded ||
|
|
144
147
|
isTransformScratchInput(absolute, props.scratchDirectory) ||
|
|
145
|
-
seen.has(spelling) ||
|
|
146
148
|
(!missingCandidate &&
|
|
147
149
|
isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
|
|
148
150
|
continue;
|
|
149
151
|
}
|
|
150
152
|
// Preserve distinct lexical aliases even when they currently select the
|
|
151
153
|
// same physical file. A later retarget must validate the alias itself.
|
|
152
|
-
seen.add(spelling);
|
|
153
154
|
output.push(absolute);
|
|
154
155
|
}
|
|
155
156
|
output.sort();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA
|
|
1
|
+
{"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAI,6BAA6B;AACpE,IAAA,MAAM,UAAU,GAAG,6BAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;IAChC,MAAM,UAAU,GAAG,kBAAkB,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB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AM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -5,7 +5,9 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures.
|
|
|
5
5
|
* facts describe the capture; this policy performs no capture or native proof.
|
|
6
6
|
*
|
|
7
7
|
* Coherent results return first. A local, lossless host-observation refusal can
|
|
8
|
-
* transfer
|
|
8
|
+
* transfer an incomplete local success. TtscGenerationProof owns any sharing of
|
|
9
|
+
* its first module deliveries inside an explicit nonwatching pass; this policy
|
|
10
|
+
* grants no independent native or persistent proof. Rejected attempts spend
|
|
9
11
|
* movement only when they neither refute a publication nor solely learn facts.
|
|
10
12
|
* Two movements or four captures stop retrying, retaining a current diagnostic
|
|
11
13
|
* rather than a terminal instability verdict when its config is not refuted.
|
|
@@ -5,7 +5,9 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures.
|
|
|
5
5
|
* facts describe the capture; this policy performs no capture or native proof.
|
|
6
6
|
*
|
|
7
7
|
* Coherent results return first. A local, lossless host-observation refusal can
|
|
8
|
-
* transfer
|
|
8
|
+
* transfer an incomplete local success. TtscGenerationProof owns any sharing of
|
|
9
|
+
* its first module deliveries inside an explicit nonwatching pass; this policy
|
|
10
|
+
* grants no independent native or persistent proof. Rejected attempts spend
|
|
9
11
|
* movement only when they neither refute a publication nor solely learn facts.
|
|
10
12
|
* Two movements or four captures stop retrying, retaining a current diagnostic
|
|
11
13
|
* rather than a terminal instability verdict when its config is not refuted.
|
|
@@ -5,7 +5,9 @@ import type { TtscGenerationProofFailures } from "./TtscGenerationProofFailures"
|
|
|
5
5
|
* facts describe the capture; this policy performs no capture or native proof.
|
|
6
6
|
*
|
|
7
7
|
* Coherent results return first. A local, lossless host-observation refusal can
|
|
8
|
-
* transfer
|
|
8
|
+
* transfer an incomplete local success. TtscGenerationProof owns any sharing of
|
|
9
|
+
* its first module deliveries inside an explicit nonwatching pass; this policy
|
|
10
|
+
* grants no independent native or persistent proof. Rejected attempts spend
|
|
9
11
|
* movement only when they neither refute a publication nor solely learn facts.
|
|
10
12
|
* Two movements or four captures stop retrying, retaining a current diagnostic
|
|
11
13
|
* rather than a terminal instability verdict when its config is not refuted.
|
|
@@ -8,7 +8,9 @@ var onlyLearnedCompileFacts = require('./onlyLearnedCompileFacts.js');
|
|
|
8
8
|
* facts describe the capture; this policy performs no capture or native proof.
|
|
9
9
|
*
|
|
10
10
|
* Coherent results return first. A local, lossless host-observation refusal can
|
|
11
|
-
* transfer
|
|
11
|
+
* transfer an incomplete local success. TtscGenerationProof owns any sharing of
|
|
12
|
+
* its first module deliveries inside an explicit nonwatching pass; this policy
|
|
13
|
+
* grants no independent native or persistent proof. Rejected attempts spend
|
|
12
14
|
* movement only when they neither refute a publication nor solely learn facts.
|
|
13
15
|
* Two movements or four captures stop retrying, retaining a current diagnostic
|
|
14
16
|
* rather than a terminal instability verdict when its config is not refuted.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectTransformAttemptDisposition.js","sources":["../../../../src/core/transform/generation/selectTransformAttemptDisposition.ts"],"sourcesContent":[null],"names":["createGenerationProofFailures","onlyLearnedCompileFacts"],"mappings":";;;;;AAKA
|
|
1
|
+
{"version":3,"file":"selectTransformAttemptDisposition.js","sources":["../../../../src/core/transform/generation/selectTransformAttemptDisposition.ts"],"sourcesContent":[null],"names":["createGenerationProofFailures","onlyLearnedCompileFacts"],"mappings":";;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CG;AACG,SAAU,iCAAiC,CAAC,KAoCjD,EAAA;AAgBC,IAAA,MAAM,iBAAiB,GACrB,KAAK,CAAC,UAAU,KAAK,SAAS;AAC9B,SAAC,KAAK,CAAC,oBAAoB,KAAK,KAAK;AACnC,YAAA,KAAK,CAAC,0BAA0B,KAAK,CAAC,CAAC;AAC3C,IAAA,IACE,KAAK,CAAC,mBAAmB,KAAK,KAAK;AACnC,SAAC,KAAK,CAAC,UAAU,KAAK;AACpB,cAAE,KAAK,CAAC,uBAA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AAQ;QACR,KAAK;QACL,QAAQ;KACT;AACH;AAEA;AACA,MAAM,2BAA2B,GAAG,CAAC;;;;"}
|
|
@@ -6,7 +6,9 @@ import { onlyLearnedCompileFacts } from './onlyLearnedCompileFacts.mjs';
|
|
|
6
6
|
* facts describe the capture; this policy performs no capture or native proof.
|
|
7
7
|
*
|
|
8
8
|
* Coherent results return first. A local, lossless host-observation refusal can
|
|
9
|
-
* transfer
|
|
9
|
+
* transfer an incomplete local success. TtscGenerationProof owns any sharing of
|
|
10
|
+
* its first module deliveries inside an explicit nonwatching pass; this policy
|
|
11
|
+
* grants no independent native or persistent proof. Rejected attempts spend
|
|
10
12
|
* movement only when they neither refute a publication nor solely learn facts.
|
|
11
13
|
* Two movements or four captures stop retrying, retaining a current diagnostic
|
|
12
14
|
* rather than a terminal instability verdict when its config is not refuted.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectTransformAttemptDisposition.mjs","sources":["../../../../src/core/transform/generation/selectTransformAttemptDisposition.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA
|
|
1
|
+
{"version":3,"file":"selectTransformAttemptDisposition.mjs","sources":["../../../../src/core/transform/generation/selectTransformAttemptDisposition.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CG;AACG,SAAU,iCAAiC,CAAC,KAoCjD,EAAA;AAgBC,IAAA,MAAM,iBAAiB,GACrB,KAAK,CAAC,UAAU,KAAK,SAAS;AAC9B,SAAC,KAAK,CAAC,oBAAoB,KAAK,KAAK;AACnC,YAAA,KAAK,CAAC,0BAA0B,KAAK,CAAC,CAAC;AAC3C,IAAA,IACE,KAAK,CAAC,mBAAmB,KAAK,KAAK;AACnC,SAAC,KAAK,CAAC,UAAU,KAAK;AACpB,cAAE,KAAK,CAAC,uBAAuB,KAAK;cAClC,KAAK,CAAC,gBAAgB,KAAK,KAAK,CAAC,EACrC;AACA,Q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G,CAAC;;;;"}
|
|
@@ -51,18 +51,20 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
51
51
|
* (samchon/ttsc#1545).
|
|
52
52
|
*
|
|
53
53
|
* A local success whose only lost premise is explicitly unavailable host
|
|
54
|
-
* observation may qualify for
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
54
|
+
* observation may qualify for local delivery. TtscGenerationProof additionally
|
|
55
|
+
* requires an explicitly nonwatching host and actual cache withdrawal for every
|
|
56
|
+
* delivery. It alone can share recorded first-module baselines inside the same
|
|
57
|
+
* explicit pass. This incomplete result cannot authorize ordinary resident
|
|
58
|
+
* reuse, a persistent project record or shared publication; repeated modules
|
|
59
|
+
* and later passes recapture. Actual changes, conflicts and unexplained missing
|
|
60
|
+
* proof retain the stabilization gate.
|
|
59
61
|
*
|
|
60
62
|
* Enabled private tracing records each computed disposition before its state is
|
|
61
63
|
* applied. It does not supply proof when capture throws or tracing fails.
|
|
62
64
|
*
|
|
63
|
-
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers
|
|
65
|
+
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers an incomplete local result whose bounded first deliveries require the common nonwatching pass owner, while mixed mutation, missing or conflicting proof retains retry admission.
|
|
64
66
|
* @evidence contracts/common.md#clear-and-simple-design The pure attempt policy selects acceptance and retry budgets; this loop owns mutable learned facts and resource handoff, capture owns proof construction, and the shared error builder owns terminal rendering and final disposal.
|
|
65
|
-
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes
|
|
67
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes complete or persistent/shared success proof or excuses actual mutation.
|
|
66
68
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain movement versus absolute budgets, failed-compile diagnostics and learned facts; separated props state delivery, tracking and inherited witness meaning.
|
|
67
69
|
* @evidence contracts/portability.md#os-neutral-implementation Each capture delegates native filesystem and compiler behavior to injected host boundaries; reported compiler case policy is carried between attempts rather than guessed from OS names.
|
|
68
70
|
* @evidence contracts/performance.md#efficient-algorithms At most four captures bound retry count, not each capture's project/config/input bytes, native walks, compiler/plugin work, observer setup or session waiting time. Each rejected attempt copies the cumulative witnessed Set and scans its external dependencies into that copy; the next capture receives a separate array of its names; supplied spellings contribute hashing/text cost. Terminal rendering visits retained attempts/witnesses, and disposal delegates observer/probe cleanup rather than making those effects constant work. Enabled tracing serializes disposition scalars and path text through the existing bounded append sink; disabled tracing skips that payload construction.
|
|
@@ -51,18 +51,20 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
51
51
|
* (samchon/ttsc#1545).
|
|
52
52
|
*
|
|
53
53
|
* A local success whose only lost premise is explicitly unavailable host
|
|
54
|
-
* observation may qualify for
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
54
|
+
* observation may qualify for local delivery. TtscGenerationProof additionally
|
|
55
|
+
* requires an explicitly nonwatching host and actual cache withdrawal for every
|
|
56
|
+
* delivery. It alone can share recorded first-module baselines inside the same
|
|
57
|
+
* explicit pass. This incomplete result cannot authorize ordinary resident
|
|
58
|
+
* reuse, a persistent project record or shared publication; repeated modules
|
|
59
|
+
* and later passes recapture. Actual changes, conflicts and unexplained missing
|
|
60
|
+
* proof retain the stabilization gate.
|
|
59
61
|
*
|
|
60
62
|
* Enabled private tracing records each computed disposition before its state is
|
|
61
63
|
* applied. It does not supply proof when capture throws or tracing fails.
|
|
62
64
|
*
|
|
63
|
-
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers
|
|
65
|
+
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers an incomplete local result whose bounded first deliveries require the common nonwatching pass owner, while mixed mutation, missing or conflicting proof retains retry admission.
|
|
64
66
|
* @evidence contracts/common.md#clear-and-simple-design The pure attempt policy selects acceptance and retry budgets; this loop owns mutable learned facts and resource handoff, capture owns proof construction, and the shared error builder owns terminal rendering and final disposal.
|
|
65
|
-
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes
|
|
67
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes complete or persistent/shared success proof or excuses actual mutation.
|
|
66
68
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain movement versus absolute budgets, failed-compile diagnostics and learned facts; separated props state delivery, tracking and inherited witness meaning.
|
|
67
69
|
* @evidence contracts/portability.md#os-neutral-implementation Each capture delegates native filesystem and compiler behavior to injected host boundaries; reported compiler case policy is carried between attempts rather than guessed from OS names.
|
|
68
70
|
* @evidence contracts/performance.md#efficient-algorithms At most four captures bound retry count, not each capture's project/config/input bytes, native walks, compiler/plugin work, observer setup or session waiting time. Each rejected attempt copies the cumulative witnessed Set and scans its external dependencies into that copy; the next capture receives a separate array of its names; supplied spellings contribute hashing/text cost. Terminal rendering visits retained attempts/witnesses, and disposal delegates observer/probe cleanup rather than making those effects constant work. Enabled tracing serializes disposition scalars and path text through the existing bounded append sink; disabled tracing skips that payload construction.
|
|
@@ -51,18 +51,20 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
51
51
|
* (samchon/ttsc#1545).
|
|
52
52
|
*
|
|
53
53
|
* A local success whose only lost premise is explicitly unavailable host
|
|
54
|
-
* observation may qualify for
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
54
|
+
* observation may qualify for local delivery. TtscGenerationProof additionally
|
|
55
|
+
* requires an explicitly nonwatching host and actual cache withdrawal for every
|
|
56
|
+
* delivery. It alone can share recorded first-module baselines inside the same
|
|
57
|
+
* explicit pass. This incomplete result cannot authorize ordinary resident
|
|
58
|
+
* reuse, a persistent project record or shared publication; repeated modules
|
|
59
|
+
* and later passes recapture. Actual changes, conflicts and unexplained missing
|
|
60
|
+
* proof retain the stabilization gate.
|
|
59
61
|
*
|
|
60
62
|
* Enabled private tracing records each computed disposition before its state is
|
|
61
63
|
* applied. It does not supply proof when capture throws or tracing fails.
|
|
62
64
|
*
|
|
63
|
-
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers
|
|
65
|
+
* @evidence contracts/common.md#principled-implementation Each capture establishes config coherence and reusable success proof or a current diagnostic verdict; a local stable success with only explicit unavailable host observations instead transfers an incomplete local result whose bounded first deliveries require the common nonwatching pass owner, while mixed mutation, missing or conflicting proof retains retry admission.
|
|
64
66
|
* @evidence contracts/common.md#clear-and-simple-design The pure attempt policy selects acceptance and retry budgets; this loop owns mutable learned facts and resource handoff, capture owns proof construction, and the shared error builder owns terminal rendering and final disposal.
|
|
65
|
-
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes
|
|
67
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts Retrying follows learned dependencies/case policy or refuted publication payload rather than an endless workaround chain; only lossless producer-authorized observation unavailability can permit a local fresh answer, and it never becomes complete or persistent/shared success proof or excuses actual mutation.
|
|
66
68
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain movement versus absolute budgets, failed-compile diagnostics and learned facts; separated props state delivery, tracking and inherited witness meaning.
|
|
67
69
|
* @evidence contracts/portability.md#os-neutral-implementation Each capture delegates native filesystem and compiler behavior to injected host boundaries; reported compiler case policy is carried between attempts rather than guessed from OS names.
|
|
68
70
|
* @evidence contracts/performance.md#efficient-algorithms At most four captures bound retry count, not each capture's project/config/input bytes, native walks, compiler/plugin work, observer setup or session waiting time. Each rejected attempt copies the cumulative witnessed Set and scans its external dependencies into that copy; the next capture receives a separate array of its names; supplied spellings contribute hashing/text cost. Terminal rendering visits retained attempts/witnesses, and disposal delegates observer/probe cleanup rather than making those effects constant work. Enabled tracing serializes disposition scalars and path text through the existing bounded append sink; disabled tracing skips that payload construction.
|