From c2e96c00d2a648ccaf3517b45b19fbc3edb1a84a Mon Sep 17 00:00:00 2001 From: Peter Zsobrak <243386091+zsobpeter-code@users.noreply.github.com> Date: Tue, 30 Jun 2026 08:47:30 +0200 Subject: [PATCH 1/4] feat: add additive /internal/version endpoint (verdict-core A1 live verification) --- api/openapi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index 78a8673..12c9c51 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -251,6 +251,16 @@ paths: responses: "200": description: Service is healthy + /internal/version: + get: + summary: Version info + description: "Returns the current API build version and commit. Additive endpoint used to verify governance tooling on additive (non-breaking) changes." + operationId: getVersion + tags: + - Internal + responses: + "200": + description: Version information returned components: securitySchemes: bearerAuth: From aaab69721c470411f5572edb31fe9b59fc92b988 Mon Sep 17 00:00:00 2001 From: Peter Zsobrak <243386091+zsobpeter-code@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:36:10 +0200 Subject: [PATCH 2/4] feat: add additive /internal/metrics endpoint (re-trigger after token-cost fix deploy) --- api/openapi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index 12c9c51..8fdbe4d 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -261,6 +261,16 @@ paths: responses: "200": description: Version information returned + /internal/metrics: + get: + summary: Runtime metrics + description: "Returns runtime metrics (request counts, latency percentiles). Additive endpoint to re-trigger governance analysis after the token-cost wiring fix deploy." + operationId: getMetrics + tags: + - Internal + responses: + "200": + description: Metrics returned components: securitySchemes: bearerAuth: From 9438451db86bb4ef6f51672a9763454e5467b9ae Mon Sep 17 00:00:00 2001 From: Peter Zsobrak <243386091+zsobpeter-code@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:32:51 +0200 Subject: [PATCH 3/4] feat: add additive /internal/ping endpoint (re-trigger on fixed build a423f64) --- api/openapi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index 8fdbe4d..b249b4d 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -271,6 +271,16 @@ paths: responses: "200": description: Metrics returned + /internal/ping: + get: + summary: Ping + description: "Lightweight liveness ping. Additive endpoint to re-trigger governance analysis on the fixed build." + operationId: ping + tags: + - Internal + responses: + "200": + description: pong components: securitySchemes: bearerAuth: From fb9148b5f9ae12386bdfc9de5d124b84498b1ba4 Mon Sep 17 00:00:00 2001 From: Peter Zsobrak <243386091+zsobpeter-code@users.noreply.github.com> Date: Tue, 30 Jun 2026 16:06:33 +0200 Subject: [PATCH 4/4] feat: add additive POST /payments/capture (exercise Neural Hotspot on fixed build 84d4d03) --- api/openapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index b249b4d..b2a3a0b 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -208,6 +208,18 @@ paths: description: Refund processed "404": description: Transaction not found + /payments/capture: + post: + summary: Capture payment + description: "Captures a previously authorized payment. Additive (non-breaking) high-criticality payments operation to exercise the Neural Hotspot section alongside Token Cost and Verdict Core." + operationId: capturePayment + tags: + - Payments + security: + - bearerAuth: [] + responses: + "200": + description: Payment captured /webhooks/subscribe: post: summary: Subscribe to webhooks