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

ErrorsSign-in and identity · rule

semantic.principal_variant_duplicate

Principal declares a variant twice.

Area 8, Sign-in and 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    }}
jadpo checkcheck failed: 1 error, 1 file

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_duplicate

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