docs: add note-location rule and OMNY tomo_alignment_fit TODO to AGENTS_mirko
CI for csaxs_bec / test (push) Failing after 2m55s

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
x12saandClaude Sonnet 5 committed 2026-09-21 16:22:54 +02:00
1 parent 527113340e
commit 7fe20ea3d1
1 file changed
+14
+14
View File
@@ -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