Files
pipelines/app/notes/storage-settings.md
T

10 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Storage in Settings
Settings → Data management → Storage opens a native Material/Cupertino page for the connected server's usage and retention policy. It shows total logical file bytes, per-category sizes/counts/paths, a day-first local measurement time, and explicit partial-measurement warnings. Shared files are counted once by the server.
The persisted server policy supports age in days, a size target in GiB, optional eligible worktrees, and disabled-by-default hourly automatic cleanup. Age and size are independent triggers. Draft limits can be previewed without enabling or saving automation. The preview lists candidates and protection reasons; manual application requires native confirmation and the server's one-use preview token. Editing a limit invalidates the preview. Malformed/unsupported server replies show an error instead of invented zero usage.
Chat histories remain intact. Active runs/sessions and dirty, locked, main, nested, or unmerged worktrees are protected; retained data can exceed a size target. Failed/partial cleanup results remain visible. No production policy was enabled and no production cleanup was run during development.
Checks: 15 focused controller/native-widget tests, 118 Settings regressions and 143 application integration tests passed through the watchdog. Bounded analysis and production web/Android builds passed. Isolated browser captures verified usage, preview, cancel/confirm, partial results, field editing/saving in both styles and narrow 2× text. Fourteen PNGs inspected under /private/tmp/storage-{material,cupertino,narrow} and /private/tmp/storage-edit-points-{material,cupertino}; capture processes exited. No physical Android device test performed.