Production/Cartbasev1 · live

Journeys

Multi-step flows. Each step keeps its own policy; collected values carry forward.

No journeys are registered for this agent

Journeys are declared in the agent's registry, beside its verbs.
What a journey looks like
// A journey is registry data, declared beside the verbs it uses.
journeys: [
{
id: "register_and_book",
title: { en: "Register a member and book a class" },
description: "when a new person should be registered and booked in one go",
examples: { positive: ["register John and book him into Yoga"] },
steps: [
"register_member", // its own policy applies
{ verb: "book_class" }, // slots carry forward by name
{ verb: "apply_discount", // guarded: skipped unless engaged
when: { slot: "classes", op: "gte", value: 3 } },
],
},
]