Skip to content

feat(acquisition): a resumed session comes back on what it was running - #208

Merged
pskeshu merged 1 commit into
developmentfrom
feat/what-to-run-restored
Sep 26, 2026
Merged

pskeshu merged 1 commit into
developmentfrom
feat/what-to-run-restored

Conversation

@pskeshu

@pskeshu pskeshu commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

when resume a session, the what to run ui/ux is in default view - not the ones i had selected for that session that i have resumed.

#203 put the plan's fields back; the pane still came back on Single volume / All subjects whatever the session had been doing.

The plan kept with the session (acquisition.yaml) now records what to run:

  • the set — scope: all | selected plus the embryo ids, sent by the pane with both kinds of start (adaptive and saved tactic);
  • the mode — adaptive, or library with the saved tactic's id (the run-tactic route stamps library_id on the instantiated tactic; the executor keeps it).

On entry the pane puts both back: the selected embryos are re-selected (shared selection included, so the other panes follow), Selected (n) is lit, the mode's panel is open, and for a library run the saved tactic is picked. Unknown embryo ids are dropped. As with the plan fields, this happens once per page life and never over something the operator has already touched.

Verified headless: a plan with scope: selected for embryos 2 and 3 and mode: adaptive brings the pane up with Selected (2) lit and the adaptive panel open. Eight tests in tests/test_what_to_run_restored.py.

🤖 Generated with Claude Code

"when resume a session, the what to run ui/ux is in default view - not
the ones i had selected for that session that i have resumed."

#203 put the plan's fields back; the pane still came back on Single
volume / All subjects whatever the session had been doing. The plan
kept with the session now records "what to run" — the set (all subjects
or the selected embryos, sent by the pane with both kinds of start) and
the mode (adaptive, or which saved tactic it was) — and the pane puts
both back on entry: the selected embryos re-selected and Selected (n)
lit, the mode's panel open, the saved tactic picked.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pskeshu
pskeshu merged commit 646c157 into development Sep 26, 2026
2 checks passed
@pskeshu
pskeshu deleted the feat/what-to-run-restored branch September 26, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant