# Lifecycle

`LifecycleContext` exposes deprecation and removal metadata for reusable semantic subjects.

## Fields

| Path          | Type                                                                         | Meaning                               |
| ------------- | ---------------------------------------------------------------------------- | ------------------------------------- |
| `deprecated`  | `boolean`                                                                    | Deprecated state.                     |
| `since`       | `string\|null`                                                               | Deprecation version or epoch.         |
| `reason`      | `string\|null`                                                               | Human reason for the lifecycle state. |
| `replaced_by` | [`SemanticLinkContext`](/pack-builders/context/shared-semantic-link)`\|null` | Replacement subject, when known.      |
| `removed`     | `boolean`                                                                    | Removed-but-retained semantic state.  |

Templates may use lifecycle metadata for comments, generated annotations or compatibility shims. It must not change canonical semantic meaning.
