3.6 KiB
3.6 KiB
VEX-Rekor Linkage
Module
devops
Status
VERIFIED
Description
Database migration and persistence behavior for linking VEX observations to Rekor entries, enabling transparent VEX decision traceability.
Implementation Details
- VEX Proof Integrator Metadata:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Generators/VexProofIntegrator.Helpers.csandsrc/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Generators/VexProofIntegrator.Metadata.csimplement deterministic VEX verdict status/justification mapping and proof metadata payload generation. - VEX Verdict Proof Payload:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Generators/VexVerdictProofPayload.csdefines the serialized proof-carrying payload contract for VEX verdicts. - VEX Verdict ID:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Identifiers/VexVerdictId.csprovides content-addressed VEX verdict identifiers. - VEX Delta and Merge Models:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/VexDeltaChange.cs,src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/VexDeltaStatement.cs,src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/VexDeltaSummary.cs, andsrc/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/VexMergeTrace.csmodel delta/merge evidence for VEX decision evolution. - Rekor Linkage Migration:
devops/database/migrations/V20260117__vex_rekor_linkage.sqladds Rekor linkage columns and indexes for Excititor and VexHub tables and attestor verification metadata columns. - Compose Configuration:
devops/compose/docker-compose.stella-ops.ymlprovides PostgreSQL infrastructure used for linkage verification workflows. - Excititor Postgres Store:
src/Excititor/__Libraries/StellaOps.Excititor.Persistence/Postgres/Repositories/PostgresVexObservationStore.csnow consistently persists and queries Rekor linkage fields onvex.observationswith ensured Rekor columns/indexes. - Behavioral Coverage:
src/Excititor/__Tests/StellaOps.Excititor.Persistence.Tests/PostgresVexObservationStoreTests.csincludes linkage round-trip, pending-queue, and missing-observation negative-path tests.
E2E Test Plan
- Create VEX observations and validate Rekor linkage fields can be persisted and queried.
- Query pending observations and verify unlinked records are returned in deterministic created-at order.
- Validate migration adds required Rekor columns and indexes across Excititor and VexHub tables.
- Reapply migration and verify existing Rekor linkage data is preserved.
Verification
- Verified on 2026-02-11 with
run-001. - Tier 0 source checks passed for Attestor VEX/Rekor models, DevOps migration assets, and Excititor persistence/test paths.
- Tier 1 passed after resolving a schema mismatch defect in
PostgresVexObservationStore(71/71tests across persistence and attestation suites). - Tier 2 passed with fresh Dockerized PostgreSQL interactions validating migration columns/indexes, linked and pending query paths, and idempotent reapply behavior.
- Evidence:
docs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/tier0-source-check.jsondocs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/tier1-build-check.jsondocs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/triage.jsondocs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/fix-summary.jsondocs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/retest-result.jsondocs/qa/feature-checks/runs/devops/vex-rekor-linkage/run-001/tier2-integration-check.json