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: Reads and writes

Reads and writes · rule

data.set_generated_field

Write sets a field the store generates.

Area 6, Reads and writes; not declinable; the next step is usually the agent's.

example
type Title = Text {    max_length: 80}entity Note {    id: Uuid    title: Title    written_at: Instant {        generated: Generated.on_create    }}action jot_down(title: Note.title, at: Note.written_at) -> Note {    return Note.create {        set: {            title: title            written_at: at        }    }}
text
error: `Note.create` sets `written_at`, which the store generates --> main.jadpo:17:13   |17 |             written_at: at   |             ^^^^^^^^^^ generated  reason: `Note.written_at` is generated from the operation's clock; code never assigns it.  next: Remove `written_at` from `set:` (agent)  rule: data.set_generated_field  help: https://jadpo.dev/docs/errors/data.set_generated_fieldcheck failed: 1 error, 1 file

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