{"id":"decorator-transparent-enclosure","text":"The Decorator pattern implements transparent enclosure: single-child composition with compatible interfaces, so clients generally cannot tell whether they are dealing with the component or its decorator, especially when the enclosure delegates all its operations.","truth_value":"IN","source":"entries/2026/06/17/gof-oo-chunk-5.md","source_url":"","source_hash":"","justifications":[],"dependents":["decorator-structurally-identical-to-degenerate-composite","proxy-decorator-wrapping-spectrum"],"metadata":{"last_premise_reviewed":"2026-06-17T18:19:22","premise_review_result":"pass"},"created_at":"2026-06-17T17:04:08+00:00","updated_at":"2026-06-17T17:49:53+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"decorator-transparent-enclosure","truth_value":"IN","reason":"premise"}]}}