LingEx
All module documentation

space-labels-server

LingEx Space Labels Server

Source details
Source revision
0d003e8d2b2f8a96eb7a5d253a7fecac870a73d3
Source SHA-256
305f1db4a1fb05b9a3fb8d332704c5c2b8d50e1bac04420b9da471292fbea80b

LingEx Space Labels Server

space-labels-server is the product-owned LingEx server module for the Space Labels macOS application.

Its module ID is space-labels-server and its module API prefix is /v1/space-labels.

Responsibilities

The module owns:

  • explicit user-triggered diagnostic-report submission;
  • strict diagnostic payload validation and bounded abuse protection;
  • Space Labels diagnostic persistence and authenticated support retrieval;
  • Space Labels native authorization/token/session handlers;
  • its own schema and migration meaning, seeders and table-ownership declarations;
  • the trusted configuration-gated Catalog definition for the Space Labels

commercial offer.

It is deliberately not a generic telemetry, identity, payment, entitlement, licensing, updater or API-gateway service.

Canonical service boundaries

lingex-api is the durable API service/repository that composes module API contributions. https://api.lingex.co.uk remains the production API ingress hostname, not a separate permanent application ownership boundary.

lingex-core is the approved product-neutral database-access service. This module retains ownership of its schema and migration meaning, queries and data semantics. Persistence holds physical custody of the two catalogued migration files; their original Space Labels identities and domain ownership remain in the Persistence catalogue. Source tooling resolves them through Core's repository registry and Persistence's catalogued migration resolver.

The transfer itself was source custody only: it did not run migrations, verify deployed state, or cut over production callers. Space Labels Server no longer provides an independent hosted migration executor; hosted execution remains with Persistence. Retirement of the Platform compatibility runner is tracked separately. Durable custody details are in docs/ARCHITECTURE.md.

Canonical identity/authentication is owned by lingex-auth-service; authorization policy by lingex-access-control; Catalog/Checkout/Entitlements retain their respective commerce ownership.

Current compatibility bootstrap/cross-repository paths may remain until their separately tracked hardening/migration work is completed; runtime database access resolves through the module's declared Core service dependency. These paths do not redefine the canonical ownership model.

Diagnostic API

The explicit diagnostic endpoint is:

POST /v1/space-labels/diagnostic-reports

Protected LingEx-side support retrieval uses the corresponding list/detail routes. The complete schema and privacy contract is in docs/diagnostic-report-api.md.

Native authentication

Space Labels uses the product-scoped public native-client flow documented in docs/native-auth-api.md. Reusable desktop credentials belong in macOS Keychain; this module does not become the canonical user or entitlement store.

Commerce

commerce/catalog-product.php is a trusted registration definition. Catalog owns permanent product/offer identity, price revision and availability; Checkout owns payment/orders; Entitlements owns durable product ownership.