from @unified-product-graph/core/playbooks · re-exported by @sdk
Playbooks
v0.4 region-anchored bootstrap sequences.
47 exports · 24 const · 5 type · 11 interface · 7 fn
Since v0.4.0Quick import
import { BUSINESS_GTM_GROWTH_PLAYBOOK } from '@unified-product-graph/core/playbooks'Example
// Region-anchored playbooks scaffold a graph from cold start
import { BUSINESS_GTM_GROWTH_PLAYBOOK } from '@unified-product-graph/core/playbooks'
console.log(BUSINESS_GTM_GROWTH_PLAYBOOK.region)
// → 'business_gtm_growth' — the canonical region this playbook anchors tov0.4 region-anchored bootstrap sequences. The 23 playbooks that scaffold a graph from cold start, each anchored to one of the 10 canonical regions. Helpers getPlaybookById, getCanonicalPlaybookForRegion, and getPlaybooksForRegion are the runtime API the MCP list_playbooks and get_playbook tools consume.
Exports
Constants
Types
type EntryMode = 'domain' | 'stage' | 'gap' | 'framework'How a playbook or technique is entered.
type Step = | DomainGuideStep | FrameworkInvocationStep | EntitySequenceStep | SubSequenceStepA single step in a playbook or technique, discriminated by `kind`.
type StepKind = 'domain_guide' | 'framework' | 'entity_sequence' | 'sub_sequence'Discriminator for step behaviour.
type StepOutputKind = | 'entities_created' | 'entities_updated' | 'response' | 'skipped'What a step produced when recorded.
Interfaces
interface DomainGuideStepStep that defers to a domain's `DomainUsageGuide.creation_sequence`.
interface EntitySequenceStepStep that creates entities of an explicit, fixed list of types.
Functions
(region: UPGRegionId) => UPGPlaybook | nullReturn the single canonical playbook for a region (the "start here" path).
(id: string) => UPGPlaybook | undefinedLook up a canonical playbook shipped with `@unified-product-graph/core` by id.
(region: UPGRegionId) => readonly UPGPlaybook[]Return every playbook (canonical + specialised) anchored at a region.