Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 1 Nov 2026. What's built · Install 0.2.0
jadpo
Reference: Built-in services

Built-in services · rule

flag.store_invalid

On this page

Flags' settings in app.jadpo hold something other than a database's store:.

Area 16, Built-in services; not declinable; the next step is usually the agent's.

Why Jadpo refuses it

flags: { store: } names the database every flag's state is kept in, and holds nothing else: the flags themselves are declared in flags.jadpo. A name that isn't one of the app's databases would leave the flags with nowhere to keep what they are switched to.

What it looks like

example
application {    connections: {        main: {            driver: Driver.postgres            url: config.database_url        }    }    flags: {        store: mian    }}
jadpo checkcheck failed: 1 error, 3 files

error store: mian isn't a database

--> app.jadpo:9:16

  |9 |         store: mian  |                ^^^^ not a database
reason
Every flag's state is kept in a database, so a change reaches each server; this application's databases are main.
next
Use main instead of mian (agent)
rule
flag.store_invalid
help
https://jadpo.dev/docs/errors/flag.store_invalid

(agent) at the end of the next: line means your coding agent can make the fix itself.

How to fix it

If it names a database by a misspelling, use its name:

example
    flags: {        store: main    }

Each flag's state is now kept in main. With one database, flags: can also be left out: the only database keeps it.

Markdown for agents: /docs/errors/flag.store_invalid.md.Built from Jadpo main at e00e61f.