Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Data

Data · rule

data.lifecycle_purge_after

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

Area 5, Data; 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        }    }}
text
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_aftercheck failed: 1 error, 1 file

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