Loading playbook data…
Can’t open Studio
{{ loadError }}
Serving by app version
newest published, non-halted playbook whose minAppVersion ≤ the device
{{ startDraftCta }}
Continue draft {{ openDraftVersion }}
Each playbook is a floor with no maximum. Hash marks the region a newer playbook already covers. Click a version on the left to view or edit.
{{ r.version }}
{{ r.actionLabel }}
App version →
{{ t.v }}
{{ edEyebrow }}
Playbook {{ edVersion }}
{{ edStatusLabel }}
based on live {{ edBasedOn }}
{{ edSubtitle }}
Publish playbook
Go to draft {{ openDraftVersion }}
{{ startDraftCta }}
Info pack · app {{ infoVersion }}
Flows come from {{ infoClassification }}. Change the host or version to load that pack's classification.json. The playbook's stored minimum app version stays {{ targetVersion }}.
{{ capHookCount }} hooks
{{ capStateCount }} state fields
{{ capEventCount }} events
{{ m.tagLabel }}
{{ m.type }}
{{ m.addedV }}
No metadata field matches — try another term.
{{ metaMatch }} matching · showing up to 40
{{ nextVersion }} adds {{ nextAddH }} hooks · {{ nextAddM }} fields
App hooks · engineer-owned
{{ activeHookId }}
Ordered first-match — the first matching directive wins, one outcome per hook.
{{ d.priority }}
{{ d.cohortName }}
{{ d.statusLabel }}
{{ d.modeLabel }}
{{ d.warnText }}
No directives on this hook
The hook fires and the app continues as normal.
Cohorts
Defined with engineer-curated patterns. Operators tune parameters freely.
AND{{ r }}
No rules — matches every user.
{{ c.usedCount }} {{ c.usedText }}
Flows
{{ flowCatalogNote }}
{{ c.usageLabel }}
{{ c.name }}
{{ c.updatedAt }}
Resolved in the cloud when a server event fires a PlayHook, not on the device. Directives are first-match per hook. Read-only here until cloud authoring lands.
Could not load the Cloud Playbook: {{ cloudError }}
No Cloud Playbook yet. Seed this environment (npm run seed -- --cloud-only).
Cloud Playbook {{ p.version }}
{{ p.statusLabel }}
{{ p.meta }}
{{ p.note }}
{{ h.label }}
{{ h.id }}
{{ h.contextLabel }}
Not in the cloud vocabulary, so the runtime never resolves it.
{{ d.order }}
{{ d.statusLabel }}
send_email
{{ d.modeLabel }}
No directives, so this hook sends nothing.
Fire a PlayHook with a simulated context. It is resolved by the same code the cloud runtime runs, against the live Cloud Playbook {{ cpLiveVersion }}. Nothing is sent.
PlayHook
{{ cpHookNote }}
Context
{{ cpError }}
Resolving…
{{ cpOutcomeLabel }}
{{ cpOutcomeText }}
Trace · first match wins
{{ t.order }}
{{ t.label }}
{{ t.why }}
No directives were evaluated.
Would send · {{ cpEmailMeta }}
{{ cpEmailSubject }}
Cloud cohorts
Separate from app cohorts. Rules test the PlayHook context, not device metadata: {{ cloudSignalsLabel }}. Read-only until cloud authoring lands.
Could not load cloud cohorts: {{ cloudError }}
{{ c.id }}
AND{{ r }}
No rules, so it matches every user.
{{ c.usedCount }} {{ c.usedText }}
Cloud Playbook emails. Pick a variant and locale; the preview is rendered by the same code that sends it.
Could not load emails: {{ emailsError }}
No Email Pages yet. Seed this environment (npm run seed -- --cloud-only).
Variant
Locale
PlayHook context
Not sendable yet
· {{ i.text }}
{{ emailError }}
Subject
{{ emailSubject }}
{{ emailPreheader }}
{{ emailLocaleNote }}
{{ emailText }}
Rendering…
Simulated user
Fields this hook's cohorts read are pinned; add any other catalog field, or edit the full meta as JSON. The first running directive whose rules all match opens that flow.
Flow lookup
{{ hookFlowNote }}
Identity of this simulated user. child_name is sent to the info page. user_id picks the A/B bucket. Neither is a cohort rule.
App meta
{{ f.id }}
{{ f.kindLabel }}
{{ f.usedLabel }}
{{ f.unsetNote }}
This hook's cohorts do not read any catalog signals. Add a field to test anyway.
{{ o.label }}
No match
Paste CatCloud:getMeta() (device, user, aggregates). user_id, child_name and flags are optional. Valid JSON applies as you type.
{{ previewJsonError }} · last valid meta is still used
{{ x.text }}
{{ metaUnknownNote }}
Resolve hook
resolve(meta, "{{ pv.hook }}", ctx)
Live rule check
{{ c.name }}
{{ c.flow }}
{{ r.mark }}
{{ r.text }}
{{ r.actual }}
No rules · matches everyone
No directives on this hook.
Resolution trace
{{ t.cohortName }}
{{ t.detail }}
Directive returned
{{ resultJson }}
Set up a user and hit Resolve
The Runtime evaluates directives in order and returns one outcome.
On device
{{ auditIntro }}
{{ auditEmptyText }}