Skip to content

feat: set up rivet SDLC artifact traceability#44

Merged
avrabe merged 1 commit intomainfrom
feat/rivet-setup
Mar 17, 2026
Merged

feat: set up rivet SDLC artifact traceability#44
avrabe merged 1 commit intomainfrom
feat/rivet-setup

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 17, 2026

Summary

  • Adds rivet.yaml project configuration with common, stpa, aspice, dev schemas
  • Converts REQUIREMENTS.md into 22 rivet artifacts (BR, FR, NFR, TR) with ASPICE V-model types
  • Adds 6 architecture component artifacts (ARCH-001 through ARCH-006) with requirement traceability
  • Adds 6 verification artifacts (VER-001 through VER-006) linking proofs/tests to requirements
  • Wires existing STPA safety analysis (losses.yaml, hazards.yaml) via stpa-yaml adapter
  • Configures commit traceability (Implements/Fixes/Verifies trailers)
  • Cross-repo externals for kiln and meld

53 total artifacts, rivet validate passes with 24 warnings (expected for initial setup — missing STPA steps 2-4, NFRs lacking verification backlinks).

Type Count IDs
stakeholder-req 4 BR-001 to BR-004
system-req 13 FR-001 to FR-008, NFR-001 to NFR-005
sw-req 5 TR-001 to TR-005
system-arch-component 6 ARCH-001 to ARCH-006
sys-verification 6 VER-001 to VER-006
loss 6 L-1 to L-6
hazard 10 H-1 to H-10

Test plan

  • rivet validate passes (PASS, 24 warnings)
  • rivet stats shows 53 artifacts
  • CI passes (no Rust changes)

🤖 Generated with Claude Code

Add rivet.yaml configuration and initial artifact suite for synth:

- rivet.yaml: project config with common/stpa/aspice/dev schemas,
  sources for artifacts/ (generic-yaml) and safety/stpa/ (stpa-yaml),
  commit trailer tracing, and externals for kiln/meld
- stakeholder-requirements.yaml: 4 business requirements (BR-001..004)
- system-requirements.yaml: 8 functional requirements (FR-001..008)
- nonfunctional-requirements.yaml: 5 NFRs (NFR-001..005)
- technical-requirements.yaml: 5 SW requirements (TR-001..005)
- architecture.yaml: 6 system arch components (ARCH-001..006)
- verification.yaml: 6 verification measures (VER-001..006)

Full ASPICE traceability chain: stakeholder-req -> system-req ->
sw-req -> system-arch-component, with sys-verification linking back.
Existing STPA losses/hazards from safety/stpa/ are picked up
automatically. Validates clean (PASS, 24 warnings for expected gaps).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit e4f9cf4 into main Mar 17, 2026
10 checks passed
@avrabe avrabe deleted the feat/rivet-setup branch March 17, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant