@unified-product-graph/core 0.11.4 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +111 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +111 -7
- package/dist/index.d.ts +111 -7
- package/dist/index.js +111 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @see registry/entity-meta.ts for type IDs and maturity
|
|
11
11
|
* @see grammar/hierarchy.ts for parent-child rules
|
|
12
12
|
*/
|
|
13
|
-
type UPGEntityType = 'specification' | 'primitive' | 'product' | 'outcome' | 'objective' | 'key_result' | 'metric' | 'metric_quality_assessment' | 'vision' | 'mission' | 'strategic_theme' | 'initiative' | 'capability' | 'value_stream' | 'strategic_pillar' | 'assumption' | 'decision' | 'constraint' | 'persona' | 'job' | 'need' | 'desired_outcome' | 'job_step' | 'switching_cost' | 'opportunity' | 'solution' | 'feasibility_study' | 'design_sprint' | 'hypothesis' | 'hypothesis_evidence' | 'experiment' | 'experiment_plan' | 'experiment_run' | 'learning' | 'test_plan' | 'evidence' | 'research_plan' | 'competitor' | 'competitor_feature' | 'competitor_signal' | 'market_trend' | 'market_segment' | 'competitive_analysis' | 'classification_axis' | 'classification_value' | 'research_study' | 'insight' | 'participant' | 'observation' | 'quote' | 'affinity_cluster' | 'research_question' | 'interview_guide' | 'survey_response' | 'user_journey' | 'journey_step' | 'journey_phase' | 'journey_action' | 'design_question' | 'design_concept' | 'prototype' | 'wireframe' | 'user_flow' | 'screen' | 'screen_state' | 'annotation' | 'interaction_spec' | 'design_component' | 'design_token' | 'design_system' | 'design_pattern' | 'design_guideline' | 'brand_identity' | 'brand_colour' | 'brand_typography' | 'brand_voice' | 'brand_logo' | 'brand_imagery' | 'feature_area' | 'feature' | 'epic' | 'user_story' | 'story_statement' | 'story_task' | 'acceptance_criterion' | 'release' | 'task' | 'bug' | 'roadmap' | 'roadmap_item' | 'theme' | 'roadmap_theme' | 'changelog' | 'bounded_context' | 'service' | 'domain_event' | 'api_contract' | 'technical_debt_item' | 'feature_flag' | 'deployment' | 'aggregate' | 'domain_entity' | 'value_object' | 'command' | 'read_model' | 'api_endpoint' | 'database_schema' | 'queue_topic' | 'build_artifact' | 'code_repository' | 'library_dependency' | 'integration_pattern' | 'external_api' | 'data_flow' | 'investigation' | 'root_cause' | 'symptom' | 'fix' | 'funnel' | 'funnel_step' | 'acquisition_channel' | 'growth_campaign' | 'cohort' | 'behavioral_segment' | 'growth_loop' | 'variant' | 'attribution_model' | 'business_model' | 'value_proposition' | 'revenue_stream' | 'pricing_tier' | 'cost_structure' | 'unit_economics' | 'partnership' | 'key_resource' | 'key_activity' | 'customer_relationship' | 'distribution_channel' | 'gtm_strategy' | 'ideal_customer_profile' | 'positioning' | 'messaging' | 'launch' | 'content_strategy' | 'sales_motion' | 'competitive_battle_card' | 'demand_gen_program' | 'territory' | 'objection' | 'rebuttal' | 'proof_point' | 'team' | 'role' | 'stakeholder' | 'person' | 'team_okr' | 'retrospective' | 'dependency' | 'department' | 'skill' | 'ceremony' | 'capacity_plan' | 'data_source' | 'event_schema' | 'dashboard' | 'data_model' | 'data_quality_rule' | 'data_product' | 'data_pipeline' | 'data_lineage' | 'glossary_term' | 'data_domain' | 'report' | 'content_piece' | 'knowledge_base_article' | 'brand_asset' | 'prompt_template' | 'content_calendar' | 'content_theme' | 'documentation_template' | 'document' | 'legal_entity' | 'ip_asset' | 'contract' | 'contract_clause' | 'privacy_policy' | 'compliance_requirement' | 'risk' | 'data_contract' | 'audit_log_policy' | 'compliance_framework' | 'security_audit' | 'service_level_indicator' | 'service_level_objective' | 'error_budget' | 'incident' | 'postmortem' | 'runbook' | 'monitor' | 'alert_rule' | 'ci_pipeline' | 'release_strategy' | 'on_call_rotation' | 'infrastructure_component' | 'threat_model' | 'threat' | 'vulnerability' | 'security_control' | 'security_policy' | 'penetration_test' | 'security_review' | 'data_classification' | 'access_policy' | 'a11y_standard' | 'a11y_guideline' | 'a11y_audit' | 'a11y_issue' | 'a11y_annotation' | 'test_suite' | 'test_case' | 'qa_session' | 'regression_test' | 'test_coverage_report' | 'test_environment' | 'test_result' | 'feedback_program' | 'feature_request' | 'feedback_vote' | 'nps_campaign' | 'user_advisory_board' | 'beta_program' | 'feedback_theme' | 'pricing_strategy' | 'discount_strategy' | 'trial_config' | 'paywall' | 'ai_model' | 'prompt_version' | 'eval_benchmark' | 'eval_run' | 'ai_cost_tracker' | 'hallucination_report' | 'ai_guardrail' | 'model_comparison' | 'ai_experiment' | 'ai_dataset' | 'ai_trace' | 'workflow_template' | 'workflow_run' | 'agent_definition' | 'agent_session' | 'review_gate' | 'approval_record' | 'agent_skill' | 'agent_hook' | 'workflow_artifact' | 'agent_task' | 'organization' | 'portfolio' | 'product_area' | 'workspace' | 'framework_exercise' | 'account' | 'contact' | 'lead' | 'deal' | 'pipeline_sales' | 'pipeline_stage' | 'quote_document' | 'subscription' | 'invoice' | 'forecast' | 'program' | 'project' | 'milestone' | 'risk_register' | 'change_request' | 'deliverable' | 'resource_allocation' | 'status_report' | 'marketing_strategy' | 'marketing_channel' | 'marketing_campaign_plan' | 'email_sequence' | 'social_post' | 'seo_keyword' | 'ad_creative' | 'press_release' | 'event' | 'community_initiative' | 'support_ticket' | 'customer_feedback' | 'churn_reason' | 'customer_health_score' | 'playbook' | 'service_level_agreement' | 'customer_journey_stage' | 'touchpoint' | 'success_milestone' | 'service_blueprint' | 'locale' | 'translation_key' | 'translation_bundle' | 'locale_config' | 'cultural_adaptation' | 'regional_pricing' | 'education_program' | 'tutorial' | 'walkthrough' | 'webinar' | 'certification' | 'help_video' | 'learning_path' | 'partner_program' | 'partner_tier' | 'api_ecosystem' | 'marketplace_listing' | 'developer_portal' | 'integration_partner' | 'partner_revenue_share';
|
|
13
|
+
type UPGEntityType = 'specification' | 'primitive' | 'operating_lifecycle' | 'operating_stage' | 'product' | 'outcome' | 'objective' | 'key_result' | 'metric' | 'metric_quality_assessment' | 'vision' | 'mission' | 'strategic_theme' | 'initiative' | 'capability' | 'value_stream' | 'strategic_pillar' | 'assumption' | 'decision' | 'constraint' | 'persona' | 'job' | 'need' | 'desired_outcome' | 'job_step' | 'switching_cost' | 'opportunity' | 'solution' | 'feasibility_study' | 'design_sprint' | 'hypothesis' | 'hypothesis_evidence' | 'experiment' | 'experiment_plan' | 'experiment_run' | 'learning' | 'test_plan' | 'evidence' | 'research_plan' | 'competitor' | 'competitor_feature' | 'competitor_signal' | 'market_trend' | 'market_segment' | 'competitive_analysis' | 'classification_axis' | 'classification_value' | 'research_study' | 'insight' | 'participant' | 'observation' | 'quote' | 'affinity_cluster' | 'research_question' | 'interview_guide' | 'survey_response' | 'user_journey' | 'journey_step' | 'journey_phase' | 'journey_action' | 'design_question' | 'design_concept' | 'prototype' | 'wireframe' | 'user_flow' | 'screen' | 'screen_state' | 'annotation' | 'interaction_spec' | 'design_component' | 'design_token' | 'design_system' | 'design_pattern' | 'design_guideline' | 'brand_identity' | 'brand_colour' | 'brand_typography' | 'brand_voice' | 'brand_logo' | 'brand_imagery' | 'feature_area' | 'feature' | 'epic' | 'user_story' | 'story_statement' | 'story_task' | 'acceptance_criterion' | 'release' | 'task' | 'bug' | 'roadmap' | 'roadmap_item' | 'theme' | 'roadmap_theme' | 'changelog' | 'bounded_context' | 'service' | 'domain_event' | 'api_contract' | 'technical_debt_item' | 'feature_flag' | 'deployment' | 'aggregate' | 'domain_entity' | 'value_object' | 'command' | 'read_model' | 'api_endpoint' | 'database_schema' | 'queue_topic' | 'build_artifact' | 'code_repository' | 'library_dependency' | 'integration_pattern' | 'external_api' | 'data_flow' | 'investigation' | 'root_cause' | 'symptom' | 'fix' | 'funnel' | 'funnel_step' | 'acquisition_channel' | 'growth_campaign' | 'cohort' | 'behavioral_segment' | 'growth_loop' | 'variant' | 'attribution_model' | 'business_model' | 'value_proposition' | 'revenue_stream' | 'pricing_tier' | 'cost_structure' | 'unit_economics' | 'partnership' | 'key_resource' | 'key_activity' | 'customer_relationship' | 'distribution_channel' | 'gtm_strategy' | 'ideal_customer_profile' | 'positioning' | 'messaging' | 'launch' | 'content_strategy' | 'sales_motion' | 'competitive_battle_card' | 'demand_gen_program' | 'territory' | 'objection' | 'rebuttal' | 'proof_point' | 'team' | 'role' | 'stakeholder' | 'person' | 'team_okr' | 'retrospective' | 'dependency' | 'department' | 'skill' | 'ceremony' | 'capacity_plan' | 'data_source' | 'event_schema' | 'dashboard' | 'data_model' | 'data_quality_rule' | 'data_product' | 'data_pipeline' | 'data_lineage' | 'glossary_term' | 'data_domain' | 'report' | 'content_piece' | 'knowledge_base_article' | 'brand_asset' | 'prompt_template' | 'content_calendar' | 'content_theme' | 'documentation_template' | 'document' | 'legal_entity' | 'ip_asset' | 'contract' | 'contract_clause' | 'privacy_policy' | 'compliance_requirement' | 'risk' | 'data_contract' | 'audit_log_policy' | 'compliance_framework' | 'security_audit' | 'service_level_indicator' | 'service_level_objective' | 'error_budget' | 'incident' | 'postmortem' | 'runbook' | 'monitor' | 'alert_rule' | 'ci_pipeline' | 'release_strategy' | 'on_call_rotation' | 'infrastructure_component' | 'threat_model' | 'threat' | 'vulnerability' | 'security_control' | 'security_policy' | 'penetration_test' | 'security_review' | 'data_classification' | 'access_policy' | 'a11y_standard' | 'a11y_guideline' | 'a11y_audit' | 'a11y_issue' | 'a11y_annotation' | 'test_suite' | 'test_case' | 'qa_session' | 'regression_test' | 'test_coverage_report' | 'test_environment' | 'test_result' | 'feedback_program' | 'feature_request' | 'feedback_vote' | 'nps_campaign' | 'user_advisory_board' | 'beta_program' | 'feedback_theme' | 'pricing_strategy' | 'discount_strategy' | 'trial_config' | 'paywall' | 'ai_model' | 'prompt_version' | 'eval_benchmark' | 'eval_run' | 'ai_cost_tracker' | 'hallucination_report' | 'ai_guardrail' | 'model_comparison' | 'ai_experiment' | 'ai_dataset' | 'ai_trace' | 'workflow_template' | 'workflow_run' | 'agent_definition' | 'agent_session' | 'review_gate' | 'approval_record' | 'agent_skill' | 'agent_hook' | 'workflow_artifact' | 'agent_task' | 'organization' | 'portfolio' | 'product_area' | 'workspace' | 'framework_exercise' | 'account' | 'contact' | 'lead' | 'deal' | 'pipeline_sales' | 'pipeline_stage' | 'quote_document' | 'subscription' | 'invoice' | 'forecast' | 'program' | 'project' | 'milestone' | 'risk_register' | 'change_request' | 'deliverable' | 'resource_allocation' | 'status_report' | 'marketing_strategy' | 'marketing_channel' | 'marketing_campaign_plan' | 'email_sequence' | 'social_post' | 'seo_keyword' | 'ad_creative' | 'press_release' | 'event' | 'community_initiative' | 'support_ticket' | 'customer_feedback' | 'churn_reason' | 'customer_health_score' | 'playbook' | 'service_level_agreement' | 'customer_journey_stage' | 'touchpoint' | 'success_milestone' | 'service_blueprint' | 'locale' | 'translation_key' | 'translation_bundle' | 'locale_config' | 'cultural_adaptation' | 'regional_pricing' | 'education_program' | 'tutorial' | 'walkthrough' | 'webinar' | 'certification' | 'help_video' | 'learning_path' | 'partner_program' | 'partner_tier' | 'api_ecosystem' | 'marketplace_listing' | 'developer_portal' | 'integration_partner' | 'partner_revenue_share';
|
|
14
14
|
/**
|
|
15
15
|
* No entity types are currently deprecated; this union is `never`. The
|
|
16
16
|
* deprecated-name bridge, which previously widened this union to early
|
|
@@ -142,6 +142,19 @@ interface PropertyDefinition {
|
|
|
142
142
|
properties?: Record<string, PropertyDefinition>;
|
|
143
143
|
/** For object/assessment fields: required keys within `properties`. */
|
|
144
144
|
required?: string[];
|
|
145
|
+
/**
|
|
146
|
+
* Provenance / volatility modifier (property-fit audit, 2026-06-16). Marks a property
|
|
147
|
+
* whose value is not authored-and-stable, so tooling (`validate_graph`, renderers, export)
|
|
148
|
+
* can treat it accordingly:
|
|
149
|
+
* - `'derived'` — computed from edges/children at read-time; never hand-authored.
|
|
150
|
+
* `validate_graph` flags a stored value that contradicts the graph.
|
|
151
|
+
* - `'snapshot'` — a stale-stamped cache of a live reading; SHOULD pair with a `*_as_of`
|
|
152
|
+
* timestamp. Definition entities carry live state only as a snapshot.
|
|
153
|
+
* - `'volatile'` — an environment-specific pointer (URL / path / id) that may rot or be
|
|
154
|
+
* stripped on export; not portable modeling knowledge (open-standard
|
|
155
|
+
* data-boundary ADR). Enforcement lands in `validate_graph` (mcp-server).
|
|
156
|
+
*/
|
|
157
|
+
modifier?: 'derived' | 'snapshot' | 'volatile';
|
|
145
158
|
}
|
|
146
159
|
type PropertySchema = Record<string, PropertyDefinition>;
|
|
147
160
|
/**
|
|
@@ -249,6 +262,13 @@ declare const UPG_EDGE_CATALOG: {
|
|
|
249
262
|
source_type: string;
|
|
250
263
|
target_type: string;
|
|
251
264
|
};
|
|
265
|
+
persona_delegates_to_persona: {
|
|
266
|
+
forward_verb: string;
|
|
267
|
+
reverse_verb: string;
|
|
268
|
+
classification: "semantic";
|
|
269
|
+
source_type: string;
|
|
270
|
+
target_type: string;
|
|
271
|
+
};
|
|
252
272
|
persona_incurs_switching_cost: {
|
|
253
273
|
forward_verb: string;
|
|
254
274
|
reverse_verb: string;
|
|
@@ -7120,6 +7140,13 @@ declare const UPG_EDGE_CATALOG: {
|
|
|
7120
7140
|
source_type: string;
|
|
7121
7141
|
target_type: string;
|
|
7122
7142
|
};
|
|
7143
|
+
operating_lifecycle_contains_operating_stage: {
|
|
7144
|
+
forward_verb: string;
|
|
7145
|
+
reverse_verb: string;
|
|
7146
|
+
classification: "hierarchy";
|
|
7147
|
+
source_type: string;
|
|
7148
|
+
target_type: string;
|
|
7149
|
+
};
|
|
7123
7150
|
specification_governed_by_organization: {
|
|
7124
7151
|
forward_verb: string;
|
|
7125
7152
|
reverse_verb: string;
|
|
@@ -7127,6 +7154,20 @@ declare const UPG_EDGE_CATALOG: {
|
|
|
7127
7154
|
source_type: string;
|
|
7128
7155
|
target_type: string;
|
|
7129
7156
|
};
|
|
7157
|
+
journey_phase_realises_operating_stage: {
|
|
7158
|
+
forward_verb: string;
|
|
7159
|
+
reverse_verb: string;
|
|
7160
|
+
classification: "cross-domain";
|
|
7161
|
+
source_type: string;
|
|
7162
|
+
target_type: string;
|
|
7163
|
+
};
|
|
7164
|
+
operating_stage_measured_by_metric: {
|
|
7165
|
+
forward_verb: string;
|
|
7166
|
+
reverse_verb: string;
|
|
7167
|
+
classification: "cross-domain";
|
|
7168
|
+
source_type: string;
|
|
7169
|
+
target_type: string;
|
|
7170
|
+
};
|
|
7130
7171
|
};
|
|
7131
7172
|
/** The `UPGEdgeType` union derived from the registry above. Declared here (not
|
|
7132
7173
|
* in `shapes/edges.ts`) so the polymorphic list below can reference it
|
|
@@ -7987,7 +8028,7 @@ declare const UPG_DOMAINS: readonly [{
|
|
|
7987
8028
|
readonly id: "foundations";
|
|
7988
8029
|
readonly label: "Foundations";
|
|
7989
8030
|
readonly description: "The shared specifications and foundational primitives a product organisation stewards or implements everywhere. Specifications are governed specs (query languages, protocols, data formats, encodings) like GROQ or Portable Text; primitives are the compositional units those specs define (a block, a reference, a query value). Both are registry-hostable canonicals that products implement, expose, or conform to. Distinct from a product feature: a specification has no single owner, no P&L, and no buyer; it is the rulebook many products point at.";
|
|
7990
|
-
readonly types: readonly ["specification", "primitive"];
|
|
8031
|
+
readonly types: readonly ["specification", "primitive", "operating_lifecycle", "operating_stage"];
|
|
7991
8032
|
}];
|
|
7992
8033
|
/**
|
|
7993
8034
|
* Union of every canonical domain identifier, derived from UPG_DOMAINS.
|
|
@@ -10112,6 +10153,16 @@ interface PersonaProperties {
|
|
|
10112
10153
|
* @example "buyer"
|
|
10113
10154
|
*/
|
|
10114
10155
|
audience_role?: 'buyer' | 'user' | 'champion' | 'influencer' | 'partner';
|
|
10156
|
+
/**
|
|
10157
|
+
* Who performs the work: a human archetype (default), an autonomous AI agent
|
|
10158
|
+
* (e.g. Content Agent), or a non-agentic platform service. Absent = `human`, so
|
|
10159
|
+
* existing personas need no migration. An `agent` persona is a first-class actor
|
|
10160
|
+
* that participates in journeys via the same persona machinery and that humans
|
|
10161
|
+
* delegate to via `persona_delegates_to_persona`. Human-coverage / segmentation
|
|
10162
|
+
* metrics count `human` only; agent/system are opt-in.
|
|
10163
|
+
* @example "agent"
|
|
10164
|
+
*/
|
|
10165
|
+
actor_kind?: 'human' | 'agent' | 'system';
|
|
10115
10166
|
}
|
|
10116
10167
|
/** Job-to-be-Done: the underlying goal a user is trying to accomplish.
|
|
10117
10168
|
*
|
|
@@ -14262,7 +14313,7 @@ interface DataClassificationProperties {
|
|
|
14262
14313
|
/** Handling rules */
|
|
14263
14314
|
handling_requirements?: string;
|
|
14264
14315
|
/** Example data covered */
|
|
14265
|
-
examples?: string;
|
|
14316
|
+
examples?: string[];
|
|
14266
14317
|
/** Retention period */
|
|
14267
14318
|
retention_period?: string;
|
|
14268
14319
|
/** Whether encryption is mandatory */
|
|
@@ -15706,7 +15757,7 @@ interface EvalBenchmarkProperties {
|
|
|
15706
15757
|
/** Minimum passing score */
|
|
15707
15758
|
passing_threshold?: number;
|
|
15708
15759
|
/** ISO date of the most recent run */
|
|
15709
|
-
last_run?:
|
|
15760
|
+
last_run?: ISODate;
|
|
15710
15761
|
}
|
|
15711
15762
|
/** Evaluation run.
|
|
15712
15763
|
*
|
|
@@ -18186,6 +18237,53 @@ interface PrimitiveProperties {
|
|
|
18186
18237
|
/** Year or version the primitive was introduced. */
|
|
18187
18238
|
since?: string;
|
|
18188
18239
|
}
|
|
18240
|
+
/** An operating_lifecycle: a canonical, ordered (often cyclic) operating process
|
|
18241
|
+
* that many products' journey phases map onto — e.g. Sanity's content-operations
|
|
18242
|
+
* lifecycle. Registry-hostable like a `specification`; the cross-product join key
|
|
18243
|
+
* that turns per-surface journeys into one operation. Distinct from the per-entity
|
|
18244
|
+
* status `lifecycle` grammar concept (this is an entity, not a state machine).
|
|
18245
|
+
*
|
|
18246
|
+
* @example
|
|
18247
|
+
* const properties: OperatingLifecycleProperties = {
|
|
18248
|
+
* label: 'Sanity Content Operations',
|
|
18249
|
+
* cyclic: true,
|
|
18250
|
+
* source: 'Sanity official 5-stage content-ops lifecycle',
|
|
18251
|
+
* }
|
|
18252
|
+
*/
|
|
18253
|
+
interface OperatingLifecycleProperties {
|
|
18254
|
+
/** Human-readable name of the operating process. */
|
|
18255
|
+
label?: string;
|
|
18256
|
+
/** True if the process loops (e.g. Analyze → Extend → Plan). Rendered linearly by `stage_order` with the wrap on the final stage's `next_stage`. */
|
|
18257
|
+
cyclic?: boolean;
|
|
18258
|
+
/** Origin of the canonical model (e.g. "Sanity official content-ops lifecycle"). */
|
|
18259
|
+
source?: string;
|
|
18260
|
+
}
|
|
18261
|
+
/** An operating_stage: one ordered stage of an `operating_lifecycle`. A product's
|
|
18262
|
+
* `journey_phase` resolves to a stage via `journey_phase_realises_operating_stage`,
|
|
18263
|
+
* so the end-to-end operation is derived from the join key rather than stored.
|
|
18264
|
+
*
|
|
18265
|
+
* @example
|
|
18266
|
+
* const properties: OperatingStageProperties = {
|
|
18267
|
+
* stage_order: 1,
|
|
18268
|
+
* label: 'Create & Manage',
|
|
18269
|
+
* goal: 'Model, create, and review content',
|
|
18270
|
+
* os_analogy: 'The shell / GUI + file formats',
|
|
18271
|
+
* }
|
|
18272
|
+
*/
|
|
18273
|
+
interface OperatingStageProperties {
|
|
18274
|
+
/** Ordered position within the lifecycle, 0-indexed. */
|
|
18275
|
+
stage_order?: number;
|
|
18276
|
+
/** Human-readable stage name. */
|
|
18277
|
+
label?: string;
|
|
18278
|
+
/** What this stage accomplishes. */
|
|
18279
|
+
goal?: string;
|
|
18280
|
+
/** Role that owns the stage (free-text role label). */
|
|
18281
|
+
owner_role?: string;
|
|
18282
|
+
/** The Content-OS analogy from the source volume (e.g. "Drivers + daemons / cron"). */
|
|
18283
|
+
os_analogy?: string;
|
|
18284
|
+
/** Label of the next stage; on the final stage of a cyclic lifecycle this carries the wrap. */
|
|
18285
|
+
next_stage?: string;
|
|
18286
|
+
}
|
|
18189
18287
|
|
|
18190
18288
|
/**
|
|
18191
18289
|
* UPG Property Map. Type-safe lookup from entity type to property interface.
|
|
@@ -18382,6 +18480,10 @@ interface UPGPropertyMap {
|
|
|
18382
18480
|
specification: SpecificationProperties;
|
|
18383
18481
|
/** A foundational compositional unit a specification defines (a block, a reference, a query value) */
|
|
18384
18482
|
primitive: PrimitiveProperties;
|
|
18483
|
+
/** A canonical ordered (often cyclic) operating process products' journey phases map onto */
|
|
18484
|
+
operating_lifecycle: OperatingLifecycleProperties;
|
|
18485
|
+
/** One ordered stage of an operating_lifecycle */
|
|
18486
|
+
operating_stage: OperatingStageProperties;
|
|
18385
18487
|
/** A bounded context defining the scope of a domain model */
|
|
18386
18488
|
bounded_context: BoundedContextProperties;
|
|
18387
18489
|
/** A deployable service within the system architecture */
|
|
@@ -18972,7 +19074,9 @@ declare const ENTITY_EMOJI: Record<string, string>;
|
|
|
18972
19074
|
/**
|
|
18973
19075
|
* UPG canonical tree patterns: the named, server-owned shapes the `get_tree`
|
|
18974
19076
|
* tool assembles (OST, OKR, user, product, validation, strategy, feature areas,
|
|
18975
|
-
* delivery, architecture, journey, design system) — one per
|
|
19077
|
+
* delivery, architecture, journey, design system, commercial) — one per
|
|
19078
|
+
* tree-shaped region (or, for `architecture`/`commercial`, the tree-shaped
|
|
19079
|
+
* containment subset of a DAG/multi-hub region).
|
|
18976
19080
|
*
|
|
18977
19081
|
* A tree pattern is anchor + a TYPE-DRIVEN child map, NOT a list of edge names.
|
|
18978
19082
|
* `get_tree` roots at `anchor_type` (falling back through `fallback_anchors` when
|
|
@@ -21583,7 +21687,7 @@ declare function isCanonical(text: string): boolean;
|
|
|
21583
21687
|
* it stamps the `upg_version` field of every `.upg` file written by the SDK.
|
|
21584
21688
|
* The `check:version-lockstep` gate enforces this at release time.
|
|
21585
21689
|
*/
|
|
21586
|
-
declare const UPG_VERSION: "0.11.
|
|
21690
|
+
declare const UPG_VERSION: "0.11.6";
|
|
21587
21691
|
/**
|
|
21588
21692
|
* The `.upg` JSON document format version. Written to the `upg_version` field.
|
|
21589
21693
|
* Evolves independently from `UPG_VERSION` (the catalogue version).
|
|
@@ -21708,4 +21812,4 @@ declare const UPG_EDGE_COUNT: number;
|
|
|
21708
21812
|
*/
|
|
21709
21813
|
declare const UPG_META_COUNT: number;
|
|
21710
21814
|
|
|
21711
|
-
export { type A11yAnnotationProperties, type A11yAuditProperties, type A11yGuidelineProperties, type A11yIssueProperties, type A11yStandardProperties, ANALYTICS_DATA_PLAYBOOK, type AcceptanceCriterionProperties, type AccessPolicyProperties, type AccountProperties, type AcquisitionChannelProperties, type AdCreativeProperties, type AffinityClusterProperties, type AgentDefinitionProperties, type AgentHookProperties, type AgentSessionProperties, type AgentSkillProperties, type AgentTaskProperties, type AggregateProperties, type AiCostTrackerProperties, type AiDatasetProperties, type AiExperimentProperties, type AiGuardrailProperties, type AiModelProperties, type AiTraceProperties, type AlertRuleProperties, type AnnotationProperties, type AntiPatternInputs, type AntiPatternViolation, type AnyUPGEntityType, type ApiContractProperties, type ApiEcosystemProperties, type ApiEndpointProperties, type ApproachBinding, type ApproachFilter, type ApproachRun, type ApproachRuntime, type ApprovalRecordProperties, type AssumptionProperties, type AttributionModelProperties, type AuditLogPolicyProperties, BUSINESS_GROWTH_METRIC_DRIVEN_PLAYBOOK, BUSINESS_GTM_GROWTH_PLAYBOOK, BUSINESS_MARKETING_AUDIENCE_FIRST_PLAYBOOK, type BehavioralSegmentProperties, type BenchmarkCheck, type BetaProgramProperties, type BoundedContextProperties, type BrandAssetProperties, type BrandColourProperties, type BrandIdentityProperties, type BrandImageryProperties, type BrandLogoProperties, type BrandTypographyProperties, type BrandVoiceProperties, type BugProperties, type BuildArtifactProperties, type BusinessModelProperties, CLASSIFICATION_EDGE_PROPERTY_SCHEMA, CONTENT_DEPTH_WARNING_RULES, type Cadence, type CapabilityProperties, type CapacityPlanProperties, type CauseConfidence, type CeremonyProperties, type CertificationProperties, type ChangeRequestProperties, type ChangelogProperties, type ChurnReasonProperties, type CiPipelineProperties, type ClassificationAxisProperties, type ClassificationCapability, type ClassificationCapabilitySurface, type ClassificationCommitment, type ClassificationValueProperties, type CodeRepositoryProperties, type CohortProperties, type ComfortLevel, type CommandProperties, type CommunityInitiativeProperties, type CompetitiveAnalysisProperties, type CompetitiveBattleCardProperties, type CompetitorFeatureProperties, type CompetitorProperties, type CompetitorSignalProperties, type ComplianceFrameworkProperties, type ComplianceRequirementProperties, type Confidence, type ConformanceLevel, type ConstraintKind, type ConstraintProperties, type ConstraintStatus, type ContactProperties, type ContentCalendarProperties, type ContentPieceProperties, type ContentStrategyProperties, type ContentThemeProperties, type ContractClauseProperties, type ContractProperties, type CostStructureProperties, type CountBenchmark, type Cron, type CulturalAdaptationProperties, type CustomerFeedbackProperties, type CustomerHealthScoreProperties, type CustomerJourneyStageProperties, type CustomerRelationshipProperties, DEFAULT_ENTITY_EMOJI, DISCOVERY_RESEARCH_VALIDATION_PLAYBOOK, type DashboardProperties, type DataClassificationProperties, type DataContractProperties, type DataDomainProperties, type DataFlowProperties, type DataLineageProperties, type DataModelProperties, type DataPipelineProperties, type DataProductProperties, type DataQualityRuleProperties, type DataSensitivity, type DataSourceProperties, type DatabaseSchemaProperties, type DealProperties, type DecisionProperties, type DeliverableProperties, type DemandGenProgramProperties, type DepartmentProperties, type DependencyProperties, type DeploymentProperties, type DeprecatedUPGEntityType, type DesignComponentProperties, type DesignConceptProperties, type DesignGuidelineProperties, type DesignPatternProperties, type DesignQuestionProperties, type DesignSprintProperties, type DesignSystemProperties, type DesignTokenProperties, type DesiredOutcomeProperties, type DeveloperPortalProperties, type DifficultyLevel, type DiscountStrategyProperties, type DistributionChannelProperties, type DocumentProperties, type DocumentationTemplateProperties, type DomainActivation, type DomainCountCheck, type DomainEntityProperties, type DomainEventProperties, type DomainGuideStep, type DomainPopulationCheck, type Duration, ENGINEERING_PLATFORM_PLAYBOOK, ENTITY_EMOJI, EXPERIENCE_DESIGN_BRAND_PLAYBOOK, type EducationProgramProperties, type EmailSequenceProperties, type EmptyCell, type EmptyCellRationaleKind, type EntityCheck, type EntitySequenceStep, type EntityTypeMeta, type EntityTypeResolution, type EntryMode, type EpicProperties, type ErrorBudgetProperties, type EvalBenchmarkProperties, type EvalRunProperties, type EvaluateAntiPatternsOptions, type EventProperties, type EventSchemaProperties, type EvidenceDirection, type EvidenceProperties, type ExperimentPlanProperties, type ExperimentProperties, type ExperimentRunProperties, type ExternalApiProperties, FOUNDATIONS_PLAYBOOK, type FeasibilityStudyProperties, type FeatureAreaProperties, type FeatureFlagProperties, type FeatureProperties, type FeatureRequestProperties, type FeedbackProgramProperties, type FeedbackThemeProperties, type FeedbackVoteProperties, type FixProperties, type ForecastProperties, type FrameworkCategory, type FrameworkComputedProperty, type FrameworkConstant, type FrameworkDataSpec, type FrameworkEducation, type FrameworkEntityTypeSpec, type FrameworkExerciseProperties, type FrameworkInvocationStep, type FrameworkLayout, type FrameworkLevel, type FrameworkOrigin, type FrameworkPresentationSpec, type FrameworkPropertyRequirement, type FrameworkScoringMethod, type FrameworkSlot, type FrameworkStep, type FrameworkStructureSpec, type FrameworkValidationResult, type FrequencyRating, type FunnelProperties, type FunnelStage, type FunnelStepProperties, type GlossaryTermProperties, type GrowthCampaignProperties, type GrowthLoopProperties, type GtmStrategyProperties, type GuardrailStatus, type HallucinationReportProperties, type HealthStatus, type HelpVideoProperties, type HypothesisEvidenceProperties, type HypothesisProperties, type ISO4217, type ISODate, type ISODateTime, type IdealCustomerProfileProperties, type IncidentProperties, type IncidentSeverity, type InfrastructureComponentProperties, type InitiativeProperties, type InsightProperties, type IntegrationPartnerProperties, type IntegrationPatternProperties, type IntelligenceCondition, type InteractionSpecProperties, type InternalDocProperties, type InterviewGuideProperties, type InvestigationProperties, type InvoiceProperties, type IpAssetProperties, type JobProperties, type JobStepProperties, type JourneyActionProperties, type JourneyPhaseProperties, type JourneyStepProperties, type JourneyType, type KeyActivityProperties, type KeyResourceProperties, type KeyResultProperties, type KnowledgeBaseArticleProperties, LEGACY_PRODUCT_STAGES, type LaunchProperties, type LeadProperties, type LearningPathProperties, type LearningProperties, type LegalEntityProperties, type LibraryDependencyProperties, type LifecyclePhase, type LifecycleRenderShape, type LifecycleRenderState, type LifecycleRenderTransition, type LifecycleState, type LocaleConfigProperties, type LocaleProperties, type LogLevel, type LowMedHigh, MARKDOWN_FORMAT_VERSION, MARKET_COMPETITIVE_PLAYBOOK, type MarketSegmentProperties, type MarketTrendProperties, type MarketingCampaignPlanProperties, type MarketingChannelProperties, type MarketingPlatform, type MarketingStrategyProperties, type MarketplaceListingProperties, type MatrixSlot, type MaturityLevel, type MessagingProperties, type MetricCategory, type MetricDataPoint, type MetricDesignation, type MetricHealth, type MetricImpactLevel, type MetricIndicatorDirection, type MetricProperties, type MetricQualityAssessmentProperties, type MetricSegmentType, type MetricStatisticalFunction, type MilestoneProperties, type MissionProperties, type ModelComparisonProperties, type MonitorProperties, type NamedGroup, type NeedMaturity, type NeedProperties, type NeedValence, type NpsCampaignProperties, OPERATIONS_QUALITY_PLAYBOOK, type ObjectionProperties, type ObjectiveProperties, type ObservationProperties, type OnCallRotationProperties, type OpportunityProperties, type OrganizationProperties, type OrphanCheck, type OutcomeProperties, PRODUCT_DELIVERY_PLAYBOOK, PROPERTY_SCALE_MAP, type ParticipantProperties, type PartnerProgramProperties, type PartnerRevenueShareProperties, type PartnerTierProperties, type PartnershipProperties, type PaywallProperties, type PenetrationTestProperties, type PersonProperties, type PersonaProperties, type PipelineSalesProperties, type PipelineStageProperties, type PlaybookBinding, type PlaybookFilter, type PlaybookProperties, type PlaybookRun, type PlaybookRuntime, type PortfolioProperties, type PositioningProperties, type PostmortemProperties, type PressReleaseProperties, type PricingStrategyProperties, type PricingTierProperties, type PrimitiveProperties, type Priority, type PrivacyPolicyProperties, type ProductAreaProperties, type ProductProperties, type ProductStageCoercion, type ProgramProperties, type ProjectProperties, type PromptTemplateProperties, type PromptVersionProperties, type ProofPointProperties, type PropertyDefinition, type PropertySchema, type Protocol, type PrototypeProperties, type ProxyConfidence, type ProxyReason, type QaSessionProperties, type QueueTopicProperties, type QuoteDocumentProperties, type QuoteProperties, REFLECT_MODES, REGISTRY_PRODUCT_ID, type RatioBenchmark, type ReadModelProperties, type RebuttalProperties, type ReflectMode, type RegionalPricingProperties, type RegressionTestProperties, type RelationshipBenchmark, type RelationshipCheck, type ReleaseProperties, type ReleaseStrategyProperties, type ReportProperties, type ResearchPlanProperties, type ResearchQuestionProperties, type ResearchStudyProperties, type ResourceAllocationProperties, type RetrospectiveProperties, type RevenueStreamProperties, type ReviewGateProperties, type RiskProperties, type RiskRegisterProperties, type RoadmapItemProperties, type RoadmapProperties, type RoadmapThemeProperties, type RoleProperties, type RootCauseProperties, type RuleStrength, type RunContext, type RunbookProperties, STRATEGY_OUTCOMES_PLAYBOOK, type SalesMotionProperties, type ScreenProperties, type ScreenStateProperties, type SecurityAuditProperties, type SecurityControlProperties, type SecurityPolicyProperties, type SecurityReviewProperties, type Semver, type SeoKeywordProperties, type SerializeOptions, type ServiceBlueprintProperties, type ServiceLevelAgreementProperties, type ServiceLevelIndicatorProperties, type ServiceLevelObjectiveProperties, type ServiceProperties, type SignalChannel, type SignalSentiment, type SignalUrgency, type SkillProperties, type SocialPostProperties, type SolutionProperties, type SpecificationProperties, type StageRange, type StakeholderProperties, type StatusReportProperties, type Step, type StepKind, type StepOutput, type StepOutputKind, type StoryTaskProperties, type StrategicPillarProperties, type StrategicThemeProperties, type StructurePattern, type SubSequenceStep, type SubscriptionProperties, type SuccessMilestoneProperties, type SupportTicketProperties, type SurfaceId, type SurveyResponseProperties, type SwitchingCostProperties, type SymptomProperties, type TableColumn, type TargetCustomerSegmentProperties, type TaskProperties, type TeamOkrProperties, type TeamProperties, type TechnicalDebtItemProperties, type TerritoryProperties, type TestCaseProperties, type TestCoverageReportProperties, type TestEnvironmentProperties, type TestPlanProperties, type TestResultProperties, type TestSuiteProperties, type ThreatModelProperties, type ThreatProperties, type Timeframe, type TotalEntityCountCheck, type TouchpointProperties, type TranslationBundleProperties, type TranslationKeyProperties, type TrialConfigProperties, type TutorialProperties, type UPGAnchorEntity, type UPGAntiPattern, type UPGAntiPatternSeverity, type UPGApproach, type UPGApproachEnvelope, type UPGApproachId, type UPGAreaTaxonomyEntry, type UPGAssessment, type UPGBaseNode, type UPGBenchmarkSource, type UPGBoundaryDirection, type UPGBoundaryEdge, type UPGCrossEdge, type UPGCrossEdgeType, type UPGCuratedAntiPattern, type UPGDocument, type UPGDomain, type UPGDomainBridge, type UPGDomainId, type UPGDomainPattern, type UPGDomainRing, type UPGDomainUsageGuide, type UPGEdge, type UPGEdgeDefinition, type UPGEdgeMigration, type UPGEdgeMigrationEndpoints, type UPGEdgePickHint, type UPGEdgeType, type UPGEntityType, type UPGEntityTypeMaturity, type UPGEnumScaleDefinition, type UPGEnumScaleValue, type UPGFramework, type UPGFrameworkMeta, type UPGHeader, type UPGHeaderIntegrity, type UPGHeaderProvenance, type UPGIntegrity, type UPGLens, type UPGLensIntelligencePrompt, type UPGLifecycle, type UPGMappingConfidence, type UPGNode, type UPGOrganization, type UPGPlaybook, type UPGPortfolio, type UPGPortfolioDocument, type UPGProduct, type UPGProductArea, type UPGProductStage, type UPGPropertyMap, type UPGPropertyMigration, type UPGPropertyMigrationChange, type UPGRegion, type UPGRegionEntityMembership, type UPGRegionEntityRole, type UPGRegionId, type UPGRegionShape, type UPGRegistry, type UPGScaleDefinition, type UPGScalePoint, type UPGSource, type UPGSplitEdge, type UPGSplitMigration, type UPGSplitRoute, type UPGSplitRouteTarget, type UPGSplitTarget, type UPGTreeChild, type UPGTreeGapPolicy, type UPGTreePattern, type UPGTreePatternDetail, type UPGTreePatternEdge, type UPGTreePatternSummary, type UPGTypeLabel, type UPGTypeMigration, type UPGValidationError, type UPGValidationResult, type UPGValidationWarning, type UPGWildcardEndpoint, UPG_ACTIVE_TYPES, UPG_ANTI_PATTERNS, UPG_APPROACHES, UPG_APPROACHES_BY_ID, UPG_AREA_TAXONOMY, UPG_AREA_TAXONOMY_BY_COVERAGE_KEY, UPG_CANONICAL_FORMAT_VERSION, UPG_CONTAINMENT_FREE_TYPES, UPG_COUNT_BENCHMARKS, UPG_CROSS_EDGE_TYPES, UPG_DEPRECATED_TYPES, UPG_DOMAINS, UPG_DOMAIN_ACTIVATION, UPG_DOMAIN_COUNT, UPG_DOMAIN_GUIDES, UPG_DOMAIN_RINGS, UPG_EDGE_CATALOG, UPG_EDGE_COUNT, UPG_EDGE_MIGRATIONS, UPG_EDGE_PAIR_MAP, UPG_EDGE_TYPES, UPG_ENTITY_COUNT, UPG_ENTITY_META, UPG_ENTITY_META_BY_ID, UPG_ENTITY_META_BY_NAME, UPG_ENTITY_TO_DOMAIN, UPG_ENUM_SCALES, UPG_FORMAT_VERSION, UPG_FRAMEWORKS, UPG_FRAMEWORKS_BY_CATEGORY, UPG_FRAMEWORKS_BY_ID, UPG_FRAMEWORK_CATEGORIES, UPG_LENSES, UPG_LIFECYCLES, UPG_LIFECYCLE_FREE_TYPES, UPG_LIFECYCLE_PLANNED_TYPES, UPG_META_COUNT, UPG_MIGRATIONS, UPG_PLAYBOOKS, UPG_POLYMORPHIC_EDGE_KEYS, UPG_PRODUCT_STAGES, UPG_PRODUCT_STAGE_COERCION_MAP, UPG_PROPERTY_MIGRATIONS, UPG_PROPERTY_SCHEMA, UPG_RATIO_BENCHMARKS, UPG_REGIONS, UPG_REGION_COUNT, UPG_REGION_MAP, UPG_RELATIONSHIP_BENCHMARKS, UPG_SCALES, UPG_SPLIT_MIGRATIONS, UPG_STATUS_MIGRATIONS, UPG_STRUCTURE_PATTERNS, UPG_TREE_PATTERNS, UPG_TREE_PATTERNS_BY_ID, UPG_TYPES, UPG_TYPES_SET, UPG_TYPE_ALIASES, UPG_TYPE_LABELS, UPG_TYPE_LABELS_MAP, UPG_TYPE_NAMES, UPG_VALID_CHILDREN, UPG_VERSION, UPG_WILDCARD_ENDPOINT, USERS_NEEDS_PLAYBOOK, type UnitEconomicsProperties, UnknownEntityTypeError, type UserAdvisoryBoardProperties, type UserFlowProperties, type UserJourneyProperties, type UserStoryProperties, type ValueObjectProperties, type ValuePropositionProperties, type ValueStreamProperties, type VariantProperties, type VisionProperties, type VulnerabilityProperties, type WalkMigrationChainResult, type WalkthroughProperties, type WebinarProperties, type WireframeProperties, type WorkflowArtifactProperties, type WorkflowRunProperties, type WorkflowTemplateProperties, type WorkspaceProperties, backfillSlug, buildTypeAliases, canBeChildOf, coerceProductStage, collectSlugsForType, compareVersions, computeBodyChecksum, describeTreePattern, edgeCarriesProperties, evaluateAntiPatterns, findInvalidStatusMigrationTargets, formatUpgText, friendlyToAssessment, generateSlug, getAnchorEntity, getAntiPatternById, getAntiPatterns, getAntiPatternsBySeverity, getAntiPatternsForStage, getAreaTaxonomyEntry, getBenchmark, getBenchmarksByDomain, getBusinessAreasForRegion, getCanonicalPlaybookForRegion, getCoverageKeysForRegion, getDefaultLens, getDeprecatedTypes, getDomainForType, getDomainIdForType, getDomainsInRing, getEdgePropertySchema, getEnumScale, getEnumValueMeta, getGuideForDomain, getLens, getLensIds, getLensPlaybook, getLensesForDomain, getLifecycleForType, getLifecycleRenderShape, getMigrationMap, getPlaybookById, getPlaybooksForRegion, getPropertiesForScale, getPropertyDefaultScale, getPropertyMigrations, getPropertySchema, getRegion, getRegionForEntityType, getReplacementType, getRingForDomain, getScale, getSplitMigrations, getTreePattern, getTypeId, getTypeName, getTypes, getUPGEdgeMigrations, getValidChildren, getVisibleTypes, hasStatusMigration, isCanonical, isCanonicalProductStage, isContainmentFreeType, isDeprecatedType, isDomainGuideStep, isEntitySequenceStep, isFrameworkInvocationStep, isLegacyProductStage, isLifecycleFreeType, isLifecyclePlannedType, isPolymorphicEdge, isPortfolio, isRegisteredPolymorphicEdge, isSubSequenceStep, isUPGDocument, listStatusMigrations, listTreePatternSummaries, migrateEdge, migrateNode, migrateNodeProperties, migrateProductStage, migrateStatusValue, normalizeDocument, parseUpg, pickCanonicalEdge, resolveAllEdges, resolveContainmentEdge, resolveEntityType, resolveLabel, resolveSlugCollision, resolveTreePatternEdges, ringOrderedDomainIds, rotateSlug, serializeCanonical, validateEdgeProperties, validateProductStageStrict, validateUPGDocument, validateUPGFramework, walkMigrationChainToCanonical };
|
|
21815
|
+
export { type A11yAnnotationProperties, type A11yAuditProperties, type A11yGuidelineProperties, type A11yIssueProperties, type A11yStandardProperties, ANALYTICS_DATA_PLAYBOOK, type AcceptanceCriterionProperties, type AccessPolicyProperties, type AccountProperties, type AcquisitionChannelProperties, type AdCreativeProperties, type AffinityClusterProperties, type AgentDefinitionProperties, type AgentHookProperties, type AgentSessionProperties, type AgentSkillProperties, type AgentTaskProperties, type AggregateProperties, type AiCostTrackerProperties, type AiDatasetProperties, type AiExperimentProperties, type AiGuardrailProperties, type AiModelProperties, type AiTraceProperties, type AlertRuleProperties, type AnnotationProperties, type AntiPatternInputs, type AntiPatternViolation, type AnyUPGEntityType, type ApiContractProperties, type ApiEcosystemProperties, type ApiEndpointProperties, type ApproachBinding, type ApproachFilter, type ApproachRun, type ApproachRuntime, type ApprovalRecordProperties, type AssumptionProperties, type AttributionModelProperties, type AuditLogPolicyProperties, BUSINESS_GROWTH_METRIC_DRIVEN_PLAYBOOK, BUSINESS_GTM_GROWTH_PLAYBOOK, BUSINESS_MARKETING_AUDIENCE_FIRST_PLAYBOOK, type BehavioralSegmentProperties, type BenchmarkCheck, type BetaProgramProperties, type BoundedContextProperties, type BrandAssetProperties, type BrandColourProperties, type BrandIdentityProperties, type BrandImageryProperties, type BrandLogoProperties, type BrandTypographyProperties, type BrandVoiceProperties, type BugProperties, type BuildArtifactProperties, type BusinessModelProperties, CLASSIFICATION_EDGE_PROPERTY_SCHEMA, CONTENT_DEPTH_WARNING_RULES, type Cadence, type CapabilityProperties, type CapacityPlanProperties, type CauseConfidence, type CeremonyProperties, type CertificationProperties, type ChangeRequestProperties, type ChangelogProperties, type ChurnReasonProperties, type CiPipelineProperties, type ClassificationAxisProperties, type ClassificationCapability, type ClassificationCapabilitySurface, type ClassificationCommitment, type ClassificationValueProperties, type CodeRepositoryProperties, type CohortProperties, type ComfortLevel, type CommandProperties, type CommunityInitiativeProperties, type CompetitiveAnalysisProperties, type CompetitiveBattleCardProperties, type CompetitorFeatureProperties, type CompetitorProperties, type CompetitorSignalProperties, type ComplianceFrameworkProperties, type ComplianceRequirementProperties, type Confidence, type ConformanceLevel, type ConstraintKind, type ConstraintProperties, type ConstraintStatus, type ContactProperties, type ContentCalendarProperties, type ContentPieceProperties, type ContentStrategyProperties, type ContentThemeProperties, type ContractClauseProperties, type ContractProperties, type CostStructureProperties, type CountBenchmark, type Cron, type CulturalAdaptationProperties, type CustomerFeedbackProperties, type CustomerHealthScoreProperties, type CustomerJourneyStageProperties, type CustomerRelationshipProperties, DEFAULT_ENTITY_EMOJI, DISCOVERY_RESEARCH_VALIDATION_PLAYBOOK, type DashboardProperties, type DataClassificationProperties, type DataContractProperties, type DataDomainProperties, type DataFlowProperties, type DataLineageProperties, type DataModelProperties, type DataPipelineProperties, type DataProductProperties, type DataQualityRuleProperties, type DataSensitivity, type DataSourceProperties, type DatabaseSchemaProperties, type DealProperties, type DecisionProperties, type DeliverableProperties, type DemandGenProgramProperties, type DepartmentProperties, type DependencyProperties, type DeploymentProperties, type DeprecatedUPGEntityType, type DesignComponentProperties, type DesignConceptProperties, type DesignGuidelineProperties, type DesignPatternProperties, type DesignQuestionProperties, type DesignSprintProperties, type DesignSystemProperties, type DesignTokenProperties, type DesiredOutcomeProperties, type DeveloperPortalProperties, type DifficultyLevel, type DiscountStrategyProperties, type DistributionChannelProperties, type DocumentProperties, type DocumentationTemplateProperties, type DomainActivation, type DomainCountCheck, type DomainEntityProperties, type DomainEventProperties, type DomainGuideStep, type DomainPopulationCheck, type Duration, ENGINEERING_PLATFORM_PLAYBOOK, ENTITY_EMOJI, EXPERIENCE_DESIGN_BRAND_PLAYBOOK, type EducationProgramProperties, type EmailSequenceProperties, type EmptyCell, type EmptyCellRationaleKind, type EntityCheck, type EntitySequenceStep, type EntityTypeMeta, type EntityTypeResolution, type EntryMode, type EpicProperties, type ErrorBudgetProperties, type EvalBenchmarkProperties, type EvalRunProperties, type EvaluateAntiPatternsOptions, type EventProperties, type EventSchemaProperties, type EvidenceDirection, type EvidenceProperties, type ExperimentPlanProperties, type ExperimentProperties, type ExperimentRunProperties, type ExternalApiProperties, FOUNDATIONS_PLAYBOOK, type FeasibilityStudyProperties, type FeatureAreaProperties, type FeatureFlagProperties, type FeatureProperties, type FeatureRequestProperties, type FeedbackProgramProperties, type FeedbackThemeProperties, type FeedbackVoteProperties, type FixProperties, type ForecastProperties, type FrameworkCategory, type FrameworkComputedProperty, type FrameworkConstant, type FrameworkDataSpec, type FrameworkEducation, type FrameworkEntityTypeSpec, type FrameworkExerciseProperties, type FrameworkInvocationStep, type FrameworkLayout, type FrameworkLevel, type FrameworkOrigin, type FrameworkPresentationSpec, type FrameworkPropertyRequirement, type FrameworkScoringMethod, type FrameworkSlot, type FrameworkStep, type FrameworkStructureSpec, type FrameworkValidationResult, type FrequencyRating, type FunnelProperties, type FunnelStage, type FunnelStepProperties, type GlossaryTermProperties, type GrowthCampaignProperties, type GrowthLoopProperties, type GtmStrategyProperties, type GuardrailStatus, type HallucinationReportProperties, type HealthStatus, type HelpVideoProperties, type HypothesisEvidenceProperties, type HypothesisProperties, type ISO4217, type ISODate, type ISODateTime, type IdealCustomerProfileProperties, type IncidentProperties, type IncidentSeverity, type InfrastructureComponentProperties, type InitiativeProperties, type InsightProperties, type IntegrationPartnerProperties, type IntegrationPatternProperties, type IntelligenceCondition, type InteractionSpecProperties, type InternalDocProperties, type InterviewGuideProperties, type InvestigationProperties, type InvoiceProperties, type IpAssetProperties, type JobProperties, type JobStepProperties, type JourneyActionProperties, type JourneyPhaseProperties, type JourneyStepProperties, type JourneyType, type KeyActivityProperties, type KeyResourceProperties, type KeyResultProperties, type KnowledgeBaseArticleProperties, LEGACY_PRODUCT_STAGES, type LaunchProperties, type LeadProperties, type LearningPathProperties, type LearningProperties, type LegalEntityProperties, type LibraryDependencyProperties, type LifecyclePhase, type LifecycleRenderShape, type LifecycleRenderState, type LifecycleRenderTransition, type LifecycleState, type LocaleConfigProperties, type LocaleProperties, type LogLevel, type LowMedHigh, MARKDOWN_FORMAT_VERSION, MARKET_COMPETITIVE_PLAYBOOK, type MarketSegmentProperties, type MarketTrendProperties, type MarketingCampaignPlanProperties, type MarketingChannelProperties, type MarketingPlatform, type MarketingStrategyProperties, type MarketplaceListingProperties, type MatrixSlot, type MaturityLevel, type MessagingProperties, type MetricCategory, type MetricDataPoint, type MetricDesignation, type MetricHealth, type MetricImpactLevel, type MetricIndicatorDirection, type MetricProperties, type MetricQualityAssessmentProperties, type MetricSegmentType, type MetricStatisticalFunction, type MilestoneProperties, type MissionProperties, type ModelComparisonProperties, type MonitorProperties, type NamedGroup, type NeedMaturity, type NeedProperties, type NeedValence, type NpsCampaignProperties, OPERATIONS_QUALITY_PLAYBOOK, type ObjectionProperties, type ObjectiveProperties, type ObservationProperties, type OnCallRotationProperties, type OperatingLifecycleProperties, type OperatingStageProperties, type OpportunityProperties, type OrganizationProperties, type OrphanCheck, type OutcomeProperties, PRODUCT_DELIVERY_PLAYBOOK, PROPERTY_SCALE_MAP, type ParticipantProperties, type PartnerProgramProperties, type PartnerRevenueShareProperties, type PartnerTierProperties, type PartnershipProperties, type PaywallProperties, type PenetrationTestProperties, type PersonProperties, type PersonaProperties, type PipelineSalesProperties, type PipelineStageProperties, type PlaybookBinding, type PlaybookFilter, type PlaybookProperties, type PlaybookRun, type PlaybookRuntime, type PortfolioProperties, type PositioningProperties, type PostmortemProperties, type PressReleaseProperties, type PricingStrategyProperties, type PricingTierProperties, type PrimitiveProperties, type Priority, type PrivacyPolicyProperties, type ProductAreaProperties, type ProductProperties, type ProductStageCoercion, type ProgramProperties, type ProjectProperties, type PromptTemplateProperties, type PromptVersionProperties, type ProofPointProperties, type PropertyDefinition, type PropertySchema, type Protocol, type PrototypeProperties, type ProxyConfidence, type ProxyReason, type QaSessionProperties, type QueueTopicProperties, type QuoteDocumentProperties, type QuoteProperties, REFLECT_MODES, REGISTRY_PRODUCT_ID, type RatioBenchmark, type ReadModelProperties, type RebuttalProperties, type ReflectMode, type RegionalPricingProperties, type RegressionTestProperties, type RelationshipBenchmark, type RelationshipCheck, type ReleaseProperties, type ReleaseStrategyProperties, type ReportProperties, type ResearchPlanProperties, type ResearchQuestionProperties, type ResearchStudyProperties, type ResourceAllocationProperties, type RetrospectiveProperties, type RevenueStreamProperties, type ReviewGateProperties, type RiskProperties, type RiskRegisterProperties, type RoadmapItemProperties, type RoadmapProperties, type RoadmapThemeProperties, type RoleProperties, type RootCauseProperties, type RuleStrength, type RunContext, type RunbookProperties, STRATEGY_OUTCOMES_PLAYBOOK, type SalesMotionProperties, type ScreenProperties, type ScreenStateProperties, type SecurityAuditProperties, type SecurityControlProperties, type SecurityPolicyProperties, type SecurityReviewProperties, type Semver, type SeoKeywordProperties, type SerializeOptions, type ServiceBlueprintProperties, type ServiceLevelAgreementProperties, type ServiceLevelIndicatorProperties, type ServiceLevelObjectiveProperties, type ServiceProperties, type SignalChannel, type SignalSentiment, type SignalUrgency, type SkillProperties, type SocialPostProperties, type SolutionProperties, type SpecificationProperties, type StageRange, type StakeholderProperties, type StatusReportProperties, type Step, type StepKind, type StepOutput, type StepOutputKind, type StoryTaskProperties, type StrategicPillarProperties, type StrategicThemeProperties, type StructurePattern, type SubSequenceStep, type SubscriptionProperties, type SuccessMilestoneProperties, type SupportTicketProperties, type SurfaceId, type SurveyResponseProperties, type SwitchingCostProperties, type SymptomProperties, type TableColumn, type TargetCustomerSegmentProperties, type TaskProperties, type TeamOkrProperties, type TeamProperties, type TechnicalDebtItemProperties, type TerritoryProperties, type TestCaseProperties, type TestCoverageReportProperties, type TestEnvironmentProperties, type TestPlanProperties, type TestResultProperties, type TestSuiteProperties, type ThreatModelProperties, type ThreatProperties, type Timeframe, type TotalEntityCountCheck, type TouchpointProperties, type TranslationBundleProperties, type TranslationKeyProperties, type TrialConfigProperties, type TutorialProperties, type UPGAnchorEntity, type UPGAntiPattern, type UPGAntiPatternSeverity, type UPGApproach, type UPGApproachEnvelope, type UPGApproachId, type UPGAreaTaxonomyEntry, type UPGAssessment, type UPGBaseNode, type UPGBenchmarkSource, type UPGBoundaryDirection, type UPGBoundaryEdge, type UPGCrossEdge, type UPGCrossEdgeType, type UPGCuratedAntiPattern, type UPGDocument, type UPGDomain, type UPGDomainBridge, type UPGDomainId, type UPGDomainPattern, type UPGDomainRing, type UPGDomainUsageGuide, type UPGEdge, type UPGEdgeDefinition, type UPGEdgeMigration, type UPGEdgeMigrationEndpoints, type UPGEdgePickHint, type UPGEdgeType, type UPGEntityType, type UPGEntityTypeMaturity, type UPGEnumScaleDefinition, type UPGEnumScaleValue, type UPGFramework, type UPGFrameworkMeta, type UPGHeader, type UPGHeaderIntegrity, type UPGHeaderProvenance, type UPGIntegrity, type UPGLens, type UPGLensIntelligencePrompt, type UPGLifecycle, type UPGMappingConfidence, type UPGNode, type UPGOrganization, type UPGPlaybook, type UPGPortfolio, type UPGPortfolioDocument, type UPGProduct, type UPGProductArea, type UPGProductStage, type UPGPropertyMap, type UPGPropertyMigration, type UPGPropertyMigrationChange, type UPGRegion, type UPGRegionEntityMembership, type UPGRegionEntityRole, type UPGRegionId, type UPGRegionShape, type UPGRegistry, type UPGScaleDefinition, type UPGScalePoint, type UPGSource, type UPGSplitEdge, type UPGSplitMigration, type UPGSplitRoute, type UPGSplitRouteTarget, type UPGSplitTarget, type UPGTreeChild, type UPGTreeGapPolicy, type UPGTreePattern, type UPGTreePatternDetail, type UPGTreePatternEdge, type UPGTreePatternSummary, type UPGTypeLabel, type UPGTypeMigration, type UPGValidationError, type UPGValidationResult, type UPGValidationWarning, type UPGWildcardEndpoint, UPG_ACTIVE_TYPES, UPG_ANTI_PATTERNS, UPG_APPROACHES, UPG_APPROACHES_BY_ID, UPG_AREA_TAXONOMY, UPG_AREA_TAXONOMY_BY_COVERAGE_KEY, UPG_CANONICAL_FORMAT_VERSION, UPG_CONTAINMENT_FREE_TYPES, UPG_COUNT_BENCHMARKS, UPG_CROSS_EDGE_TYPES, UPG_DEPRECATED_TYPES, UPG_DOMAINS, UPG_DOMAIN_ACTIVATION, UPG_DOMAIN_COUNT, UPG_DOMAIN_GUIDES, UPG_DOMAIN_RINGS, UPG_EDGE_CATALOG, UPG_EDGE_COUNT, UPG_EDGE_MIGRATIONS, UPG_EDGE_PAIR_MAP, UPG_EDGE_TYPES, UPG_ENTITY_COUNT, UPG_ENTITY_META, UPG_ENTITY_META_BY_ID, UPG_ENTITY_META_BY_NAME, UPG_ENTITY_TO_DOMAIN, UPG_ENUM_SCALES, UPG_FORMAT_VERSION, UPG_FRAMEWORKS, UPG_FRAMEWORKS_BY_CATEGORY, UPG_FRAMEWORKS_BY_ID, UPG_FRAMEWORK_CATEGORIES, UPG_LENSES, UPG_LIFECYCLES, UPG_LIFECYCLE_FREE_TYPES, UPG_LIFECYCLE_PLANNED_TYPES, UPG_META_COUNT, UPG_MIGRATIONS, UPG_PLAYBOOKS, UPG_POLYMORPHIC_EDGE_KEYS, UPG_PRODUCT_STAGES, UPG_PRODUCT_STAGE_COERCION_MAP, UPG_PROPERTY_MIGRATIONS, UPG_PROPERTY_SCHEMA, UPG_RATIO_BENCHMARKS, UPG_REGIONS, UPG_REGION_COUNT, UPG_REGION_MAP, UPG_RELATIONSHIP_BENCHMARKS, UPG_SCALES, UPG_SPLIT_MIGRATIONS, UPG_STATUS_MIGRATIONS, UPG_STRUCTURE_PATTERNS, UPG_TREE_PATTERNS, UPG_TREE_PATTERNS_BY_ID, UPG_TYPES, UPG_TYPES_SET, UPG_TYPE_ALIASES, UPG_TYPE_LABELS, UPG_TYPE_LABELS_MAP, UPG_TYPE_NAMES, UPG_VALID_CHILDREN, UPG_VERSION, UPG_WILDCARD_ENDPOINT, USERS_NEEDS_PLAYBOOK, type UnitEconomicsProperties, UnknownEntityTypeError, type UserAdvisoryBoardProperties, type UserFlowProperties, type UserJourneyProperties, type UserStoryProperties, type ValueObjectProperties, type ValuePropositionProperties, type ValueStreamProperties, type VariantProperties, type VisionProperties, type VulnerabilityProperties, type WalkMigrationChainResult, type WalkthroughProperties, type WebinarProperties, type WireframeProperties, type WorkflowArtifactProperties, type WorkflowRunProperties, type WorkflowTemplateProperties, type WorkspaceProperties, backfillSlug, buildTypeAliases, canBeChildOf, coerceProductStage, collectSlugsForType, compareVersions, computeBodyChecksum, describeTreePattern, edgeCarriesProperties, evaluateAntiPatterns, findInvalidStatusMigrationTargets, formatUpgText, friendlyToAssessment, generateSlug, getAnchorEntity, getAntiPatternById, getAntiPatterns, getAntiPatternsBySeverity, getAntiPatternsForStage, getAreaTaxonomyEntry, getBenchmark, getBenchmarksByDomain, getBusinessAreasForRegion, getCanonicalPlaybookForRegion, getCoverageKeysForRegion, getDefaultLens, getDeprecatedTypes, getDomainForType, getDomainIdForType, getDomainsInRing, getEdgePropertySchema, getEnumScale, getEnumValueMeta, getGuideForDomain, getLens, getLensIds, getLensPlaybook, getLensesForDomain, getLifecycleForType, getLifecycleRenderShape, getMigrationMap, getPlaybookById, getPlaybooksForRegion, getPropertiesForScale, getPropertyDefaultScale, getPropertyMigrations, getPropertySchema, getRegion, getRegionForEntityType, getReplacementType, getRingForDomain, getScale, getSplitMigrations, getTreePattern, getTypeId, getTypeName, getTypes, getUPGEdgeMigrations, getValidChildren, getVisibleTypes, hasStatusMigration, isCanonical, isCanonicalProductStage, isContainmentFreeType, isDeprecatedType, isDomainGuideStep, isEntitySequenceStep, isFrameworkInvocationStep, isLegacyProductStage, isLifecycleFreeType, isLifecyclePlannedType, isPolymorphicEdge, isPortfolio, isRegisteredPolymorphicEdge, isSubSequenceStep, isUPGDocument, listStatusMigrations, listTreePatternSummaries, migrateEdge, migrateNode, migrateNodeProperties, migrateProductStage, migrateStatusValue, normalizeDocument, parseUpg, pickCanonicalEdge, resolveAllEdges, resolveContainmentEdge, resolveEntityType, resolveLabel, resolveSlugCollision, resolveTreePatternEdges, ringOrderedDomainIds, rotateSlug, serializeCanonical, validateEdgeProperties, validateProductStageStrict, validateUPGDocument, validateUPGFramework, walkMigrationChainToCanonical };
|
package/dist/index.js
CHANGED
|
@@ -494,7 +494,7 @@ var UPG_DOMAINS = [
|
|
|
494
494
|
id: "foundations",
|
|
495
495
|
label: "Foundations",
|
|
496
496
|
description: "The shared specifications and foundational primitives a product organisation stewards or implements everywhere. Specifications are governed specs (query languages, protocols, data formats, encodings) like GROQ or Portable Text; primitives are the compositional units those specs define (a block, a reference, a query value). Both are registry-hostable canonicals that products implement, expose, or conform to. Distinct from a product feature: a specification has no single owner, no P&L, and no buyer; it is the rulebook many products point at.",
|
|
497
|
-
types: ["specification", "primitive"]
|
|
497
|
+
types: ["specification", "primitive", "operating_lifecycle", "operating_stage"]
|
|
498
498
|
}
|
|
499
499
|
];
|
|
500
500
|
var UPG_ENTITY_TO_DOMAIN = Object.freeze(
|
|
@@ -517,6 +517,8 @@ var UPG_ENTITY_META = [
|
|
|
517
517
|
// Foundations (0.9.12): shared specifications + the primitives they define.
|
|
518
518
|
{ name: "specification", type_id: "ent_352", maturity: "proposed", since: "0.9.12" },
|
|
519
519
|
{ name: "primitive", type_id: "ent_353", maturity: "proposed", since: "0.9.12" },
|
|
520
|
+
{ name: "operating_lifecycle", type_id: "ent_355", maturity: "proposed", since: "0.11.6" },
|
|
521
|
+
{ name: "operating_stage", type_id: "ent_356", maturity: "proposed", since: "0.11.6" },
|
|
520
522
|
// ── Strategic ──
|
|
521
523
|
{ name: "product", type_id: "ent_001", maturity: "stable", since: "0.1.0" },
|
|
522
524
|
{ name: "outcome", type_id: "ent_002", maturity: "stable", since: "0.1.0" },
|
|
@@ -1017,6 +1019,9 @@ var UPG_EDGE_CATALOG = {
|
|
|
1017
1019
|
persona_pursues_job: { forward_verb: "pursues", reverse_verb: "pursued_by", classification: "semantic", source_type: "persona", target_type: "job" },
|
|
1018
1020
|
persona_experiences_need: { forward_verb: "experiences", reverse_verb: "experienced_by", classification: "semantic", source_type: "persona", target_type: "need" },
|
|
1019
1021
|
persona_aspires_to_desired_outcome: { forward_verb: "aspires_to", reverse_verb: "aspirational_for", classification: "hierarchy", source_type: "persona", target_type: "desired_outcome" },
|
|
1022
|
+
// Delegation (0.11.6): a persona delegates work to another. The common case is human -> agent
|
|
1023
|
+
// (Content Ops Lead -> Content Agent), but it also expresses human -> human (editor -> reviewer).
|
|
1024
|
+
persona_delegates_to_persona: { forward_verb: "delegates_to", reverse_verb: "delegated_by", classification: "semantic", source_type: "persona", target_type: "persona" },
|
|
1020
1025
|
persona_incurs_switching_cost: { forward_verb: "incurs", reverse_verb: "incurred_by", classification: "hierarchy", source_type: "persona", target_type: "switching_cost" },
|
|
1021
1026
|
job_surfaces_need: { forward_verb: "surfaces", reverse_verb: "surfaces_from", classification: "causal", source_type: "job", target_type: "need" },
|
|
1022
1027
|
job_motivates_desired_outcome: { forward_verb: "motivates", reverse_verb: "motivated_by", classification: "causal", source_type: "job", target_type: "desired_outcome" },
|
|
@@ -2998,8 +3003,13 @@ var UPG_EDGE_CATALOG = {
|
|
|
2998
3003
|
specification_competes_with_specification: { forward_verb: "competes_with", reverse_verb: "competes_with", classification: "semantic", source_type: "specification", target_type: "specification" },
|
|
2999
3004
|
primitive_defined_by_specification: { forward_verb: "defined_by", reverse_verb: "defines", classification: "semantic", source_type: "primitive", target_type: "specification" },
|
|
3000
3005
|
primitive_composes_primitive: { forward_verb: "composes", reverse_verb: "composed_by", classification: "hierarchy", source_type: "primitive", target_type: "primitive" },
|
|
3006
|
+
operating_lifecycle_contains_operating_stage: { forward_verb: "contains", reverse_verb: "belongs_to", classification: "hierarchy", source_type: "operating_lifecycle", target_type: "operating_stage" },
|
|
3001
3007
|
// Stewardship: a registry specification is governed by a (registry-hostable) organization (0.9.13).
|
|
3002
|
-
specification_governed_by_organization: { forward_verb: "governed_by", reverse_verb: "governs", classification: "semantic", source_type: "specification", target_type: "organization" }
|
|
3008
|
+
specification_governed_by_organization: { forward_verb: "governed_by", reverse_verb: "governs", classification: "semantic", source_type: "specification", target_type: "organization" },
|
|
3009
|
+
// Operating-lifecycle cross-edges (0.11.6): a product's journey phase realises a canonical
|
|
3010
|
+
// operating stage (the cross-surface join key); a stage is measured by a rollup metric (loop close).
|
|
3011
|
+
journey_phase_realises_operating_stage: { forward_verb: "realises", reverse_verb: "realised_by", classification: "cross-domain", source_type: "journey_phase", target_type: "operating_stage" },
|
|
3012
|
+
operating_stage_measured_by_metric: { forward_verb: "measured_by", reverse_verb: "measures", classification: "cross-domain", source_type: "operating_stage", target_type: "metric" }
|
|
3003
3013
|
};
|
|
3004
3014
|
var UPG_POLYMORPHIC_EDGE_KEYS = [
|
|
3005
3015
|
// Universal semantic verbs
|
|
@@ -3155,6 +3165,9 @@ var UPG_VALID_CHILDREN = {
|
|
|
3155
3165
|
// primitive_composes_primitive catalog edges.
|
|
3156
3166
|
specification: ["specification"],
|
|
3157
3167
|
primitive: ["primitive"],
|
|
3168
|
+
// An operating_lifecycle (e.g. the content-ops lifecycle) contains its ordered
|
|
3169
|
+
// operating_stage children. Backs the operating_lifecycle_contains_operating_stage edge.
|
|
3170
|
+
operating_lifecycle: ["operating_stage"],
|
|
3158
3171
|
// ── Product (root) ─────────────────────────────────────────────────────────
|
|
3159
3172
|
product: [
|
|
3160
3173
|
// Strategy
|
|
@@ -6218,9 +6231,13 @@ function getLifecycleForType(entityType) {
|
|
|
6218
6231
|
return UPG_LIFECYCLES.find((l) => l.entity_type === entityType);
|
|
6219
6232
|
}
|
|
6220
6233
|
var UPG_LIFECYCLE_FREE_TYPES = /* @__PURE__ */ new Set([
|
|
6221
|
-
// ── Foundations (
|
|
6222
|
-
// phase ladder (like metric). `
|
|
6234
|
+
// ── Foundations (3 of 4): a primitive either exists or is deprecated; no
|
|
6235
|
+
// phase ladder (like metric). `operating_lifecycle`/`operating_stage` are
|
|
6236
|
+
// static ordered reference data (the loop is a `cyclic` flag, not a state
|
|
6237
|
+
// machine). `specification` carries a lifecycle. ──
|
|
6223
6238
|
"primitive",
|
|
6239
|
+
"operating_lifecycle",
|
|
6240
|
+
"operating_stage",
|
|
6224
6241
|
// ── User (5): personas and JTBD atoms are reference data ──────────────────
|
|
6225
6242
|
"persona",
|
|
6226
6243
|
"job",
|
|
@@ -9649,7 +9666,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
9649
9666
|
},
|
|
9650
9667
|
// CodeRepositoryProperties: Code repository.
|
|
9651
9668
|
code_repository: {
|
|
9652
|
-
repo_url: { type: "string", description: "URL" },
|
|
9669
|
+
repo_url: { type: "string", description: "URL", modifier: "volatile" },
|
|
9653
9670
|
default_branch: { type: "string", description: "Default branch" },
|
|
9654
9671
|
language: { type: "string", description: "Primary programming language" },
|
|
9655
9672
|
ci_status: { type: "string", enum: ["passing", "failing", "unknown"], description: "Current CI status" },
|
|
@@ -9910,7 +9927,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
9910
9927
|
data_classification: {
|
|
9911
9928
|
level: { type: "string", enum: ["public", "internal", "confidential", "restricted"], description: "Sensitivity level" },
|
|
9912
9929
|
handling_requirements: { type: "string", description: "Handling rules" },
|
|
9913
|
-
examples: { type: "string", description: "Example data covered" },
|
|
9930
|
+
examples: { type: "string[]", description: "Example data covered" },
|
|
9914
9931
|
retention_period: { type: "string", description: "Retention period" },
|
|
9915
9932
|
encryption_required: { type: "boolean", description: "Whether encryption is mandatory" }
|
|
9916
9933
|
},
|
|
@@ -10404,7 +10421,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
10404
10421
|
feature_area: {
|
|
10405
10422
|
scope_summary: { type: "string", description: "One-line scope description. Disambiguates from sibling areas at a glance." },
|
|
10406
10423
|
owning_team: { type: "string", description: "Team identifier or slug. Free-form display. Canonical relationship is the `team_owns_feature_area` edge." },
|
|
10407
|
-
feature_count: { type: "number", description: "Approximate feature count under this area. Snapshot; `feature_area_contains_feature` edges are the source of truth." },
|
|
10424
|
+
feature_count: { type: "number", description: "Approximate feature count under this area. Snapshot; `feature_area_contains_feature` edges are the source of truth.", modifier: "derived" },
|
|
10408
10425
|
owner: { type: "string", description: "Area owner (handle or email)" },
|
|
10409
10426
|
priority: { type: "string", enum: ["urgent", "high", "medium", "low", "none"], description: "Importance to the product overall" },
|
|
10410
10427
|
maturity: { type: "string", enum: ["nascent", "growing", "mature", "legacy"], description: "Maturity. `nascent` = newly-formed grouping. `mature` = established surface. `legacy` = being phased out for a successor." },
|
|
@@ -10521,7 +10538,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
10521
10538
|
// FunnelProperties: Funnel entity.
|
|
10522
10539
|
funnel: {
|
|
10523
10540
|
funnel_type: { type: "string", enum: ["acquisition", "activation", "retention", "revenue", "referral", "custom"], description: "Which stage of the customer lifecycle this funnel measures" },
|
|
10524
|
-
step_count: { type: "number", description: "Number of steps in the funnel" },
|
|
10541
|
+
step_count: { type: "number", description: "Number of steps in the funnel", modifier: "derived" },
|
|
10525
10542
|
overall_conversion_rate: { type: "number", description: "End-to-end conversion rate through the funnel (0-1)" }
|
|
10526
10543
|
},
|
|
10527
10544
|
// FunnelStepProperties: FunnelStep entity.
|
|
@@ -10674,7 +10691,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
10674
10691
|
},
|
|
10675
10692
|
required: ["value", "label"]
|
|
10676
10693
|
},
|
|
10677
|
-
evidence_count: { type: "number", description: "Supporting observations, quotes, or evidence items. Higher counts increase confidence." },
|
|
10694
|
+
evidence_count: { type: "number", description: "Supporting observations, quotes, or evidence items. Higher counts increase confidence.", modifier: "derived" },
|
|
10678
10695
|
novelty: { type: "string", enum: ["known", "surprising", "contradictory"], description: "Novelty against existing knowledge. `known` = confirms what we already believed. `surprising` = challenges or extends our understanding. `contradictory` = directly conflicts with a prior assumption." },
|
|
10679
10696
|
actionability: { type: "string", enum: ["immediate", "needs_validation", "informational"], description: "Current actionability. `immediate` = clear action, no further research needed. `needs_validation` = promising but requires more evidence. `informational` = important context, no direct action." },
|
|
10680
10697
|
source_method: { type: "string", description: 'Producing research method. @example "usability_study", "interview_series", "survey"' },
|
|
@@ -11348,7 +11365,8 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
11348
11365
|
motivation: { type: "string", description: 'Primary motivation or driving need @example "Making confident, evidence-based decisions"' },
|
|
11349
11366
|
tech_comfort: { type: "string", enum: ["low", "medium", "high", "expert", "other"], description: "Tech comfort. Closed set so personas across products compare on the same axis. Free-text colour belongs in `context` or `motivation`." },
|
|
11350
11367
|
domain_expertise: { type: "string", description: 'Industry or domain knowledge this persona brings @example "10+ years SaaS experience", "New to healthcare IT"' },
|
|
11351
|
-
audience_role: { type: "string", enum: ["buyer", "user", "champion", "influencer", "partner"], description: 'Role in the buying / adoption decision (the decision-making-unit split): who signs (buyer) vs who uses (user) vs who advocates internally (champion) vs who shapes the choice (influencer) vs who delivers / implements (partner). A portfolio must separate the economic buyer from the practitioner user; they are distinct personas with distinct jobs. Closed set so roles compare across products. @example "buyer"' }
|
|
11368
|
+
audience_role: { type: "string", enum: ["buyer", "user", "champion", "influencer", "partner"], description: 'Role in the buying / adoption decision (the decision-making-unit split): who signs (buyer) vs who uses (user) vs who advocates internally (champion) vs who shapes the choice (influencer) vs who delivers / implements (partner). A portfolio must separate the economic buyer from the practitioner user; they are distinct personas with distinct jobs. Closed set so roles compare across products. @example "buyer"' },
|
|
11369
|
+
actor_kind: { type: "string", enum: ["human", "agent", "system"], description: "Who performs the work: a human archetype (default; absent = human, no migration), an autonomous AI agent (e.g. Content Agent), or a non-agentic platform service. An agent persona participates in journeys via the same persona machinery and is delegated to via persona_delegates_to_persona. Human-coverage / segmentation metrics count human only; agent/system opt-in." }
|
|
11352
11370
|
},
|
|
11353
11371
|
// PipelineSalesProperties: Sales pipeline.
|
|
11354
11372
|
pipeline_sales: {
|
|
@@ -11411,6 +11429,21 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
11411
11429
|
defined_by: { type: "string", description: "The `specification/<slug>` this primitive comes from; nullable for spec-less internal primitives. Mirrors the `primitive_defined_by_specification` edge for quick lookup." },
|
|
11412
11430
|
since: { type: "string", description: "Year or version the primitive was introduced." }
|
|
11413
11431
|
},
|
|
11432
|
+
// OperatingLifecycleProperties: a canonical ordered (often cyclic) operating process products' journey phases map onto.
|
|
11433
|
+
operating_lifecycle: {
|
|
11434
|
+
label: { type: "string", description: "Human-readable name of the operating process." },
|
|
11435
|
+
cyclic: { type: "boolean", description: "True if the process loops (e.g. Analyze \u2192 Extend \u2192 Plan). Rendered linearly by stage_order with the wrap on the final stage." },
|
|
11436
|
+
source: { type: "string", description: 'Origin of the canonical model (e.g. "Sanity official content-ops lifecycle").' }
|
|
11437
|
+
},
|
|
11438
|
+
// OperatingStageProperties: one ordered stage of an operating_lifecycle.
|
|
11439
|
+
operating_stage: {
|
|
11440
|
+
stage_order: { type: "number", description: "Ordered position within the lifecycle, 0-indexed." },
|
|
11441
|
+
label: { type: "string", description: "Human-readable stage name." },
|
|
11442
|
+
goal: { type: "string", description: "What this stage accomplishes." },
|
|
11443
|
+
owner_role: { type: "string", description: "Role that owns the stage (free-text role label)." },
|
|
11444
|
+
os_analogy: { type: "string", description: 'The Content-OS analogy from the source volume (e.g. "Drivers + daemons / cron").' },
|
|
11445
|
+
next_stage: { type: "string", description: "Label of the next stage; on the final stage of a cyclic lifecycle this carries the wrap." }
|
|
11446
|
+
},
|
|
11414
11447
|
// PrivacyPolicyProperties: Privacy policy.
|
|
11415
11448
|
privacy_policy: {
|
|
11416
11449
|
version: { type: "string", description: "Version identifier of the policy" },
|
|
@@ -11811,7 +11844,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
11811
11844
|
service_level_indicator: {
|
|
11812
11845
|
metric_name: { type: "string", description: 'Indicator metric name. @example "Request latency p99", "Error rate", "Availability"' },
|
|
11813
11846
|
threshold: { type: "number", description: 'Threshold that defines a "good" event. @example 200 (ms latency), 0.01 (1% error rate), 99.9 (% availability)' },
|
|
11814
|
-
current_value: { type: "number", description: "Current observed value. Compared against `threshold` for SLO compliance. @example 150 (ms), 0.003 (0.3% error rate)" },
|
|
11847
|
+
current_value: { type: "number", description: "Current observed value. Compared against `threshold` for SLO compliance. @example 150 (ms), 0.003 (0.3% error rate)", modifier: "snapshot" },
|
|
11815
11848
|
unit: { type: "string", description: 'Unit of measurement. Required to interpret `threshold` and `current_value`. @example "ms", "%", "req/s", "errors/min"' },
|
|
11816
11849
|
aggregation: { type: "string", enum: ["avg", "sum", "max", "min", "p50", "p95", "p99", "count"], description: 'Aggregation over the evaluation window. p99 and avg tell different stories. @example "p99" for tail latency, "avg" for mean throughput, "count" for total events' },
|
|
11817
11850
|
measurement_query: { type: "string", description: "Query expression that produces `current_value`. Free-form to fit PromQL, Datadog query strings, SQL, or vendor-specific DSLs. @example 'sum(rate(http_requests_total{status=~\"5..\"}[5m])) / sum(rate(http_requests_total[5m]))'" },
|
|
@@ -12357,7 +12390,7 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
12357
12390
|
completed_at: { type: "string", description: "ISO timestamp when the run completed" },
|
|
12358
12391
|
run_status: { type: "string", enum: ["pending", "running", "completed", "failed", "canceled"], description: "Current execution status of the run" },
|
|
12359
12392
|
triggering_event: { type: "string", description: "Event or action that triggered this run" },
|
|
12360
|
-
step_count: { type: "number", description: "Number of steps executed in this run" },
|
|
12393
|
+
step_count: { type: "number", description: "Number of steps executed in this run", modifier: "derived" },
|
|
12361
12394
|
total_tokens: { type: "number", description: "Total tokens consumed across all steps" },
|
|
12362
12395
|
total_cost: { type: "number", description: "Total monetary cost of the run" },
|
|
12363
12396
|
error_message: { type: "string", description: "Error message if the run failed" }
|
|
@@ -12365,8 +12398,8 @@ var UPG_PROPERTY_SCHEMA = {
|
|
|
12365
12398
|
// WorkflowTemplateProperties: Workflow template.
|
|
12366
12399
|
workflow_template: {
|
|
12367
12400
|
template_type: { type: "string", enum: ["sequential", "parallel", "conditional", "loop"], description: "Execution pattern for the workflow steps" },
|
|
12368
|
-
step_count: { type: "number", description: "Number of steps in the workflow" },
|
|
12369
|
-
agent_count: { type: "number", description: "Number of agents involved in the workflow" },
|
|
12401
|
+
step_count: { type: "number", description: "Number of steps in the workflow", modifier: "derived" },
|
|
12402
|
+
agent_count: { type: "number", description: "Number of agents involved in the workflow", modifier: "derived" },
|
|
12370
12403
|
estimated_duration: { type: "string", description: "Estimated wall-clock duration of a full run" },
|
|
12371
12404
|
state_schema: { type: "string", description: "Schema describing the workflow's state object" },
|
|
12372
12405
|
checkpoint_enabled: { type: "boolean", description: "Whether the workflow supports checkpointing for recovery" },
|
|
@@ -18865,6 +18898,8 @@ var ENTITY_EMOJI = {
|
|
|
18865
18898
|
pricing_strategy: "\u{1F4B1}",
|
|
18866
18899
|
pricing_tier: "\u{1F949}",
|
|
18867
18900
|
primitive: "\u{1F4CB}",
|
|
18901
|
+
operating_lifecycle: "\u{1F504}",
|
|
18902
|
+
operating_stage: "\u{1F539}",
|
|
18868
18903
|
privacy_policy: "\u{1F6E1}\uFE0F",
|
|
18869
18904
|
product: "\u{1F9EC}",
|
|
18870
18905
|
product_area: "\u{1FA80}",
|
|
@@ -20155,6 +20190,43 @@ var UPG_TREE_PATTERNS = [
|
|
|
20155
20190
|
design_component: [opt("design_component"), opt("design_token")]
|
|
20156
20191
|
},
|
|
20157
20192
|
natural_depth: 3
|
|
20193
|
+
},
|
|
20194
|
+
{
|
|
20195
|
+
id: "commercial",
|
|
20196
|
+
label: "Commercial / money model",
|
|
20197
|
+
description: "The business-model spine: how the product captures value. The business model branches into its revenue streams, cost structure, and unit economics; a stream into its pricing tiers, the metrics that measure it, and the pricing strategy that prices it; and metrics decompose into their components (the MRR waterfall, NRR composition). A pricing tier reached from both its stream and its pricing strategy renders once, then as a shared reference.",
|
|
20198
|
+
// The sustaining money-model captures value as a containment hierarchy, so it
|
|
20199
|
+
// earns a tree even though business_gtm_growth is a multi-hub region: a pattern
|
|
20200
|
+
// is a curated spanning tree over a SUBSET of a region (cf. `architecture` over
|
|
20201
|
+
// the engineering_platform DAG). The GTM/value flow (positioning -> messaging
|
|
20202
|
+
// -> funnel) is deliberately NOT here — a tree would misrepresent it; it wants
|
|
20203
|
+
// sibling flow instruments. Company-grain financial metrics (CAC, LTV, runway)
|
|
20204
|
+
// hang off the product, not a single stream/cost, so they live in the okr/
|
|
20205
|
+
// strategy views, not this money-structure spine.
|
|
20206
|
+
region: "business_gtm_growth",
|
|
20207
|
+
gap_policy: "all-optional",
|
|
20208
|
+
anchor_type: "business_model",
|
|
20209
|
+
// Fallback is the product alone, and product is deliberately NOT a child_map
|
|
20210
|
+
// parent: were business_model listed under product, the product would be a
|
|
20211
|
+
// superset of the money spine and the most-nodes anchor rule would root there
|
|
20212
|
+
// (the same trap delivery hit with product -> roadmap). With product childless,
|
|
20213
|
+
// business_model always out-nodes it and wins; a graph with no business_model
|
|
20214
|
+
// falls back to a bare product root, reported anchor_resolved_from: business_model.
|
|
20215
|
+
fallback_anchors: ["product"],
|
|
20216
|
+
child_map: {
|
|
20217
|
+
business_model: [opt("revenue_stream"), opt("cost_structure"), opt("unit_economics")],
|
|
20218
|
+
revenue_stream: [opt("pricing_tier"), opt("metric"), opt("pricing_strategy")],
|
|
20219
|
+
cost_structure: [opt("metric")],
|
|
20220
|
+
pricing_strategy: [opt("pricing_tier")],
|
|
20221
|
+
// Self-nesting: a metric decomposes into its component metrics (Net New MRR ->
|
|
20222
|
+
// New/Expansion/Contraction/Churned). The assembler's `seen` set terminates
|
|
20223
|
+
// the recursion for free (a metric met again becomes a shared reference).
|
|
20224
|
+
metric: [opt("metric")]
|
|
20225
|
+
},
|
|
20226
|
+
// Default to 3 tiers (business_model -> stream/cost -> tier/metric) for a
|
|
20227
|
+
// readable money-model overview; `depth` extends into the metric -> metric
|
|
20228
|
+
// decomposition waterfall.
|
|
20229
|
+
natural_depth: 3
|
|
20158
20230
|
}
|
|
20159
20231
|
];
|
|
20160
20232
|
var UPG_TREE_PATTERNS_BY_ID = Object.fromEntries(
|
|
@@ -22640,7 +22712,7 @@ var WORKSPACE_GUIDE = {
|
|
|
22640
22712
|
var FOUNDATIONS_GUIDE = {
|
|
22641
22713
|
domain_id: "foundations",
|
|
22642
22714
|
anchor_entity: "specification",
|
|
22643
|
-
creation_sequence: ["specification", "primitive"],
|
|
22715
|
+
creation_sequence: ["specification", "primitive", "operating_lifecycle", "operating_stage"],
|
|
22644
22716
|
patterns: [
|
|
22645
22717
|
{
|
|
22646
22718
|
name: "Specification defines primitives",
|
|
@@ -26007,6 +26079,7 @@ var UPG_REGIONS = [
|
|
|
26007
26079
|
"persona_experiences_need",
|
|
26008
26080
|
"persona_aspires_to_desired_outcome",
|
|
26009
26081
|
"persona_incurs_switching_cost",
|
|
26082
|
+
"persona_delegates_to_persona",
|
|
26010
26083
|
"job_surfaces_need"
|
|
26011
26084
|
],
|
|
26012
26085
|
boundary_edges: [
|
|
@@ -28026,6 +28099,14 @@ var UPG_REGIONS = [
|
|
|
28026
28099
|
{
|
|
28027
28100
|
type: "primitive",
|
|
28028
28101
|
role: "container"
|
|
28102
|
+
},
|
|
28103
|
+
{
|
|
28104
|
+
type: "operating_lifecycle",
|
|
28105
|
+
role: "container"
|
|
28106
|
+
},
|
|
28107
|
+
{
|
|
28108
|
+
type: "operating_stage",
|
|
28109
|
+
role: "leaf"
|
|
28029
28110
|
}
|
|
28030
28111
|
],
|
|
28031
28112
|
anchor: {
|
|
@@ -28038,9 +28119,21 @@ var UPG_REGIONS = [
|
|
|
28038
28119
|
"specification_extends_specification",
|
|
28039
28120
|
"specification_competes_with_specification",
|
|
28040
28121
|
"primitive_defined_by_specification",
|
|
28041
|
-
"primitive_composes_primitive"
|
|
28122
|
+
"primitive_composes_primitive",
|
|
28123
|
+
"operating_lifecycle_contains_operating_stage"
|
|
28042
28124
|
],
|
|
28043
|
-
boundary_edges: [
|
|
28125
|
+
boundary_edges: [
|
|
28126
|
+
{
|
|
28127
|
+
direction: "import",
|
|
28128
|
+
edge_id: "journey_phase_realises_operating_stage",
|
|
28129
|
+
crosses_into: "experience_design_brand"
|
|
28130
|
+
},
|
|
28131
|
+
{
|
|
28132
|
+
direction: "export",
|
|
28133
|
+
edge_id: "operating_stage_measured_by_metric",
|
|
28134
|
+
crosses_into: "analytics_data"
|
|
28135
|
+
}
|
|
28136
|
+
]
|
|
28044
28137
|
}
|
|
28045
28138
|
];
|
|
28046
28139
|
var UPG_REGION_MAP = Object.fromEntries(UPG_REGIONS.map((r) => [r.id, r]));
|
|
@@ -28566,7 +28659,7 @@ function isCanonical(text) {
|
|
|
28566
28659
|
}
|
|
28567
28660
|
|
|
28568
28661
|
// src/index.ts
|
|
28569
|
-
var UPG_VERSION = "0.11.
|
|
28662
|
+
var UPG_VERSION = "0.11.6";
|
|
28570
28663
|
var UPG_FORMAT_VERSION = "0.4.0";
|
|
28571
28664
|
var MARKDOWN_FORMAT_VERSION = "0.1";
|
|
28572
28665
|
var UPG_TYPES = getTypes();
|