Bosko said:
The initial assumption is a constant speed of light for a local observer.
It measures some local distances. ( for example using
https://www.fluke.com/en/product/building-infrastructure/laser-distance-meters/417d)
The definition is self-explanatory to the local observer. (Distance 30 cm that light travels for a time unit of 1 nanosecond)
I analyse how two observers can agree on the measured distances.
I am interested in questions:
Is the speed of light the same for any observer regardless of the gravitational field?
Does light travel along the (locally) shortest path between two points?
You are talking about the local speed of light as if it is something that were measured. With modern SI definitions, the speed of light is no longer something that is measured. Since it's clear that you're not (cannot be) using the SI defintion of distance, , to give some meaningful answer to your question, we'd need to know what you are basing your concept of "measuring the speed of light" on.
Fundamentally, it's not clear what you're asking, because it's not clear how you are regarding light as something whose speed needs to be measured. I used to assume that people asking this question were using one particular old definition of the meter based on a standard "prototype" meter bar. However, I quickly found that actually people had no idea of what they thought a meter was - it was some internal mental concept to them, and they never thought about the process of how it was standardized so it could be communicated to others and realized in practice. There's quite a bit of history on the topic of the issue of measurement, starting with the "treaty of the metre" and the origin of the BIPM, "the international organization established by the Metre Convention". Where in this history you are is unclear, it's only clear that you're not using the modern ideas.
As I mentioned previously, the general process of defining distance is based on reducing a 4 dimensional space-time manifold to a three dimensional spatial manifold. It's reasonably clear how this is done when the space-time geometry is static (as on an elevator accelerating with a constant acceleration or with the Schwarzschild geometry), but to actually answer your question in a more general case, you'd need to define how you are reducing the 4-d space-time manifold to a 3-d space only manifold.
As I recall, you gave a sensible (though not very rigorous) answer to this question when I asked it earlier, so it's not clear what went wrong with the communication process in that you're asking the same question again. It seems worthwhile to repeat myself (at greater length) once, but not more. If this attempt doesn't work this time, I'm going to assume it's a lost cause :(.
The answer to your second question, "does light always travel on a path of shortest distance", with distance being defined by the above approach of reducing a 4d manifold to a 3d manifold, is in general no. I've proposed some specific examples, but I haven't talked about them at length. I'd suggest you take some time to think about the issue - it could be productive for you describe a particular 4d geometry (by giving us a metric), then defining the induced 3d geometry (most clearly done by giving us the 3d line element).
To give an example in practice, Einstein's elevator can be described with the Rindler metric. Using geometric units, the 4d line element is:
$$-c^2 z^2 dt^2 + dx^2 + dy^2 + dz^2$$
This represents an elevator accelerating in the "z" direction. Not that the origin of the coordinates is at z=1. There are ways to reformumulate this so that the origin is at z=0, but it'd be confusing to introduce two examples so I'll use this one, unless you think it'd be helpful to use a different one.
The induced 3d metric is given by the line element
$$dx^2 + dy^2 + dz^2$$
Given this framework, we can then answer the question. Does light follow a straight line path in the 3d spatial submanifold? The answer is no, it does not. Physically, if we shine a light beam along the line "x=constant", it appears to drop as the elevator accelerates, following a path that is roughly (but not exactly) parabolic.
We can also answer the question: is the coordinate speed of light constant? The answer is again no, the coordinate speed of light depends on the "height" , given by the coordinate z. So the coordinate speed of light is equal to c only at z=1.
If you have an alternative example, we can discuss it if you give the needed information - which is specifying the 4d manifold with a line element, describing the process by which you reduce the 4d manifold to a 3d manifold, and then, as a double check, giving us the line element for the induced line element.
If you wish to discuss speed, and you want to discuss something other than coordinate speed, you'll need to tell us what notion of "speed" you are using.