Skip to content

[Bug]: STT always reports “WARN: Path outside workspace, rejecting”. #195

@hightman

Description

@hightman

OpenACP Version

2026.402.5

Messaging Platform

Telegram

AI Agent

opencode

Bug Description

Because Telegram voice attachments are saved by default in ~/.openacp/files, that path is outside the session workspace directory, so access is always denied.

Steps to Reproduce

  1. Enable TTS feature
  2. Send a voice message in a Telegram chat.

Expected Behavior

Invoke the message conversion tool to convert the voice attachment into text and send it to the agent.

Logs / Error Output

[10:50:17] INFO: Bypass mode: auto-approving permission {"module":"session-bridge","sessionId":"wAmobthop7go","requestId":"call_L68EdwhfUcuPrCoKRTZ5zo9j","optionId":"once","agentBypass":false,"clientBypass":true}
[10:50:17] INFO (read): enrichWithViewerLinks: extracted file info {"module":"message-transformer","kind":"read","filePath":"/home/codex/.openacp/files/wAmobthop7go/1775184611644-voice.wav","hasOldContent":false}
[10:50:17] WARN: Path outside workspace, rejecting {"module":"viewer-store","filePath":"/home/codex/.openacp/files/wAmobthop7go/1775184611644-voice.wav","workingDirectory":"/home/codex/flutter_web_test"}

Configuration

Operating System

Ubuntu 22.04

Node.js Version

v24

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions