Skip to content

chore(rivet): close the V's right side + migrate to rivet 0.17 (canonical statuses + aspice)#357

Merged
avrabe merged 2 commits into
mainfrom
chore/v0.3.5-close-the-v
Jun 23, 2026
Merged

chore(rivet): close the V's right side + migrate to rivet 0.17 (canonical statuses + aspice)#357
avrabe merged 2 commits into
mainfrom
chore/v0.3.5-close-the-v

Conversation

@avrabe

@avrabe avrabe commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Outcome of a release-readiness check that surfaced the verification-mapping gap (pulseengine.eu#88) and a rivet-upgrade migration.

What this does

  1. Closes the V's right side on the shipped witness backend — adds // rivet: verifies REQ_WITNESS_COV markers to all 6 witness tests (kiln-runtime ×2, kilnd ×4); rivet coverage --tests maps them. Advances REQ_WITNESS_COV proposed→implemented (v0.3.4 shipped Phases 1+2). First right-side-of-V closure in the project.
  2. Migrates to rivet 0.17's canonical status lifecycle — 0.17 locked the status enum (REQ-162), turning kiln's off-vocabulary statuses into 57 validate errors. Remapped via bulk rivet modify --where: planned→proposed (27), partial→implemented (21), delegated→proposed (8), removed→deprecated (1).
  3. Adopts the aspice schema — V-model verification types (unit-verification, verification-execution, …) so verification is representable.

Verification

  • rivet validate: 0 errors on rivet 0.17.0 (was 0 on 0.15.0; 57 on 0.17.0 pre-migration)
  • rivet coverage --tests: all 6 witness markers map to REQ_WITNESS_COV
  • witness tests still pass (markers are comments)

Friction filed (dogfooding)

  • rivet#559 — (a) verification is mappable (coverage --tests) but isn't wired into rivet coverage or the release gate, so verified status is unreachable; (b) import-results doesn't link to requirements; (c) 0.17 upgrade breaks a clean gate via the status-enum tightening (no migration path surfaced); (d) unknown-field doc says INFO but behaves as… (status enum) ERROR.
  • pulseengine.eu#88 — methodology field report; sharpened with the schema-config root cause.

Not solved here

A passing verifies marker still doesn't advance a requirement to verified or count in rivet coverage (rivet#559 item 2). So the release gate's right side is now mapped but not yet gating — that's a rivet fix, tracked.

🤖 Generated with Claude Code

avrabe added 2 commits June 23, 2026 06:16
…ies markers + status (#340)

Maps the 6 shipped witness-backend tests to REQ_WITNESS_COV via
`// rivet: verifies` source markers (rivet coverage --tests), and advances
REQ_WITNESS_COV proposed -> implemented to reflect v0.3.4 shipping Phases 1+2.
This is the first right-side-of-V closure in the project (per pulseengine.eu#88):
- kiln-runtime/tests/witness_snapshot_test.rs (2 markers)
- kilnd/src/witness_harness.rs (4 markers)

Verified: `rivet coverage --tests` maps all 6 markers to REQ_WITNESS_COV;
witness tests still pass (marker is a comment).

Verifies: REQ_WITNESS_COV
…t aspice schema

rivet 0.17.0 locked the status enum (REQ-162) to draft/proposed/approved/
implemented/verified/released/accepted/deprecated/rejected, turning kiln's
off-vocabulary statuses into 57 validate errors. Migrated to canonical values
(bulk `rivet modify --where`):
- planned    -> proposed     (27)  planned-for-release = proposed
- partial    -> implemented  (21)  partial work exists; verification now tracked
                                   via `// rivet: verifies` markers
- delegated  -> proposed      (8)  owned/pending elsewhere
- removed    -> deprecated     (1)

Also adds the `aspice` schema (V-model verification types: unit-verification,
verification-execution, …) so the right side of the V is representable.

rivet validate: 0 errors (was 0 on 0.15.0; 57 on 0.17.0 pre-migration).
Witness `verifies` markers still map (coverage --tests). See pulseengine.eu#88,
rivet#559.
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

🔍 Build Diagnostics Report

Summary

Metric Base Branch This PR Change
Errors 0 0 0
Warnings 5 5 0

🎯 Impact Analysis

Issues in Files You Modified

  • 0 new errors introduced by your changes
  • 0 new warnings introduced by your changes
  • 0 total errors in modified files
  • 0 total warnings in modified files
  • 0 files you modified

Cascading Issues (Your Changes Breaking Other Files)

  • 0 new errors in unchanged files
  • 0 new warnings in unchanged files
  • 0 unchanged files now affected

Note: "Cascading issues" are errors in files you didn't modify, caused by your changes (e.g., breaking API changes, dependency issues).

✅ No Issues Detected

Perfect! Your changes don't introduce any new errors or warnings, and don't break any existing code.


📊 Full diagnostic data available in workflow artifacts

🔧 To reproduce locally:

# Install cargo-kiln
cargo install --path cargo-kiln

# Analyze your changes
cargo-kiln build --output json --filter-severity error
cargo-kiln check --output json --filter-severity warning

@avrabe avrabe merged commit 4bfc94a into main Jun 23, 2026
18 checks passed
@avrabe avrabe deleted the chore/v0.3.5-close-the-v branch June 23, 2026 05: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