Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.

feat!: use product and chassis in verification report schema 2 (TERM-01) - #2

Merged
gavinying merged 1 commit into
mainfrom
term-01-report-v2
Nov 9, 2026
Merged

gavinying merged 1 commit into
mainfrom
term-01-report-v2

Conversation

@gavinying

Copy link
Copy Markdown
Contributor

TERM-01, modpoll-wot part: align terms with the ModioHub glossary (product → Thing Model → device). Release target: 0.3.0a2.

Under the glossary, a bare "model" means a Thing Model, so these API names stay unchanged: load_model, Model, model_fingerprint, point_fingerprints, validate_report and project_point_table.

Changes

  • Verification report schema 2 (schemas/verification-report-2.json) replaces schema 1:
    • device → product. It holds a catalog product ID, and "device" now means one concrete unit.
    • environment.carrier → environment.chassis, matching the catalog's viaChassis.
    • $defs/deviceId → productId, and reportVersion is 2.
    • The title is now "Modbus hardware verification report".
    • Schema 1 shipped in 0.3.0a1 and had no consumers, so it is removed.
  • Wording:
    • The profile describes an unmodified custom TM sharing its upstream TM's fingerprint, rather than a fork.
    • CLI output says "point mappings" instead of "register mappings".
    • An empty title fails with /title: title cannot be empty.
    • AGENTS.md says "product metadata records".
  • Release: version 0.3.0a2, with CONTRACT and README notes.

Verification

  • mise run check passes: tests, build, and an installed-wheel smoke test that includes validate-report on the schema 2 fixture.
  • New cases reject device, environment.carrier and reportVersion: 1.

🤖 Generated with Claude Code

Follow the ModioHub glossary: a report names the catalog product it
verifies, not a device, and the optional chassis rather than a carrier.
Replace unconsumed schema 1 with schema 2, describe custom TMs instead of
forks, and say point mappings and title in messages. Prepare 0.3.0a2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit d2284cb into main Nov 9, 2026
5 checks passed
@gavinying
gavinying deleted the term-01-report-v2 branch November 9, 2026 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant