The file becomes the durable whiteboard so the discussion does not split into private pads and local memory.
Co-authoring guide
Use co-authoring when several humans, reviewers, and AIs from different hosts need to shape one durable document without losing the current truth. This page answers the beginner question: how do multiple contributors work in one file without overwriting each other, leaking credentials, or leaving the accepted result ambiguous?
Example story
Maya wants one shared whiteboard instead of six disconnected chats
The topic is real, the collaborators are mixed, and the wording matters. Without explicit structure, the accepted result drifts, contributor notes disappear, hosts get out of sync, and nobody can tell which version of the document is actually current.
New work lands in the backlog first, which keeps the current accepted text separate from future ideas.
The Coordinator moves one topic into active discussion and sets the round so everyone is looking at the same unit of work.
Contributors add proposals, agreement, or questions without rewriting `RESULT`, `STATUS`, or `ROUND` out from under each other.
Before the canonical `RESULT` changes, recoverability is preserved so a bad reduction does not trap the whole team.
After synthesis, the next move is explicit: either open the next round, escalate the blockage, accept the topic, or hand off to another reviewer or AI host.
HTML storyboard
The document stays in the center while the roles orbit around it
The protocol works because every role changes only the part it truly owns. The current `RESULT` stays visible, round history stays inside the topic, and the handoff tells the next human or AI host exactly what to do.
Co-authoring is a disciplined shared-document model, not a loose "everyone edits everything" habit.
Turn flow
One round moves in visible, resumable steps
Read the board left to right. The point is not ceremony for its own sake; the point is to make collaboration safe across interruptions, host switches, model switches, and multiple contributors.
The workflow is resumable because each role leaves a visible trace and the next move is named explicitly.
Lifecycle
Topics move through a small visible state machine
The lifecycle stays intentionally small: queue the work, discuss it, escalate when it circles, and accept it only when the current result is actually good enough.
A small lifecycle is easier to read, easier to automate, and harder to fake.
Sequence view
One longer round shows how human thought enters the document safely
A human can think privately, pause, and then inject a better distinction into the shared topic. The protocol only treats that thought as authoritative once it is written into a visible contribution block with an actor tag and a handoff.
A longer sequence keeps private human thought separate from shared workflow truth
The round below follows Coordinator setup, AI contribution, visible human thought injection, checkpoint-gated synthesis, and the Coordinator's final choice to continue, escalate, or accept. The point is not to suppress human thinking; the point is to make the shared state explicit instead of magical.
sequenceDiagram
autonumber
actor Maya as Human contributor
participant Coord as Coordinator
participant Doc as Shared document
participant Codex as AI contributor
participant Arch as Archivar
participant Synth as Synthesizer
Note over Coord,Doc: One document stays authoritative for current RESULT, round history, and handoff state.
Coord->>Doc: Normalize co-authoring scaffold and protocol reference
Coord->>Doc: Seed OPEN #014 in backlog with an initial RESULT
Coord->>Doc: Move topic into CURRENT CONTENT
Coord->>Doc: Set STATUS = IN DISCUSSION and ROUND = 1
Coord->>Doc: Append HANDOFF to contributors
Codex->>Doc: Append [PROPOSE-Codex] with a first structured change
Codex->>Doc: Append HANDOFF to Maya
Maya->>Maya: Think privately, compare intent, and decide what is missing
Note over Maya,Doc: Human thought injection becomes workflow truth only when Maya writes a visible contribution block.
Maya->>Doc: Append [PROPOSE-Maya] with the missing distinction
Maya->>Doc: Append [ASK-Maya] where convergence is still unclear
Maya->>Doc: Append HANDOFF to Synthesizer
Synth->>Doc: Read current RESULT plus all round-1 contributions
Synth->>Arch: Request checkpoint before canonical RESULT write
Arch->>Arch: Create recoverable checkpoint for topic + round
Arch-->>Synth: Checkpoint ready
Synth->>Doc: Replace RESULT and preserve the open tension explicitly
Synth->>Doc: Append HANDOFF back to Coordinator
alt More substance is needed
Coord->>Doc: Increase ROUND to 2 and keep STATUS = IN DISCUSSION
Coord->>Doc: Append HANDOFF to next contributor
Codex->>Doc: Append [OK-Codex] for converged parts
Maya->>Doc: Inject one more visible [PROPOSE-Maya] refinement
else The discussion is circling
Coord->>Doc: Set STATUS = ESCALATED
Coord->>Doc: Record decision, split, or postponed resolution path
else Consensus is reached
Coord->>Doc: Set STATUS = ACCEPTED
end
Note over Doc: Because RESULT, history, and HANDOFF remain in the file, another human or AI can resume later without re-deriving the state.
Human thought injection is welcome, but it only becomes durable team knowledge once it is written as a visible block in the active topic.
Document anatomy
Separate current truth from round history
- `[CURRENT CONTENT]` is the active working surface.
- `[TOPIC]` holds `STATUS`, `ROUND`, the current `RESULT`, and the round history for one topic.
- `[TOPIC-BACKLOG]` keeps not-yet-opened topics visible without mixing them into current work.
Prompt family
A concise surface covers setup, re-entry, reasoning, and synthesis
- `/sp-co-author-start` with alias `/sp-start-co-authoring`, plus `/sp-co-author-init-session` when a fresh, compressed, or host-switched session joins an existing document.
- `/sp-co-author-add-topic` and `/sp-co-author-open-topic`
- `/sp-co-author-contribute` for generic turns, plus `/sp-co-author-analyze`, `/sp-co-author-hypothesize`, and `/sp-co-author-challenge` for explicit reasoning lanes.
- `/sp-co-author-synthesize` and `/sp-co-author-set-status`
Handoff discipline
Every turn ends with the next move already named
- The handoff belongs in the document, not only in transient chat.
- The target role, topic, file path, and one-sentence context must stay copy-paste ready.
- If the current topic stays open, the handoff points to the next role inside that same topic.
Human injection
Private thought is fine; invisible workflow state is not
- A human may think off-screen, compare drafts, or spot the missing distinction privately.
- The protocol only treats that insight as shared truth when it appears as a visible tagged contribution block.
- This keeps human judgment in the loop without forcing later contributors to guess what happened in someone else's head.
Session re-init
Joining a document or switching hosts is different from creating one
- Document setup creates the shared surface; session onboarding reorients one fresh AI, reviewer, or human session to the already-active state.
- After context compression or a host change, a new session should reread the protocol reference, active topic, round, latest handoff, and current result before acting.
- Provider credentials stay with the person or host that owns them; the document carries intent, state, and handoff instead of secrets.
- Normal re-init should be chat-first and patch-free instead of littering the document with routine “I am back” noise.
Reasoning lanes
Analyze and hypothesize without exploding the tag surface
- Scoped analysis belongs to the document or one active topic, not to abstract detached brainstorming.
- Trade-offs and risks should usually live inside one structured analysis contribution instead of spawning their own separate micro-command family.
- Hypotheses are useful when the team needs candidate explanations and explicit falsification paths before synthesis hardens them into result text.
Advocatus Diaboli
Make explicit room for disciplined contradiction
- The challenge role looks for gaps, contradictions, and lazy logic before the team mistakes agreement for quality.
- Its value is adversarial pressure, not secret veto power; the challenge still lands as a visible contribution with a handoff.
- Used well, it keeps synthesis honest without turning the whole workflow into permanent argument theater.
What to remember
Shared authorship only stays sane when roles stay explicit
- Current truth, discussion history, and backlog must be visible, but they must not be mixed.
- The checkpoint before a canonical `RESULT` write is what makes reduction safe instead of reckless.
- Resumability comes from explicit rounds, actor-tagged blocks, and one clear handoff at the end of every turn.
- Human thought injection helps only after it becomes an explicit written contribution that everyone else can read.
- Fresh sessions should re-onboard explicitly, different AI hosts can contribute with their own credentials, and the challenge role should surface weak logic before the group hardens it into accepted result text.
Next page