Skip to content

feat: read a catalog product in full and write a verification report (POLL-02a) - #131

Merged
gavinying merged 1 commit into
v2from
poll-02a-full-read
Nov 12, 2026
Merged

gavinying merged 1 commit into
v2from
poll-02a-full-read

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

POLL-02a: read a catalog product in full and write a verification report.

  • --device <manufacturer>/<model>[@commit] fetches the baseline Thing Model from the catalog, resolves a branch or tag to its commit and checks the download against its Git object id.
  • --full-read: every group read once, read-only, retries=0, --timeout at most 10 s; records Modbus exception codes and missing responses per point.
  • --report FILE (- prints): verification report schema 3, validated by modpoll-wot against the exact model bytes; no address, Unit ID, serial number or value. --confirm, --reject, --chassis, --firmware, --configuration add the user's judgment and context.
  • --export still writes the snapshot of the same read.

Verified: pytest tests -m "not integration" (210 passed, 17 new), deptry; live run against modsim 2.0.0a8 serving the ADAM-5017UH baseline: 8 of 8 points, report passes modpoll-wot validate-report --model.

Not released: no version bump in this PR.

🤖 Generated with Claude Code

…(POLL-02a)

--device fetches the baseline Thing Model of a catalog product at a commit and checks the
download against its Git object id. --full-read reads every point once without retries
and with a bounded timeout, recording per point whether the read worked, the Modbus
exception code or no response. --report writes a verification report (schema 3) that
modpoll-wot validates against the exact model bytes; it holds no address, Unit ID,
serial number or value. --confirm and --reject record the user's judgment of a value.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit 7759443 into v2 Nov 12, 2026
6 checks passed
@gavinying
gavinying deleted the poll-02a-full-read branch November 12, 2026 10:46
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