Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsEntities, stores and migrations · rule

data.lifecycle_purge_after

Purge's after: isn't a positive duration.

Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.

A hidden record is kept for a positive duration before purge deletes it:

example
entity Todo {    id: Uuid    deleted_at: Instant?    lifecycle: {        visible: deleted_at == none        purge: {            after: 0d            since: deleted_at        }    }}
jadpo checkcheck failed: 1 error, 1 file

error after: 0d isn't a positive duration

--> main.jadpo:8:20

  |8 |             after: 0d  |                    ^^ not a positive duration
reason
after: is how long a hidden record is kept before purge deletes it, a duration such as 30d or 12h, longer than nothing; a hidden record would be deleted the moment it is hidden.
next
Write a duration, such as after: 30d (agent)
rule
data.lifecycle_purge_after
help
https://jadpo.dev/docs/errors/data.lifecycle_purge_after

Markdown for agents: /docs/errors/data.lifecycle_purge_after.md.Built from Jadpo main at aee2e8f.