Skip to content

feat(app): human-readable rollpack-<timestamp> pack names#11

Merged
StuMason merged 2 commits into
mainfrom
feat/rollpack-names
Jul 1, 2026
Merged

feat(app): human-readable rollpack-<timestamp> pack names#11
StuMason merged 2 commits into
mainfrom
feat/rollpack-names

Conversation

@StuMason

@StuMason StuMason commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Names packs rollpack-YYYY-MM-DD-HH-MM-SS at creation (local wall-clock via chrono) instead of the opaque rec-<epoch_ms>.

The epoch was never load-bearing — traced it: only a unique id + lexical(=chronological) sort key, and it was shown raw in the UI. Nothing parsed it back to a date.

  • lib.rs name gen uses chrono::Local + a -2/-3 same-second collision guard
  • list_packs gate accepts rollpack- and legacy rec- (existing packs still list)
  • sort unchanged (b.id.cmp(&a.id) — ISO order is lexical order)
  • gitignore the untracked local scripts/roll-push.sh sandbox-sync watcher

Compiles clean under RUSTFLAGS="-D warnings".

StuMason added 2 commits July 1, 2026 09:20
Name packs rollpack-YYYY-MM-DD-HH-MM-SS at creation (local wall-clock via
chrono) instead of the opaque rec-<epoch_ms>. The epoch was never load-bearing
— only a unique id + lexical(=chronological) sort key, shown raw in the UI.
list_packs still accepts legacy rec-* dirs; sort is unchanged. gitignore the
local roll-push.sh sandbox-sync watcher (untracked tooling).
@StuMason
StuMason merged commit e7381a6 into main Jul 1, 2026
3 checks passed
@StuMason
StuMason deleted the feat/rollpack-names branch July 1, 2026 08: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

Development

Successfully merging this pull request may close these issues.

1 participant