Repository navigation
Description
Motivation
methodology/UseCases.md lists V1.0 use cases (UC_001 product/item definition sharing, UC_002 threat exposure sharing, UC_003 impact/damage sharing, UC_004 test-plan authoring, UC_005 test-report correlation, UC_006 MDR/log ingestion, UC_007 detection engineering, UC_008 behavioral analytics, UC_009 whole-vehicle TARA integration), but all primary V1.0 use cases are marked "In Progress". The JSON schema can prove a document is syntactically valid; it cannot prove a use case is supported end-to-end. Different consumers (suppliers exporting TARA, OEMs importing TARAs, test teams, MDR teams) also need different minimum datasets, but RDX has no conformance profile mechanism today.
Proposed change
USE_CASE_COVERAGE.mdmatrix — one row per use case, columns: required schema objects, optional objects, example file(s), validator checks, current gaps.- Per-use-case acceptance criteria — concrete, testable conditions that move a use case from "In Progress" → "Supported".
- Conformance profiles — define named profiles (
tara-core,supplier-exchange,oem-aggregator,testing-exchange,mdr-consumer,whole-vehicle-integration) and pin which RDX objects/fields each profile requires/forbids. Document profiles inmethodology/Profiles.mdand add aprofilehint to documents (or a per-profile JSON Schema sub-schema). - Profile-aware validator — extend
tools/validate.sh(or a new tool) to validate a document against a named profile. - One minimal + one realistic example per use case in
examples/.
References
methodology/UseCases.md(V1.0 status table)REQUIREMENTS.md(RDX-009 Profiles for producers/consumers)- AI peer review, section 1 ("Use cases are documented, but not yet turned into acceptance criteria")
Acceptance criteria
-
USE_CASE_COVERAGE.mdexists at repo root and is referenced from README.md - Each UC_001–UC_009 has measurable acceptance criteria
- At least 4 named conformance profiles are defined with required/forbidden field lists
-
tools/validate.sh(or a--profileflag on a new tool) validates an example against a profile - One minimal + one realistic example per V1.0 use case exists under
examples/ - CI fails when a profile-tagged example violates its profile
Surfaced by external AI peer review; see thread on PR #42 / chat transcript for full review text.
Activity