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

type.auth_sessions_context

Session, API token or service key operation outside an action, or without its sign-in method.

Area 8, Sign-in and identity; not declinable; the next step is usually the agent's.

example
principal {    user: {        subject: Member.handle    }}authentication {    browser_session: {        cookie: "session"    }}type Handle = Text {    max_length: 40}entity Member {    id: Uuid    handle: Handle {        unique: true    }}test "signing out ends the session" {    sessions.end()}
jadpo checkcheck failed: 1 error, 1 file

error A test can't call sessions.end

--> main.jadpo:25:5

   |25 |     sessions.end()   |     ^^^^^^^^^^^^ outside an action
reason
sessions.end ends the session of the request a route answers, so only an action calls it.
next
Call sessions.end in the action a sign-in or sign-out route runs (agent)
rule
type.auth_sessions_context
help
https://jadpo.dev/docs/errors/type.auth_sessions_context

Markdown for agents: /docs/errors/type.auth_sessions_context.md.Built from Jadpo main at aee2e8f.