Skip to content

Save ROSS version in rotor files for traceability#1262

Merged
raphaeltimbo merged 3 commits intopetrobras:mainfrom
raphaeltimbo:add-version-to-saved-files
Feb 14, 2026
Merged

Save ROSS version in rotor files for traceability#1262
raphaeltimbo merged 3 commits intopetrobras:mainfrom
raphaeltimbo:add-version-to-saved-files

Conversation

@raphaeltimbo
Copy link
Collaborator

@raphaeltimbo raphaeltimbo commented Feb 14, 2026

Summary

  • Save ross_version as a top-level key in serialized files when calling Rotor.save()
  • On Rotor.load(), compare saved version against current version and emit a warning if they differ
  • Add Git workflow section to CLAUDE.md

Test plan

  • Verify Rotor.save() writes ross_version key to the file
  • Verify Rotor.load() roundtrip still produces an equal rotor
  • Verify loading a file without ross_version (old format) warns with "unknown" version
  • Verify loading a file with a different version emits a warning

Include ross_version as a top-level key in saved .toml files so that
version mismatches can be detected on load. When the saved version
differs from the running version, a warning is emitted to alert the
user about potential incompatibilities.

Also add Git workflow section to CLAUDE.md documenting the fork/upstream
PR workflow.
@raphaeltimbo raphaeltimbo merged commit b5483dd into petrobras:main Feb 14, 2026
9 checks passed
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