Motivation
Today the @claude integration binds a Quill document to a session that is about that document — the session transcript references the open .md, and Quill discovers it via find_session_for_markdown. For Quill to have general appeal, a user working in an ordinary Claude session (one with no associated .md file) should be able to move a piece of writing out of the conversation and into Quill, then keep collaborating on it there.
Sketch
From a normal Claude session, a slash command lifts a chosen piece of writing into Quill as an editable document, with the session linked so the in-margin @claude conversation continues.
Why it's harder than the current flow
The writing isn't already a Markdown file on disk — it lives only in the transcript. Promotion has to:
- Extract the intended span — the whole reply? a fenced block? a user-selected range?
- Materialize it as a
.md with a .comments.json sidecar.
- Establish the session binding without the usual markdown-path discovery hook (
find_session_for_markdown keys off a real file path that doesn't exist yet).
Open questions
- Which slash command / where it's invoked.
- How the span is chosen (heuristic vs. explicit selection).
- Where the new
.md lands on disk.
- The session-linking mechanism when there's no pre-existing markdown path to discover against.
Target: V2. Captured in PRD.md §7 (Backlog / known gaps).
Motivation
Today the
@claudeintegration binds a Quill document to a session that is about that document — the session transcript references the open.md, and Quill discovers it viafind_session_for_markdown. For Quill to have general appeal, a user working in an ordinary Claude session (one with no associated.mdfile) should be able to move a piece of writing out of the conversation and into Quill, then keep collaborating on it there.Sketch
From a normal Claude session, a slash command lifts a chosen piece of writing into Quill as an editable document, with the session linked so the in-margin
@claudeconversation continues.Why it's harder than the current flow
The writing isn't already a Markdown file on disk — it lives only in the transcript. Promotion has to:
.mdwith a.comments.jsonsidecar.find_session_for_markdownkeys off a real file path that doesn't exist yet).Open questions
.mdlands on disk.Target: V2. Captured in PRD.md §7 (Backlog / known gaps).