@fx-data/ai-diagnostics 0.1.20261026070913 → 0.1.20261107142011

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.
Files changed (254) hide show
  1. package/AGENT_SETUP.md +9 -6
  2. package/README.md +5 -5
  3. package/bin/core-ai.mjs +241 -25
  4. package/content/AGENTS.md +37 -57
  5. package/content/README.md +10 -41
  6. package/content/docs/architecture.md +45 -74
  7. package/content/docs/diagnostic-feedback.md +20 -38
  8. package/content/docs/diagnostic-report.md +19 -46
  9. package/content/docs/index.md +40 -128
  10. package/content/docs/scenario-guide.md +34 -52
  11. package/content/knowledge/README.md +49 -0
  12. package/content/knowledge/cases/README.md +60 -0
  13. package/content/knowledge/cases/dashboard-parameter-deep-binding.md +32 -0
  14. package/content/knowledge/common/README.md +31 -0
  15. package/content/knowledge/common/concepts.md +49 -0
  16. package/content/knowledge/common/{knowledge-applicability.md → conclusions.md} +10 -6
  17. package/content/knowledge/common/queries.md +98 -0
  18. package/content/knowledge/common/signals.md +58 -0
  19. package/content/knowledge/common/topics/baseline-comparison.md +23 -0
  20. package/content/knowledge/common/topics/large-results.md +12 -0
  21. package/content/knowledge/common/topics/linked-traces.md +11 -0
  22. package/content/knowledge/common/topics/query-budget.md +18 -0
  23. package/content/knowledge/common/topics/query-example.md +69 -0
  24. package/content/knowledge/common/topics/setup-signoz-mcp.md +102 -0
  25. package/content/knowledge/common/topics/start-and-anchors.md +19 -0
  26. package/content/knowledge/common/workflow.md +22 -0
  27. package/content/knowledge/component/README.md +26 -0
  28. package/content/knowledge/component/concepts.md +22 -0
  29. package/content/knowledge/component/conclusions.md +11 -0
  30. package/content/knowledge/component/queries.md +7 -0
  31. package/content/knowledge/component/signals.md +75 -0
  32. package/content/knowledge/component/workflow.md +23 -0
  33. package/content/knowledge/dashboard/README.md +31 -0
  34. package/content/knowledge/dashboard/concepts.md +26 -0
  35. package/content/knowledge/dashboard/conclusions.md +21 -0
  36. package/content/knowledge/dashboard/queries.md +69 -0
  37. package/content/knowledge/dashboard/signals.md +76 -0
  38. package/content/knowledge/dashboard/topics/component-comparison.md +9 -0
  39. package/content/knowledge/dashboard/topics/dynamic-fields.md +21 -0
  40. package/content/knowledge/dashboard/topics/filter-tree.md +35 -0
  41. package/content/knowledge/dashboard/topics/name-binding.md +9 -0
  42. package/content/knowledge/dashboard/workflow.md +35 -0
  43. package/content/knowledge/dataset/README.md +27 -0
  44. package/content/knowledge/dataset/concepts.md +30 -0
  45. package/content/knowledge/dataset/conclusions.md +11 -0
  46. package/content/knowledge/dataset/queries.md +7 -0
  47. package/content/knowledge/dataset/signals.md +61 -0
  48. package/content/knowledge/dataset/topics/steps.md +59 -0
  49. package/content/knowledge/dataset/workflow.md +27 -0
  50. package/content/knowledge/engine/README.md +27 -0
  51. package/content/knowledge/engine/concepts.md +80 -0
  52. package/content/knowledge/engine/conclusions.md +49 -0
  53. package/content/knowledge/engine/queries.md +117 -0
  54. package/content/knowledge/engine/signals.md +73 -0
  55. package/content/knowledge/engine/topics/metric-fields.md +104 -0
  56. package/content/knowledge/engine/topics/patterns.md +50 -0
  57. package/content/knowledge/engine/workflow.md +20 -0
  58. package/content/knowledge/signal-index.md +117 -0
  59. package/content/knowledge/update/README.md +39 -0
  60. package/content/knowledge/update/concepts.md +93 -0
  61. package/content/knowledge/update/conclusions.md +59 -0
  62. package/content/knowledge/update/queries.md +103 -0
  63. package/content/knowledge/update/signals.md +57 -0
  64. package/content/knowledge/update/topics/correlations.md +63 -0
  65. package/content/knowledge/update/topics/discover-executions.md +31 -0
  66. package/content/knowledge/update/topics/events-execution.md +136 -0
  67. package/content/knowledge/update/topics/events-intake.md +102 -0
  68. package/content/knowledge/update/topics/events-outcome.md +163 -0
  69. package/content/knowledge/update/topics/lifecycle.md +58 -0
  70. package/content/knowledge/update/topics/scene-producers.md +258 -0
  71. package/content/knowledge/update/workflow.md +29 -0
  72. package/content-manifest.json +73 -192
  73. package/package.json +2 -2
  74. package/content/.agents/skills/analyze-analysis-table-update-runtime/SKILL.md +0 -35
  75. package/content/.agents/skills/analyze-analysis-table-update-runtime/agents/openai.yaml +0 -7
  76. package/content/.agents/skills/analyze-analysis-table-update-runtime/references/discover-update-executions.md +0 -34
  77. package/content/.agents/skills/analyze-analysis-table-update-runtime/references/update-diagnostic-contract.md +0 -101
  78. package/content/.agents/skills/analyze-engine-metric/SKILL.md +0 -76
  79. package/content/.agents/skills/analyze-engine-metric/agents/openai.yaml +0 -13
  80. package/content/.agents/skills/analyze-engine-metric/scripts/analyze_engine_metric.py +0 -270
  81. package/content/.agents/skills/analyze-engine-metric/scripts/engine_metric_analysis/__init__.py +0 -11
  82. package/content/.agents/skills/analyze-engine-metric/scripts/engine_metric_analysis/metric_analyzer.py +0 -791
  83. package/content/.agents/skills/analyze-engine-metric/scripts/engine_metric_analysis/signoz_extract.py +0 -278
  84. package/content/.agents/skills/diagnose-component-performance/SKILL.md +0 -52
  85. package/content/.agents/skills/diagnose-component-performance/agents/openai.yaml +0 -7
  86. package/content/.agents/skills/diagnose-component-performance/references/experience.md +0 -34
  87. package/content/.agents/skills/diagnose-dashboard-performance/SKILL.md +0 -92
  88. package/content/.agents/skills/diagnose-dashboard-performance/agents/openai.yaml +0 -7
  89. package/content/.agents/skills/diagnose-dashboard-performance/references/experience.md +0 -63
  90. package/content/.agents/skills/diagnose-dataset-performance/SKILL.md +0 -52
  91. package/content/.agents/skills/diagnose-dataset-performance/agents/openai.yaml +0 -7
  92. package/content/.agents/skills/diagnose-dataset-performance/references/experience.md +0 -33
  93. package/content/.agents/skills/diagnose-performance/SKILL.md +0 -77
  94. package/content/.agents/skills/diagnose-performance/agents/openai.yaml +0 -7
  95. package/content/.agents/skills/diagnose-update-performance/SKILL.md +0 -55
  96. package/content/.agents/skills/diagnose-update-performance/agents/openai.yaml +0 -7
  97. package/content/.agents/skills/diagnose-update-performance/references/experience.md +0 -47
  98. package/content/.agents/skills/setup-signoz-mcp/SKILL.md +0 -30
  99. package/content/.agents/skills/setup-signoz-mcp/agents/openai.yaml +0 -7
  100. package/content/.agents/skills/setup-signoz-mcp/references/installation.md +0 -75
  101. package/content/.agents/skills/setup-signoz-mcp/references/windows-artifact.md +0 -14
  102. package/content/docs/npm-cli.md +0 -202
  103. package/content/docs/roadmap.md +0 -44
  104. package/content/docs/skill-writing-guide.md +0 -65
  105. package/content/knowledge/common/signoz-environments.json +0 -52
  106. package/content/knowledge/common/signoz-environments.md +0 -55
  107. package/content/knowledge/common/signoz-query-example.md +0 -41
  108. package/content/knowledge/common/signoz-query-policy.md +0 -145
  109. package/content/knowledge/common/trace-routing.md +0 -63
  110. package/content/knowledge/component/observability.md +0 -60
  111. package/content/knowledge/dashboard/observability.md +0 -168
  112. package/content/knowledge/dashboard/query-examples.md +0 -63
  113. package/content/knowledge/dataset/observability.md +0 -68
  114. package/content/knowledge/engine/metric-artifacts.md +0 -25
  115. package/content/knowledge/engine/metric-retrieval.md +0 -107
  116. package/content/knowledge/engine/metric-semantics.md +0 -172
  117. package/content/knowledge/engine/performance-patterns.md +0 -86
  118. package/content/knowledge/update/diagnostic/manifest.json +0 -209
  119. package/content/knowledge/update/diagnostic/observability/edges/edge-attempt-to-capacity-deferral.json +0 -17
  120. package/content/knowledge/update/diagnostic/observability/edges/edge-attempt-to-lock-requeue.json +0 -18
  121. package/content/knowledge/update/diagnostic/observability/edges/edge-attempt-to-merge.json +0 -17
  122. package/content/knowledge/update/diagnostic/observability/edges/edge-candidate-to-effective-root.json +0 -16
  123. package/content/knowledge/update/diagnostic/observability/edges/edge-capacity-deferral-to-attempt.json +0 -16
  124. package/content/knowledge/update/diagnostic/observability/edges/edge-chain-node-to-execution-detail.json +0 -18
  125. package/content/knowledge/update/diagnostic/observability/edges/edge-dlx-recovery-to-attempt.json +0 -16
  126. package/content/knowledge/update/diagnostic/observability/edges/edge-effective-execution-to-listener-before.json +0 -21
  127. package/content/knowledge/update/diagnostic/observability/edges/edge-effective-root-to-chain.json +0 -17
  128. package/content/knowledge/update/diagnostic/observability/edges/edge-engine-task-to-primary-result.json +0 -17
  129. package/content/knowledge/update/diagnostic/observability/edges/edge-execution-detail-to-publication.json +0 -16
  130. package/content/knowledge/update/diagnostic/observability/edges/edge-init-recovery-to-publication.json +0 -16
  131. package/content/knowledge/update/diagnostic/observability/edges/edge-listener-complete-to-child-release.json +0 -21
  132. package/content/knowledge/update/diagnostic/observability/edges/edge-listener-to-derived-chain.json +0 -21
  133. package/content/knowledge/update/diagnostic/observability/edges/edge-load-decision-to-load-operation.json +0 -16
  134. package/content/knowledge/update/diagnostic/observability/edges/edge-load-operation-to-engine-task.json +0 -17
  135. package/content/knowledge/update/diagnostic/observability/edges/edge-lock-requeue-to-attempt.json +0 -16
  136. package/content/knowledge/update/diagnostic/observability/edges/edge-logical-parent-to-child.json +0 -18
  137. package/content/knowledge/update/diagnostic/observability/edges/edge-merge-member-to-effective-execution.json +0 -18
  138. package/content/knowledge/update/diagnostic/observability/edges/edge-merge-to-load-decision.json +0 -17
  139. package/content/knowledge/update/diagnostic/observability/edges/edge-no-load-to-primary-result.json +0 -16
  140. package/content/knowledge/update/diagnostic/observability/edges/edge-primary-result-to-child-frontier.json +0 -18
  141. package/content/knowledge/update/diagnostic/observability/edges/edge-primary-result-to-listener.json +0 -23
  142. package/content/knowledge/update/diagnostic/observability/edges/edge-publication-to-attempt.json +0 -16
  143. package/content/knowledge/update/diagnostic/observability/edges/edge-ready-recovery-to-publication.json +0 -16
  144. package/content/knowledge/update/diagnostic/observability/edges/edge-request-to-candidate-root.json +0 -16
  145. package/content/knowledge/update/diagnostic/observability/identity-units/candidate-root.json +0 -13
  146. package/content/knowledge/update/diagnostic/observability/identity-units/dag-node.json +0 -14
  147. package/content/knowledge/update/diagnostic/observability/identity-units/effective-root.json +0 -14
  148. package/content/knowledge/update/diagnostic/observability/identity-units/engine-task.json +0 -13
  149. package/content/knowledge/update/diagnostic/observability/identity-units/execution-attempt.json +0 -12
  150. package/content/knowledge/update/diagnostic/observability/identity-units/execution-detail.json +0 -13
  151. package/content/knowledge/update/diagnostic/observability/identity-units/listener-invocation.json +0 -11
  152. package/content/knowledge/update/diagnostic/observability/identity-units/load-decision.json +0 -12
  153. package/content/knowledge/update/diagnostic/observability/identity-units/load-operation.json +0 -11
  154. package/content/knowledge/update/diagnostic/observability/identity-units/logical-dag-edge.json +0 -11
  155. package/content/knowledge/update/diagnostic/observability/identity-units/merge-decision.json +0 -12
  156. package/content/knowledge/update/diagnostic/observability/identity-units/node-primary-result.json +0 -12
  157. package/content/knowledge/update/diagnostic/observability/identity-units/queue-publication.json +0 -11
  158. package/content/knowledge/update/diagnostic/observability/identity-units/requeue.json +0 -11
  159. package/content/knowledge/update/diagnostic/observability/identity-units/update-chain.json +0 -13
  160. package/content/knowledge/update/diagnostic/observability/identity-units/update-request.json +0 -12
  161. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-after-commit-delivery.json +0 -131
  162. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-attempt-consumed.json +0 -175
  163. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-candidate-root-filter.json +0 -119
  164. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-capacity-deferred.json +0 -121
  165. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-child-release.json +0 -146
  166. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-dlx-recovery.json +0 -100
  167. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-effective-root-selection.json +0 -111
  168. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-engine-handoff.json +0 -171
  169. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-execution-frontier-persisted.json +0 -115
  170. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-init-recovery.json +0 -93
  171. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-intent-accepted.json +0 -151
  172. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-listener-derived-chain.json +0 -112
  173. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-listener-invocation.json +0 -154
  174. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-load-decision.json +0 -155
  175. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-load-operation.json +0 -108
  176. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-lock-requeued.json +0 -108
  177. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-logical-dependency-expansion.json +0 -129
  178. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-merge-decision.json +0 -174
  179. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-primary-node-result.json +0 -318
  180. package/content/knowledge/update/diagnostic/observability/lookups/analysis-update-ready-recovery.json +0 -92
  181. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-business-attempt.json +0 -33
  182. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-capacity-cycle.json +0 -31
  183. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-child-release.json +0 -32
  184. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-commit-publication.json +0 -29
  185. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-control-planning.json +0 -30
  186. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-engine-task.json +0 -27
  187. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-listener-callback.json +0 -27
  188. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-load-operation.json +0 -27
  189. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-lock-cycle.json +0 -31
  190. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-main-queue-wait.json +0 -32
  191. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-merge-evaluation.json +0 -29
  192. package/content/knowledge/update/diagnostic/observability/performance-segments/analysis-update-segment-parent-dependency-wait.json +0 -31
  193. package/content/knowledge/update/diagnostic/observability-index.json +0 -558
  194. package/content/knowledge/update/diagnostic/recipe-index.json +0 -85
  195. package/content/knowledge/update/diagnostic/recipes/dag-chain.json +0 -676
  196. package/content/knowledge/update/diagnostic/recipes/performance-window.json +0 -1128
  197. package/content/knowledge/update/diagnostic/recipes/scene-origin-async-message-or-callback.json +0 -438
  198. package/content/knowledge/update/diagnostic/recipes/scene-origin-derived-update-chain.json +0 -510
  199. package/content/knowledge/update/diagnostic/recipes/scene-origin-direct-service-call.json +0 -438
  200. package/content/knowledge/update/diagnostic/recipes/scene-origin-http.json +0 -438
  201. package/content/knowledge/update/diagnostic/recipes/scene-origin-internal-event.json +0 -438
  202. package/content/knowledge/update/diagnostic/recipes/scene-origin-job.json +0 -438
  203. package/content/knowledge/update/diagnostic/recipes/scene-origin-recovery-or-migration.json +0 -438
  204. package/content/knowledge/update/diagnostic/recipes/table-history.json +0 -508
  205. package/content/knowledge/update/diagnostic/recipes/table-in-chain.json +0 -595
  206. package/content/knowledge/update/diagnostic/scene-index.json +0 -252
  207. package/content/knowledge/update/diagnostic/scenes/active.json +0 -47
  208. package/content/knowledge/update/diagnostic/scenes/add.json +0 -140
  209. package/content/knowledge/update/diagnostic/scenes/agent.json +0 -20
  210. package/content/knowledge/update/diagnostic/scenes/archive.json +0 -32
  211. package/content/knowledge/update/diagnostic/scenes/auth-change.json +0 -116
  212. package/content/knowledge/update/diagnostic/scenes/call-back.json +0 -32
  213. package/content/knowledge/update/diagnostic/scenes/case-install.json +0 -20
  214. package/content/knowledge/update/diagnostic/scenes/case-replace.json +0 -7
  215. package/content/knowledge/update/diagnostic/scenes/cdc-schedule.json +0 -20
  216. package/content/knowledge/update/diagnostic/scenes/compute-model.json +0 -20
  217. package/content/knowledge/update/diagnostic/scenes/copy-data.json +0 -32
  218. package/content/knowledge/update/diagnostic/scenes/corp-linked.json +0 -7
  219. package/content/knowledge/update/diagnostic/scenes/corp-member-add.json +0 -20
  220. package/content/knowledge/update/diagnostic/scenes/corp-member-del.json +0 -7
  221. package/content/knowledge/update/diagnostic/scenes/corp-member-modify.json +0 -32
  222. package/content/knowledge/update/diagnostic/scenes/corp-member-sync.json +0 -152
  223. package/content/knowledge/update/diagnostic/scenes/corp-setting-member-rename.json +0 -152
  224. package/content/knowledge/update/diagnostic/scenes/corp-setting.json +0 -20
  225. package/content/knowledge/update/diagnostic/scenes/cross-project-allow.json +0 -32
  226. package/content/knowledge/update/diagnostic/scenes/default.json +0 -32
  227. package/content/knowledge/update/diagnostic/scenes/del.json +0 -20
  228. package/content/knowledge/update/diagnostic/scenes/dynamic-time.json +0 -20
  229. package/content/knowledge/update/diagnostic/scenes/edit.json +0 -92
  230. package/content/knowledge/update/diagnostic/scenes/excel-append.json +0 -44
  231. package/content/knowledge/update/diagnostic/scenes/excel-save.json +0 -32
  232. package/content/knowledge/update/diagnostic/scenes/folder-copy.json +0 -32
  233. package/content/knowledge/update/diagnostic/scenes/global.json +0 -56
  234. package/content/knowledge/update/diagnostic/scenes/handover.json +0 -32
  235. package/content/knowledge/update/diagnostic/scenes/history-handle.json +0 -20
  236. package/content/knowledge/update/diagnostic/scenes/manual-update.json +0 -44
  237. package/content/knowledge/update/diagnostic/scenes/migration.json +0 -20
  238. package/content/knowledge/update/diagnostic/scenes/param-change.json +0 -20
  239. package/content/knowledge/update/diagnostic/scenes/polars-error.json +0 -32
  240. package/content/knowledge/update/diagnostic/scenes/preview-exception.json +0 -20
  241. package/content/knowledge/update/diagnostic/scenes/preview-invalid.json +0 -20
  242. package/content/knowledge/update/diagnostic/scenes/project-excel-move.json +0 -20
  243. package/content/knowledge/update/diagnostic/scenes/re-check.json +0 -7
  244. package/content/knowledge/update/diagnostic/scenes/replace.json +0 -20
  245. package/content/knowledge/update/diagnostic/scenes/rollback.json +0 -68
  246. package/content/knowledge/update/diagnostic/scenes/save-as.json +0 -44
  247. package/content/knowledge/update/diagnostic/scenes/schedu.json +0 -56
  248. package/content/knowledge/update/diagnostic/scenes/table-move-other-workspace.json +0 -20
  249. package/content/knowledge/update/diagnostic/scenes/user-holder-to-normal.json +0 -20
  250. package/content/knowledge/update/observability.md +0 -16
  251. package/content/knowledge/update/runtime-evidence.md +0 -32
  252. package/content/scripts/receive_tool_result.py +0 -57
  253. /package/content/{.agents/skills/setup-signoz-mcp/scripts → scripts}/install_signoz_mcp.ps1 +0 -0
  254. /package/content/{.agents/skills/setup-signoz-mcp/scripts → scripts}/install_signoz_mcp.py +0 -0
@@ -1,318 +0,0 @@
1
- {
2
- "lookup_id": "analysis-update-primary-node-result",
3
- "logical_event": "primary-node-result-produced",
4
- "lifecycle_stage": "consumer",
5
- "graph_kind": "execution",
6
- "signal_status": "source-confirmed",
7
- "signals": {
8
- "span_names": [],
9
- "attribute_keys": [
10
- "dagId",
11
- "tableId",
12
- "rowCount",
13
- "updateType",
14
- "requeue",
15
- "rootErrorId",
16
- "dispatchConsumed",
17
- "businessConsumed"
18
- ],
19
- "structured_fields": [
20
- "traceId",
21
- "dagId",
22
- "tableId",
23
- "status",
24
- "rows",
25
- "actualWrite",
26
- "dataModify",
27
- "errorMsg",
28
- "requeue",
29
- "triggerId",
30
- "tenantId",
31
- "dispatchConsumed",
32
- "businessConsumed",
33
- "polarsConsumed"
34
- ],
35
- "log_signatures": [
36
- "finish to exec task, nodeTaskId = {}, chainId = {}, cost = {}ms",
37
- "task exec error, nodeTaskId {}, chainIds {}, {}"
38
- ],
39
- "metric_names": [
40
- "XS03"
41
- ]
42
- },
43
- "service_scope": [
44
- "main-server"
45
- ],
46
- "produced_when": "UpdateMetricListener constructs an XS03 UpdateNodeTaskPoint in onSuccess or ordinary onFail and decorates the update span in onComplete; DispatchTraceContext submits the recorded point only after the main handler returns normally.",
47
- "correlations": [
48
- {
49
- "edge_id": "edge-no-load-to-primary-result",
50
- "from_unit": "load-decision",
51
- "to_unit": "node-primary-result",
52
- "correlation_keys": [
53
- "node object within the same execution scope"
54
- ],
55
- "semantics": "Pass-through, inactive, no-load, skip, or pre-load failure produces a primary node result without requiring an engine task.",
56
- "asynchronous": false,
57
- "correlation_status": "source-confirmed-in-process",
58
- "durability": "execution-scope",
59
- "coverage_limit": "Node success on this edge must not be counted as a physical load."
60
- },
61
- {
62
- "edge_id": "edge-engine-task-to-primary-result",
63
- "from_unit": "engine-task",
64
- "to_unit": "node-primary-result",
65
- "correlation_keys": [
66
- "engine task ID when returned",
67
- "server execution scope"
68
- ],
69
- "semantics": "The final returned writer result or engine failure contributes to the server node primary result.",
70
- "asynchronous": false,
71
- "correlation_status": "source-confirmed-conditional",
72
- "durability": "result-dependent",
73
- "coverage_limit": "A missing returned task ID cannot be replaced by table or time proximity."
74
- },
75
- {
76
- "edge_id": "edge-primary-result-to-child-frontier",
77
- "from_unit": "node-primary-result",
78
- "to_unit": "execution-detail",
79
- "correlation_keys": [
80
- "parent node table ID",
81
- "child node table ID",
82
- "chain or merged-chain context"
83
- ],
84
- "semantics": "On an ordinary path that reaches child callback, a primary node result already exists before current dependency checks create the next child frontier; post-result listener phases intervene, so this is a coarse prerequisite edge rather than direct adjacency.",
85
- "asynchronous": false,
86
- "correlation_status": "source-confirmed-ordered-coarse",
87
- "durability": "frontier-lifetime",
88
- "coverage_limit": "This edge does not bypass or time listener callbacks, does not apply when StopWork is rethrown before child callback, and the new detail is not a persisted copy of the logical edge."
89
- },
90
- {
91
- "edge_id": "edge-primary-result-to-listener",
92
- "from_unit": "node-primary-result",
93
- "to_unit": "listener-invocation",
94
- "correlation_keys": [
95
- "update chain ID",
96
- "node table ID",
97
- "listener name and callback phase"
98
- ],
99
- "semantics": "After a SUCCESS or FAIL primary node result is formed, each selected named listener receives the applicable onSuccess or onFail phase, followed by onComplete in the finally path, before ordinary child callback.",
100
- "asynchronous": false,
101
- "correlation_status": "source-confirmed-in-process",
102
- "durability": "listener-specific",
103
- "coverage_limit": "This edge excludes onBefore, which has no primary result. On StopWork, onComplete still runs but no confirmed primary-result edge or child-release edge is traversed. There is no native listener invocation ID.",
104
- "callback_phases": [
105
- "onSuccess",
106
- "onFail",
107
- "onComplete"
108
- ]
109
- }
110
- ],
111
- "counting_unit": "node-primary-result",
112
- "input_units": [
113
- "dag-node",
114
- "load-decision",
115
- "optional-load-operation",
116
- "optional-engine-task"
117
- ],
118
- "output_units": [
119
- "node-primary-result"
120
- ],
121
- "state_owner": "The current NodeTask and dispatch execution handler until phase-specific listener callbacks and child release proceed.",
122
- "reads": [
123
- "node work result",
124
- "parent failure status for the merged chain set"
125
- ],
126
- "writes": [
127
- "in-memory SUCCESS or FAIL node result and root errors"
128
- ],
129
- "success_condition": "The node has one primary result before child release; post-work listener callbacks observe that result, while onBefore remains a separate phase-scoped invocation.",
130
- "failure_recovery": [
131
- {
132
- "branch": "ordinary node work fails",
133
- "outcome": "The failure is converted to a primary FAIL result and ordinary business failure is not rethrown to the queue consumer.",
134
- "recovery": "Child nodes may fail fast from the recorded parent status."
135
- }
136
- ],
137
- "source_evidence_grade": "source-confirmed-with-enabled-test",
138
- "edge_refs": [
139
- "edge-no-load-to-primary-result",
140
- "edge-engine-task-to-primary-result",
141
- "edge-primary-result-to-child-frontier",
142
- "edge-primary-result-to-listener"
143
- ],
144
- "field_presence_preflight": [
145
- {
146
- "field": "dagId",
147
- "signal_type": "attribute",
148
- "required": false,
149
- "failure_effect": "needs_revalidation"
150
- },
151
- {
152
- "field": "tableId",
153
- "signal_type": "attribute",
154
- "required": false,
155
- "failure_effect": "needs_revalidation"
156
- },
157
- {
158
- "field": "rowCount",
159
- "signal_type": "attribute",
160
- "required": false,
161
- "failure_effect": "needs_revalidation"
162
- },
163
- {
164
- "field": "updateType",
165
- "signal_type": "attribute",
166
- "required": false,
167
- "failure_effect": "needs_revalidation"
168
- },
169
- {
170
- "field": "requeue",
171
- "signal_type": "attribute",
172
- "required": false,
173
- "failure_effect": "needs_revalidation"
174
- },
175
- {
176
- "field": "rootErrorId",
177
- "signal_type": "attribute",
178
- "required": false,
179
- "failure_effect": "needs_revalidation"
180
- },
181
- {
182
- "field": "dispatchConsumed",
183
- "signal_type": "attribute",
184
- "required": false,
185
- "failure_effect": "needs_revalidation"
186
- },
187
- {
188
- "field": "businessConsumed",
189
- "signal_type": "attribute",
190
- "required": false,
191
- "failure_effect": "needs_revalidation"
192
- },
193
- {
194
- "field": "traceId",
195
- "signal_type": "structured-field",
196
- "required": false,
197
- "failure_effect": "needs_revalidation"
198
- },
199
- {
200
- "field": "dagId",
201
- "signal_type": "structured-field",
202
- "required": true,
203
- "failure_effect": "needs_revalidation"
204
- },
205
- {
206
- "field": "tableId",
207
- "signal_type": "structured-field",
208
- "required": true,
209
- "failure_effect": "needs_revalidation"
210
- },
211
- {
212
- "field": "status",
213
- "signal_type": "structured-field",
214
- "required": true,
215
- "failure_effect": "needs_revalidation"
216
- },
217
- {
218
- "field": "rows",
219
- "signal_type": "structured-field",
220
- "required": false,
221
- "failure_effect": "needs_revalidation"
222
- },
223
- {
224
- "field": "actualWrite",
225
- "signal_type": "structured-field",
226
- "required": false,
227
- "failure_effect": "needs_revalidation"
228
- },
229
- {
230
- "field": "dataModify",
231
- "signal_type": "structured-field",
232
- "required": false,
233
- "failure_effect": "needs_revalidation"
234
- },
235
- {
236
- "field": "errorMsg",
237
- "signal_type": "structured-field",
238
- "required": false,
239
- "failure_effect": "needs_revalidation"
240
- },
241
- {
242
- "field": "requeue",
243
- "signal_type": "structured-field",
244
- "required": false,
245
- "failure_effect": "needs_revalidation"
246
- },
247
- {
248
- "field": "triggerId",
249
- "signal_type": "structured-field",
250
- "required": false,
251
- "failure_effect": "needs_revalidation"
252
- },
253
- {
254
- "field": "tenantId",
255
- "signal_type": "structured-field",
256
- "required": false,
257
- "failure_effect": "needs_revalidation"
258
- },
259
- {
260
- "field": "dispatchConsumed",
261
- "signal_type": "structured-field",
262
- "required": false,
263
- "failure_effect": "needs_revalidation"
264
- },
265
- {
266
- "field": "businessConsumed",
267
- "signal_type": "structured-field",
268
- "required": false,
269
- "failure_effect": "needs_revalidation"
270
- },
271
- {
272
- "field": "polarsConsumed",
273
- "signal_type": "structured-field",
274
- "required": false,
275
- "failure_effect": "needs_revalidation"
276
- },
277
- {
278
- "field": "finish to exec task, nodeTaskId = {}, chainId = {}, cost = {}ms",
279
- "signal_type": "log-signature",
280
- "required": false,
281
- "failure_effect": "needs_revalidation"
282
- },
283
- {
284
- "field": "task exec error, nodeTaskId {}, chainIds {}, {}",
285
- "signal_type": "log-signature",
286
- "required": false,
287
- "failure_effect": "needs_revalidation"
288
- },
289
- {
290
- "field": "XS03",
291
- "signal_type": "metric",
292
- "required": true,
293
- "failure_effect": "needs_revalidation"
294
- }
295
- ],
296
- "coverage_limits": [
297
- "Node success does not prove chain completion, physical data change, listener success, or an engine task.",
298
- "StopWork is rethrown and bypasses the submitAsync block, so the point is not a complete attempt ledger.",
299
- "status distinguishes ordinary SUCCESS and FAIL only; listener outcomes remain separate and runtime ingestion was not verified."
300
- ],
301
- "invalidators": [
302
- {
303
- "kind": "revision-change",
304
- "event": "The frozen main-server revision or build anchor changes.",
305
- "effect": "needs_revalidation"
306
- },
307
- {
308
- "kind": "signal-drift",
309
- "event": "A named span, attribute, structured field, log template, metric, or its production condition changes.",
310
- "effect": "needs_revalidation"
311
- },
312
- {
313
- "kind": "scope-change",
314
- "event": "The dispatch, update, queue, listener, or engine-handoff service boundary changes.",
315
- "effect": "needs_revalidation"
316
- }
317
- ]
318
- }
@@ -1,92 +0,0 @@
1
- {
2
- "lookup_id": "analysis-update-ready-recovery",
3
- "logical_event": "pending-publication-recovered",
4
- "lifecycle_stage": "queue",
5
- "graph_kind": "execution",
6
- "signal_status": "source-confirmed",
7
- "signals": {
8
- "span_names": [],
9
- "attribute_keys": [],
10
- "structured_fields": [],
11
- "log_signatures": [
12
- "[inspect ready] send nodeTaskId {} , executeId {}"
13
- ],
14
- "metric_names": []
15
- },
16
- "service_scope": [
17
- "main-server"
18
- ],
19
- "produced_when": "DispatchInspectReady emits the stable template after a still-READY, PENDING_SENT detail is sent and its send flag is changed to SENT.",
20
- "correlations": [
21
- {
22
- "edge_id": "edge-ready-recovery-to-publication",
23
- "from_unit": "requeue",
24
- "to_unit": "queue-publication",
25
- "correlation_keys": [
26
- "execution detail ID"
27
- ],
28
- "semantics": "Ready inspection republishes a still-PENDING_SENT root detail under its existing detail ID.",
29
- "asynchronous": true,
30
- "correlation_status": "source-confirmed-durable",
31
- "durability": "frontier-lifetime",
32
- "coverage_limit": "The edge does not apply to SENT child details."
33
- }
34
- ],
35
- "counting_unit": "requeue",
36
- "input_units": [
37
- "execution-detail"
38
- ],
39
- "output_units": [
40
- "queue-publication"
41
- ],
42
- "state_owner": "READY/PENDING_SENT inspector and execution-detail send flag.",
43
- "reads": [
44
- "READY details with PENDING_SENT",
45
- "current detail under the node submit lock"
46
- ],
47
- "writes": [
48
- "recovered node-task publication",
49
- "send flag SENT"
50
- ],
51
- "success_condition": "A still-pending root publication is republished under a submit lock and marked SENT.",
52
- "failure_recovery": [
53
- {
54
- "branch": "detail changed or disappeared before inspection",
55
- "outcome": "The inspector skips it.",
56
- "recovery": "No stale publication is created."
57
- }
58
- ],
59
- "source_evidence_grade": "source-confirmed",
60
- "edge_refs": [
61
- "edge-ready-recovery-to-publication"
62
- ],
63
- "field_presence_preflight": [
64
- {
65
- "field": "[inspect ready] send nodeTaskId {} , executeId {}",
66
- "signal_type": "log-signature",
67
- "required": true,
68
- "failure_effect": "needs_revalidation"
69
- }
70
- ],
71
- "coverage_limits": [
72
- "This recovery selects only PENDING_SENT and does not cover child details created as SENT.",
73
- "No recovery-publication ID or broker acknowledgement exists; execution-detail ID is the source-confirmed payload key."
74
- ],
75
- "invalidators": [
76
- {
77
- "kind": "revision-change",
78
- "event": "The frozen main-server revision or build anchor changes.",
79
- "effect": "needs_revalidation"
80
- },
81
- {
82
- "kind": "signal-drift",
83
- "event": "A named span, attribute, structured field, log template, metric, or its production condition changes.",
84
- "effect": "needs_revalidation"
85
- },
86
- {
87
- "kind": "scope-change",
88
- "event": "The dispatch, update, queue, listener, or engine-handoff service boundary changes.",
89
- "effect": "needs_revalidation"
90
- }
91
- ]
92
- }
@@ -1,33 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-business-attempt",
3
- "counting_unit": "execution-attempt",
4
- "graph_kind": "execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-merge-decision",
7
- "transition": "effective-node-execution-entered"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-primary-node-result",
11
- "transition": "success-or-fail-result-formed"
12
- },
13
- "includes": [
14
- "onBefore listener phase",
15
- "parent-failure gate",
16
- "load decision and node work when selected"
17
- ],
18
- "excludes": [
19
- "post-result onSuccess or onFail and onComplete listener phases",
20
- "child callback"
21
- ],
22
- "success_and_failure_population": "Include successful, failed, parent-fast-failed, skip, and no-load node results; exclude capacity and lock attempts that never enter node work.",
23
- "source_evidence_grade": "source-confirmed-logical-boundary",
24
- "signal_status": "source-confirmed",
25
- "measurement_signals": [
26
- "attribute:businessConsumed",
27
- "structured-field:businessConsumed",
28
- "correlation:dagId plus tableId within one submitted XS03 point"
29
- ],
30
- "coverage_limits": [
31
- "The current model has no native attempt ID, so the segment requires a future explicit attempt correlation."
32
- ]
33
- }
@@ -1,31 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-capacity-cycle",
3
- "counting_unit": "requeue",
4
- "graph_kind": "execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-capacity-deferred",
7
- "transition": "same-detail-published-to-slow-route"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-attempt-consumed",
11
- "transition": "later-main-consumer-delivery-started"
12
- },
13
- "includes": [
14
- "one or more slow-route capacity checks and republishes"
15
- ],
16
- "excludes": [
17
- "the earlier main attempt",
18
- "later lock and business work"
19
- ],
20
- "success_and_failure_population": "Count capacity routing cycles independently from main-consumer attempts, including cycles that remain open at the observation boundary.",
21
- "source_evidence_grade": "source-confirmed-logical-boundary",
22
- "signal_status": "source-confirmed",
23
- "measurement_signals": [
24
- "log:Tenant limit exceeded: tenant {}, nodeTaskId {}, executeId {}",
25
- "log:receive executeInfo at slow queue, nodeTaskId = {}, executeId = {}, chainId = {}",
26
- "correlation:execution detail ID"
27
- ],
28
- "coverage_limits": [
29
- "The same detail ID is reused and no requeue ordinal is persisted."
30
- ]
31
- }
@@ -1,32 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-child-release",
3
- "counting_unit": "node-primary-result",
4
- "graph_kind": "execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-child-release",
7
- "transition": "child-callback-entered-after-listener-sequence"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-child-release",
11
- "transition": "frontier-transaction-and-publication-call-returned-or-failed"
12
- },
13
- "includes": [
14
- "current child and ancestor discovery",
15
- "child execution-condition evaluation",
16
- "parent detail deletion and child detail creation",
17
- "child publication call"
18
- ],
19
- "excludes": [
20
- "post-work listener callbacks that run before child callback",
21
- "later child queue wait"
22
- ],
23
- "success_and_failure_population": "Group one parent result callback by no-child, READY-child, INIT-child, transaction-failure, and publication-failure outcomes.",
24
- "source_evidence_grade": "source-confirmed-with-enabled-test",
25
- "signal_status": "source-confirmed",
26
- "measurement_signals": [
27
- "span:dispatch_callback_children"
28
- ],
29
- "coverage_limits": [
30
- "A result may release several child details, and failed SENT child publication lacks the root ready-inspector recovery contract."
31
- ]
32
- }
@@ -1,29 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-commit-publication",
3
- "counting_unit": "queue-publication",
4
- "graph_kind": "execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-execution-frontier-persisted",
7
- "transition": "publication-deferred-until-commit-or-immediate-path-selected"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-after-commit-delivery",
11
- "transition": "publication-call-returned"
12
- },
13
- "includes": [
14
- "outer transaction commit wait when one is active",
15
- "after-commit executor scheduling",
16
- "root message publication"
17
- ],
18
- "excludes": [
19
- "broker queue wait",
20
- "consumer delivery"
21
- ],
22
- "success_and_failure_population": "Count each publication operation and keep rejected executor, publish failure, and send-flag update failure as separate outcomes.",
23
- "source_evidence_grade": "source-confirmed-with-enabled-test",
24
- "signal_status": "missing",
25
- "measurement_signals": [],
26
- "coverage_limits": [
27
- "A detail has no publication ID, and child details do not share the root PENDING_SENT recovery contract."
28
- ]
29
- }
@@ -1,30 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-control-planning",
3
- "counting_unit": "update-chain",
4
- "graph_kind": "logical-to-execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-intent-accepted",
7
- "transition": "dispatch-entry-invoked"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-execution-frontier-persisted",
11
- "transition": "root-detail-transaction-returned"
12
- },
13
- "includes": [
14
- "candidate filtering",
15
- "effective-root reduction",
16
- "dependency expansion needed for submission",
17
- "root frontier persistence"
18
- ],
19
- "excludes": [
20
- "outer transaction commit wait",
21
- "queue publication and consumption"
22
- ],
23
- "success_and_failure_population": "Accepted dispatch entries, including entries that return a chain with no root detail, must be grouped separately by whether a frontier was created.",
24
- "source_evidence_grade": "source-confirmed-logical-boundary",
25
- "signal_status": "missing",
26
- "measurement_signals": [],
27
- "coverage_limits": [
28
- "No request ID exists, so later measurements cannot reconstruct this population from chain ID alone without a confirmed entry correlation."
29
- ]
30
- }
@@ -1,27 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-engine-task",
3
- "counting_unit": "engine-task",
4
- "graph_kind": "boundary",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-engine-handoff",
7
- "transition": "engine-task-id-created"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-engine-handoff",
11
- "transition": "engine-transaction-committed-or-rolled-back"
12
- },
13
- "includes": [
14
- "one engine executor attempt and its engine transaction"
15
- ],
16
- "excludes": [
17
- "server load work before task creation",
18
- "other engine retry attempts with different task IDs"
19
- ],
20
- "success_and_failure_population": "Count each created engine task ID independently; one server load can contain multiple segments under retry.",
21
- "source_evidence_grade": "source-confirmed-logical-boundary",
22
- "signal_status": "missing",
23
- "measurement_signals": [],
24
- "coverage_limits": [
25
- "Only the final successful returned task ID is exposed to the outer writer result; full retry lineage is not durable at the server boundary."
26
- ]
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-listener-callback",
3
- "counting_unit": "listener-invocation",
4
- "graph_kind": "side-effect",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-listener-invocation",
7
- "transition": "one-named-listener-phase-invoked"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-listener-invocation",
11
- "transition": "same-listener-phase-returned-or-isolated"
12
- },
13
- "includes": [
14
- "one onBefore, onSuccess, onFail, or onComplete callback for one listener"
15
- ],
16
- "excludes": [
17
- "other listener names and callback phases",
18
- "listener-owned asynchronous work after the call returns"
19
- ],
20
- "success_and_failure_population": "Count listener name and callback phase separately, including isolated listener exceptions.",
21
- "source_evidence_grade": "source-confirmed-with-enabled-test",
22
- "signal_status": "missing",
23
- "measurement_signals": [],
24
- "coverage_limits": [
25
- "No listener invocation ID exists, and listener-owned asynchronous completion may require a separate boundary model."
26
- ]
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "segment_id": "analysis-update-segment-load-operation",
3
- "counting_unit": "load-operation",
4
- "graph_kind": "execution",
5
- "start_boundary": {
6
- "lookup_id": "analysis-update-load-operation",
7
- "transition": "selected-manager-load-entered"
8
- },
9
- "end_boundary": {
10
- "lookup_id": "analysis-update-load-operation",
11
- "transition": "selected-manager-load-returned-or-failed"
12
- },
13
- "includes": [
14
- "server preparation inside the selected load call",
15
- "downstream handoff and wait when invoked"
16
- ],
17
- "excludes": [
18
- "pass-through, inactive, physical-reuse, and needLoad=false branches"
19
- ],
20
- "success_and_failure_population": "Count all entered manager load calls, including failures and results that create no engine task.",
21
- "source_evidence_grade": "source-confirmed-logical-boundary",
22
- "signal_status": "missing",
23
- "measurement_signals": [],
24
- "coverage_limits": [
25
- "There is no native load-operation ID, and table-type-specific downstream work differs."
26
- ]
27
- }