PRD 1.13 r2: della-0011 F1 (owner on its own thread and a granted collaborator create or clear a session) and N1 (REQ-SESS-1 title) (Vikunja 463)

This commit is contained in:
jason.woltje committed 2026-10-21 17:38:03 -05:00
1 parent 52f36e921e
commit 5f73b388c4
2 files changed
+6 -5

No files matched your search

+5 -4
View File
@@ -1121,10 +1121,11 @@ design `docs/plans/2026-10-21_t1-sessions.md`, 2c843d190 on `huey/t1-sessions-de
user's thread it can't read, but no names, messages or summaries. user's thread it can't read, but no names, messages or summaries.
(Design D4 and D6, tests T3 and T5. Q176 TARGET.md:104.) (Design D4 and D6, tests T3 and T5. Q176 TARGET.md:104.)
- **REQ-SESS-2.** Clear context ends one session and starts a fresh - **REQ-SESS-2.** Clear context ends one session and starts a fresh
successor for the same assistant. Only the thread's owning user, while successor for the same assistant. Two humans can create or clear a
their write grant covers the thread, creates or clears a session. A session: the organization's owner on its own thread, subject to the
viewer, a share, the organization's owner on another user's thread and instance's policy, and a collaborator who owns the thread, while a
an agent can't. Clear waits until the session stops at a turn boundary write grant still covers it. The organization's owner on another
user's thread, a viewer, a share recipient and an agent can't. Clear waits until the session stops at a turn boundary
with no child running, and shows that it is clearing until then. It with no child running, and shows that it is clearing until then. It
never force-stops a busy session. The old session's messages, results never force-stops a busy session. The old session's messages, results
and run evidence stay as they are. Its workspace stays at its path with and run evidence stay as they are. Its workspace stays at its path with
+1 -1
View File
@@ -74,7 +74,7 @@
{ "id": "REQ-USER-4", "title": "A thread is private to its user unless shared read-only; a share never widens a grant and ends on revoke" }, { "id": "REQ-USER-4", "title": "A thread is private to its user unless shared read-only; a share never widens a grant and ends on revoke" },
{ "id": "REQ-LIFE-1", "title": "The user creates, launches, terminates, regenerates and deletes agents from the CLI and the Console" }, { "id": "REQ-LIFE-1", "title": "The user creates, launches, terminates, regenerates and deletes agents from the CLI and the Console" },
{ "id": "REQ-KILL-1", "title": "One human command or Console button stops all work, runs, Discord and launches on an instance until a human clears it" }, { "id": "REQ-KILL-1", "title": "One human command or Console button stops all work, runs, Discord and launches on an instance until a human clears it" },
{ "id": "REQ-SESS-1", "title": "Each session shows its lifetime count of completed compactions on pi and Claude Code; unknown is shown, never zero" }, { "id": "REQ-SESS-1", "title": "Each session shows its lifetime count of completed compactions on pi and Claude Code; an unproven count shows unknown" },
{ "id": "REQ-SESS-2", "title": "Clear context retires a session after a safe stop and starts a fresh successor with none of the old context" }, { "id": "REQ-SESS-2", "title": "Clear context retires a session after a safe stop and starts a fresh successor with none of the old context" },
{ "id": "REQ-SESS-3", "title": "Every session start passes the launch checks: authority, route, revocation, kill switch, limits and admission" }, { "id": "REQ-SESS-3", "title": "Every session start passes the launch checks: authority, route, revocation, kill switch, limits and admission" },
{ "id": "REQ-LIB-1", "title": "A library maps the user's writing repository onto universes, books, types and playgrounds; only the human changes it" }, { "id": "REQ-LIB-1", "title": "A library maps the user's writing repository onto universes, books, types and playgrounds; only the human changes it" },