internal/workspace/capture.go defines Manifest.HistoryIncluded bool but the function never copies history.db from ~/.cue (the file created in internal/history/db.go), nor does it flip the HistoryIncluded flag. As a result the workspace manifest always reports history_included: false and backups never contain tagged history.
Can we add a step that copies history.db into the temp backup directory (and maybe zips it) while setting HistoryIncluded = true in the manifest so cue workspace restore can optionally repopulate the history database?
internal/workspace/capture.godefinesManifest.HistoryIncluded boolbut the function never copieshistory.dbfrom~/.cue(the file created ininternal/history/db.go), nor does it flip theHistoryIncludedflag. As a result the workspace manifest always reportshistory_included: falseand backups never contain tagged history.Can we add a step that copies
history.dbinto the temp backup directory (and maybe zips it) while settingHistoryIncluded = truein the manifest socue workspace restorecan optionally repopulate the history database?