{"id":"visitor-structural-independence-safely-applicable","text":"Visitor's dual class hierarchy enables computation across structurally unrelated elements — but this structural independence is safely applicable only while visitor methods do not force element classes to expose internal state through their public interface, which would trade inter-element flexibility for intra-element encapsulation violation.","truth_value":"OUT","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["gof-visitor-two-class-hierarchies","gof-visitor-no-common-parent-required"],"outlist":["gof-visitor-breaks-encapsulation"],"label":"Structural independence benefit is gated on elements not being forced to expose internals"}],"dependents":[],"metadata":{"source_type":"derived"},"created_at":"2026-06-18T00:02:15+00:00","updated_at":"2026-06-18T00:02:15+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"visitor-structural-independence-safely-applicable","truth_value":"OUT","reason":"SL justification invalid","failed_antecedents":[],"label":"Structural independence benefit is gated on elements not being forced to expose internals","violated_outlist":["gof-visitor-breaks-encapsulation"]}]}}