docs: propose a stable session export contract - #68
Conversation
7a48e91 to
098ecf2
Compare
|
Related:
These are process and review dependencies, not code dependencies: the CI fix should land independently, then this RFC can be updated to the current PR template and rechecked. No session-export implementation is implied by either issue. |
|
We are indeed planning to build our own harness. However, regarding the capability to export sessions, we may need to give more long-term consideration to the extent and compatibility. @wibus-wee what do you think? |
|
Thanks, I agree with this concern. I think this proposal is useful now as a non-normative design RFC, but we should avoid turning the illustrative API into a stable v1 contract before the native Harness and Session ownership model are settled. We can define the durable goals and boundaries now:
The concrete event schema, cursor/watermark semantics, ordering under concurrent local-first writes, and delivery mechanism should remain open for now. Once the Harness boundary is clearer, we can publish and implement a versioned v1 export contract with an explicit compatibility promise. I would also suggest making it explicit in the RFC that the API examples are illustrative and that no backward-compatibility guarantee exists before v1. |
|
We have adjusted our PR strategy and will allow this PR to bypass our PR policy. Thank you, and sorry to bother you. :) |
|
Respect all your decisions, please do not spend extra efforts on our side, just want to contribute and make Nowledge Mem community tight together with Lody Team. Loved Lody ❤. |
Author type
Problem / pressure
Lody is becoming a workspace for conversations that are created and continued
from several clients and machines. External tools need a supported way to
consume the Lody-owned, user-visible session without scraping provider files or
mistaking an ACP runtime trace for the host conversation. The current CLI and
MCP history surfaces are useful for bounded reads, but do not yet define stable
event identity, incremental checkpoints, or delivery recovery semantics.
Summary
This proposal documents a provider-neutral session export contract and a
possible follow-up local delivery layer. It is intentionally design-first so
maintainers can confirm the API and package boundary before implementation.
It is non-normative: the example schema is illustrative, and there is no
backward-compatibility promise before a versioned v1 contract is published.
Related discussion: Lody issue #112.
Before / after
Test plan
git diff --checkpassed.pnpm exec prettier: command not found); this is recorded rather than presented as a passing check.Agent handoff
Instructions for reviewing agents
docs/proposals/session-export-integrations.mdfor alignment with Lody's existing SessionMeta, SessionHistoryInput, workspace access, and local-first storage boundaries.Authoring context
Sharing consent (author side)
N/A/ redacted