Skip to content

Queue reconnect - #32

Open
kwadra wants to merge 4 commits into
jhoff:mainfrom
kwadra:queue_reconnect
Open

kwadra wants to merge 4 commits into
jhoff:mainfrom
kwadra:queue_reconnect

Conversation

@kwadra

@kwadra kwadra commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

My display would stop responding to queue messages sometimes. I added a regular publish the availability queue so I could tell it was still online. Also added a re-connect to the loop if it detects MQTT isn't available.

kinonn referenced this pull request in kinonn/Split-Flap-Display-Multi Sep 7, 2026
…33 (#30)

- #29 (P1): P0 completes only on a verified capture of the tagged index
  frame passing the deterministic P0 guards (crop count + distinct
  means); tag alone merely arms registration.
- #30 (P1): remote (scope 2..6) and display-kind persists require a
  prior photo cycle; local preview-before-persist gate unchanged.
- #31 (P2): hold is harness-owned — run() engages at start, _done()
  releases; tool_hold(true) allowed, tool_hold(false) refused.
- #32 (P2): finish(converged) requires P0, a non-empty template bank,
  classical acceptance, plus an image-sanity capture (glyph signal
  on every module) so a blind camera cannot converge by omission.
- #33 (P2): captures feed identity/bank only when claimed expected
  exactly matches the shown frame; mismatches return photo+scores
  with a warning and feed nothing.
- #34 already fixed on this branch by #29 (alloc_run_dir in both
  servers); verified, no change needed.

Tests: 8 new regression tests in app/tests/test_agent.py; 16/16
stub-harness runtime checks pass against the real Agent+Calibrator
(no numpy/cv2 in this env, so full pytest left to CI).
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