Skip to content

feat!: remove --audit and pin modpoll-wot 0.3.0a3 for 2.0.0a5 (WOT-03) - #124

Merged
gavinying merged 1 commit into
v2from
wot-03-remove-audit
Nov 10, 2026
Merged

gavinying merged 1 commit into
v2from
wot-03-remove-audit

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

ModioHub work package WOT-03, step 3 of 5. Follows top-maker/open-modbus-catalog#9 and top-maker/modpoll-wot#3 (released as 0.3.0a3).

Why

--audit sampled at most 16 properties listed in a modpoll:audit plan, which existed so a public subset of a restricted model could be checked. Thing Models are now fully open, and a full read executes the whole modpoll:acquisition plan. modpoll-wot 0.3.0a3 removed the plan, so --audit could no longer run on any model.

Breaking change

  • Remove --audit, modpoll/audit.py, the audit-only retries = 0 overrides for TCP and serial clients, and tests/test_audit.py.
  • Pin modpoll-wot==0.3.0a3, and bump the version to 2.0.0a5.
  • A TM that still declares modpoll:audit fails to load as an unsupported root project extension.
  • vocab/wot-modbus: keep the published #audit anchor and mark the term removed.
  • docs/preview-notes.md: 2.0.0a5 notes.

The read-only, no-retry, bounded-timeout and per-point result behaviour returns as a tool option when verification report generation is built (ModioHub POLL-02).

Verification

  • make check passed.
  • pytest -q with all extras: 114 passed, 49 skipped. The 3 audit tests were removed.
  • With modsim 2.0.0a5 serving the catalog ADAM-6024 baseline TM, modpoll --once reads 31 of 31 points.
  • --audit is rejected as an unrecognized argument, and the pre-Changed the default behavior for arg_parser #9 ADAM-6024 TM with an audit plan is rejected with unsupported root project extension.

Release steps after merge

Confirm CI on the merge commit, then push tag v2.0.0a5.

🤖 Generated with Claude Code

Thing Models are fully open and a full read executes the whole
modpoll:acquisition plan, so the bounded audit sample is redundant.
Remove --audit, its module, retry overrides and tests, mark the vocab
term as removed, and adopt modpoll-wot 0.3.0a3, which drops the plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit eb3e171 into v2 Nov 10, 2026
6 checks passed
@gavinying
gavinying deleted the wot-03-remove-audit branch November 10, 2026 14:12
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