Skip to content

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

Closed
cloudlabworks wants to merge 1 commit into
mainfrom
csa/logging-integrity
Closed

cloudlabworks wants to merge 1 commit into
mainfrom
csa/logging-integrity

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.

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.

…ence stats

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.

Drafted with an AI assistant; for maintainer review before merge.
@cloudlabworks

Copy link
Copy Markdown
Owner Author

Superseded by #16. The main ruleset requires verified signatures on every commit in a pull request; #16 has the same tree, committed through the web UI so GitHub signs it.

cloudlabworks added a commit that referenced this pull request Nov 2, 2026
…ence stats (#16)

- run: privacy event before DepthAI loads; camera_health returns private and the last privacy event.
- run --model-sha256: refuse to start on a mismatch; archive SHA-256 in every camera up event.
- run --confidence-stats: per-zone detection-confidence statistics in alive events.
- mcp --access-log: one JSON line per tool call, never values, results or image content.
- 26 new tests, fuzz checks, alerting example, README and CHANGELOG.

Same tree as #15 (db14649), committed through the web UI so every commit is signed.
@cloudlabworks
cloudlabworks deleted the csa/logging-integrity 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