Repository navigation
firmware: add CV1 contributor checks that need no jig - #24353
Git-on-my-level wants to merge 2 commits into
Conversation
Add host checks, key-free application compilation, offline artifact preflight, startup and telemetry replay, the OTA design docs and the owner OTA research code. None of it flashes, signs, publishes or changes device trust, and no firmware source changes: audio_packet_logic.c is a tested seam that is not linked until transport.c switches to it separately. Document that an opened board has no antenna contact, since the mainboard relies on pogo pad PP1 and the BOM has no antenna part. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Label imported receipts and captures operator_supplied, since the tools only check that their bytes are unchanged. Remove the customer-derived telemetry fixture and its replay tool, whose consent and source can't be checked. State the covers-off radio reading as one observation, not an expected value. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Replaced by #24354. The first commit here contained a telemetry fixture whose consent can't be verified, and this repo merges with merge commits, so it needs a clean branch. |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
<!-- claude-projects-attribution: {"github_login":"Git-on-my-level"} -->
_Requested by **David**_
## What changed and why
Adds checks a CV1 contributor can run without a jig: host tests,
key-free application compilation, offline artifact preflight, and
startup replay. Also adds the OTA design docs. The owner-OTA research
code goes in a separate held change. No firmware behavior changes:
`audio_packet_logic.c` is a tested seam that is not linked until
`transport.c` switches to it in a separate change.
Also documents a bench trap: the mainboard has no antenna part, so an
opened board barely radiates and weak advertising from it is not a
firmware fault.
## Product invariants affected
- INV-CAP-1
Not changed in practice: the new `lib/core` seam is not linked into the
firmware by this PR, so the capture path is unchanged. The change that
links it needs its own BLE audio evidence.
## How it was verified
All on head `f322521`, from a clean clone on the bench Mac, with no
device access:
- `python3 omi/firmware/tools/cv1/contributor.py quick-host --output
<new-file>` passes.
- `python3 -m unittest discover -p 'test_*.py'` in
`omi/firmware/tools/cv1`: 191 tests pass.
- `source_review` tests: 14 pass with the pinned NCS 2.9.0 source, and
skip cleanly without it.
- `contributor.py compile-only` against pinned NCS 2.9.0:
`application_compile_only` passes.
Not verified: none of this exercises hardware, BLE or a real OTA. No
release claim is made.
Replaces #24353, whose first commit contained a telemetry fixture of
unverifiable consent. Every Cubic finding is dispositioned in the PR
comments. Findings on the research code move with it to its own held
change.
## Tests
The PR is mostly tests. `omi/tests/host/audio_packet_logic_test.c`
covers the new seam.
## UI evidence
UI-Evidence: none -- firmware tooling and docs only
🤖 Generated with [Claude Code](https://claude.com/claude-code)
What changed and why
Adds checks a CV1 contributor can run without a jig: host tests, key-free application compilation, offline artifact preflight, and startup replay. Also adds the OTA design docs and the owner-OTA research code, so this work lives in the monorepo. No firmware behavior changes:
audio_packet_logic.cis a tested seam that is not linked untiltransport.cswitches to it in a separate change.Also documents a bench trap: the mainboard has no antenna part, so an opened board barely radiates and weak advertising from it is not a firmware fault.
Product invariants affected
Not changed in practice: the new
lib/coreseam is not linked into the firmware by this PR, so the capture path is unchanged. The change that links it needs its own BLE audio evidence.How it was verified
python3 omi/firmware/tools/cv1/contributor.py quick-host --output <new-file>passes on this branch's base, on an M5 Mac.python3 -m unittest discover -p 'test_*.py'inomi/firmware/tools/cv1: 161 tests pass.source_reviewtests: 11 pass with the pinned NCS 2.9.0 source on the bench Mac, and skip cleanly without it. That run predates only the skip guard.Not verified: none of this exercises hardware, Zephyr or a real OTA, and the compile-only path was not re-run for this PR. No release claim is made.
An independent code review ran on the first push and found three issues, all fixed here: imported receipts were labelled as actual observations, a telemetry fixture labelled sanitized still held a phone model, and the README stated one radio observation as an expectation. The fixture and its replay tool are removed because their consent and source can't be checked. The first commit on this branch still contains that fixture, so this PR must be squash-merged.
Tests
The PR is mostly tests.
omi/tests/host/audio_packet_logic_test.ccovers the new seam.UI evidence
UI-Evidence: none -- firmware tooling and docs only
🤖 Generated with Claude Code