Runs, states and sign-in
A core walks a journey’s steps one by one, so the rig expands anything that stands for other steps before a core sees it.
A core walks a journey's steps one by one and leaves one step record for each, in order. So the rig
expands anything that stands for other steps before a core sees it, and the same way for every core.
pitafix rig show --json prints the expanded steps.
useis replaced by the steps of its run, in place. Theusestep takes noid,labelorexpectof its own, since it stands for other steps. Put those on a step of the run. A run used twice in one journey repeats its step ids, and the check refuses that ("x" is used twice), so use a run once in a journey.stategoes into the state's way in. Withasandopenit becomes two steps: asign_inof the person, with the id<id>-sign-in, then anopenof the address with the step's own id, label andexpect. Withopenalone it is oneopen. Withasalone it is onesign_in. A state with neither can't be gone into, and the check says so.sign_inas a person who gets in by cookies stays onesign_instep: the core sets the cookies. As a person who gets in by steps, it is replaced by those steps. The last of them takes thesign_in's own id, label andexpect, and the others go under its id with a hyphen and their own, assign-in-type-mail.
Because of this, the N-th step a rig journey lists is not always the N-th step a core walks, and the test and the claims count the expanded list.