Skip to content

chore(release): v0.6.0 — schema migrate + cited-source#240

Merged
avrabe merged 1 commit intomainfrom
chore/release-0.6.0
Apr 29, 2026
Merged

chore(release): v0.6.0 — schema migrate + cited-source#240
avrabe merged 1 commit intomainfrom
chore/release-0.6.0

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented Apr 29, 2026

Summary

Bumps workspace, vscode-rivet, and npm root packages to 0.6.0. Platform packages stay on the release-npm.yml override path.

Bundles two already-merged marquee feature PRs as a release:

What ships

rivet schema migrate <target-preset> (#238)

Git-rebase-style preset/version migration. Phase 1 ships:

  • Diff engine (~1k SLOC) classifying changes as mechanical / decidable-with-policy / conflict
  • rivet schema migrate <target> with --apply, --abort, --status, --finish
  • .rivet/migrations/<ts>-<src>-to-<tgt>/ storage with plan.yaml, manifest.yaml, state, snapshot/
  • Canned recipe schemas/migrations/dev-to-aspice.yaml
  • 8 unit tests + 5 integration tests (apply / abort byte-symmetry / roundtrip)
  • rivet docs schema-migrate topic

Deferred to Phase 2: conflict markers in YAML, --continue / --skip / --edit, dashboard surface.

cited-source typed field + sha256 stamp (#239)

First-class schema affordance for artifacts citing external sources.

  • Field shape: { uri, kind: file|url|github|oslc|reqif|polarion, sha256, last-checked }
  • URI scheme allowlist enforced at validation time (exfiltration / SSRF mitigation)
  • kind: file backend: re-reads cited file, recomputes sha256, emits cited-source-drift diagnostic on mismatch
  • --strict-cited-sources flag promotes drift warnings to errors
  • New rivet check sources [--update [--apply]] subcommand
  • dev preset's requirement opts in first; other presets adopt incrementally

Deferred to Phase 2: remote backends (url, github, oslc, reqif, polarion).
Deferred to Phase 3: optional LLM-judge layer (opt-in Severity::Info only, never gates CI).

Test plan

  • CI green
  • rivet schema migrate aspice (plan + apply on a fresh dev project) returns PASS
  • rivet validate on a cited-source: { kind: file, ... } fixture catches drift after the underlying file changes
  • rivet check sources --update --apply restores PASS state
  • After merge: tag v0.6.0 and create the GitHub Release

🤖 Generated with Claude Code

Two marquee features landing together — both surfaced during the
post-0.5.0 fresh-user dogfood (#236, #237):

- rivet schema migrate (#238) — git-rebase-style preset migration
  with diff engine, plan/apply/abort/status/finish state machine,
  full snapshot rollback, and one canned dev-to-aspice recipe.
- cited-source typed field + sha256 stamp (#239) — first-class
  schema affordance for artifacts citing external sources, with
  the kind: file backend, cited-source-drift diagnostic, and a
  new rivet check sources --update workflow.

Workspace, vscode-rivet, and npm root package versions bumped to
0.6.0. Platform packages stay on the release-npm.yml override path.

Trace: skip
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: e567eab Previous: 8d8554c Ratio
store_insert/10000 16924476 ns/iter (± 1804529) 12638622 ns/iter (± 1399758) 1.34
link_graph_build/10000 44870141 ns/iter (± 3929563) 28431689 ns/iter (± 1353121) 1.58
validate/10000 16731610 ns/iter (± 1683191) 12073090 ns/iter (± 497967) 1.39
diff/10000 10525419 ns/iter (± 1038462) 8066975 ns/iter (± 334991) 1.30

This comment was automatically generated by workflow using github-action-benchmark.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit 189f020 into main Apr 29, 2026
24 of 39 checks passed
@avrabe avrabe deleted the chore/release-0.6.0 branch April 29, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant