Companion product · Local development

See the routes that are running. Do not guess from source.

CoAkka HTTP Runtime Inspect is a standalone browser application for a trusted development machine. It connects to an inspection endpoint the service explicitly enabled, reads effective route/schema snapshots, projects OpenAPI 3.0.3 and lets a developer send real Route Try requests.

01 · Two processes, two owners

Inspect reads truth; it does not own the service

application + CoAkka HTTP Runtime
  └─ explicitly enabled inspection endpoint · numeric loopback
       ↓ authenticated bounded snapshot
coakka-http-runtime-inspect
  ├─ local browser view
  ├─ bounded cached snapshot
  ├─ OpenAPI 3.0.3 projection
  └─ Route Try client → real application request

Target service

Owns effective route identity, structural generation, binding revision, application-supplied schema metadata and its bounded authenticated read surface.

Inspect

Owns the local browser listener, target connection, bearer-file use, cached view, OpenAPI projection and Route Try client.

Application

Owns validation, authorization, business effects and whether metadata accurately describes what handlers do.

Developer

Owns the secret file, target selection, snapshot-freshness check and the decision to send a state-changing request.

Not CoAkka Runtime Inspect. CoAkka HTTP Runtime Inspect observes HTTP routes/schemas and projects OpenAPI. CoAkka Runtime Inspect observes the target/message runtime. The companions are not interchangeable merely because both say Inspect.

02 · Local workflow

Opt in at the target before opening the browser

1

Enable inspection explicitly

An ordinary HTTP service is not automatically an inspection target. Its language API must enable the authenticated read surface before startup.

2

Create a local bearer file

Use a regular 32–4096 byte file without a trailing newline or symlink; restrict permissions and never commit or log its content.

3

Start disconnected

Inspect binds its browser listener to numeric loopback and receives an absolute bearer path. The standalone archive needs no separate SDK.

4

Connect to the right instance

Enter the target's numeric loopback host and inspection port. Container loopback reaches only its own network namespace.

5

Read status before the snapshot

A failed refresh is not a successful new snapshot. Check connection state, target identity, generation and stale markers first.

coakka-http-runtime-inspect serve \
  --bearer-file /absolute/path/to/inspection-token \
  --listen-host 127.0.0.1 --listen-port 8080 \
  --timeout-ms 3000
--bearer-file
Path to the secret accepted by the target; this is neither browser login nor an application API credential.
--listen-host
Inspect's browser listener. Product scope requires numeric loopback.
--listen-port
Local port for the UI and cached /openapi.json; it is not the target serving port.
--timeout-ms
Positive inspection-request wait budget. A timeout does not prove a state-changing Route Try did not execute.

03 · Route truth + application metadata

OpenAPI is a projection, not schema inference

The Core-issued snapshot reports route identity, method/path, generation and binding revision. The application explicitly attaches summaries, parameters, request bodies, responses, schemas, examples and security requirements. Inspect joins both sources and projects OpenAPI 3.0.3.

Documented route

Inspect preserves the real method/path and projects descriptions/schemas supplied by the application.

Undocumented route

It remains visible as routable and marked undocumented. Inspect never examines a handler class or traffic to invent a schema.

Runtime state

x-coakka-* extensions retain identity, generation and stale-state facts that do not fit standard OpenAPI.

Security description

Metadata describes intent; it does not enforce authorization or inject the inspection bearer into the API specification.

Inspect serves GET /openapi.json from its local cache after a usable model exists. Before then it can return 503; do not interpret that as a valid empty API.

04 · Real request

Route Try can create a business effect

What Inspect does

Uses metadata and developer input to send a real HTTP request to the selected application route.

What Inspect does not do

It does not bypass authorization, roll back, dry-run a database or create exactly-once execution.

After a timeout

Do not automatically retry a state-changing operation. The handler or downstream may have accepted or completed work.

On refresh

Only reloads the snapshot/cache; it does not hot-swap routes, upload OpenAPI or reconfigure the target.

05 · Exact companion package

Download Inspect 2.3.0

Download Inspect 2.3.0 for macOS ARM64 or Linux ARM64 from CoAkka Publish.

PlatformDownloadInstalled verification
macOS ARM64coakka-http-runtime-inspect-2.3.0-macos-aarch64.tar.gzInstalled workflow against Core 2.3 on macOS ARM64
Linux ARM64coakka-http-runtime-inspect-2.3.0-linux-aarch64.tar.gzRaspberry Pi 5 and a glibc 2.28 environment
Windows or x86-64Outside this Inspect releaseHTTP SDK packages have their own platform list

Each archive includes Core 2.3 and the browser assets. The macOS executable uses an ad hoc signature. Put the checksum file next to the downloaded archive, then verify and extract it. Set platform=linux-aarch64 for Linux ARM64.

Download the SHA-256 checksums

Verify and extract
platform=macos-aarch64
archive="coakka-http-runtime-inspect-2.3.0-$platform.tar.gz"
grep "  $archive\$" SHA256SUMS | shasum -a 256 -c &&
  mkdir http-inspect &&
  tar -xzf "$archive" -C http-inspect &&
  ./http-inspect/bin/coakka-http-runtime-inspect --version

The installed executable prints coakka-http-runtime-inspect 2.3.0 assets=3.

Run the Node.js 2.3.2 sample service

06 · Boundary checklist

Keep Inspect on one trusted development machine

Optional verification sources

The Portal keeps the primary workflow and boundary. Use GitHub for exact archives, checksums or the complete walkthrough.