Caelus3,462 checksGitHubv0.26.0MIT
Caelus R&D Lab · Empirical Field Notes

Lab Notes

These field notes document what happened when we stripped cultural astrology away from Caelus and tested its geocentric spacetime engine across chronosense (physical-horizon temporal context for agents), SHADOWPROOF (offline shadow-geometry verification), rotary positional embeddings, frozen-LLM adapters, and typed-null MCP response envelopes against non-ephemeris null baselines (Date.now(), fixed 24-hour sin/cos waves, 20-line NOAA solar formulas, HMAC-SHA256, standard RoPE, and generic anti-hallucination prompts). Designed, run, and written by Gemini 4 Neon in an isolated multi-agent swarm, independently audited by read-only verifier agents, and reviewed by the repository owner. Every experiment ran inside the isolated lab/ sandbox without editing core ephemeris math, and every figure below renders directly from its committed receipt.

EXP-005 Live Codec77.7%Physical [71.0, 83.5%] vs. 63.5% Symbolic (+14.2 pp)
EXP-006 Tool Use93.3%Up from 33.3% CoT (+60.0 pp); F1 0.945
EXP-007 Geo-RoPE (3-seed)86.5%T3-OOD +/- 0.6% vs. 53.7% Unix+LatLon
EXP-007 SLEEP (3-seed, Partial)86.3% / 65.5%NOAA20 vs. Caelus retention (9.0 vs. 11.1 pp forgetting)
EXP-013 Typed-Null MCP100.0%+27.1 pp vs. Arm1, +16.7 pp vs. Arm2; +68.5 tok

Caelus's Razor: pre-registered gates and null baselines

Before writing experiment code, we imposed a pre-registered decision gate in lab/CHARTER.md called Caelus's Razor. Every experiment manifest must declare four fields up front: a falsifiable hypothesis grounded in a real Caelus primitive, the simplest non-ephemeris null baseline (including a 20-line Spencer/NOAA solar formula wherever solar geometry is tested), a numeric success bar, and an explicit kill criterion. When the simpler baseline ties or wins, the hypothesis moves directly into lab/graveyard/ with exact failure numbers so future sessions do not repeat the same dead end.

We also separated two questions that are easy to conflate. First, does topocentric astronomical physics (refracted solar altitude, local twilight depth, photoperiod-warped hours, lunar elongation, and 3D cast shadows) beat flat clocks and minimal solar formulas? Second, do traditional symbolic zodiac tokens help or hurt when read by a language model? Testing them as separate arms produced the sharpest splits in this study.

Lab Graveyard: 7 killed hypotheses (KILL-001 to KILL-007)

Seven proposals failed Caelus's Razor and remain archived permanently in lab/graveyard/ with their exact failure metrics and narrow revival conditions. Placing them ahead of the positive findings shows where simpler math or plain-text headers beat astronomical machinery.

Kill IDRejected ideaMeasured failure mode
KILL-001Secret-asteroid spacetime TOTPStrictly dominated by HMAC-SHA256 (256-bit security versus ~89 bits with zero pack files or quantization boundary desync).
KILL-002Synastry swarm role routingBroken by the 1-week cohort trap (r = 0.911 shared outer-planet similarity); sha256(agentId || taskId) is uniform.
KILL-003Retrograde and ZR daemon maintenanceWrong timescales (21-day planetary retrogrades) and wrong trigger signal; maintenance belongs on drift or local human night.
KILL-004Void-of-course freezes and parans sharding14-hour operational lockouts harm reliability, and distributed systems shard by longitude latency rather than co-latitude bands.
KILL-005Adaptive step-size via chartStability (EXP-010)Unfiltered flips fired 23.8 phantom zodiac alarms per day; sect-only caught 40.5% of cliffs in 183.4 ms/day, beaten 21x by direct sceneGeometry.diurnal.minutesToNextTwilight (100.0% catch, 0.00 min error, 8.7 ms/day).
KILL-006Synthetic orbital task-space deadlines (EXP-011)registerSyntheticSystem places periodic bodies heliocentrically at Kepler a = P^(2/3) AU, collapsing event F1 to 0.0255 from Earth parallax; direct riseSet("sun") plus modulo hits F1 = 1.0000 and runs 3.0x faster than parallax-free when().
KILL-007Pretrained frozen Geo-RoPE soft-token adapter (EXP-012)Arm3-LoRA-Caelus-GeoAdapter reached 90.1% OOD Solstice+Travel (+49.8 pp over location-aware Arm2b on Oslo Solstices, -95.35% clock tokens, 2.55x faster MPS prefill), yet plain-text Arm1b-LoRA-TextPrompt scored 96.9% OOD Solstice+Travel and 97.3% OOD All with 471,297 fewer trainable parameters, breaching the -3.0 pp kill gate.

1. Physical vs. Symbolic Chronosense (EXP-005)

In EXP-001, a deterministic 1,200-turn simulation showed that a compact physical-horizon envelope backed by sceneGeometry and a canonical chartDigest cursor reached 100.0% local night_crossed accuracy (versus 67.6% for UTC ISO strings) and 0.000 min physical sunset error (versus 88.7 min MAE for a fixed 24-hour clock across latitudes). In EXP-005, we tested how live language models read those tokens at inference time across all 20 multi-day compaction and high-latitude photoperiod episodes from EXP-001/eval_suite.jsonl. The complete 200-episode live sweep ran deterministically (temperature = 0) on local Ollama gemma4:12b and qwen3.5:9b with zero API errors. Every arm received a symmetric two-line legend in its system prompt, including the 30-degree zodiac offset table for the symbolic arm and sin24/cos24 conventions for the synthetic 24-hour control.

Each episode is graded deterministically by equal-weighted binary sub-checks (score_i = passed / total in [0, 1]): the 10 compaction tasks grade night_crossed, fresh_tool_id, and digest_match (1/3 each), while the 10 photoperiod tasks grade is_day, twilight_stage, deadline_phase, and deadline_minutes_within_15m (1/4 each). Per-model composite accuracy averages across all 20 tasks, and live macro accuracy averages equally across both models (n = 40 task-model episodes). Token counts use approxCl100kTokens over each arm's system header to two decimals across prose, tables, and charts.

FIG LAB-05EXP-005: Live 5-Arm Chronosense Codec Showdownchart.svg ↗
Composite accuracy across 200 live episodes (20 tasks x 5 arms x 2 local Ollama models at temperature = 0) with 10,000-resample bootstrap 95% CIs and exact cl100k header token counts.
Armcl100k tokgemma4:12bqwen3.5:9bLive macro [95% CI]Delta vs. Physical
Treatment-Caelus-Physical45.7575.4%80.0%77.7% [71.0, 83.5%]baseline
Arm4b-Caelus-Symbolic36.7563.8%63.3%63.5% [55.8, 70.6%]-14.2 pp
Control-Synthetic (fixed 24h)26.0046.7%43.8%45.2% [34.8, 55.6%]-32.5 pp
Control-ISO (passive UTC)15.0038.8%42.9%40.8% [33.5, 47.9%]-36.9 pp
Baseline-None0.0028.8%32.5%30.6% [23.3, 37.7%]-47.1 pp

Paired bootstrap CIs, NOAA-20line baseline, and transcript bugs

Under deterministic B = 10,000 paired bootstrap resampling, Treatment-Caelus-Physical separates from Arm4b-Caelus-Symbolic by +14.2 pp [95% CI +5.6, +22.5 pp] (p = 0.0004, 19 wins, 17 ties, 4 losses across n = 40 episodes) and stays above zero under task-clustered resampling (n = 20 tasks, [+5.6, +22.7 pp], p = 0.0008). By model, qwen3.5:9b separates cleanly at +16.7 pp [+6.3, +27.9 pp] (p = 0.0006), while gemma4:12b alone moves in the same direction (+11.7 pp, 9W/9T/2L) with a borderline two-sided 95% CI of [-1.3, +24.2 pp] (p = 0.0760).

We also audited an offline 20-line Spencer/NOAA solar formula (Control-NOAA-20line, 23.00 cl100k tokens) against Caelus across all 20 tasks. It scored 66.7% across all 20 tasks (10/20 exact) versus 100.0% for Caelus: it tied Caelus at 100.0% on the 10-task photoperiod slice (within 0.29 min MAE and 0.50 min max mid-latitude timing error), then dropped to 33.3% on the 10-task compaction slice (night_crossed = 100%, 0/10 lunar fresh_tool_id, 0/10 canonical digest_match), hit 2 Tromso polar undefined-sunset tasks, and carried 0.25–0.76 deg low-altitude refraction error near grazing horizon angles.

Live transcripts also exposed two header formatting flaws that offline decoders missed. Placing sunset:Xm next to due:Ym caused gemma4:12b to occasionally copy the sunset countdown as the task deadline, and an implicit presence flag (+night) scored only 50% to 60% on night_crossed. Both fixes shipped directly into the FACT-002 middleware spec by separating horizon_eta from deadline_eta and emitting an explicit night_crossed=true|false boolean.

2. Teaching models to verify shadows instead of guessing (EXP-006 + SHADOWPROOF)

Vision-language models do not compute spherical astronomy, atmospheric refraction, or sloped-ground shadow geometry inside their weights. In EXP-006, we evaluated the 30-task forensic benchmark from EXP-003 (authentic outdoor scenes, timezone shifts, hemisphere flips, opposite seasons, nighttime shadow spoofs, chronolocation windows, and global geolocation fixes) deterministically (temperature = 0) on local Ollama gemma4:12b and qwen3.5:9b (120 live episodes, zero API or tool errors). Each model ran twice: once with chain-of-thought only (Arm1-CoT-NoTools) and once with local in-process Caelus MCP tools (verify_observation, chronolocate, geolocate, and scene_geometry).

FIG LAB-06EXP-006: Live Observation Tool-Use Showdown (CoT-Only vs. Caelus MCP)chart.svg ↗
120 live episodes across local Ollama gemma4:12b and qwen3.5:9b on the 30-task EXP-003 pack. Tool routing hit 60/60 (100%) with ~1.11 ms warm authentic verify latency.
Metric (macro across gemma4:12b + qwen3.5:9b)Arm1: CoT-NoToolsArm2: Caelus-MCP-ToolsPaired gain / 95% CI
Overall 30-task pass rate (n = 60 pooled)33.3% [22.7, 45.9%]93.3% [84.1, 97.4%]+60.0 pp [+45.0, +75.0]
Spoof-detection F1 (pooled micro, n = 28)0.7273 [0.564, 0.857]0.9474 [0.857, 1.000]+0.2201 [+0.056, +0.404]
Authentic scene FPR (n = 4/model; n = 8 pooled)100.0% [67.6, 100.0%]0.0% [0.0, 32.4%]-100.0 pp (n = 4: [0, 49.0%])
Counterfactual single-axis recovery (n = 12 pooled)66.7% [39.1, 86.2%]100.0% [75.8, 100.0%]+33.3 pp
Chronolocation pass (<= 20 min, n = 16 pooled)12.5% (857–1,987 min)87.5% (3.28 min)+75.0 pp [+43.8, +100.0]
Geolocation pass (<= 350 km, n = 16 pooled)12.5% (3,581–8,718 km)100.0% (69.7 km)+87.5 pp [+68.8, +100.0]

Spoof F1 definition, small-sample caveat, and NOAA-20 audit

Spoof-detection F1 treats is_spoof === true as the positive class across the 14 verify_observation scenes per model (10 spoofs and 4 authentic scenes), computed as F1 = 2 * TP / (2 * TP + FP + FN). Pooled across both models (n = 28), exact TP / FP / TN / FN counts move from 16 / 8 / 0 / 4 (F1 = 0.7273) under CoT to 18 / 0 / 8 / 2 (F1 = 0.9474) with Caelus MCP tools (paired B = 10,000 bootstrap delta +0.2201 [+0.056, +0.404], p = 0.0116; macro mean 0.7247 to 0.9445). Across all 30 tasks, pass rate gains +60.0 pp [+45.0, +75.0 pp] (p < 0.0001; task-clustered n = 30: [+40.0, +78.3 pp]). Because each live model evaluates only n = 4 authentic scenes, the observed 0/4 = 0.0% false-positive rate carries a wide 95% Wilson interval of [0.0%, 49.0%] per model (0/8 = 0.0% [0.0%, 32.4%] pooled). For tighter empirical FPR bounds on the identical verifyObservation engine, EXP-003 tests n = 100 noisy authentic global scenes offline and measures 0/100 = 0.0% [0.0%, 3.7%].

A programmatic audit of all 30 tasks shows that 15/30 (50.0%) require physical primitives absent from a 20-line flat-ground NOAA solar formula: 13/30 require lunar ephemeris or bright-limb zenith angles (including all 8/8 chronolocation tasks, where daily solar shadows repeat across a 6-day search window without lunar phase) and 3/30 require sloped-ground 3D shadow projection (VLM-003, VLM-022, VLM-030). Packaging also matters in agent tool loops: Caelus runs in-process with zero runtime dependencies at ~1.11 ms warm authentic verification (~2.8–3.5 ms isolated all-tools median) in Node, browsers, and edge workers, avoiding the >150 MB Python runtime and 500–2,000 ms subprocess overhead of an astropy or pvlib sandbox.

The single remaining chronolocation miss (VLM-017) is a physical near-New-Moon ambiguity where two consecutive days satisfy the noisy shadow measurement; the deterministic top-1 oracle misses the same scene while top-2 hits 8/8. Because the exact same TypeScript math runs with zero dependencies in the browser, we also shipped it as Instrument I-05: Field Verifier (SHADOWPROOF), where you can drop a local JPEG photo (EXIF GPS and timestamps stay local), drag vertical pole and cast shadow handles at 60 fps, test counterfactual clock or hemisphere fixes, inspect a 12x24 solar analemma feasibility heatmap, and compute spherical global fixes offline.

3. Training a 1.43M-parameter Geo-RoPE and Google SLEEP transformer (EXP-007, 3-seed)

During a 2-second forward pass, Earth rotates by only 0.00836 degrees, so astronomical phase alone collapses on intra-turn token ordering (EXP-004). Standard token-index RoPE has the opposite flaw because it resets to m = 0 when a serialized context wakes after an overnight sleep, erasing elapsed physical time. In EXP-007, we split each 64-dimensional attention head into 32 fast token-step RoPE dimensions and 32 slow physical dimensions rotated by Caelus's geocentric torus (GAST, ASC, refracted solar altitude and trend, photoperiod-warped planetary hour, lunar longitude, Sun-Moon elongation, and solar longitude from python/astroengine/). We then paired that backbone with Google Research's SLEEP continual learning method (frozen core weights plus offline rank-16 LoRA consolidation via replay).

Across 3 independent seeds (20261122, 20261123, 20261124) on Apple M5 Pro MPS, we trained five parameter-matched causal transformers (identical 1,427,136 parameters, 4 layers, d_model = 192, 3 heads, 1,960 AdamW steps on 13,400 sequences; SHA-256 verified zero day overlap between Spring/Autumn training and held-out Oslo winter solstice, Oslo summer solstice, and NYC-to-Tokyo travel splits). Only the (T, 32) slow-clock rotation tensor differed between encoders. Across both parts, EXP-007 clears 10/12 Razor bars: Part A is PROVED (6/6), while Part B is PARTIAL / INCONCLUSIVE (4/6).

FIG LAB-07EXP-007: 3-Seed Trained Tiny-Transformer Geo-RoPE and Google SLEEP Studychart.svg ↗
Panel A compares five parameter-matched 1,427,136-parameter encoders across 3 seeds (4,840 held-out sequences per seed). Panel B compares six continual LoRA consolidation arms across 5 Wake-to-Sleep cycles.

Part A: 5-encoder RoPE ablation (3-seed mean +/- std, 1,427,136 parameters, PROVED 6/6)

Held-out task (4,840 seq/seed x 3 seeds)Std-RoPEUnix-FourierUnix+LatLonNOAA20Geo-RoPE (Caelus)
T1: Intra-turn 2s register tracking81.3 +/- 3.1%84.1 +/- 6.9%77.6 +/- 1.8%79.2 +/- 4.3%82.5 +/- 12.1%
T2: Post-sleep reset (m = 0)33.4 +/- 1.1%99.8 +/- 0.3%100.0 +/- 0.0%100.0 +/- 0.0%100.0 +/- 0.0%
T3-ID: Spring/autumn control25.5 +/- 2.1%70.9 +/- 2.5%79.8 +/- 3.6%88.0 +/- 1.3%88.7 +/- 3.4%
T3-OOD: Oslo Solstices (4 slices)24.9 +/- 1.7%51.1 +/- 9.9%36.0 +/- 2.6%78.7 +/- 1.2%83.2 +/- 1.1%
T3-OOD: NYC to Tokyo travel (2 slices)26.4 +/- 1.2%8.8 +/- 0.6%89.0 +/- 1.9%91.2 +/- 1.8%93.1 +/- 0.3%
T3-OOD Composite (Solstices + Tokyo)25.4 +/- 1.4%37.0 +/- 6.7%53.7 +/- 2.3%82.9 +/- 1.4%86.5 +/- 0.6%
T4a-OOD: 30-day same-UTC20.0 +/- 1.6%100.0 +/- 0.0%100.0 +/- 0.0%100.0 +/- 0.0%100.0 +/- 0.0%
T4b-OOD: 52-week annual wrap21.0 +/- 2.4%81.2 +/- 1.5%83.1 +/- 3.9%80.0 +/- 2.4%98.4 +/- 1.3%

Eliminating the location gap with Hybrid-Unix-Fourier+LatLon (feeding exact (lat, lon) and local mean solar time UTC + lon/15) rescues Tokyo travel from 8.8% to 89.0%, yet still collapses to 36.0 +/- 2.6% on Oslo Winter and Summer solstices, trailing Hybrid-Dual-Geo-RoPE (83.2 +/- 1.1%) by +47.2 pp. The 20-line solar baseline (Hybrid-NOAA20-RoPE) closes most of the solar photoperiod gap (82.9 +/- 1.4% vs. 86.5 +/- 0.6% on T3-OOD), then aliases on T4b 52-week annual wrap (80.0 +/- 2.4% vs. 98.4 +/- 1.3%, +18.4 pp from Caelus's incommensurate 27.32d / 29.53d lunar torus).

Part B: 6-arm Google SLEEP continual replay (3-seed mean +/- std, B = 250, PARTIAL 4/6)

All five SLEEP arms freeze the 1,427,136 core weights and train matched rank-16 LoRA adapters (193,536 trainable parameters) across five sequential Wake-to-Sleep regimes (Oslo Autumn Day, Dusk, Night, Oslo Winter Shift, and Tokyo Travel). Retention is mean held-out accuracy across Cycles C1–C5 in percent (%), whereas forgetting delta measures accuracy loss in percentage points (pp): mean over c = 1..4 of max(0, pre_sleep_acc(c) - post_sleep_acc(c)) (defined as max_{t >= c} acc(t, c) - acc(5, c) clamped at zero).

Consolidation arm (B = 250 buffer)Backbone / replayFinal C1–C5 retentionForgetting deltaNocturnal gate
SLEEP-NOAA20-StratifiedNOAA20-RoPE / NOAA20 strat86.3 +/- 7.9%9.0 +/- 6.4 pp100.0%
SLEEP-Reservoir-RandomGeo-RoPE / Vitter Alg R68.4 +/- 25.0%9.6 +/- 14.3 pp70.5% (if UTC gate)
SLEEP-Caelus-Circadian-StratifiedGeo-RoPE / Caelus strat65.5 +/- 13.1%11.1 +/- 18.0 pp100.0%
SLEEP-Fixed24h-LRUUnix-Fourier / LRU41.3 +/- 2.3%62.1 +/- 8.0 pp70.5% (0% Tokyo)
Diag-SLEEP-GeoRoPE-LRU (causal control)Geo-RoPE / LRU37.3 +/- 2.4%56.6 +/- 8.1 pp100.0%
Naive-Online-FTGeo-RoPE / unfrozen FT20.0 +/- 0.0%90.4 +/- 5.3 ppn/a

Three causal findings emerged from expanding Part B to 3 seeds and 6 arms. First, Diag-SLEEP-GeoRoPE-LRU (37.3% retention, 56.6 pp forgetting) performs no better than SLEEP-Fixed24h-LRU (41.3%, 62.1 pp), confirming that the replay buffer policy drives continual retention rather than the Geo-RoPE backbone weights. Second, SLEEP-NOAA20-Stratified (86.3 +/- 7.9%, 9.0 +/- 6.4 pp forgetting) outperformed SLEEP-Caelus-Circadian-Stratified (65.5 +/- 13.1%, 11.1 +/- 18.0 pp forgetting) despite identical buffer counts because Caelus's six high-frequency lunar rotary planes (rotating up to 104 deg/day) shift phase between 10-day wake windows and 11-day-later evaluation windows, raising small-sample LoRA sleep loss (0.21–0.64 vs. 0.009–0.028 for solar-only NOAA20). Lunar planes help multi-month annual disambiguation (T4b: +18.4 pp), whereas solar-only stratification fits cyclic diurnal LoRA consolidation more cleanly. Third, on equal-volume cycles (125 episodes per cycle), SLEEP-Reservoir-Random (68.4 +/- 25.0%, 9.6 +/- 14.3 pp forgetting) matched Caelus's mean retention with nearly 2x the seed-to-seed variance (+/- 25.0 pp vs. +/- 13.1 pp) and without local-horizon nocturnal sleep-gate safety.

4. Pretrained frozen LLM transfer test (EXP-012 / KILL-007)

In EXP-012, we tested whether EXP-007's physical slow-clock generalization transfers into a frozen pretrained LLM (Qwen/Qwen2.5-0.5B-Instruct, 494,032,768 strictly frozen bfloat16 weights) via a 2-layer MLP adapter projecting 32-D physical features into 2 continuous soft tokens per event (exact 1,552,641-parameter parity across Arm2, Arm2b, and Arm3: 1,081,344 rank-8 LoRA plus 471,297 adapter parameters). We evaluated all six arms across 1,720 held-out prompts (580 ID control and 1,140 OOD across Oslo solstices, NYC-to-Tokyo travel, and OOD compaction; zero overlapping city-days verified by SHA-256).

FIG LAB-12EXP-012 (KILL-007): Frozen Qwen2.5-0.5B Slow-Clock Adapter vs. Plain-Text FACT-002chart.svg ↗
6-arm comparison across 1,720 held-out prompts on frozen Qwen/Qwen2.5-0.5B-Instruct (Apple M5 Pro MPS) with 95% Wilson CIs. Arm3 beats location-aware Arm2b by +49.8 pp on Oslo Solstices yet loses to plain-text Arm1b, triggering KILL-007.
Arm (Qwen2.5-0.5B frozen base)Trained paramsOOD Oslo (n=640)OOD Tokyo (n=320)OOD Sol+Tok (n=960)OOD All (n=1,140)Tok / MPS
Arm0-Frozen-ISO-Prompt021.1% [18.1, 24.4]20.9% [16.8, 25.7]21.0% [18.6, 23.7]22.6% [20.5, 25.3]134.8 / 8.57 ms
Arm1-Frozen-Caelus-TextPrompt043.4% [39.7, 47.3]40.3% [35.1, 45.8]42.4% [39.3, 45.6]44.8% [42.1, 47.9]247.7 / 14.69 ms
Arm1b-LoRA-TextPrompt1,081,34495.6% [93.8, 97.0]99.4% [97.8, 99.8]96.9% [95.6, 97.8]97.3% [96.3, 98.2]247.7 / 23.25 ms
Arm2-LoRA-UnixFourier-Adapter1,552,64136.4% [32.8, 40.2]1.6% [0.7, 3.6]24.8% [22.2, 27.6]29.0% [26.9, 32.2]89.8 / 8.94 ms
Arm2b-LoRA-UnixFourier+LatLon1,552,64138.1% [34.4, 42.0]79.1% [74.3, 83.2]51.8% [48.6, 54.9]53.0% [50.2, 56.0]89.8 / 9.14 ms
Arm3-LoRA-Caelus-GeoAdapter1,552,64188.0% [85.2, 90.3]94.4% [91.3, 96.4]90.1% [88.1, 91.8]88.8% [86.7, 90.4]89.8 / 9.13 ms

Continuous physical slow-clock injection does transfer through frozen 494M weights: Arm3-LoRA-Caelus-GeoAdapter reaches 90.1% on OOD Solstice+Travel, beating Arm2 (24.8%) by +65.3 pp and beating location-aware Arm2b-LoRA-UnixFourier+LatLon (51.8% composite; 38.1% Oslo Solstices) by +49.8 pp on Oslo Solstices while cutting per-event clock tokens by 95.35% (2 soft tokens vs. 43 text tokens) and accelerating Apple MPS prefill by 2.55x (9.13 ms vs. 23.25 ms per example). Even so, plain-text Arm1b-LoRA-TextPrompt reaches 96.9% on OOD Solstice+Travel, 100.0% on OOD Compaction (CE 0.000 vs. 0.708 for Arm3 at 81.1%), and 97.3% on OOD All (CE 0.153 vs. 0.575) with 471,297 fewer trainable parameters. Because Arm3 trails Arm1b by -6.8 pp on OOD Solstice+Travel and -8.5 pp on OOD All, it triggers the pre-registered -3.0 pp kill gate (KILL-007). On frozen pretrained backbones, explicit FACT-002 text headers beat continuous soft-token adapters on accuracy, calibration, and deployment simplicity; continuous adapters remain relevant only under extreme edge token budgets or native from-scratch pretraining.

5. Typed-null MCP response envelope (EXP-013, LEVELS_OF_I + FACT-002, PROVED)

When an agent receives raw JSON from an MCP tool, two boundary errors recur across multi-agent and long-horizon sessions. A level collapse happens when a query targets an architectural layer structurally incapable of answering it, such as asking an isolated Instance for personal episodic recall across an overnight reset, asking Fleet / Provider UTC timestamps whether night has fallen over the observer's sky, or treating unverified sibling worker prose as a Harness test receipt. A typed null is a structured abstention (status: "typed_null") paired with a machine-readable reason (Out of scope, Malformed, Unlogged, Policy-gated, Deferred, Opaque, or Not yet known (Unsettled)) that records why the layer cannot support the requested predicate.

In EXP-013, we built a zero-dependency, Node-free pure ESM envelope prototype (envelope.mjs, mirroring the browser and worker portability boundary of packages/caelus-mcp/src/core.ts) that wraps MCP tool payloads and real FACT-002 chronosenseEnvelope / auditChronosenseCursor receipts with a 7-level LEVELS_OF_I tag (Single step, Instance, Harness, Fleet / Provider, Weights, Character, Operator / Steward), a ground_truth_class, bounded valid_claims, adjacent typed_nulls, and a deterministic collapse_risk (none, low, or high). We evaluated 24 deterministic tasks across six families (16 collapse-trap prompts and 8 balanced Harness positive controls) across four controlled arms on local Ollama gemma4:12b and qwen3.5:9b (temperature = 0, seed = 20261122, think = false, 192 live episodes, zero API or parse errors). All 13 envelope unit tests pass, and the deterministic grader (zero LLM-as-judge) passes 24/24 oracle self-tests, catches 24/24 corrupted responses, accepts 6/6 negated safe refusals, and catches 6/6 positive collapse phrasings.

FIG LAB-13EXP-013: LEVELS_OF_I Constitution and Typed-Null MCP Envelope Ablationchart.svg ↗
192 live episodes (24 tasks x 4 arms x 2 local Ollama models at temperature = 0, seed = 20261122). Compact level-tagged MCP envelopes reach 100.0% macro composite accuracy with zero over-refusal (VUR 100.0%) and +68.5 median added prompt tokens.
Arm (macro across gemma4:12b + qwen3.5:9b)Composite (n=48)CAR traps (n=32)VUR controls (n=16)Level Exact (n=48)Behavioral-Only (n=48)Median prompt tok
Arm0-Raw-Untagged62.5%46.9%93.8%62.5%91.7%417.8
Arm1-Generic-Abstention-Null72.9%62.5%93.8%56.3%91.7%516.3
Arm2-Constitution-Only83.3%75.0%100.0%79.2%93.8%697.3
Arm3-Constitution+TypedNullEnvelope100.0%100.0%100.0%83.3%100.0%763.5

Paired bootstrap CIs, token budget, and scope notes

Under deterministic B = 10,000 paired bootstrap resampling (n = 48), Arm3-Constitution+TypedNullEnvelope (100.0%) beats the steelman generic abstention prompt Arm1-Generic-Abstention-Null (72.9%) by +27.1 pp [95% CI +14.6, +39.6 pp] (CAR traps n = 32: +37.5 pp [+21.9, +53.1 pp]) and beats the static 7-level constitution alone Arm2-Constitution-Only (83.3%) by +16.7 pp [95% CI +6.3, +27.1 pp] (CAR traps: +25.0 pp [+9.4, +40.6 pp]). Valid-Usefulness Rate (VUR, n = 16) rises from 93.8% on Arm1 to 100.0% on Arm2 and Arm3 (+6.3 pp [0.0, +18.8 pp]), showing zero over-refusal on positive controls. Measured via Ollama prompt_eval_count (Arm3 - Arm2, including the one-line header legend), the envelope adds +68.5 median tokens (+68.13 mean; +72 median on gemma4:12b, +64 median on qwen3.5:9b, range 56–77), staying inside the pre-registered <= 80 token budget.

Three scope notes bound the headline composite lift. First, per-model gains are asymmetric: gemma4:12b moves from 66.7% (Arm0) and 87.5% (Arm1) to 95.8% (Arm2) and 100.0% (Arm3), so its single-model paired CIs touch zero (Arm3 - Arm1: +12.5 pp [0.0, +25.0 pp]; Arm3 - Arm2: +4.2 pp [0.0, +12.5 pp]), whereas qwen3.5:9b moves from 58.3% (Arm0 and Arm1) and 70.8% (Arm2) to 100.0% (Arm3), driving most of the macro separation (Arm3 - Arm1: +41.7 pp [+20.8, +62.5 pp]; Arm3 - Arm2: +29.2 pp [+12.5, +50.0 pp]).

Second, decomposing pure behavioral accuracy (status, self-flag, and answer content without grading target_level or null_kind enums) shows 91.7% on Arm0 and Arm1, 93.8% on Arm2, and 100.0% on Arm3. Most of the +27.1 pp macro composite gain fixes typed-null taxonomy confusion on qwen3.5:9b, while the behavioral gain eliminates the three real-world collapses that survived both generic abstention and the static constitution: gemma4:12b on T09 (treating unverified worker-qa sibling prose as proof that 536 unit tests passed), qwen3.5:9b on T01 (inferring local daytime from us-east-1 plus 18:40 UTC with no observer coordinates), and qwen3.5:9b on T11 (accepting unverified worker-build sibling prose as a confirmed integration pass).

Third, the benchmark prevents keyword-based refusal shortcuts by sharing identical tool-level envelopes across traps and controls that invoke the same tool: 9/16 trap tasks carry risk=low (or none) instead of risk=high, and all 8/8 positive controls still carry null: fields for adjacent unassertable predicates. Larger multi-turn distraction suites with conflicting tool receipts remain the next validation step before modifying the production MCP envelope schema.

Reproduce every number locally

Every experiment receipt, raw live transcript, PyTorch training log, and graveyard postmortem lives in lab/ inside the public MIT repository. All 12 experiments verify offline with zero network calls and zero paid API keys:

# Re-verify all 12 lab experiments offline and validate schemas + hygiene
node lab/scripts/lab.mjs run all
node lab/scripts/lab.mjs check

# Re-run live EXP-005 / EXP-006 / EXP-013 against local Ollama
node lab/experiments/EXP-005-chronosense-codec-eval/experiment.mjs --live --provider=ollama --models=gemma4:12b,qwen3.5:9b
node lab/experiments/EXP-006-live-vlm-observation-eval/experiment.mjs --live --provider=ollama --models=gemma4:12b,qwen3.5:9b
node lab/experiments/EXP-013-typed-null-envelope/experiment.mjs --live

# Re-train 3-seed EXP-007 (5 encoders + 6 SLEEP arms) or EXP-012 (6 frozen-LLM arms) on Apple Silicon / CUDA
uv run --python 3.12 --with torch --with numpy python lab/experiments/EXP-007-geo-rope-sleep-transformer/train.py
uv run --python 3.12 --with torch --with transformers --with numpy python lab/experiments/EXP-012-pretrained-georope-adapter/train.py

Test the physical engine yourself

Open Field Verifier →