fix(pipeline): version detection profiles and resync camera configuration #8

Merged
arnaud.dartois merged 4 commits from audit/pipe-profile into main 2026-10-20 07:33:56 +02:00
Owner

Problem

Camera detection settings lacked a versioned execution contract, changes did not reliably reach agents, and a lost hub connection could leave camera configuration stale. JPEG size was also an unreliable motion signal. The status command fixture also started its camera as Disabled while testing a valid Online report.

Change

Add a validated v1 detection profile and additive nullable migration; carry it through camera updates and effective agent configuration; apply class, confidence, motion-zone and capture-interval settings; replace the complete camera snapshot on reload/reconnect; invalidate configuration after persistence; and keep logs free of secrets. Correct the status test fixture to start Offline so the normal Online transition is tested while the Disabled-camera refusal remains covered separately. Preserve the path-confinement fix already merged in PR #2.

Validation

  • Agent tests on the resolved branch: 363 passed, 0 failed, 0 skipped (before the isolated test-fixture edit).
  • Integrated Infrastructure suite reported by coordinator: 283/283 passed.
  • ReportCameraStatusCommandTests: 5/5 passed after the fixture correction.
  • Integrated Application run before correction: 503 passed, 1 failed on this fixture mismatch; coordinator will validate the final integrated Application suite.
  • git diff --check: passed.
## Problem Camera detection settings lacked a versioned execution contract, changes did not reliably reach agents, and a lost hub connection could leave camera configuration stale. JPEG size was also an unreliable motion signal. The status command fixture also started its camera as Disabled while testing a valid Online report. ## Change Add a validated v1 detection profile and additive nullable migration; carry it through camera updates and effective agent configuration; apply class, confidence, motion-zone and capture-interval settings; replace the complete camera snapshot on reload/reconnect; invalidate configuration after persistence; and keep logs free of secrets. Correct the status test fixture to start Offline so the normal Online transition is tested while the Disabled-camera refusal remains covered separately. Preserve the path-confinement fix already merged in PR #2. ## Validation - Agent tests on the resolved branch: 363 passed, 0 failed, 0 skipped (before the isolated test-fixture edit). - Integrated Infrastructure suite reported by coordinator: 283/283 passed. - `ReportCameraStatusCommandTests`: 5/5 passed after the fixture correction. - Integrated Application run before correction: 503 passed, 1 failed on this fixture mismatch; coordinator will validate the final integrated Application suite. - `git diff --check`: passed.
arnaud.dartois changed target branch from audit/pipe-runtime to main 2026-10-20 07:28:08 +02:00
arnaud.dartois added 2 commits 2026-10-20 07:28:08 +02:00
arnaud.dartois added 1 commit 2026-10-20 07:32:52 +02:00
arnaud.dartois merged commit 582be5627d into main 2026-10-20 07:33:56 +02:00
arnaud.dartois added the area:analysisarea:cameraarea:uipriority:P2type:bug labels 2026-11-06 13:40:05 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#8