diff --git a/AGENTS_mirko.md b/AGENTS_mirko.md index ccf34012..36ad2608 100644 --- a/AGENTS_mirko.md +++ b/AGENTS_mirko.md @@ -14,8 +14,22 @@ repos, write it up (a short report or plan) instead of implementing/committing i Fixes that land in `csaxs_bec` itself (beamline plugin code, widgets, device configs, scans) are mine to implement, commit, and push directly. +## Where notes go + +Never write plans, TODOs or notes to Claude's local memory / local plan files (they are +machine-local and invisible on other machines). Put them in this file, or in a markdown file in +the repo when I ask for one. + ## TODO +- 2026-09-21: port "always define `tomo_alignment_fit`" from Flomni to OMNY. Flomni is done + (commit `5b688df`): `reset_tomo_alignment_fit()` writes zeros instead of deleting the global + var, and `ensure_tomo_alignment_fit()` (called from `Flomni.__init__`) creates the zero fit + only if missing, so manual tweaks like `fit[0][2] += 5.0` work. OMNY + (`omny/omny_alignment_mixin.py`) still deletes the var and never defines it at startup; nothing + in `omny/` calls the reset yet, so decide where OMNY should reset it. LamNI does not use it. + Details and steps: `csaxs_bec/bec_ipython_client/plugins/omny/AI_docs/TODO_tomo_alignment_fit_always_defined.md`. + - 2026-09-20: `flomni_fermat_scan` hung on `pre_scan_all_devices()` after positions were already sent to the rt controller (scans 11998, 12000 in `/var/log/bec/ScanServer.log` / `DeviceServer.log`). Positions/PID-correction step (`prepare_setup_part_2()`) completed