chore: doc update - #80
Draft
maxy-shpfy wants to merge 1 commit into
Draft
Conversation
This was referenced Sep 4, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Introduces the Conversations & Participants model to the documentation, replacing the hardcoded "one human, one Prime" session model with a general multi-party architecture backed by a durable SQLite store.
What changed?
A new
docs/overview/11-conversations-and-participants.mdpage defines the two core concepts: a Conversation (a transcript plus its membership) and a Participant (a session-scoped identity of kindhuman,agent, orautomation). Existing overview pages for Sessions, Session Chat, Sub-agent Orchestration, Artifacts, Triggers, and Agent Memory are updated to reference this model — replacing language like "one agent, one thread" with the multi-party framing, introducing@mentionresolution, reaction predicates, and the resource catalog.Two new server architecture docs are added:
docs/server/conversations.md— covers theConversationRouteras the single entry point for all messages, theFanOutEngineand its reaction predicates (always,fromHumans,mentionsMe,atRunEnd,never), cross-conversation relay rendering as reports, transcript visibility projection, and theResourceCatalog.docs/server/connectors.md— covers theConnectorRegistryas the total resolver from participant to transport, the four connector kinds (pi-stdio,remote-env,external-inbound,a2a), connector facets replacing the oldhostlabel, theRunabstraction, and A2A point-to-point vs shared-room participation.Existing server docs are updated throughout:
index.mdreplaces the orchestrator-centric framing with the conversation-layer framing, updates the component map and dependency-injection wiring to reflectSqliteSessionStore,ConnectorRegistry,ConversationRouter,RunRegistry,ParticipantService, and the four gateways, and expands the glossary and topology model.agent-communication.mdreplacesPiAgentManager-as-hub withConnectorRegistry-as-hub and notes that internal routes now resolve through the registry and post through the router.human-prime-subagents.mdreframes the choreography as membership configuration over the conversation layer rather than hardcoded routing rules.orchestrator.mdscopesPiAgentManagerto the local Pi connector only.sessions-and-storage.mdreplaces the in-memory store description with the SQLite schema, documents theconversations,participants,memberships,runs,resources,resource_references, andresource_grantstables, and notes that transcripts are append-only JSONL that survive restarts.triggers.mdupdates firing delivery to go throughConversationRouterwith an automation participant as author.ui-server-protocol.mddocuments per-Conversation Socket.IO rooms, new REST endpoints for participants, memberships, and resources,conversation:subscribe,participant:presence,resources:updated, andseq-ordered message delivery.egress-and-security.mdcorrects the durability note to reflect that session state now persists in SQLite rather than being in-memory.How to test?
Read through the updated overview pages starting with
01-sessions.mdand11-conversations-and-participants.mdto verify the multi-party model is coherent end-to-end. Cross-check the server docs by following the request lifecycle inindex.mdthroughconversations.md→connectors.md→orchestrator.mdand confirming the component map, DI wiring, and glossary are internally consistent. Verify all internal links between documents resolve to existing files.Why make this change?
The previous documentation described a fixed "one human talks to Prime, Prime talks to sub-agents" topology backed by an in-memory store. The architecture has moved to a general participant and conversation model with durable SQLite storage, multiple connector transports (including remote-env, external-inbound, and A2A), and server-side fan-out driven by per-membership reaction predicates. The documentation needed to reflect this so that the overview and server architecture docs accurately describe what the system actually does and give contributors a correct mental model for extending it.