Skip to content

friction: embedded aspice schema is self-inconsistent — coverage rule demands unreachable satisfiers (facets 1 & 2 of #648) #652

Description

@avrabe

Split from #648, which is being closed by #650 — but #650 only fixes facet 3 (the rivet check bidirectional vs. non-authorable-inverse contradiction). Facets 1 & 2 remain and are a distinct defect in the embedded aspice schema itself, not in any consumer project:

Facet 1 — rivet warns against its own embedded schema

A clean rivet validate on an aspice-schema project emits two coverage-rule-consistency warnings: coverage rule swe1-has-verification lists unit-verification and sw-integration-verification as verifies satisfiers for sw-req, but those types' verifies link-fields only target sw-detail-design / sw-arch-component — the satisfiers are unreachable. The consumer cannot fix this; the rule and the link-fields ship together inside the binary.

Facet 2 — lifecycle coverage then demands exactly those unreachable satisfiers

Setting a sw-req to status: implemented yields ... missing: unit-verification, sw-integration-verification. Per facet 1, no authorable link can ever satisfy this, so any implemented sw-req carries a permanent, unfixable coverage gap.

Why this is real

Both facets originate in the embedded aspice schema (common@… + aspice@…), so no downstream project can remediate them. Together they mean the aspice schema can never reach a clean traceability state — a coverage gate on it is permanently yellow.

Likely fix direction

Reconcile the embedded aspice schema so the swe1-has-verification coverage rule's satisfier types (unit-verification, sw-integration-verification) actually declare a verifies link-field that targets sw-req — i.e. make the declared satisfiers reachable. Then facet 2 resolves for free (the demanded types become authorable satisfiers).

Acceptance

  • rivet validate on an aspice project emits zero coverage-rule-consistency warnings against the embedded schema.
  • An implemented sw-req with a real unit/integration verification linked reaches lifecycle-coverage-complete (no permanent unfixable gap).
  • A regression test over the embedded aspice schema asserts coverage-rule satisfier reachability.

Original report: #648. Facet 3 fix: #650.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions