Skip to content

A · Temperature interface — persistence + live graph#71

Closed
pskeshu wants to merge 16 commits into
integration/ux2-allfrom
feature/temperature-interface
Closed

A · Temperature interface — persistence + live graph#71
pskeshu wants to merge 16 commits into
integration/ux2-allfrom
feature/temperature-interface

Conversation

@pskeshu

@pskeshu pskeshu commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Sub-project A (base of the temperature-experiment + Operations stack, additive on #58). Temperature persistence + sampler + SVG graph with setpoint line. Whole-branch reviewed; graph Chrome-audited. Kept-as-is pending rig verification. See docs/superpowers/PR-PLAN.md.

pskeshu added 16 commits June 27, 2026 21:29
Persistence (session-scoped temperature.jsonl + per-acquisition meta stamp)
+ live SVG graph (water trace, stepped setpoint) on a Devices-tab card.
First slice of the temp-strain experiment prep roadmap (A before B/manual mode).

Brainstormed and approved 2026-06-27.
- BurstAcquisition accepts temperature_provider (zero-arg callable);
  _persist_burst_to_disk injects temperature_stamp() into per-frame
  metadata["metadata"]["temperature"] and burst.yaml top-level "temperature"
- TimelapseOrchestrator accepts temperature_provider and threads it through
  queue_burst() and _apply_runtime_state() → BurstAcquisition
- agent.py passes lambda: temperature_sampler.latest when constructing the
  orchestrator so live sessions stamp real readings
- acquisition_tools: folds temperature_stamp into acq_metadata on every
  put_volume / register_volume call (volume path)
- FileStore.get_volume_meta() accessor added (reads tNNNN.meta.yaml)
- tests/test_temperature_stamp.py: TDD — None-guard + volume round-trip
The water trace, gridlines, and tick labels used .devices-container-map-scoped
--map-* vars, so the graph rendered blank outside that container. Promote them to
:root-level --temp-* vars (mirroring --temp-setpoint-color) so the component is
reusable when manual mode (sub-project B) re-mounts it. Same colors in-app.
@pskeshu

pskeshu commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #72 — the temperature + Operations/tactics suite and the new Operate (bottom-cam→SPIM) surface are consolidated onto feature/temperature-operations-all (now targeting development). This increment's work is included there; its feature branch was deleted. Closing to keep a single main PR.

@pskeshu pskeshu closed this Jul 1, 2026
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