Add layered cross-session reading with gated peer tools #18

Merged
weichen merged 1 commits from feature/cross-session-reading into main 2026-09-30 15:13:46 +00:00
Owner

Layered cross-session reading: project gate crossSession.read (default off) + per-conversation allowCrossRead/crossPrivate; builtin list_conversations/read_conversation tools gated fail-closed in runmgr; migration v11; nested core pin to PR #6 head.

Why/Evidence/Impact/Refs: see commit message and proposals/2026-09-30-cross-session-reading.md. Task: Agent-System-Dev feature/cross-session-reading.

Layered cross-session reading: project gate crossSession.read (default off) + per-conversation allowCrossRead/crossPrivate; builtin list_conversations/read_conversation tools gated fail-closed in runmgr; migration v11; nested core pin to PR #6 head. Why/Evidence/Impact/Refs: see commit message and proposals/2026-09-30-cross-session-reading.md. Task: Agent-System-Dev feature/cross-session-reading.
weichen added 1 commit 2026-09-30 15:13:46 +00:00
Why: conversation transcripts were the only project channel not
readable across sessions (artifacts/knowledge are already shared),
which caused duplicate parallel work; see proposal
2026-09-30-cross-session-reading.

Evidence: runmgr/crossread_test.go covers the full gate matrix
(project gate on/off x outbound flag x private target x cross-project
x cross-tenant x self-read x archived x limit clamping) against a real
store + settings chain; store tests cover migration v11, flag
persistence and tenant isolation; tools/peers_test.go covers args
validation, transcript rendering and the untrusted-content banner;
go test ./... green.

Impact: setting crossSession.read (default off, schema-driven);
conversation columns allow_cross_read (default true) and cross_private
(default false) with PATCH support; builtin tools list_conversations
and read_conversation gated fail-closed in runmgr toolCtx; nested
agent-system-core pin bumped to fd44179 (Core PR #6).

Refs: Agent-System-Documents proposals/2026-09-30-cross-session-reading.md
(Dev task feature/cross-session-reading).
weichen merged commit cb7f79d652 into main 2026-09-30 15:13:46 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#18