Skip to content

feat: privacy startup event, MCP access log, model hash check, confidence stats - #16

Merged
cloudlabworks merged 6 commits into
mainfrom
csa/logging-integrity-v2
Nov 2, 2026
Merged

cloudlabworks merged 6 commits into
mainfrom
csa/logging-integrity-v2

Conversation

@cloudlabworks

Copy link
Copy Markdown
Owner

Evidence for the CloudLab Works AI-CAIQ rows CCC-07.1, LOG-03.1, LOG-03.2, LOG-04.1, LOG-09.1, MDS-08.1, MDS-08.2 and MDS-10.1.

  • run: a privacy event before DepthAI loads (private, telemetry_opt_in, deviations); camera_health returns the latest one.
  • run --model-sha256 HEX: refuse to start on a mismatch, before the camera is opened; the archive SHA-256 is recorded in every camera up event.
  • run --confidence-stats: per-zone detection-confidence statistics in alive events (off by default).
  • mcp --access-log FILE: one JSON line per tool call with argument names and value sizes, result count and outcome; never values, results or image content (off by default; must be outside the events directory).
  • Tests (26 new), README, CHANGELOG, alerting example, fuzz checks.

Replaces #15: the main ruleset requires verified signatures on every commit in a pull request, so the same files were committed through the web UI (signed by GitHub). The tree is identical to #15's commit db14649.

Local checks 2026-11-02 on current main: 100 tests passed (macOS, Python 3.13), ruff clean. Not tested with a real camera.

Drafted with an AI assistant; reviewed and approved by Alex Alvord on 2026-11-02.

@cloudlabworks
cloudlabworks merged commit 48fc415 into main Nov 2, 2026
7 checks passed
@cloudlabworks
cloudlabworks deleted the csa/logging-integrity-v2 branch November 3, 2026 01:25
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