Skip to main content

DBL Gateway

Project description

DBL Gateway 0.3.2

Authoritative DBL and KL gateway. This service is the single writer for append-only trails, applies policy via dbl-policy, and executes via kl-kernel-logic. UI and boundary services consume its snapshots and emit INTENT only.

This release stabilizes the 0.3.x stackline and does not introduce new wire contracts.

Compatible stack versions:

  • dbl-core==0.3.2
  • dbl-policy==0.1.0
  • dbl-main==0.3.0
  • kl-kernel-logic==0.5.0

Quickstart (PowerShell)

py -3.11 -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install -e ".[dev]"

Run the gateway:

dbl-gateway serve --db .\data\trail.sqlite --host 127.0.0.1 --port 8010

Run with uvicorn:

$env:DBL_GATEWAY_DB=".\data\trail.sqlite"
py -3.11 -m uvicorn dbl_gateway.app:app --host 127.0.0.1 --port 8010

Endpoints

Write:

  • POST /ingress/intent

Read:

  • GET /snapshot
  • GET /capabilities
  • GET /healthz

Environment contract

See docs/env_contract.md.

Notes

  • The gateway is the only component that performs governance and execution.
  • All stabilization is expressed explicitly via DECISION events.
  • Boundary and UI clients do not import dbl-core or dbl-policy.
  • The gateway uses dbl-core for canonicalization and digest computation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbl_gateway-0.3.2.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbl_gateway-0.3.2-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file dbl_gateway-0.3.2.tar.gz.

File metadata

  • Download URL: dbl_gateway-0.3.2.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for dbl_gateway-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e8a31b8758cb01ed67e7313fe07436cf277f3fb2b58ddd1615036b07bd280550
MD5 1641b1b9a5d77c99707e92f01b0f1e15
BLAKE2b-256 409f275238e67a271211231b829cfe4979c967bf1695ec5b305a4ff5c4b92666

See more details on using hashes here.

File details

Details for the file dbl_gateway-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: dbl_gateway-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for dbl_gateway-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb0279ccb13dae357d690994ecef85b4ee7a4852a42b53f956daa081edcc4ba7
MD5 7250137060e0c3922325bfb8a07aa02d
BLAKE2b-256 5d0426be397ca3784c8b6a141b50174eade26148f751b2993f240ca27b95a592

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page