Add cross-session flags to the Conversation contract #6

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

Add allowCrossRead (outbound, default true) and crossPrivate (inbound, default false) to the Conversation contract with TS mirror and golden sample regeneration.

Why/Evidence/Impact/Refs: see commit message. Task: Agent-System-Dev feature/cross-session-reading. Proposal: Agent-System-Documents PR #21.

Add allowCrossRead (outbound, default true) and crossPrivate (inbound, default false) to the Conversation contract with TS mirror and golden sample regeneration. Why/Evidence/Impact/Refs: see commit message. Task: Agent-System-Dev feature/cross-session-reading. Proposal: Agent-System-Documents PR #21.
weichen added 1 commit 2026-09-30 15:00:44 +00:00
Why: cross-session transcript reading needs per-conversation outbound
(allowCrossRead, default true) and inbound (crossPrivate, default false)
flags alongside the project-level gate; see the approved proposal.

Evidence: go test ./... passes with golden conversation.json regenerated
to exercise both wire fields.

Impact: additive contract fields (omitempty), wire-compatible for
existing clients that ignore unknown fields.

Refs: Agent-System-Documents proposals/2026-09-30-cross-session-reading.md
(Dev task feature/cross-session-reading).
weichen merged commit fd441794b1 into main 2026-09-30 15:00:45 +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-Core#6