{"id":"state-strategy-dual-behavioral-composition","text":"State and Strategy are dual composition-based behavioral variation mechanisms operating along orthogonal axes: Strategy varies algorithms by client choice (the external extension spectrum from skin to guts), while State varies behavior by object lifecycle transitions (internal state-driven change) — both using delegation but modeling fundamentally different dimensions of behavioral variability.","truth_value":"IN","source":"","source_url":"","source_hash":"","justifications":[{"type":"SL","antecedents":["state-models-behavioral-transitions","skin-vs-guts-extension-spectrum"],"outlist":[],"label":"These two depth-1 conclusions each describe a behavioral variation mechanism via composition; recognizing them as orthogonal duals reveals the two independent axes along which behavior can vary"}],"dependents":["behavioral-four-dimensional-modification-space","behavioral-modification-space-fully-spanned"],"metadata":{"source_type":"derived","review_result":"pass"},"created_at":"2026-06-17T18:38:48+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":"state-strategy-dual-behavioral-composition","truth_value":"IN","reason":"SL justification valid","antecedents":["state-models-behavioral-transitions","skin-vs-guts-extension-spectrum"],"label":"These two depth-1 conclusions each describe a behavioral variation mechanism via composition; recognizing them as orthogonal duals reveals the two independent axes along which behavior can vary"},{"node":"state-models-behavioral-transitions","truth_value":"IN","reason":"SL justification valid","antecedents":["strategy-vs-state-distinction","gof-state-vs-table-driven-key-difference","gof-state-object-creation-tradeoff"],"label":"State occupies a unique niche defined by contrast with Strategy (different binding) and tables (different representation), plus its own creation tradeoffs"},{"node":"strategy-vs-state-distinction","truth_value":"IN","reason":"premise"},{"node":"gof-state-vs-table-driven-key-difference","truth_value":"IN","reason":"premise"},{"node":"gof-state-object-creation-tradeoff","truth_value":"IN","reason":"premise"},{"node":"skin-vs-guts-extension-spectrum","truth_value":"IN","reason":"SL justification valid","antecedents":["decorator-vs-strategy-skin-vs-guts","gof-template-method-vs-strategy-inheritance-vs-delegation","decorator-dynamic-alternative-to-subclassing"],"label":"Three patterns form a spectrum from external wrapping to internal algorithm replacement"},{"node":"decorator-vs-strategy-skin-vs-guts","truth_value":"IN","reason":"premise"},{"node":"gof-template-method-vs-strategy-inheritance-vs-delegation","truth_value":"IN","reason":"premise"},{"node":"decorator-dynamic-alternative-to-subclassing","truth_value":"IN","reason":"premise"}]}}