ZCM
Playbook Studio
Sign in with your Studycat Google account to continue.
{{ signInError }}
{{ crumb }}
{{ pageTitle }}
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 }}
{{ r.bandLabel }}
App version →
{{ t.v }}
{{ edEyebrow }} Playbook {{ edVersion }} {{ edStatusLabel }} based on live {{ edBasedOn }}
{{ edSubtitle }}
Unsigned draft {{ edKeyId }}
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.id }} {{ 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.
{{ c.name }}
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.cohortName }} {{ 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.cohort }} {{ 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.name }} {{ 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 }}
{{ emailTextSource }}
{{ 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 }}
{{ c.tag }}
{{ r.mark }} {{ r.text }} {{ r.actual }}
No rules · matches everyone
No directives on this hook.
Resolution trace
{{ t.cohortName }}
{{ t.detail }}
{{ t.tag }}
Directive returned
{{ resultJson }}
Set up a user and hit Resolve
The Runtime evaluates directives in order and returns one outcome.
On device
{{ auditIntro }}
{{ auditEmptyText }}
{{ a.action }} · {{ a.target }}
{{ a.detail }}
{{ a.user }}
{{ a.ts }}
Directive · {{ dd.hook }}
{{ dd.title }}
{{ dd.cohortWarnText }}
A/B and Matchmaker are not available. Choose Fixed.
{{ dd.flowPath }}
{{ dd.legacyNote }}
50/50 split · stable per user via hash(user_id, experiment_id)
The Matchmaker picks the best page for this user at the hook.
{{ statusHelp }}
Save directive
Page
{{ cr.title }}
Could not load {{ cr.flowHint }}. Run Studio with npm run studio so the classification fetch stays same-origin.
{{ cr.flowHint }}
{{ cr.usageNote }}
Save page
Cohort
{{ cd.title }}
PATTERN
{{ o.label }}
No match
{{ cd.ruleCount }} {{ cd.ruleCountText }}
Save cohort
Compiled Playbook · {{ jsonVersion }}
signed
{{ playbookJson }}
Publish {{ publishVersion }}
Sign, version, and roll out to the base.
Changes vs {{ liveVersion }}
{{ c.sign }} {{ c.text }}
Signed in the cloud with the current rotatable signing key, itself anchored to the root key embedded in the app. The key id is recorded against the version once signing succeeds.
Publish failed — nothing was published.
{{ publishError }}
Takes effect at each user's next qualifying fetch.
{{ publishCta }}
Nothing to publish
{{ publishCta }}
{{ toast }}