Data · rule
data.lifecycle_purge_visible
Lifecycle purges records but hides none.
Area 5, Data; not declinable; the next step is usually the agent's.
Purge deletes records once they have been hidden for a while, so the lifecycle says which records are hidden:
entity Todo { id: Uuid deleted_at: Instant? lifecycle: { transitions: { delete: { set: { deleted_at: clock.now } } } purge: { after: 30d since: deleted_at } }}
error: `Todo`'s lifecycle purges records but hides none --> main.jadpo:13:9 |13 | purge: { | ^^^^^ no `visible:` above reason: Purge permanently deletes records once they have been hidden for a while, so the lifecycle must say which records are hidden, with `visible:`. next: Add `visible: <condition>` to the lifecycle (agent) rule: data.lifecycle_purge_visible help: https://jadpo.dev/docs/errors/data.lifecycle_purge_visiblecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/data.lifecycle_purge_visible.md.Built from Jadpo main at a707efb.