the name: Bikoret — code, contracts, images
Headers X-Bikoret-Key / -Rebuke / -Verdict / -Bedikah; the `bikoret` object and the "— bikoret …" fringe on a gate reply; environment variables BIKORET_*; the image user and paths (/home/bikoret, /tmp/bikoret, /var/lib/bikoret/manna, /etc/bikoret/secrets, /opt/bikoret/spec); the tmp-bikoret pod volume; local databases bikoret_dev/_test. Kubernetes resource names, the shorashim_app role and the domain are unchanged (Tamid §1.1, "the names that still carry the old word"). Doorpost c963c4fe…. Elixir 604/0, L3 10/0, korban 295, Prolog bedikah 44/44. Gitea repo renamed heaviness510/bikoret (old URL redirects). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
017a9b89d4
commit
c0d0555aed
46 files changed
+189
-189
No files matched your search
@@ -1,6 +1,6 @@
|
||||
defmodule VavPipeline.Gate do
|
||||
@moduledoc """
|
||||
The gate — Shorashim between a caller and a model (Construction §3.10;
|
||||
The gate — Bikoret between a caller and a model (Construction §3.10;
|
||||
bishe'arecha §I "on your gates", §III the fringe, §VII rebuke).
|
||||
|
||||
One pass: forward the caller's request unchanged under the caller's
|
||||
@@ -21,7 +21,7 @@ defmodule VavPipeline.Gate do
|
||||
reply: map(),
|
||||
bedikah: map() | nil,
|
||||
first: map() | nil,
|
||||
shorashim: map() | nil
|
||||
bikoret: map() | nil
|
||||
}
|
||||
|
||||
@doc """
|
||||
@@ -52,7 +52,7 @@ defmodule VavPipeline.Gate do
|
||||
{:ok, second} <- examine(upstream, body, reply2, Keyword.put(examine_opts, :rebukes, first.bedikah_ref)) do
|
||||
{:ok, deliver(upstream, reply2, second, first)}
|
||||
else
|
||||
{:ok, status, other} -> {:ok, %{status: status, reply: other, bedikah: nil, first: first, shorashim: nil}}
|
||||
{:ok, status, other} -> {:ok, %{status: status, reply: other, bedikah: nil, first: first, bikoret: nil}}
|
||||
other -> other
|
||||
end
|
||||
|
||||
@@ -61,7 +61,7 @@ defmodule VavPipeline.Gate do
|
||||
end
|
||||
else
|
||||
# A non-200 from the upstream passes through as it came.
|
||||
{:ok, status, reply} -> {:ok, %{status: status, reply: reply, bedikah: nil, first: nil, shorashim: nil}}
|
||||
{:ok, status, reply} -> {:ok, %{status: status, reply: reply, bedikah: nil, first: nil, bikoret: nil}}
|
||||
{:error, reason} when is_binary(reason) -> {:error, :upstream_unavailable, reason}
|
||||
other -> other
|
||||
end
|
||||
@@ -111,7 +111,7 @@ defmodule VavPipeline.Gate do
|
||||
anchors = Anchors.for_violations(result.violations)
|
||||
trailer = Shape.trailer(result, anchors, first)
|
||||
|
||||
shorashim =
|
||||
bikoret =
|
||||
%{
|
||||
bedikah_ref: result.bedikah_ref,
|
||||
verdict: Atom.to_string(result.verdict),
|
||||
@@ -133,7 +133,7 @@ defmodule VavPipeline.Gate do
|
||||
reply: Shape.with_fringe(upstream, reply, trailer),
|
||||
bedikah: result,
|
||||
first: first,
|
||||
shorashim: shorashim
|
||||
bikoret: bikoret
|
||||
}
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user