4 Commits

Author SHA1 Message Date
Dane Sabo
5acaa5553d journal: latexmkrc + lizard-glyph fix so latexmk completes cleanly
Two fixes for clean local builds:

1. journal/.latexmkrc — sets pdf_mode=1, max_repeat=5,
   silence_logfile_warnings=1, force_mode=1.  Without this, latexmk
   bails on first-pass undefined-reference errors before getting to
   the second pass that would resolve them.  Standard issue with
   pdfLaTeX in nonstopmode.

2. Replaced the literal U+1F98E lizard glyph in
   2026-04-20-evening-mega-session.tex with a textual description.
   pdfLaTeX with default inputenc can't render U+1F98E; XeLaTeX or
   LuaLaTeX could but switching toolchains is a bigger change than
   the issue warrants.  The lizard stays in markdown / Pluto where
   it works fine.

Final state: 26 pages, 744 KB, no Reference/LaTeX/Unicode errors in
the log.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:57:39 -04:00
Dane Sabo
83c5cb8500 journal: live B-style entry for tonight's mega-session + easter eggs
Records the journal scaffold + retroactive-entries + Julia migration
+ Pluto app work, with \apass{} markers for content that should be
expanded in a later A-pass.  Keeps the discipline going from the
night the journal stood up.

Easter eggs:
  - ASCII reactor + primary loop in journal/README.md (subtle, shows
    where Q_sg flows in as a disturbance).
  - Garden-lyric reference embedded in pke_params.jl docstring
    ("looks ordinary on the surface but is something else underneath")
    — same lyric as the preamble.tex comment, referencing the name
    behind Split. Hacker-Split's signature.
  - 🦎 in the Pluto notebook header + closer.

Nothing functional, nothing that clutters the substance.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:50:08 -04:00
Dane Sabo
fbbaebff9f julia migration: port MATLAB to Julia, delete MATLAB, rename julia-port -> code
Full toolchain port. Numerical equivalence verified against MATLAB:
- main_mode_sweep.jl: every mode's final state matches MATLAB to 3-4 dp
- reach_operation.jl: per-halfspace margins match MATLAB exactly
- barrier_lyapunov.jl: per-halfspace bounds match (best Qbar from sweep
  yields max|dT_c| = 33.228 K either side)
- barrier_compare_OL_CL.jl: OL gamma 1.038e13, CL gamma 1.848e4
  matching the MATLAB result; LQR helps by ~20,000x on every halfspace.

Phase summary:
  Phase 1: pke_solver.jl, plot_pke_results.jl (Plots.jl), main_mode_sweep.jl
  Phase 2: reach_linear.jl, reach_operation.jl, barrier_lyapunov.jl,
           barrier_compare_OL_CL.jl, load_predicates.jl
  Phase 3 (this commit): delete plant-model/ entirely, delete reach
           code from reachability/ keeping predicates.json + docs,
           git mv julia-port/ -> code/, update root README + CLAUDE,
           write code/CLAUDE.md and code/README.md, update reach
           README + WALKTHROUGH file paths, journal preamble note
           that pre-port entries reference MATLAB paths.

Why now: prompt-neutron stiffness in nonlinear reach made it clear we
need TMJets, which is Julia. Already had the Julia plant model
working and matching MATLAB. Two languages = two sources of truth =
two places to drift. One language, one truth.

Manifest.toml gitignored. .mat results gitignored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:44:59 -04:00
Dane Sabo
fa45e96fd1 journal: scaffold + 2 retroactive invention-log entries
journal/ directory, LaTeX-based, dated entries, callout boxes for
derivations / decisions / dead ends / limitations, plus an \apass{}
macro for in-line markers when a later deep-pass is needed.

Retroactive A-style entries for 2026-04-17 (controllers, linearization,
LQR, operation-mode linear reach, Lyapunov barrier) and 2026-04-20
(predicates restructure into deadbands+safety+invariants, OL-vs-CL
barrier analysis, mode-obligation taxonomy, heatup-rate-as-halfspace,
mode_boundaries, first Julia nonlinear reach attempt).

Both entries include derivations written out in math, dead-ends I
hit, code snippets with commentary, figure embeds, and terminal
output where it changed what we did next.  The goal is invention-log
depth — readable 4 years from now without the git history to help.

journal/README.md documents the conventions.  journal.tex aggregates
all entries into one PDF via latexmk.

Kept claude_memory/ separate as per earlier agreement — those are
short AI-context notes, different audience.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:37:59 -04:00