Lifecycle Editable
lifecycle_editableCheck whether an item is editable before writing to it. Returns ok, editable, and lifecycle state, so you can avoid modifying frozen items in review, released, or obsolete states.
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 |