Bind native OpenRouter approval to custody and delivery inputs
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 5s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a09cbb-87c6-7900-a145-4ce53ba9f1a6
This commit is contained in:
tegwick 2026-09-14 00:54:55 +02:00
parent 0783b50216
commit 7ba1b6223e
16 changed files with 656 additions and 7 deletions

View file

@ -3,7 +3,8 @@ import copy
import json
from datetime import datetime, timezone
from pathlib import Path
from types import SimpleNamespace
from secrets_engine.catalog import validate_entry
from tests.test_catalog import VALID
import pytest
@ -122,7 +123,7 @@ def test_real_expired_allow_refused():
def test_request_builder_tenant_boundary():
entry = SimpleNamespace(id="glas-primary", stage="prod")
entry = validate_entry({**VALID, "id": "glas-primary", "stage": "prod"})
args = dict(subject_id="secrets-engine", subject_type="service", purpose="rotation")
request = build_action_request(entry, "rotate", **args)
assert request["tenant"] == REQUEST_TENANT