Fixed a redundant path bug for previous session artifacts

This commit is contained in:
2026-05-21 10:58:49 -05:00
parent d8f58dce31
commit a813bd5a50
7 changed files with 48 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ Does not own:
- clears managed `previous/` state;
- hydrates required/optional previous artifacts from the configured previous sessions committed archive current state;
- writes `previous/manifest.json` and hydrated `previous/artifacts/**`;
- stores archive-relative artifact paths such as `artifacts/session_recap.md` as `previous/artifacts/session_recap.md`, not `previous/artifacts/artifacts/session_recap.md`;
- records hydrated previous inputs in `manifest.Inputs` with source `previous_session_archive.current`.
- If no canonical previous-session requirements exist, prepare does not manage `previous/`.
- `manifest.Inputs` is sorted deterministically by `(kind, path)`.