Skip to content

Add USE_CASE_COVERAGE.md with per-use-case acceptance criteria and conformance profiles #50

Open

Description

@JohnASRG

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

  1. USE_CASE_COVERAGE.md matrix — one row per use case, columns: required schema objects, optional objects, example file(s), validator checks, current gaps.
  2. Per-use-case acceptance criteria — concrete, testable conditions that move a use case from "In Progress" → "Supported".
  3. 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 in methodology/Profiles.md and add a profile hint to documents (or a per-profile JSON Schema sub-schema).
  4. Profile-aware validator — extend tools/validate.sh (or a new tool) to validate a document against a named profile.
  5. 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.md exists 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 --profile flag 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

  1. added
    enhancement
    ai-proposal
    priority/P1
    peer-review
    on Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-proposalenhancementpeer-reviewpriority/P1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions