{"id":"proxy-decorator-wrapping-spectrum","text":"Proxy and Decorator both wrap an object behind a compatible interface but differ in intent and relationship: Decorator adds responsibilities dynamically with open-ended recursive composition, while Proxy controls access (remote, protected, virtual) with a static relationship to a fixed subject — placing them at opposite ends of a single-child wrapping spectrum from dynamic enhancement to static mediation.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["proxy-vs-decorator-static-vs-dynamic","decorator-dynamic-alternative-to-subclassing","decorator-transparent-enclosure"],"outlist":[],"label":"Three base beliefs on wrapping semantics unify into a spectrum from dynamic enhancement to static access control"}],"dependents":["structural-patterns-boundary-vs-wrapping-spectra","wrapping-taxonomy-access-to-algorithm"],"metadata":{"source_type":"derived","review_result":"unnecessary"},"created_at":"2026-06-17T17:55:06+00:00","updated_at":"2026-06-18T06:15:08+00:00","reviewed_at":"2026-06-18T06:15:08+00:00","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"proxy-decorator-wrapping-spectrum","truth_value":"IN","reason":"SL justification valid","antecedents":["proxy-vs-decorator-static-vs-dynamic","decorator-dynamic-alternative-to-subclassing","decorator-transparent-enclosure"],"label":"Three base beliefs on wrapping semantics unify into a spectrum from dynamic enhancement to static access control"},{"node":"proxy-vs-decorator-static-vs-dynamic","truth_value":"IN","reason":"premise"},{"node":"decorator-dynamic-alternative-to-subclassing","truth_value":"IN","reason":"premise"},{"node":"decorator-transparent-enclosure","truth_value":"IN","reason":"premise"}]}}