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
fix(procs): merge legacy logs into an existing procs/logs directory
The one-shot `~/.sase/tasks` -> `~/.sase/procs` migration only relocated the
legacy logs directory when `procs/logs` did not exist yet. A home that had
already written canonical proc logs kept its legacy files at the old path even
though every migrated row's `log_path` was rewritten to point under
`procs/logs`, so those logs read as missing.
`_relocate_legacy_logs` now merges entry by entry when the destination already
exists, letting an already-canonical log win a name collision so a live
writer's open file is never overwritten. The legacy directory is symlinked to
the canonical one only once it is empty; when collisions remain, the migration
warns and leaves the real directory reachable instead of hiding the leftovers
behind a symlink to their canonical namesakes.
This fixes future migrations only. The migration marker is one-shot, so homes
already migrated by the shipped version still need a repair pass, which is
recorded as a follow-up on sase-lh.8.
Also finishes the terminology sweep from the proc rename: ACE handlers,
actions, modals, artifact widgets, the session registry and display helpers,
the quit-confirm and procs-pane stylesheet comments, and the affected tests now
say "proc" rather than "background task" in docstrings, comments, and rendered
text.
SASE_BEAD=[sase-lh.8][1]
SASE_TYPE=stitch
SASE_AGENT=[bbugyi200.athena.sase-lh.land][2]
[1]: https://github.com/sase-org/sase--beads/blob/main/pages/sase-lh/sase-lh.8.md
[2]: https://github.com/sase-org/sase--agents/blob/main/families/bbugyi200.athena.sase-lh.land.md
0 commit comments