Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,11 @@ npm run docusaurus docs:version:python <python-package-version>
npm run docusaurus docs:version:javascript <javascript-package-version>
```

Current defaults are Server **0.10.2**, .NET and Python clients **0.5.1**, and
JavaScript client **0.5.2**; schema-identical Servers 0.9.1 and 0.9.2 have no
separate API snapshots, and JavaScript client 0.5.1, whose API equals 0.5.2's,
has none either. Working `api/`
Current defaults are Server **0.10.2** (same gRPC contract in Server
**0.11.0**), .NET and Python clients **0.5.1**, and JavaScript client
**0.5.2**; schema-identical Servers 0.9.1, 0.9.2, and 0.11.0 have no separate
API snapshots, and JavaScript client 0.5.1, whose API equals 0.5.2's, has none
either. Working `api/`
content is not published until snapshotted. The custom API plugin delegates
these commands to Docusaurus's snapshot implementation and records the
snapshot's default SA target in `plugins/api-reference/targets.json`.
Expand Down
8 changes: 4 additions & 4 deletions docs/concepts/client-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ Briosa keeps three resources independently manageable:
| Resource | What It Provides | What Stopping It Does Not Do |
| --- | --- | --- |
| Briosa server | The local API and lifecycle control plane | It does not close SpatialAnalyzer |
| SpatialAnalyzer application | The desktop application that owns your SA data and MP environment | It does not automatically start the SA SDK |
| SpatialAnalyzer (SA) application | The desktop application that owns your SA data and Measurement Plan (MP) environment | It does not automatically start the SA software development kit (SDK) |
| SpatialAnalyzer SDK | Briosa's isolated path for executing MP commands | It does not close SpatialAnalyzer or stop the public server |

This separation lets you keep the control plane available without starting SA,
restart a failed SDK without restarting Briosa, and leave SpatialAnalyzer open
when your client exits.

:::note[Clients 0.5.1 and 0.5.2 with Server 0.10.2]
:::note[Clients 0.5.1 and 0.5.2 with Server 0.11.0]

Client packages are available for SA 2024.1.0508.5 and SA 2026.1.0529.7.
Install the package matching your exact SA release: .NET or Python 0.5.1, or
JavaScript/TypeScript 0.5.2. Clients 0.5.0, 0.5.1, and 0.5.2 work with Servers
0.10.0 through 0.10.2 for that target, Client 0.4.0 works with Server 0.9.x, and
0.10.0 through 0.11.0 for that target, Client 0.4.0 works with Server 0.9.x, and
direct gRPC from the published protocol artifact is also supported. Use Server
0.10.2 for new installations. Before launch, client 0.5.x checks that
0.11.0 for new installations. Before launch, client 0.5.x checks that
the installation matches the exact SA target and declares support for this client, and
rejects Server 0.9.x and earlier. See
[Release Status](/docs/releases) for package links and validation limits,
Expand Down
30 changes: 20 additions & 10 deletions docs/concepts/exact-targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ rule when setting up Briosa.

:::tip[The Simple Rule]

Your Briosa server, SA SDK, and running SpatialAnalyzer application must all
match the same exact release.
Your Briosa server, SpatialAnalyzer (SA) software development kit (SDK), and
running SpatialAnalyzer application must all match the same exact release.

:::

## Why Exact Matching Matters

SpatialAnalyzer MP commands and their SDK bindings can change between releases.
SpatialAnalyzer Measurement Plan (MP) commands and their SDK bindings can change between releases.
A command may gain an input, return a different value, move to another group,
or behave differently even when its name stays familiar.

Expand Down Expand Up @@ -107,18 +107,28 @@ before reconnecting.

## What Happens When Something Does Not Match?

Briosa verifies compatibility before it makes MP commands available. When the
loaded SA SDK or connected SpatialAnalyzer application does not match the
server's exact target:
Briosa checks version evidence before it makes MP commands available. In Server
0.11.0, the server reads the activated SA SDK's version itself at run time,
while the version of the connected SpatialAnalyzer application is confirmed by
the operator and compared with the server's exact target. The
[Control Center's Connection setup](../deployment/control-center#set-up-version-evidence)
saves that evidence for servers Control Center launches; a server started by a
client library or by hand needs the same evidence in its own configuration (see
the
[health and discovery guide](https://github.com/spatialanalyzer/briosa/blob/v0.11.0/targets/2026.1.0529.7/docs/operations/health-and-discovery.md#operator-attestation-when-runtime-evidence-is-unavailable)).

When the activated SA SDK version or the operator-supplied connected
SpatialAnalyzer version is missing or does not match the server's exact target:

- Briosa remains available for status and diagnostic information
- MP commands remain unavailable
- The client reports that connection or readiness could not be established
- No command is sent merely to test whether the mismatched combination happens
to work

Select the correct Briosa distribution or application, correct the SDK
registration when necessary, replace the SDK if required, and then connect it.
Select the correct Briosa distribution or application, supply accurate version
evidence when needed, correct the SDK registration when necessary, replace the
SDK if required, and then connect it.

## Why the Version Stays Out of Your Command Calls

Expand All @@ -131,12 +141,12 @@ the release-specific implementation behind the client library.

## Released Targets

Server 0.10.2 and the current clients (.NET and Python 0.5.1, JavaScript/TypeScript 0.5.2) are released separately for SpatialAnalyzer `2024.1.0508.5` and `2026.1.0529.7`. Use the [SA 2024 reference](/api/grpc/sa-2024.1.0508.5) or [SA 2026 reference](/api/grpc). The SA 2026
Server 0.11.0 and the current clients (.NET and Python 0.5.1, JavaScript/TypeScript 0.5.2) are released separately for SpatialAnalyzer `2024.1.0508.5` and `2026.1.0529.7`. Use the [SA 2024 reference](/api/grpc/sa-2024.1.0508.5) or [SA 2026 reference](/api/grpc). The SA 2026
[version-specific MP Command Catalog](/mp-command-catalog/2026.1.0529.7/overview)
shows the commands identified for that release and which ones Briosa currently
supports.

For the underlying readiness checks, see
[Readiness is more than connection](./readiness). The authoritative target
implementation lives in the
[Briosa server repository](https://github.com/spatialanalyzer/briosa/tree/v0.10.2/targets).
[Briosa server repository](https://github.com/spatialanalyzer/briosa/tree/v0.11.0/targets).
6 changes: 3 additions & 3 deletions docs/concepts/execution-outcomes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how Briosa reports success, failure, uncertain outcomes, and

# Understand MP Command Results

Most applications call MP commands through one of the first-party Briosa client
Most applications call Measurement Plan (MP) commands through one of the first-party Briosa client
libraries for .NET, Python, or JavaScript. The client returns the command result
when the operation succeeds and raises a language-appropriate exception when it
does not.
Expand All @@ -31,7 +31,7 @@ The MP execution details carry the MP state, the MP result code, and the
retrieval of each output when the failure relates to the MP command.

This means an application using a Briosa client does not need to call the
native SA SDK, interpret numeric MP result codes, inspect gRPC metadata, or
native SpatialAnalyzer (SA) software development kit (SDK), interpret numeric MP result codes, inspect gRPC metadata, or
decode protocol messages itself.

The client libraries do not automatically repeat a failed command. They
Expand Down Expand Up @@ -151,7 +151,7 @@ diagnostic `request-violation-after-mapping` and disposition **outcome
unknown**, execution may have started: follow the returned replay guidance
rather than treating it as an ordinary invalid request. Published 0.5.x
first-party clients ignore `request_validation`; direct gRPC callers can read
it using bindings generated from the 0.10.2 protocol artifact. See
it using bindings generated from the 0.10.2 or 0.11.0 protocol artifact. See
[Request Validation Details](/api/grpc/sa-2026.1.0529.7/discovery#request-validation-details).

## The Three Outcomes That Matter
Expand Down
8 changes: 4 additions & 4 deletions docs/contributing/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contracts in an explicitly reviewed implementation issue;
- Add server and protobuf reference material to `api/grpc/`
- Add client-specific reference material to `api/dotnet/`, `api/python/`, or
`api/javascript/`
- Add SpatialAnalyzer command coverage, support status, rationale, and
- Add SpatialAnalyzer (SA) command coverage, support status, rationale, and
alternatives to `mp-command-catalog/`

Supported catalog entries should link to the API reference instead of
Expand All @@ -37,7 +37,7 @@ Markdown cannot express.
### Plain Markdown

Use plain Markdown for guides, concepts, deployment instructions, release notes,
API snapshots, and MP command catalog pages. Use Markdown for headings, lists,
API snapshots, and Measurement Plan (MP) command catalog pages. Use Markdown for headings, lists,
fenced code blocks, and links. The site also supports pipe tables and
Docusaurus admonitions (`:::note`, `:::tip`, `:::warning`, and `:::caution`).

Expand Down Expand Up @@ -101,7 +101,7 @@ widget requires:
browser APIs such as `ResizeObserver`, `IntersectionObserver`, `localStorage`,
or clipboard access.

Keep reusable UI logic in TypeScript under `src/components/` rather than
Keep reusable user interface (UI) logic in TypeScript under `src/components/` rather than
defining components inline in Markdown.

- **Example:** `src/pages/api/index.tsx` is a standalone React page that imports
Expand Down Expand Up @@ -139,7 +139,7 @@ remain the source of truth. No check compares the copy with them, so update

## Draft and Release API Contracts

Current defaults are Server **0.10.2**, .NET and Python clients **0.5.1**, and JavaScript client **0.5.2**. Servers 0.9.1 and 0.9.2 are schema-identical to 0.9.0 and have no separate API snapshot. JavaScript client 0.5.1 has the same public API as 0.5.2 and has no separate snapshot; the JavaScript reference says so. Working `api/` content is not published until snapshotted. Within each product version, existing source describes SA 2026; `sa-2024.1.0508.5/` contains SA 2024. Product versions and exact targets are independent. The published reference for each SA target, such as `/api/grpc/sa-2024.1.0508.5/`, shows the newest release that documents that target. Each method's history page, such as `/api/grpc/analysis-operations/angle-between-line-and-plane`, shows every distinct contract that earlier releases published. Earlier releases keep their guide and group pages at `/api/<family>/sa-<target>/<release>/`. Release-qualified method addresses redirect to the current page or to the matching history revision.
Current defaults are Server **0.10.2** (same gRPC contract in Server **0.11.0**), .NET and Python clients **0.5.1**, and JavaScript client **0.5.2**. Server 0.11.0 is schema-identical to 0.10.2, and Servers 0.9.1 and 0.9.2 are schema-identical to 0.9.0; none of them has a separate API snapshot. JavaScript client 0.5.1 has the same public API as 0.5.2 and has no separate snapshot; the JavaScript reference says so. Working `api/` content is not published until snapshotted. Within each product version, existing source describes SA 2026; `sa-2024.1.0508.5/` contains SA 2024. Product versions and exact targets are independent. The published reference for each SA target, such as `/api/grpc/sa-2024.1.0508.5/`, shows the newest release that documents that target. Each method's history page, such as `/api/grpc/analysis-operations/angle-between-line-and-plane`, shows every distinct contract that earlier releases published. Earlier releases keep their guide and group pages at `/api/<family>/sa-<target>/<release>/`. Release-qualified method addresses redirect to the current page or to the matching history revision.

## Keep the Build Within the Hosted Runner

Expand Down
Loading