Repository navigation
feat(session): retain stopped-session logs until explicit prune - #133
Merged
Merged
Conversation
ElbertePlinio
force-pushed
the
feat/111-session-log-retention
branch
from
September 9, 2026 12:40
a05bd9f to
84808ea
Compare
Keep desktop, browser, and Android logs in the session directory after teardown, remove runtime data, and leave failed-start diagnostics in place. Add pickforge-lab session prune so retained logs are deleted only on request.
ElbertePlinio
force-pushed
the
feat/111-session-log-retention
branch
from
September 9, 2026 12:52
84808ea to
1fca455
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stopped-session logs stay under the session directory for desktop, browser, and Android. Teardown removes runtime sockets, locks, permits, profiles, and temp data once processes are confirmed gone. A failed start keeps its diagnostics and error record.
Logs are never pruned automatically.
pickforge-lab session prune --older-than 7dor--all-stoppeddeletes eligible retained logs. Prune skips registry-backed sessions, teardown locks, unknown data, symlinks, and legacy directories withoutstopped.json.Validation on this branch:
bun install --frozen-lockfile,bun run typecheck,bun run lint,bun run test(1526 passed, 4 skipped),bun run build,complexity-gate check --changed.Closes #111