Skip to content

feat(supplier): Phase 2 — federation handshake (rivet supplier pull) + FederationProvenance #288

@avrabe

Description

@avrabe

Context

Phase 1 MVP shipped in #286: `external-anchor` artifact type, 3-state coverage, `rivet supplier list` + `rivet supplier check` commands. The MVP describes the boundary; nothing crosses it yet.

Phase 2 scope

Per `docs/design/cross-org-supplier-traceability.md` §6 Phase 2:

  1. `derives-from-external` link type with structured (mapping) target.
  2. `cited-source` backends for `kind: reqif` (read-only, sha verification at fetch).
  3. `rivet supplier pull ` for `kind: file | reqif`, storing under `.rivet/supplier-cache//`.
  4. `FederationProvenance` block on imported artifacts (source_org, source_tool, source_id, anchor, fetched_at, source_hash, mapping_recipe).

Out of scope (Phase 3)

  • Field-mapping recipes (`schemas/supplier-mappings/`).
  • `rivet supplier publish` for rivet-to-rivet manifest emission.
  • OSLC / Polarion / GitHub-issues backends.
  • Variant-aware anchors.
  • `rivet supplier promote`.

Refs: design doc §6 Phase 2, original issue #253.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions