API Sentinel Forge
Observe. Correlate. Diagnose. Verify.
Local-first API reliability, runtime intelligence and incident investigation — a specialist in the FORGE ecosystem. It watches how running APIs evolve over time, turns telemetry into evidence-backed investigations, and delegates specialized diagnosis to the other Forges instead of re-implementing them.
Status: 0.1.0 release candidate — Cycles 0–10 consolidated (see
CHANGELOG.mdanddocs/cycles/). Cycle 10 closed the cross-forge homologation loop: real Doctor/Atlas/the-forge integrations, Portal/api-operationson live Sentinel data, hardened/v1auth, federated E2E 16/18 (+2 honestly blocked). Portuguese README:README.pt-BR.md.
What it is (and is not)
| API Sentinel owns | Delegated to other Forges |
|---|---|
| API inventory & runtime identity | API engineering → api-forge |
| Telemetry ingestion & quality state | Contract/config diagnosis → forge-doctor-api |
| SLIs, SLOs, error budgets | Structural code graph → code-atlas-forge |
| Deterministic anomaly detection | Routing/governance → the-forge |
| Incident lifecycle & evidence | Agent sessions → forge-agent-bridge |
| Operations data for the Portal | Agentic tracing → forge-lens |
Install
# from a checkout
./install.sh # bash
install.ps1 # powershell
# or directly
pip install api-sentinel-forge
api-sentinel install
api-sentinel install is a guided setup (profile, workspace scope, Portal
integration when detected). Nothing external is required: the core runs
offline against local files.
First investigation in three commands
api-sentinel doctor # environment health
api-sentinel status # workspace state
api-sentinel capabilities # what this build actually offers
Import telemetry, evaluate an SLO, detect anomalies and serve the local API — all delivered (Cycles 2–9, hardened in 10):
api-sentinel ingest --source-id <src> --file ./telemetry.jsonl # Cycle 2
api-sentinel slo evaluate --slo-id <slo> --window-start <t0> --window-end <t1> # Cycle 3
api-sentinel detect --service-id <svc> --window-start <t0> --window-end <t1> # Cycle 4
api-sentinel serve --workspace <ws> # /v1 API for the Portal (token-gated)
serve binds loopback by default and requires a workspace token
(api-sentinel install generates one; or API_SENTINEL_TOKEN) —
self-declared role headers are rejected (Cycle 10).
Layout
src/api_sentinel/ core package (domain / application / infrastructure / contracts / cli)
contracts/v1/ versioned JSON Schemas of the public envelopes
src/api_sentinel/migrations/ versioned SQLite migrations (packaged)
docs/ Cycle-0 canonical set + ADRs + cycle plans
factory/specs/ executed specs for Cycles 2–10 (loop-factory format)
tests/ unit / contract / integration / security / e2e / fixtures
lab/ sample API + reproducible scenarios (grows per cycle)
Exit codes
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | domain/user error |
| 2 | usage error |
| 3 | unexpected internal error |
License
Apache-2.0 — see LICENSE.
Cycle 10.2 operational status
The local-first recovery and security gates are documented in
docs/cycles/cycle-10.2/. Use api-sentinel install
to create a workspace, api-sentinel tui for the terminal dashboard, and
api-sentinel backup create / api-sentinel backup restore --from <dir> for
verified recovery. Restore refuses an occupied workspace unless --force is
explicitly supplied. The current evidence is CONDITIONAL GO: optional
Agent Bridge/Lens providers and Linux hosted verification remain named
limitations.
Metadata
Release files for api-sentinel-forge 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| api_sentinel_forge-0.1.2.tar.gz | 399.4 kB | With provenance | Details for api_sentinel_forge-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| api_sentinel_forge-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for api_sentinel_forge-0.1.2-py3-none-any.whl |
Total release size: 749.4 kB
Release files / api_sentinel_forge-0.1.2.tar.gz
| Download URL | api_sentinel_forge-0.1.2.tar.gz |
|---|---|
| Size | 399.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11266f035e91b9ee3aa5e31d748a48c4d333b89a27032c6c99e352a256699298
|
|
BLAKE2b-256 checksum How to use checksums |
891aa4c91390fd81367b8edc8d8f45b398a0e03743731f521d4ee2b3c1b1c00f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / api_sentinel_forge-0.1.2-py3-none-any.whl
| Download URL | api_sentinel_forge-0.1.2-py3-none-any.whl |
|---|---|
| Size | 350.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35325ca0a01f1a2724ee20c92d06ab3fc978a72e16e585355c294735fbe04064
|
|
BLAKE2b-256 checksum How to use checksums |
47765f5ed36cac085fc8e3c59182ca22545fc06a98bf20c009eb679f49cbf0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for api-sentinel-forge 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for api_sentinel_forge-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.