Tablet 49: the bedikah grounds an output in what it was GIVEN, not in L1 alone
The first grounding check asked whether an output cited Torah verses —
Torah as content. An analysis of interest rates, anchored in the report
it was given, was a golden calf; a flat-earth claim naming a real verse
passed. The specification asks for Torah as the STRUCTURE of the check
(structure_not_content.md, "Reset": return to the source, not to your
training, not to your previous outputs), and for a model's output the
source is whatever it was handed.
Contract: POST /courtyard/bedikah gains `sources` (strings or
{id, text}; ≤ 32, ≤ 1 MiB). Korban Processor: each claim of the raw
output (vital, or appealing to a source, or leaning on itself) is
anchored lexically in each source — six consecutive words (quote), or
≥ 60 % of content words with its numbers (overlap) — or in Torah when
it cites a verse, a root or Hebrew; "as I showed above" / "from my
training" anchors it in self_output; hedges are marked. Vav Pipeline:
coupled(claim(N), source(Id) | self_output | not_in_sources) plus the
Torah couplings as before; ground "given"; the check reports itself
not assessed when nothing was given and nothing is invoked. Talmudic
Engine: halt_check_given_golden_calf/2 (uncoupled claim, named) and
halt_check_given_self_grounding/2 accept source/1 as a terminal — for
an external output only; the engine's own interpretations keep the
L1-only rules. L3: bedikot.sources (id, sha256, length — never text)
and bedikot.claims.
Specs: Tamid §1.1 (contract, anchoring, limits), Vayakhel §3.9,
Architecture §3.5, Broken Tablets tablet 49, KOHEN.md. Ingress body
2m. Doorpost a2ec3842… → 6c8933e7….
Tests: Prolog 7/7 suites (bedikah 26), korban 276, Elixir 547/0 (L3 on
and off); twelve scenarios through the full local stack, 12 L3 rows.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
9d5db797f7
commit
f69cc99a5f
22 files changed
+1051
-110
No files matched your search
@@ -11,7 +11,8 @@
|
||||
format_interpretation/2,
|
||||
format_resolution/2,
|
||||
format_halt_check/2,
|
||||
format_interpretation_halt_check/2
|
||||
format_interpretation_halt_check/2,
|
||||
format_given_interpretation_halt_check/2
|
||||
]).
|
||||
|
||||
:- use_module('../reasoning/interpret').
|
||||
@@ -46,6 +47,8 @@ process_request(request(halt_check, Action), Response) :-
|
||||
|
||||
process_request(request(halt_check_interpretation, Interpretation), Response) :-
|
||||
format_interpretation_halt_check(Interpretation, Response).
|
||||
process_request(request(halt_check_interpretation_given, Interpretation), Response) :-
|
||||
format_given_interpretation_halt_check(Interpretation, Response).
|
||||
|
||||
%% ============================================================
|
||||
%% RESPONSE FORMATTING
|
||||
@@ -119,3 +122,16 @@ format_interpretation_halt_check(Interpretation, Response) :-
|
||||
-> Response = response(ok, no_halt, interpretation(Interpretation))
|
||||
; Response = response(halt, violations(Halts), interpretation(Interpretation))
|
||||
).
|
||||
|
||||
%% The bedikah: an external output against the sources it was GIVEN
|
||||
%% (avodah_zarah.pl, "forms 2 and 4 for an external output").
|
||||
format_given_interpretation_halt_check(Interpretation, Response) :-
|
||||
findall(Halt,
|
||||
( halt_check_given_golden_calf(Interpretation, Halt)
|
||||
; halt_check_given_self_grounding(Interpretation, Halt)
|
||||
),
|
||||
Halts),
|
||||
( Halts = []
|
||||
-> Response = response(ok, no_halt, interpretation(Interpretation))
|
||||
; Response = response(halt, violations(Halts), interpretation(Interpretation))
|
||||
).
|
||||
Reference in new issue
Block a user