You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feature: mocactl bundles list to enumerate caller's live config bundles #559
mocactl bundles today exposes only delete DIGEST, keyed by a digest the caller must already hold. There is no way to ask "what bundles do I currently own?"
That gap turns any crash between mocactl promote returning and whatever persists the digest client-side into an unrecoverable orphan. The bundle counts against the caller's budget until TTL, and the caller has no way to find it to mocactl bundles delete it.
Repro
# promote persists the bundle on the server *before* returning the digest to the client
mocactl promote /path/to/bundle --json
# → {"digest":"sha256:335201…","uploaded":true, ...}
#
# If the parent process dies between that response and whatever
# would have written the digest down (a note file, a ledger row,
# MOCA.md), the digest is lost but the bundle lives on the server.
Verified with a probe against the live cluster: promoted a bundle, "forgot" the digest, had to drop to redis-cli KEYS 'config:bundle:*' on the control plane to recover it before mocactl bundles delete could clean up. Cluster-admin surface — defeats the purpose
Add mocactl bundles list [--json] that calls the control plane scoped to the authenticated caller and prints digest, size, promoted-at, and whatever state the server tracks
Activity
feat(mocactl): list your own config bundles (bundles list)