@@ -36,11 +36,13 @@ export const SNAPSHOT_PRODUCER_ADAPTER_ROOTS: readonly string[] = [
3636
3737/**
3838 * iOS presentation. The engine owns projection, geometry, scope, depth, actionability narrowing
39- * and semantic compaction. Producer adapters can acquire shared raw-node facts but cannot present
40- * them; the assembly cannot read either presentation or producer acquisition policy.
39+ * and semantic compaction; the acquisition module owns the producer capability table that decides
40+ * them. Reading either one from the assembly or from a producer adapter is how the deleted
41+ * backend-name policy grows back.
4142 */
4243const IOS_PRESENTATION_TARGETS : readonly string [ ] = [
4344 'packages/capture-kit/src/ios-snapshot-engine/' ,
45+ 'packages/capture-kit/src/ios-snapshot-acquisition.ts' ,
4446] ;
4547
4648/**
@@ -82,9 +84,8 @@ function missingOwnerViolations(sources: ReadonlyMap<string, string>): LayeringV
8284function importViolations ( edges : readonly ResolvedImportEdge [ ] ) : LayeringViolation [ ] {
8385 const violations : LayeringViolation [ ] = [ ] ;
8486 for ( const edge of edges ) {
85- const presentation = isIosPresentationTarget ( edge . target ) ;
86- const acquisition = edge . target === 'packages/capture-kit/src/ios-snapshot-acquisition.ts' ;
87- if ( SNAPSHOT_ASSEMBLY_FILES . includes ( edge . file ) && ( presentation || acquisition ) ) {
87+ if ( ! isIosPresentationTarget ( edge . target ) ) continue ;
88+ if ( SNAPSHOT_ASSEMBLY_FILES . includes ( edge . file ) ) {
8889 violations . push ( {
8990 rule : SNAPSHOT_ASSEMBLY_PRESENTATION_RULE ,
9091 file : edge . file ,
@@ -93,7 +94,7 @@ function importViolations(edges: readonly ResolvedImportEdge[]): LayeringViolati
9394 } ) ;
9495 continue ;
9596 }
96- if ( isProducerAdapter ( edge . file ) && presentation ) {
97+ if ( isProducerAdapter ( edge . file ) ) {
9798 violations . push ( {
9899 rule : SNAPSHOT_ASSEMBLY_PRESENTATION_RULE ,
99100 file : edge . file ,
0 commit comments