{
  "evaluated_at": "2026-11-02T21:15:50.200164+00:00",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "http_status": 200,
  "credential_source": "/home/samob/.config/clawdie/jev.env (TYPESAFE_API_KEY)",
  "matrix_row": 2,
  "cells": [
    "(2,1) t1_t2_v8_cage_and_per_child_ulimit_envelope",
    "(2,2) t3_subagent_slot_density_pi_v8_vs_zot_go",
    "(2,3) t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast"
  ],
  "request": {
    "model": "jev-latest",
    "state": {
      "matrix_row": "Row 2: Empirical Verification of <Requested, Allocated, Available> Triplet Watchdog (hooks/resource-watchdog.ts) inside Live 2 GiB (1,998 MiB) FreeBSD 15.1 bhyve Guest (5:2gb-bhyve on valhala)",
      "cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope": {
        "cell": "(2,1)",
        "name": "t1_t2_v8_cage_and_per_child_ulimit_envelope",
        "environment": "FreeBSD 15.1 amd64 bhyve guest (2 GiB / 1,998 MiB RAM, kern.racct.enable=0, 5:2gb-bhyve on valhala)",
        "v8_virtual_cage_discovery": "Node 24 V8 reserves a fixed 1,213 MiB PROT_NONE virtual address cage. Under limits -c 0 -v 1536m, only 323 MiB remains as usable Node RSS ceiling.",
        "unbounded_child_behavior": "Without a per-child ulimit -v wrapper, a spawned python3 child inherits the 1,536 MiB vmem ceiling and reaches 1,070.2 MiB RSS (> 50% of the 2 GiB guest).",
        "enforced_envelope_and_empirical_result": "With wrapBashWithChildEnvelope (ulimit -c 0; ulimit -v 786432 on small-2g, 450560 on nano-512m, while reserving 1572864 when invoking V8 binaries), child peak RSS is capped at 492.5 MiB (<= 524 MiB) on small-2g and 251.9 MiB (<= 267 MiB) on nano-512m with 0 swaps."
      },
      "cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go": {
        "cell": "(2,2)",
        "name": "t3_subagent_slot_density_pi_v8_vs_zot_go",
        "corrected_slot_formula": "Available = Ceiling - Reserve - Parent_RSS; Available_Subagent_Slots = min(Policy_Max, floor(Available / (Agent_Base_RSS + Child_Tool_RSS)))",
        "pi_node_v8_profile": "For pi (Node V8, 166 MiB base RSS): nano-512m = 0 subagent slots (1 tool slot), small-2g = 1 subagent slot (deterministically blocks 3-way fan-out req:3slots/2070MB), standard-12g = 3 slots.",
        "zot_go_binary_profile": "For zot (single Go binary, ~25-40 MiB base RSS, GOMEMLIMIT, no 1,213 MiB V8 cage): reduces per-subagent base memory overhead by ~130 MiB, enabling 1 subagent slot on nano-512m and 2 slots on small-2g once empirically calibrated on the rebuilt ISO."
      },
      "cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast": {
        "cell": "(2,3)",
        "name": "t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast",
        "blocked_crawls": "Deterministically blocks recursive crawls (os.walk, rglob, glob(..., recursive=True), grep -r, find) over ~/.config, ~/.gemini, ~/.pi, ~/ai/**, and transcript_full.jsonl.",
        "canary_verification": "0 bytes read from the 64 MiB $SCRATCH/.config/dummy-cache.bin canary in 2gb-bhyve.",
        "canonical_credential_rule": "Allows direct bounded check test -f ~/.config/clawdie/jev.env without directory scanning."
      }
    },
    "questions": {
      "cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope_noul": {
        "type": "noul",
        "instructions": "Does `cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope` empirically verify that `wrapBashWithChildEnvelope` bounds non-V8 child peak RSS to 492.5 MiB (<= 524 MiB) on small-2g and 251.9 MiB (<= 267 MiB) on nano-512m with 0 swaps while preserving the 1,572,864 KiB virtual cage needed by Node 24 V8 binaries on FreeBSD 15.1 (`kern.racct.enable=0`)?"
      },
      "cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope_score": {
        "type": "score",
        "instructions": "Rate the empirical rigor and memory-safety effectiveness of Cell `(2,1)` (`t1_t2_v8_cage_and_per_child_ulimit_envelope`).",
        "criteria": [
          "No child memory envelope; python3 children consume > 1 GiB RSS and trigger swap/OOM.",
          "Applies a naive vmem limit that breaks Node 24 V8 startup due to its 1,213 MiB PROT_NONE cage.",
          "Accounts for V8 cage at parent startup but lets child processes inherit the full 1,536 MiB vmem limit.",
          "Wraps child processes with ulimit -v on small-2g but lacks nano-512m calibration or V8 binary exemption.",
          "Complete empirical verification in live 2 GiB FreeBSD 15.1 bhyve guest: characterizes the 1,213 MiB V8 cage, proves unbounded python3 reaches 1,070.2 MiB RSS, and verifies wrapBashWithChildEnvelope caps child RSS at 492.5 MiB on small-2g and 251.9 MiB on nano-512m with 0 swaps while reserving 1,536 MiB for V8 binaries."
        ]
      },
      "cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go_noul": {
        "type": "noul",
        "instructions": "Does `cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go` provide a mathematically closed subagent slot formula (`Available = Ceiling - Reserve - Parent_RSS`) that accurately gates `pi` (0 slots on nano-512m, 1 slot on small-2g blocking `req:3slots/2070MB`, 3 slots on standard-12g) and quantifies `zot`'s ~130 MiB per-subagent savings (enabling 1 slot on nano-512m and 2 slots on small-2g)?"
      },
      "cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go_score": {
        "type": "score",
        "instructions": "Rate the quantitative soundness and architectural insight of Cell `(2,2)` (`t3_subagent_slot_density_pi_v8_vs_zot_go`).",
        "criteria": [
          "Unbounded subagent spawning that ignores available RAM and causes multi-agent OOM.",
          "Hardcoded slot counts that ignore parent RSS, OS reserve, or child tool RSS.",
          "Computes slots for a single tier without comparing runtime memory footprints.",
          "Derives accurate slot counts for pi across tiers and qualitatively notes Go binary advantages.",
          "Mathematically closed slot formula verified across nano-512m, small-2g (blocking 3-way fan-out req:3slots/2070MB for pi), and standard-12g, paired with a rigorous quantitative comparison showing zot (~25-40 MiB base RSS, GOMEMLIMIT, no V8 cage) saves ~130 MiB per subagent to unlock 1 slot on nano-512m and 2 slots on small-2g."
        ]
      },
      "cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast_noul": {
        "type": "noul",
        "instructions": "Does `cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast` deterministically block recursive crawls (`os.walk`, `rglob`, `glob(..., recursive=True)`, `grep -r`, `find`) over `~/.config`, `~/.gemini`, `~/.pi`, `~/ai/**`, and `transcript_full.jsonl` (proven by 0 bytes read from the 64 MiB canary) while permitting direct fail-fast checks on `~/.config/clawdie/jev.env`?"
      },
      "cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast_score": {
        "type": "score",
        "instructions": "Rate the security boundary precision and fail-fast credential hygiene of Cell `(2,3)` (`t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast`).",
        "criteria": [
          "Permits recursive crawls across ~/.config, ~/.gemini, and transcript_full.jsonl.",
          "Warns on recursive scans but still reads multi-megabyte cache/canary files into memory.",
          "Blocks shell find/grep -r but overlooks Python os.walk/rglob or breaks canonical credential loading.",
          "Blocks both shell and Python recursive crawls while allowing ~/.config/clawdie/jev.env, tested only in unit mocks.",
          "Deterministic fail-closed scope gate verified live in 2gb-bhyve: blocks os.walk, rglob, recursive glob, grep -r, and find across all protected paths with 0 bytes read from the 64 MiB dummy-cache.bin canary, while allowing direct test -f ~/.config/clawdie/jev.env."
        ]
      }
    }
  },
  "response": {
    "model": "jev-1.14.0",
    "answers": {
      "cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope_noul": {
        "type": "noul",
        "noul": 0.87
      },
      "cell_2_1_t1_t2_v8_cage_and_per_child_ulimit_envelope_score": {
        "type": "score",
        "score": 3.98,
        "confidence": 1.0,
        "legend": {
          "0": "No child memory envelope; python3 children consume > 1 GiB RSS and trigger swap/OOM.",
          "1": "Applies a naive vmem limit that breaks Node 24 V8 startup due to its 1,213 MiB PROT_NONE cage.",
          "2": "Accounts for V8 cage at parent startup but lets child processes inherit the full 1,536 MiB vmem limit.",
          "3": "Wraps child processes with ulimit -v on small-2g but lacks nano-512m calibration or V8 binary exemption.",
          "4": "Complete empirical verification in live 2 GiB FreeBSD 15.1 bhyve guest: characterizes the 1,213 MiB V8 cage, proves unbounded python3 reaches 1,070.2 MiB RSS, and verifies wrapBashWithChildEnvelope caps child RSS at 492.5 MiB on small-2g and 251.9 MiB on nano-512m with 0 swaps while reserving 1,536 MiB for V8 binaries."
        },
        "probabilities": {
          "0": 0.0,
          "1": 0.0,
          "2": 0.0,
          "3": 0.0,
          "4": 1.0
        }
      },
      "cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go_noul": {
        "type": "noul",
        "noul": 0.77
      },
      "cell_2_2_t3_subagent_slot_density_pi_v8_vs_zot_go_score": {
        "type": "score",
        "score": 3.73,
        "confidence": 0.78,
        "legend": {
          "0": "Unbounded subagent spawning that ignores available RAM and causes multi-agent OOM.",
          "1": "Hardcoded slot counts that ignore parent RSS, OS reserve, or child tool RSS.",
          "2": "Computes slots for a single tier without comparing runtime memory footprints.",
          "3": "Derives accurate slot counts for pi across tiers and qualitatively notes Go binary advantages.",
          "4": "Mathematically closed slot formula verified across nano-512m, small-2g (blocking 3-way fan-out req:3slots/2070MB for pi), and standard-12g, paired with a rigorous quantitative comparison showing zot (~25-40 MiB base RSS, GOMEMLIMIT, no V8 cage) saves ~130 MiB per subagent to unlock 1 slot on nano-512m and 2 slots on small-2g."
        },
        "probabilities": {
          "0": 0.0,
          "1": 0.0,
          "2": 0.0,
          "3": 0.26,
          "4": 0.74
        }
      },
      "cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast_noul": {
        "type": "noul",
        "noul": 0.9
      },
      "cell_2_3_t4_filesystem_scope_gate_and_canonical_jev_env_fail_fast_score": {
        "type": "score",
        "score": 3.99,
        "confidence": 1.0,
        "legend": {
          "0": "Permits recursive crawls across ~/.config, ~/.gemini, and transcript_full.jsonl.",
          "1": "Warns on recursive scans but still reads multi-megabyte cache/canary files into memory.",
          "2": "Blocks shell find/grep -r but overlooks Python os.walk/rglob or breaks canonical credential loading.",
          "3": "Blocks both shell and Python recursive crawls while allowing ~/.config/clawdie/jev.env, tested only in unit mocks.",
          "4": "Deterministic fail-closed scope gate verified live in 2gb-bhyve: blocks os.walk, rglob, recursive glob, grep -r, and find across all protected paths with 0 bytes read from the 64 MiB dummy-cache.bin canary, while allowing direct test -f ~/.config/clawdie/jev.env."
        },
        "probabilities": {
          "0": 0.0,
          "1": 0.0,
          "2": 0.0,
          "3": 0.0,
          "4": 1.0
        }
      }
    },
    "usage": {
      "input_tokens": 2439,
      "output_tokens": 214
    }
  }
}
