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: Identity

Identity · rule

semantic.principal_variant_duplicate

Principal declares a variant twice.

Area 8, Identity; not declinable; the next step is usually the agent's.

example
principal {    user: {        subject: Member.handle    }    user: {        subject: Member.handle    }}type Handle = Text {    max_length: 40}entity Member {    id: Uuid    handle: Handle {        unique: true    }}
text
error: `user:` is declared twice --> main.jadpo:5:5  |2 |     user: {  |     ---- first declared here5 |     user: {  |     ^^^^ declared again  reason: A principal says once which entity a user is, so a caller is looked up one way.  next: Remove one `user:` (agent)  rule: semantic.principal_variant_duplicate  help: https://jadpo.dev/docs/errors/semantic.principal_variant_duplicatecheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/semantic.principal_variant_duplicate.md.Built from Jadpo main at a707efb.