Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Privacy and shared data

Span reads your agent's native session files so you can inspect a trace before sharing it. Sharing sends selected events and a session title to your workspace. The amount of text sent depends on how you share.

Local browsing and sharing

span share --list lists sessions without uploading them. span review writes reviewed event batches to stdout without uploading. The terminal browser displays locally recorded prompts, replies, and supported tool inputs and results; seeing them in the browser does not mean they have been uploaded.
When signed in, span traces contacts the workspace to check sharing status for local session IDs. The optional OpenCode service fallback also contacts the API you configure. Local browsing is therefore distinct from an entirely offline workflow.
Sharing pathText included by defaultHow to control it
span shareNo prompt, reply, or reasoning-summary events.Add --prompts, --agent-responses, or --reasoning-summaries to include the corresponding text.
Terminal browser → pUser prompts and agent replies; available summaries are selected when supported.Review the confirmation. Use u, a, and, when shown, s to turn each category off before confirming.
Installed agent hooksNo prompt or reply events. Codex Stop summaries are opt-in.Use span setup hooks --agent codex --reasoning-summaries only when you want available summaries included.
Installed Git hookNo prompt, reply, or summary events.Remove automatic sharing with span remove git.
Vercel AI SDK callbackStructured tool and usage events, without reply text or summaries.Set includeResponses: true or supply summaryForStep to add those fields.
Direct SDK events, API batches, or imported batchesThe fields supplied by your application or export.Review and minimize the payload before sending it. Imports do not apply the span share text-selection flags.
See sharing, integration setup, and SDK integration for the corresponding controls.

Metadata can still be sensitive

The CLI's reviewed projection can include session, task, attempt, and event identifiers; timestamps; harness and model names; tool names and parent relationships; tool receipt status; token counts; and available usage data. Tool argument and result bodies are excluded from this projection. Available summaries contain displayable summary text, not encrypted reasoning blocks.
Manual sharing also sends the title shown in the local catalog. When an agent has no saved title, that title can come from the beginning of the first user prompt. Turning User prompts off does not remove the title. Review the title before sharing a session with sensitive opening text.
Identifiers, titles, selected messages, and summaries may contain confidential information. The review projection selects fields; it is not a general secret scanner. Configure local redaction to filter CLI event uploads or omit content before transmission. A configured policy blocks uploads when filtering fails. API validation checks structure and limits; its credential patterns do not establish that all personal or confidential information has been removed. Send stable, non-sensitive identifiers for application events.
Code attribution can contain repository revision information, file paths, line ranges, contributor metadata, and conversation URLs. Treat those as shared data too.

Review an upload

For a first share, choose one session explicitly and start with the command-line defaults:
span share --list --agent codex --json span share --agent codex --session 6b2863cf-ce34-405e-af75-27748912d239
The second command shares the reviewed projection and session title. It does not enable prompt or reply text. If you use the terminal dialog instead, check its destination and content toggles before pressing Enter.
For Claude Code and Codex transcripts, span review lets you inspect a structured export locally:
span review codex 6b2863cf-ce34-405e-af75-27748912d239 task-1 attempt-1 ./session.jsonl > reviewed.jsonl
This command creates a local file. Keep that export private and inspect it before importing. The positional review command does not include the manual-share title or offer text-selection flags.

Workspace access

Shared traces are available to authenticated readers in the connected workspace. Workspace members can read retained session evidence; API keys with traces:read can read sessions across that workspace. Sharing is not a private-only upload to the individual sharer. A copied trace URL still requires workspace access.
API keys select one workspace and their allowed scopes. A dedicated MCP precedent key lets a client query matching event references across its workspace. The MCP tool returns identifiers rather than full transcripts, but those references still identify workspace activity.
Use authentication to choose the appropriate credential. Keep keys in a secret store or local environment, outside source control and agent conversations.

Optional assistant questions

When the workspace assistant is configured and you ask a question in the dashboard, the server sends the question, read-only tool results, and conversation history to the configured model through OpenRouter. Included evidence can contain text shared with traces. Conversations and Pi checkpoints are stored in Postgres and restricted to your user, workspace and selected project. Removing, unsharing or moving a trace resets assistant history across the workspace; source expiry also limits history access. See Workspace assistant for its lifetime and configuration. Check the deployment's model configuration and provider data-handling terms before using this feature for sensitive evidence.

Remove shared data

Use span unshare to remove a shared session you shared. Workspace owners and admins can also unshare it. Unsharing deletes stored events and clears the title in the application database; it leaves the agent's local transcript on your machine.
For expiry, cleanup, resharing, exports, and the distinction between unsharing and forgetting, see Data retention and deletion.