-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Mobile apps: read-only workspace file browser (browse, preview, share) #100705
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestimpact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Summary
Add a read-only workspace file browser to the iOS and Android apps: browse the agent's working directory tree, preview text and image files, and export a file through the platform share sheet.
Problem to solve
Operators using the mobile apps cannot inspect what an agent has produced or changed in its workspace. Today the gateway exposes only an allowlisted set of bootstrap files (
agents.files.*) and a session-scoped browser (sessions.files.*) that can list the workspace tree but only returns content for transcript-touched text files — no arbitrary in-root reads, no binary/image support, and it is keyed by session rather than agent. The mobile apps expose none of this, so checking a generated file, a log, or an edited config from the phone requires shell access to the gateway host.Proposed solution
agents.workspace.list— bounded directory listing under the agent workspace root (deterministic ordering, pagination for large directories).agents.workspace.read— bounded file read with byte-size caps and text/image type gating (UTF-8 text inline, images base64).Alternatives considered
sessions.files.*as-is: insufficient — content is restricted to transcript-touched files, text-only, and session-keyed; the mobile entry point is the agent.agents.workspace.*CRUD surface ([Feature]: Full Workspace File Management API for Remote/Container Deployments #61368 / feat: add workspace file management for agents #62417): the write surface needs a separate security/product decision; a read-only subset first keeps the boundary reviewable and matches the direction already suggested in that thread.Impact
Affected: operators running agents remotely (containers, VPS, always-on gateways) who use the mobile apps.
Severity: workflow gap — no mobile visibility into agent output files.
Frequency: whenever an agent produces or edits files the operator wants to verify away from a desktop.
Consequence: SSH/desktop round-trips for simple "what did the agent write" checks.
Evidence/examples
agents.files.*allowlist boundary.Additional information
Security is the crux: the read path must be confined to the agent workspace root (realpath + reject escapes), size-capped, and type-gated. V1 is strictly read-only; write/delete/upload remain with #61368.