Skip to content

Commit 2d3df4f

Browse files
hyperpolymathclaude
andcommitted
Phase C: declare gateway↔BoJ-gnosis seam in Trustfile [SEAMS]
Per the Phase A contract (`docs/integration/http-capability-gateway-boj-contract.md`) and ADR 0004, the http-capability-gateway sits in front of BoJ's unified Zig API gnosis handler as tier-2 of the rate-limit + capability-enforcement architecture. Declaring the seam closes Phase C / C3 of `standards#98`. The E2E seam test lives in the gateway repo (`web-ecosystem/http-capability-gateway:test/e2e_boj_integration_test.exs`) because the gateway is the side that owns the policy pipeline and the proxy. The seam declaration here makes the boundary discoverable from the BoJ side and lets the Seams.Policy.idr proof reference it. Refs hyperpolymath/standards#91 Closes hyperpolymath/standards#98 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 76e15b1 commit 2d3df4f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.machine_readable/contractiles/trust/Trustfile.a2ml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,15 @@ seams:
455455
failure_mode: "fail-closed (supervisor restart)"
456456
tier: "elixir-disciplined"
457457
notes: ""
458+
- id: "gateway-boj-gnosis"
459+
description: "http-capability-gateway ↔ BoJ unified Zig API gnosis handler"
460+
from: "web-ecosystem/http-capability-gateway"
461+
to: "src/zig-api/ (gnosis handler)"
462+
contract: "docs/integration/http-capability-gateway-boj-contract.md"
463+
test_ref: "web-ecosystem/http-capability-gateway:test/e2e_boj_integration_test.exs"
464+
failure_mode: "fail-closed (circuit breaker)"
465+
tier: "elixir-disciplined"
466+
notes: "Phase C (hyperpolymath/standards#98). Tier-2 HTTP governance seam declared per ADR 0004; the gateway resolves trust at the transport (mTLS, Phase B) and forwards an authoritative X-Trust-Level to the gnosis handler. E2E seam test lives in the gateway repo because that is the side that owns the policy pipeline and the proxy."
458467
policy:
459468
seam_check: "every PR that touches either side of a declared seam MUST exercise the P2P test for that seam before merge"
460469
security:

0 commit comments

Comments
 (0)