Code review fixes + 13 middot added to spec

Zerikah fail-safe: empty offerings rejected, not processed (BUILD_KORBAN §5).
Halt monitor hardened: trap_exit, priority max, EXIT handler (Architecture spec).
13 Rules of Rabbi Yishmael added to Architecture §3.4 as Prolog inference predicates —
the engine reasons WITH Torah's hermeneutic methods, not just about their products.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott KarpandClaude Opus 4.6 committed 2026-03-09 16:55:42 -04:00
1 parent 33f8b03583
commit f8f70c77e5
6 files changed
+150 -20

No files matched your search

+9
View File
@@ -53,6 +53,10 @@ check_vote(Vote) ->
%%====================================================================
init([]) ->
%% Architecture spec: halt monitor cannot be killed, cannot be bypassed,
%% highest priority. The halt monitor is the kohen gadol of process safety.
process_flag(trap_exit, true),
process_flag(priority, max),
{ok, #state{}}.
handle_call({check_case, Case}, _From, State) ->
@@ -71,6 +75,11 @@ handle_call(_Request, _From, State) ->
handle_cast(_Msg, State) ->
{noreply, State}.
handle_info({'EXIT', _Pid, _Reason}, State) ->
%% Trap exit signals — halt monitor survives linked process deaths.
%% Architecture spec: "Cannot be killed by other components."
{noreply, State};
handle_info(_Info, State) ->
{noreply, State}.