📝 AI tools to monitor py 'orthogonal_probe' with the 'model_inspector' -- Sysplex_Checkpoint_20261011_1851.mdv4.5.1 · 2026-10-02

Sysplex Checkpoint — 2026-10-11 18:51 AEDT (Clone orchestrating; AI tools chapter)

Supersedes Sysplex_Checkpoint_20261010_1332.md. Paste/upload at the start of the next conversation.

Andrew = retired sysadmin, owner of drugs-and-users.org (SMF). Prefers to be called the operator; his input is a query/prompt, Claude's output a reply. Reply header: casual mode (Claude: [October 11, 2026, 06:51:00 PM], time from code execution every reply); he toggles with the words "casual" / "precise" (precise = Claude: [Sunday 11/10/2026--18:51:00:000 AEDT]). Markdown only. Few questions, more statements; keep simple things simple; critique before building ("arse-saver"). Don't mimic his tone. Delivery rules: bump @version/@date, version-history entry, print version at start, dotted versioned zip (never reused), xmllint on XML, list unrequested changes BEFORE making them, release card (including "tested on real torch" for AI tools); SMF package zips use his legacy zipper (Claude has none). Never rename his scripts. His grep is aliased --color=always: use grep --color=never when piping. Never overwrite an earlier checkpoint/transcript: number it.

1. The three boxes

Box Short host / address Role Notes
Live forum / forum.drugs-and-users.org, 128.199.200.202 production, 64-bit CentOS 6.10 tz +08; NO mirror scripts run here; use $RUN for glibc Python
Clone clone / 192.168.233.140 64-bit CentOS 6.10, orchestrator /bin is the master of all three; glibc 2.17 at /opt/glibc-2.17; i7-3520M, 2 cores/4 threads, 6 GB RAM, 2 GB swap; Python 3.8.18, torch 1.10.0a0, transformers 4.37.2
Dev dev / 192.168.233.129 32-bit CentOS 6 no torch/transformers possible; tz +11; Python 3.8 built Oct 5 without --enable-optimizations, OpenSSL 1.1.1w

Each box: only /var/www/html (db smf209) used. Environment snapshot (box_snapshot/box_compare): Live and Clone match; Dev "good enough" (his words). No more PyMuPDF work (it works).

2. Done (carried over)

3. Open items (carried over; parked while the AI chapter ran — "forget the script")

  1. Credentials: copy Live's dbbacksmf, dbbacksm2, SQLhousekeeping into Clone's /bin; grep --color=never -ln -E -e '-u ?root -p' /bin/* for other scripts with the password on the command line; decide on rotation (treat as exposed if /bin is mirrored off-box); dbbacksm2 needs 1.0.4 (banner says 1.0.2).
  2. Old json_push_media_Clone_to_Live still in Clone /bin; remove after grep -rn 'json_push_media' /bin /root /etc shows no callers.
  3. Version bumps owed: json_push_visual_Clone_to_Live (1.0.4), json_push_audio_Clone_to_Live @edits entry.
  4. Optional diff-script changes (ssh -q, tee, ls --time-style, hostname guard, wider glob).
  5. 23 Live-only scripts: pull to Clone or declare Live-only.
  6. Dev-only rsync_cpp_to_live / rsync_perl_to_live (may carry --delete); old mirror1.sh*, MIRRORo.sh on Dev.
  7. Dev-newer files worth a diff.
  8. AudioProcessor rewrites the store on a no-op run (false drift) — his decision.
  9. Replace the two named excludes in mirrorISE_Clone with --exclude 'AudioProcessor*' (recommended).
  10. processor_checkpoint.json absent on Clone (expected unless source says otherwise).
  11. Collaborative <description> stale; re-zip with his legacy zipper; test 6.0 hooks on Clone's smf21.
  12. Dry-run mirror1_Clone with -n once.
  13. set -e in MIRROR_* stops on any non-zero step; consider || echo "step rc=$?".
  14. Minor cosmetic fixes in mirror1_Dev, mirrorISE_Clone, json_push_audio_Clone_to_Live, mirrorISE_Dev_to_Live.
  15. Dev: innodb_log_file_size; optional ImageMagick/evasive/reqtimeout; idle cups/samba/nfs/rpcbind.

4. This chapter: AI tools on Clone (Qwen2.5-0.5B)

4.1 Delivered (all Python 3.8 / torch 1.10 compatible)

Tool Version Zip Purpose
orthogonal_probe.py 1.1.0 orthogonal_probe_v1.1.0.zip Tests six ways of pushing a "memory" into a model: none, text, logit, steer, attn, keyscale; evidence rules (beats text, fluent, dose-response, decoy, >=10 pairs)
model_inspector.py 1.1.0 model_inspector_v1.1.0.zip Read-only X-ray: identity, parameter census, attention anatomy, weights + per-tensor sha256, trace (logit lens, per-layer contributions, per-head attention, sink separated), --mode runs any probe push, --ablate, --verify-files, --compare a.json b.json
bundle — model__inspector_and_orthogonal_probe_v1.1.0.zip Andrew's merged copy (folder name has a stray space: model_ inspector_...); contents byte-identical to the two zips
qwen_chat.py 1.0.0 -> 1.0.1 qwen_chat_v1.0.1.zip Terminal chat with Qwen/Qwen2.5-0.5B-Instruct; 1.0.1 adds a status line every 10 s (--beat N, 0 = off) with phase, tokens/s, memory used/free, swap used, load. Needs pip3.8 install jinja2 (done on Clone). Chat works; first words can take a long time (looks frozen, isn't)
qwen_repeat.py 1.0.0 qwen_repeat_v1.0.0.zip Repeatability tester (numerical noise by thread count, greedy repeats, sampled repeats with seeds, context-size effect, fingerprints). No jinja2 needed

All unit-tested without torch in the sandbox; "tested on real torch" is missing on every release card except as listed in 4.2.

4.2 What Clone has actually shown

4.3 Technical facts learned (keep for the next build)

4.4 The two-LLM "watcher" design — saved, NOT built, ABORTED 2026-10-11 12:20 (hardware)

Andrew's decision after the memory problems: "I don't have the hardware resources I need ... ABORT". The design, in case hardware changes (a few hours on a rented machine was mentioned once; not to be raised again):

4.5 Pending / not built

qwen_chat v1.1.0 (growing qwen_chat.log, qwen_shared_memory.md with /remember /forget /memory, keyword recall from the log); LLM2 watcher; /web search; /persona steering; model_inspector v1.1.1 (memory-lean hashing, only if still needed); README for qwen_chat.

5. Andrew's stated next steps (his words)

"hold that thought" on all further coding; he is deciding what he can do with the hardware he has. Earlier: run the self-tests on Clone and send the outputs, "see what I have now".

6. Technical notes (carried over)