[Feature] Persist the Prime Agent app and build version in session journals #1865
sankks11
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Session journals identify their schema (
version: 3) but do not identify the Prime Agent application build that wrote each record. This makes historical incident attribution unreliable after an update or daemon recovery.In an audit of 25 top-level journals:
prime-agent.update_restartrecords did not contain the old version, new version, or build identifier.update_completerecords contained only the destination version.As a result, I could prove when a failure occurred but not whether that interval ran a particular Prime Agent release. The header's existing
versionfield is a session schema version and must not be interpreted as the application version.Proposed behavior
Persist optional provenance fields without changing the meaning of the existing schema field:
appVersionon new session headersfromVersion,toVersion, and build identifier on update/restart recordsOlder journals and clients can ignore these optional fields. No private host, repository, or credential data is needed.
Why this matters
Reliable version provenance would make regression bounds, recovery analysis, and support reports materially more accurate. It would also prevent accidental claims that a historical failure occurred on the currently installed version.
Adjacent session-format context: #1409.
All reactions