Menu ▾ ▴

#47 feat(cli): add runtime cache inspection and cleanup

closed
nobody
None
2026-09-20
2026-09-12
Anonymous
No

Originally created by: thomijasir

Summary

Adds safe inspection and cleanup for the encrypted runtime cache requested in [#22]. Cache listing never exposes secret names or values. Cleanup defaults to entries older than 14 days, supports dry runs and complete cleanup, and rechecks candidates under a lock before an atomic rewrite. Documentation covers usage, storage, security, and corrupt-file recovery.

Compatibility

No cache migration is required. Existing encrypted cache documents remain compatible. The new commands use the current confirmation flag; a future global non-interactive flag can replace that wiring without changing cache behavior.

Verification

  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-targets --all-features -- --test-threads=1
  • bun run docs:build
  • Docker backend verification, including both test configurations, the release build, command help paths, and packaged server smoke tests

Checklist

  • [x] I kept this pull request focused on one problem.
  • [x] I added or updated tests for behavior changes, or explained why tests are not needed.
  • [x] I updated the documentation and CHANGELOG.md when public behavior changed, or explained why they are not needed.
  • [x] I updated relevan documentation inside /docs

Closes [#22]

Related

Tickets: #22

Discussion

  • Anonymous

    Anonymous - 2026-09-12

    Ticket changed by: dopbase

    • status: open --> closed
     

Log in to post a comment.