feat(workspace): add registry-global archivedSessionIds set

The workspace domain global singleton gains archivedSessionIds (schema
default [], version unchanged): a display-layer archive set layered over
workspace accounting. archiveSession() rides the registry operation
chain, validates the session against live/persisted headers, and is
idempotent; archived sessions keep their sessionIds slot so a future
unarchive restores position.
This commit is contained in:
imccyu
2026-07-31 02:39:26 +08:00
committed by imccyu
parent 6acdb6631d
commit b00cd0cd8c
6 changed files with 145 additions and 14 deletions

View File

@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write packages/workspace/workspace/README.md
README.md: bee3e4fcb5dded273f30942ee2e42ee93b839e62
README.zh.md: 9a052f796fb7cc8756999bdc9b2ce905805730ab
README.md: 2d69074d42c28ba5e340cef19c8007bcba94e755
README.zh.md: f95246a0c970aede1944868489d122d7f309d8e7