lifecycle_editable
Check if a registry item is editable before writing, so builders avoid modifying frozen lifecycle states such as in_review, released, or obsolete.
Instructions
The cheap "is this editable?" check a builder runs before writing (#141 C2). An item is editable only in lifecycle state in_work; in_review, released and obsolete are frozen (released = immutable, the API-stability guarantee).
registry: path to the items.json sidecar. item: the item id to check.
Returns {ok, editable, state}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| registry | Yes |