Docs
The Docs section brings Markdown Docs, Diagrams, and Artifacts together in one Library. Use Docs for PRDs and research notes, Diagrams for visual thinking, and Artifacts for prototypes and other solution deliverables.
Library overview
Opening Docs shows the Library overview instead of jumping into a page. Use the view switcher in the header to move between three views:
- Overview (the default): how many docs the workspace has of each type (ADR, QA report, Design, Note, and No type), and the eight most recently updated docs. Click a type count to see that type's docs.
- By type: every doc grouped by type, with No type last. Each row shows the title and the day it was last updated; click one to open it.
- Recent: the 50 most recently updated docs, newest first.
These views list docs only; artifacts stay in the Library in the agent sidebar. New doc in the header creates a page (members who can only read a workspace see the views without it). A workspace with no pages yet shows Create your first page. On a phone the rows stack, with the title on its own line and the type and date beneath, so nothing is squeezed or cut off.
Setting a doc's type
Open a doc, expand Properties, and choose a Type: ADR, QA report, Design or Note, or No type to clear it. The type is saved with the doc, and the doc moves to its new group in By type straight away. A type is optional, and a doc with no type is just as valid. Your workspace's existing docs have no type until someone sets one. Agents set it with the kind option of write_doc and find docs by type with list_docs; see MCP API.
The Library in the sidebar
The Library mixes root items alphabetically, keeping child pages beneath their parents. Search Find in library across titles, or use All, Docs, Diagrams, and Artifacts to narrow the list. Matching nested items keep their parent context visible. Search, filters, and New stay above a single scrolling list, including on mobile.
Use New to create a doc, create a diagram, import a .canvas file, or add an artifact.
The Library lives in the agent sidebar, not in a sidebar of its own. Click the Show library button (the library icon) beside the page title in any Docs page, diagram, or artifact to open the agent sidebar on its Library view; click it again to close the sidebar. You can also switch to Library from the sidebar's own view switcher at any time, from any screen. Opening an item loads it in the main area and leaves the sidebar where it is, and the sidebar keeps your agent conversation running while you browse. Its width, and whether it is open, are remembered in this browser. On narrow screens the sidebar opens as an overlay.


These Library illustrations use synthetic content in an isolated component harness. They show the shared navigation component; full workspace behavior is covered separately by functional tests.

πΈ Screenshot: run
pnpm docs:screenshotswith aDOCS_SESSION_FILEto capture this image.
Page Hierarchy
Documents are organised as a tree. Each page can have child pages nested beneath it. The Library (in the agent sidebar) shows your full tree. Click any page title to open it, or click the + icon next to a parent page to create a child page.
Drag a page from the Library onto a diagram to add a live Compass card.
Artifacts
Deployed HTML Artifacts require ARTIFACT_BLOB_READ_WRITE_TOKEN for a private Vercel Blob store. Configure separate stores and credentials for production and preview. Uploads, reads, and cleanup use this credential explicitly; Compass never falls back to the general BLOB_READ_WRITE_TOKEN, which can serve public images. Missing configuration blocks HTML storage operations with βPrivate artifact storage is not configured.β An incorrectly configured public store is rejected by Vercel. Local database-backed development uses filesystem storage.
When upgrading an existing installation, point this credential at the private store that already contains its Artifact revisions, or migrate those files before switching stores. Revisions retain storage paths, so changing the credential alone does not move existing files.
Artifacts have stable identities and appear alongside Docs and Diagrams in the Library. They are not nested into the Page hierarchy. An Artifact can be linked to multiple Solutions, and a Solution can link to multiple Artifacts.
Artifacts can also be attached to Experiments: the Artifact page has a Linked experiments section where you can choose an experiment to link or unlink, and the experiment shows the same relationship under Linked artifacts (see Experiments). Archived Artifacts cannot be newly linked to an experiment, but existing links stay visible and removable.
Artifacts can also be linked to ordinary Decisions. Open a Decision and use Artifact to link under Linked to to choose an active Artifact in the same workspace. The row opens its current preview and shows its current revision and archived status. The Artifact detail page lists reciprocal Linked decisions, where a workspace member can remove a link. Existing archived links stay visible and removable, but archived Artifacts cannot be newly linked.
These relationships are live supporting material, not frozen approval evidence. Replacing an Artifact revision changes the current preview without reopening a Decision or changing its original subject, captured Sources, history, or recorded outcome. Links remain across Decision revisions. They are available on pending and decided ordinary Decisions, not legacy execution-authorization reviews. Only workspace members can edit the links; organization-admin-only Decision readers do not gain Artifact editing access.
Choose one source when creating an Artifact:
-
Upload HTML β one self-contained
.htmlfile up to 2 MB. CSS, images, fonts, and JavaScript must be embedded in the file. -
External link β an
httporhttpsURL. Compass stores the link but never fetches or proxies the external page. -
Google Drive link β an external link to a Google Doc, Sheet, Slides deck, Form, Drive file, or Drive folder is recognised automatically and labelled (for example "Google Doc"). Compass still stores only the URL, never the file's contents. The Artifact page shows a read-only preview in Google's own viewer, running as you: you see the file only if your Google account has access, and otherwise Google shows its sign-in or request-access page. Some browsers block third-party cookies in frames and show a sign-in page even when you have access, so an Open in Google link is always shown. Google Forms are not previewed in place (a Form's viewer is submittable). Drive links are not screenshotted, because the capture browser cannot sign in to Google.
-
v0 chat β a v0 chat link (
https://v0.app/chat/<id>, or the longer team link copied from the address bar). Compass reads the chat from v0 using your own v0 connection (connect v0 first under Settings β My agents) and records it as revision 1; the title is optional and defaults to the chat name. On the Artifact page, Refresh from v0 re-reads the chat and adds a new revision only when v0 has a new version, otherwise it reports that the Artifact is already up to date. Agents can do the same withcreate_artifact(sourceType: "V0_CHAT") andrefresh_artifact_from_v0.When v0 has a running preview of the chat, the Artifact page shows it live above the link card. The preview is served through Compass from a separate preview host (
V0_PREVIEW_HOST, attached to the same deployment) so the generated app never shares an origin with Compass, and it is readable only with the short-lived, encrypted ticket embedded in that page's frame address (V0_PREVIEW_TICKET_KEY, up to one hour). If either setting is missing, or your v0 connection cannot fetch a preview, the page falls back to the link card. An expired preview shows βThis preview has expiredβ β reload the page for a fresh one. Navigation that the previewed app does with client-side routing (without a page load) can lose the ticket; reload to return to the start.
Uploaded HTML runs in an opaque-origin preview with the exact allow-scripts sandbox permission. Its injected policy denies fetch/XHR/WebSocket connections, forms, embedded frames, workers, objects, parent-page access, popups, downloads, and top navigation. Before any uploaded byte runs, a non-privileged trusted bootstrap establishes an authenticated readiness and navigation signal with Compass. The iframe stays hidden until readiness is verified; navigation signals or a missing handshake replace the frame with a warning, including parse-time redirects and zero-delay meta refreshes. The bootstrap token grants no parent capability and its script removes itself before uploaded code runs. Files are stored privately. External links are clearly labeled and open in a new tab.
Replacing an Artifact creates an immutable revision and advances the current preview without changing the Artifact ID or breaking its Solution links. The detail screen shows revision history and lets workspace members edit metadata, link or unlink Solutions, replace the current revision, or archive the Artifact. Archived Artifacts disappear from the default navigator while their history and links remain preserved.
Artifact comments
Open Comments on an Artifact to discuss the whole prototype or external reference. Comments support Markdown, one-level replies, editing, deletion, and resolving/reopening threads. Human and agent authors are identified. Comments stay with the Artifact across revisions; they are not pinned to coordinates or a particular revision, and never constitute approval or authorization. Existing discussions remain available on archived Artifacts.
On a wide screen, choose Pin panel to keep the discussion beside the preview. Drag the divider or use its arrow keys to resize it. Artifact Comments remembers its own pin preference and width independently of Page Comments, Version History, and object detail panels. Narrow viewportsβor a content row too narrow to leave 480px for the previewβuse an overlay without changing that preference.
Closing, reopening, pinning, or changing screen size preserves unfinished comments and replies while you remain on the same Artifact. Reopening refreshes the discussion. Navigating to another Artifact or reloading the page clears unsent drafts. Escape cancels an active edit or reply first; otherwise it closes the focused panel. Interacting with the preview does not dismiss a pinned discussion.


The Editor
Docs uses a Tiptap-powered rich-text editor. Supported formatting includes:
- Headings β H1, H2, H3 via the toolbar or by typing
#,##,###at the start of a line - Lists β Bulleted (
-or*) and numbered (1.) - Bold / Italic / Underline β Via toolbar buttons or
Cmd+B,Cmd+I,Cmd+U - Code blocks β Inline code with backticks, fenced code blocks with triple backticks
- Mermaid diagrams β A fenced code block whose language is
mermaid(type```mermaidfollowed by a space) renders as a diagram: flowcharts, sequence, ER, state, class, Gantt and the other Mermaid diagram types. Use the Preview / Source toggle above the block to switch between the diagram and its editable text; a new, empty block opens in Source. The diagram follows the light or dark theme. If the syntax is invalid, Compass shows the error (with the line number) together with your original text instead of a diagram. The document is still stored as an ordinary```mermaidfence, so it round-trips unchanged through Markdown, MCP and export, and read-only views of the document render the same diagram. Diagrams are drawn in your browser by the open-source Pele renderer, which is only downloaded when a document contains a Mermaid block. - Links β Select text and click the link button to add a URL
- Horizontal rules β Type
---on a blank line - Blockquotes β Start a line with
> - Tables β GitHub-flavored Markdown pipe tables (
| a | b |with a| --- | --- |separator row). Column alignment (:---,:---:,---:) is preserved, and a literal|inside a cell must be escaped as\|. Wide tables scroll horizontally within the page rather than stretching the layout. There are currently no toolbar controls for inserting or editing tables β write them as Markdown, or paste Markdown in.
Decisions in the toolbar
Use Request decision on the right of the editor toolbar to start a decision with this page already selected. While a decision about the page is pending, the same control shows Decision pending and a request count. Click it to open the existing decision. If several requests are pending, Decisions pending opens a menu of their questions, newest first.
The count includes only pending decisions whose primary subject is this page, not decisions that merely cite it as supporting material. Recorded decisions leave the count; a revised pending request appears again. To start an additional decision, use New decision in Decisions. If status cannot be loaded, Decision status unavailable links to Decisions while the editor remains usable.
Inserting Screenshots
Click the image icon in the toolbar to upload a screenshot. You can also paste an image from the clipboard directly into the editor β Compass will upload it automatically and embed it inline.
New uploads accept PNG, JPEG, GIF, or WebP images up to 10 MiB. Compass stores them in the private Artifact Blob store and serves them through a workspace-authorized Compass URL, so the viewer must be signed in as a member of that workspace. Deployments must configure ARTIFACT_BLOB_READ_WRITE_TOKEN; Compass does not fall back to the public Blob store.
Images uploaded before workspace-private storage was introduced keep their existing public Vercel Blob URLs so old documents continue to render. Those legacy URLs remain accessible to anyone who has the URL. This upgrade does not copy or delete blobs or rewrite existing documents; retroactively privatizing them requires a separately planned migration.
Page Properties
Above the editor, a collapsible Properties panel lets you attach arbitrary key/value metadata to a page β similar to frontmatter. Click Properties to expand it, then + Add property to create a new entry.
- String-array values render as removable tag chips β type a value and press Enter or
,to add another. - Any property whose key contains
date,created,updated, ormodified(or ends inat), or whose value already looks like a date (YYYY-MM-DD), gets a date picker input instead of a plain text field. - Click a property's key to rename it inline.
Like the rest of the editor, properties autosave about 800ms after you stop typing β there's no manual save button.
Auto-save
The editor auto-saves your changes every few seconds. There is no manual save button. The last saved timestamp appears at the top of the editor. You can safely close the tab and return β your work is preserved.
Version History
Every page keeps a history of past versions, so you can always see what changed or recover earlier content.
Automatic snapshots. Right before an edit overwrites a page's title, content, or icon, Compass saves a snapshot of what was there before β you never have to think about it. To avoid flooding the history while you're actively typing (the editor autosaves ~1.2 seconds after you stop), snapshots from the same author within a 5-minute window are coalesced into one: you get a snapshot of what the page looked like before you started that editing session, not one per keystroke-driven autosave.
Named snapshots. Click the bookmark icon in the toolbar to save a snapshot on demand, optionally with a label (e.g. "Before rewrite"). Named snapshots always save immediately and are never coalesced away, even if you just saved one seconds ago.
Viewing history. Click the history icon in the toolbar to open the Version History panel. It lists every saved version β author, relative time (e.g. "12 minutes ago"), and label if one was set. Click a version to see a diff of its content against the page's current content, with additions and deletions highlighted.
Restoring. Each version has a Restore button. Restoring asks for confirmation, since it overwrites the page's live content β but nothing is ever actually lost: the page's current state is automatically saved as a new version (labeled "Before restore") right before the restore happens, so you can always undo a restore by restoring again.
Version history is also available over MCP β see MCP API for list_doc_history and restore_doc_version.
Pinning Docs panels
Comments and Version History open as overlays by default. On a wide screen, use Pin panel in either header to dock it alongside the editable page. Only one Docs panel opens at a time; opening the other replaces it. Unpin panel returns to the overlay.
Drag the left divider to resize a pinned panel, or focus the divider and use the arrow keys (Shift for larger steps), Home, or End. Each panel remembers its own pin preference and width across reloads. Panels range from 320β720px, while the editor keeps at least 480px. If the window is below 1024px or the Docs row cannot fit both, the panel temporarily becomes an overlay; widening the window restores the preference.
Use Close panel, or press Escape while focused inside a pinned panel, to close it. Escape in the editor leaves the docked panel open. Restoring a version keeps pinned History open; an overlay closes after restoration.


Inline Comments
Leave Google-Docs-style comments anchored to a specific span of a page, so discussion stays attached to the exact text it's about.
Adding a comment. Select any text in the editor, then click the comment icon (the speech bubble with a plus) in the toolbar β it only lights up once you've selected something. A small composer appears; type your comment and click Comment (or press β/Ctrl+Enter). The commented text is highlighted in the page, and the comment opens in the Comments sidebar.
The highlight is never saved into your content. Comments are stored separately and the highlight is drawn on top at display time β your page's markdown stays exactly as you wrote it. That also means a comment survives edits: as you rewrite around it, Compass re-locates the anchored text and keeps the highlight in place.
Orphaned comments. If the text a comment was anchored to is deleted or changed beyond recognition, the comment isn't lost β it's flagged orphaned in the sidebar (no highlight to show), and you can still read, reply to, resolve, or delete it.
Threads and replies. Open the Comments sidebar from the speech-bubble icon in the toolbar (a badge shows the open-comment count). Each comment is a thread; type in the Reply box to respond. Threads are one level deep β replies attach to the original comment, not to each other.
Resolving. Click Resolve on a thread to mark it done β it drops out of the default open-only view and its highlight disappears. A Show resolved toggle at the bottom of the sidebar brings resolved threads back if you need them, and each has a Reopen button. You can also delete a thread outright (deleting a comment removes its replies too).
Mentioning someone and assigning a task. Type @ in a comment or reply to open one list of People (workspace members) and Agents (agents enabled in this workspace); keep typing to filter, use β β and Enter to pick, and Esc to leave a literal @. The pick becomes a chip, and a Create task row appears with the title (prefilled from your comment), a due date and a priority. It is on by default; switch it off to send a plain mention that only notifies. The button reads Comment & create task or Comment to match.
- The first mention is the assignee; any further mentions are watchers β they are notified and follow the task. Use Make assignee to promote a different one. A comment creates at most one task.
- The task links back to the comment (and to the page), so it appears under the page's linked tasks. The comment shows a live task card β status, ID, assignee, due date, priority and an Open task link β and the commented passage shows a small pin (β for a person, β for an agent).
- Marking the task Done resolves the comment thread; moving a Done task back to active work reopens it. Resolving a thread by hand does not change the task.
- Mentions are stored by id, not by name, so renaming a person or agent never breaks them.
- Someone who is in your organization but not in this workspace can be mentioned (listed under Not in this workspace) but never assigned: no task is created and the comment is a mention only.
- The first time an agent is assigned from a comment in a page, you confirm what it will receive. In this release an assigned agent simply finds the task in its queue (the same queue its MCP tools read); nothing starts running on its own. The card shows Queued, Working or Needs review from the task's status.
- Viewers (read-only access) cannot comment or create tasks.

Doc-level comments. A comment doesn't have to be anchored β over MCP you can add a general, page-level comment with no anchored text (see below). In the sidebar these are labelled general.
Inline comments are fully available over MCP β see MCP API for add_doc_comment, list_doc_comments, and resolve_doc_comment (pass resolved: false to reopen). These Doc-specific tools are path-addressed (workspace ID plus doc path) and preserve inline anchor creation. The generic shared-comment tools can also operate on DOC targets by Comment ID, but generic add_comment creates an unanchored Doc comment; use add_doc_comment when creating an inline anchor.
Canvas docs
A Canvas doc is an infinite, pannable whiteboard that follows the open JSON Canvas 1.0 format, so canvases move freely between Compass and tools like Obsidian. To draw your OKR, discovery and roadmap tree onto a canvas automatically, see Canvas.
- Create one from the Library's New menu: New diagram, or Import .canvas file to bring in an existing file. Diagrams are Canvas docs underneath, using the JSON Canvas format. Files that are not valid JSON Canvas are rejected with the reason.
- Edit: pan by dragging the background, zoom with the scroll wheel, pinch, or the zoom controls. Add Text, Link, File and Group cards from the toolbar; drag cards to move them, drag the handles on a selected card to resize it. Double-click a card to edit it; text cards are markdown. Drag from a dot on one card's side to a dot on another to draw a connection (the chosen sides are saved). With a card or connection selected, pick a color (the six presets or any custom color), and for connections set a label and arrowheads. Press Delete or use the toolbar to remove the selection.
- Compass cards: use Compass in the toolbar to search and add a live card for an opportunity, solution, assumption, metric, doc, task, experiment, objective, key result or roadmap item, or drag a page from the page tree onto the canvas. The canvas stores only a reference (plus a cached title); the card shows the object's current status, score, progress, or metric value and trend each time you open the canvas, and links to it. Cards are checked against your access every time: if the object was deleted, lives in another workspace, or you cannot see it, the card shows "Unavailable" and reveals nothing about it. In other tools such as Obsidian, a Compass card is an ordinary link card (
compass://<kind>/<id>) and is preserved when the file goes back to Compass. - Build tree: use Tree ("Build tree from Compassβ¦") in the toolbar to add your Objectives, Key Results, Opportunities, Solutions, Assumptions, Experiments and Roadmap items as laid-out, grouped Compass cards, either for the whole workspace or from one item down. See Canvas.
- Undo / redo with the toolbar or Cmd/Ctrl+Z and Shift+Cmd/Ctrl+Z.
- Autosave and history work exactly like regular pages, including named versions and restore. Inline comments are not available on canvases.
- Export downloads a
.canvasfile. Fields Compass does not understand are kept as-is on import and export. - File cards show the referenced file path as a labeled card; they are not linked to Compass docs. Moving a group does not move the cards inside it.
- On phones a canvas opens locked for viewing (pan and zoom); use the lock button to edit.
- Canvases are limited to roughly 800 KB of JSON.
Agents can create canvases with the MCP write_doc tool (docType: CANVAS), edit them incrementally with edit_canvas (add/move/update/remove cards, text, groups and edges), and draw the Opportunity Solution Tree onto one with build_canvas_tree; see MCP API. edit_canvas, edit_doc, build_canvas_tree and capture_canvas take a doc ID: read the doc's docs:// resource and use its compass_doc_id.
Positioning & Messaging Briefs
A Positioning & Messaging Brief is a Doc linked one-to-one to a Roadmap Item, used to nail down the story before a launch: problem statement, target audience, core message, proof points, and competitive differentiation. Part of the marketing-launch workflow β see Roadmap β so it's only available once a workspace admin turns on Settings β Marketing launch (off by default). With it on, create one from the roadmap item's panel Launch section; Compass fills in a five-section starter template you can edit like any other doc. Attempting to link a second brief to the same roadmap item is rejected, since the relationship is one-to-one.
There is no dedicated UI for briefs yet; they appear in the regular Docs tree like any other page, and the doc's frontmatter surfaces the linked roadmap item and doc type so an agent can discover the linkage.
Publishing a doc to the customer portal
You can publish a Doc so customers can read it on your portal, without a Compass account.
Publish. Open the doc. Under the title is the Publish to portal row. Turn the switch on: the badge changes to Published to portal and Copy public link appears. The info button (About publishing) explains who can see it: anyone with the portal link, until you unpublish. Any workspace member who can edit the doc can publish or unpublish it. Read-only members see the control disabled.

The public link. A published doc lives at /portal/<org>/<workspace>/docs/<doc id>. Copy public link copies the full address. The link works for anyone, signed in or not, including when Require portal sign-in is on for the portal.
Where it appears. A published doc is listed on the portal's Docs page (/portal/<org>/<workspace>/docs) and can appear in the Docs widget on the portal home and in Key links. The widget appears only when at least one doc is published; the Docs page shows a friendly empty state otherwise.
What customers see. The doc's title, a read-only rendering of its content (headings, lists, tables, code, links) with the dates it was published and last updated, and links to your other published docs. They never see the editor, comments, properties, version history, linked tasks, authors, or any unpublished doc. Raw HTML and images in the body are not rendered on the public page, so use text for anything customers must read.
Unpublish. Turn the switch off. The doc is removed from the portal immediately: its link returns a not-found page and it disappears from the Docs page, the widget and Key links. Publishing it again keeps its original published date.
Not publishable. Diagrams (Canvas docs) and docs whose content is stored outside Compass cannot be published; their switch is disabled with an explanation.
Heads up when copying a workspace. Publishing is part of a doc's data, so exporting a workspace and importing it elsewhere carries each doc's published state with it. Review the Docs page of an imported workspace, and unpublish anything that should not be public there.
Page Titles
Click the title area at the top of the editor to rename a page. Titles are saved immediately on blur. A long title wraps onto more lines instead of being cut off, including on a phone.
Preview: Geode content storage
An explicitly configured synthetic preview workspace can store new document bodies through the packaged Geode Headless SDK. Existing documents keep their current storage. The editor reports save conflicts and retains unsaved changes for retry; MCP callers supply a stable operation ID and the revision returned by write_doc or the docs:// resource read (_meta.revision) for pilot changes. This preview does not enable production storage or desktop sync. See the repository's docs/testing/geode-documents-pilot.md for configuration and verification.