Skip to content

Phase A — http-capability-gateway↔BoJ contract, policy workflow, example spec#74

Draft
hyperpolymath wants to merge 1 commit into
mainfrom
phase-a/hcg-contract
Draft

Phase A — http-capability-gateway↔BoJ contract, policy workflow, example spec#74
hyperpolymath wants to merge 1 commit into
mainfrom
phase-a/hcg-contract

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Phase A — Contract Definition (weeks 1–2)

First materially-advancing PR of the http-capability-gateway tier-2 wiring
programme. Delivers all three Phase A artefacts from
docs/integration/http-capability-gateway-plan.md. Documentation only — no
gateway or BoJ code changed; the build is unaffected
(plan acceptance
criterion: "No code changes to gateway or BoJ gnosis handler").

Deliverables

  • A1 docs/integration/http-capability-gateway-boj-contract.md — the
    normative gateway↔BoJ HTTP contract. Resolves the Phase A transport
    indecision
    risk (staging = TCP loopback :7700; production = Unix socket
    preferred, TCP fallback), enumerates the forwarded-header set, and states
    the X-Trust-Level trusted-proxy invariant as RFC-2119 MUSTs handed to
    Phase C as seam-test obligations. Fail-closed error/circuit-breaker
    semantics documented.
  • A2 docs/integration/http-capability-gateway-policy-workflow.md — where
    the Verb Governance Spec lives (config/gateway-policy.yaml, this repo),
    the authorship + review + openapi-coupling gate, the validation procedure,
    the k9-svc rolling-redeploy hot-reload path, and the global_verbs
    default-public sharp edge with BoJ's default-deny mitigation.
  • A3 config/gateway-policy-boj-example.yaml — a DSL v1 worked example
    derived route-by-route from docs/specification/openapi.yaml, conforming
    to the schema in the integration audit §2. Example/fixture only; no service
    loads it.

Scope note

This session's GitHub tool scope is restricted to hyperpolymath/boj-server
and hyperpolymath/http-capability-gateway; hyperpolymath/standards is not
reachable from here, so the standards issues could not be read or commented
on directly. Phase A lands entirely in boj-server per the plan, so the work
itself is unaffected; the issue references below are recorded for tracking.

Refs hyperpolymath/standards#91
Closes hyperpolymath/standards#96

🤖 Generated with Claude Code


Generated by Claude Code

…xample Verb Governance Spec

Phase A of the http-capability-gateway tier-2 wiring programme
(ADR 0004 / docs/integration/http-capability-gateway-plan.md).

A1: docs/integration/http-capability-gateway-boj-contract.md — the
    normative HTTP contract between the gateway (front) and BoJ's
    unified Zig API gnosis handler (back): transport, port allocation,
    forwarded headers, the X-Trust-Level trusted-proxy invariant, and
    error/circuit-breaker semantics.
A2: docs/integration/http-capability-gateway-policy-workflow.md —
    the Verb Governance Spec authoring, review, load, and hot-reload
    workflow.
A3: config/gateway-policy-boj-example.yaml — a DSL v1 example policy
    derived from docs/specification/openapi.yaml, conforming to the
    schema documented in the integration audit §2.

Documentation only. No gateway or BoJ code changed; the example
policy is not loaded by any running service. Build is unaffected.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase A — Contract definition + policy-authoring workflow + example Verb Governance Spec

1 participant