Eligibility

Eligibility gates which items appear and whether the whole flow applies. It is presentation only: it never deletes or overrides stored progress. Set it on the flow and on individual items in the dashboard editor, MCP update_draft, or secret HTTP.

Clauses

  • roleIn — context.role must be listed
  • planIn — context.plan must be listed
  • flags — context.flags keys must match expected booleans

match all vs any

match: "all" (default): every present clause must pass. match: "any": at least one present clause must pass.

Missing clause → false

If a clause is present but the context field is missing (e.g. no role when roleIn is set), that clause evaluates false. Eligibility does not mutate storage.

Empty eligibility

When no items apply, the widget shows emptyState from flow config.

Related: Identity · Configuration