zeroclaw/src
simianastronaut 320171c66a fix(daemon): expand tilde to home directory in file paths
Rust treats `~` as a literal path character, not a home directory
shorthand. Several config resolution paths used `PathBuf::from()` on
user-provided strings without expanding `~` first, causing a literal
`~` folder to be created in the working directory.

Apply `shellexpand::tilde()` to all user-facing path inputs:
- ZEROCLAW_CONFIG_DIR env var (config/schema.rs, onboard/wizard.rs)
- ZEROCLAW_WORKSPACE env var (config/schema.rs, onboard/wizard.rs,
  channels/matrix.rs)
- active_workspace.toml marker file config_dir (config/schema.rs)

The WhatsApp Web session_path was already correctly expanded via
shellexpand::tilde() in whatsapp_web.rs.

Closes #3417

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:07:40 -04:00
..
agent fix: strip stale tool_result from conversation history and memory context (#3418) 2026-03-13 09:55:57 -04:00
approval fix(onboard): use provider-aware env var hint in quick setup next steps 2026-02-24 16:03:01 +08:00
auth feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
channels fix(daemon): expand tilde to home directory in file paths 2026-03-13 11:07:40 -04:00
config fix(daemon): expand tilde to home directory in file paths 2026-03-13 11:07:40 -04:00
cost fix(agent): parse MiniMax tool call formats for execution 2026-02-21 12:36:28 +08:00
cron fix(security): unify cron shell validation across API/CLI/scheduler (#3270) 2026-03-12 12:48:13 +00:00
daemon fix(daemon): handle SIGTERM for graceful shutdown (#3193) 2026-03-11 22:09:34 -04:00
doctor feat: stabilize codex oauth and add provider model connectivity workflow 2026-02-24 16:03:01 +08:00
gateway fix: gate prometheus and fix AtomicU64 for 32-bit targets (#3409) 2026-03-13 09:31:25 -04:00
hardware Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
health refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
heartbeat fix: route heartbeat outputs to configured channels 2026-02-24 16:02:59 +08:00
hooks feat(hooks): add webhook-audit builtin hook (#3212) 2026-03-11 23:34:17 -04:00
integrations feat: Add Opencode-go provider (#3113) 2026-03-11 19:35:43 -04:00
memory fix(memory): resolve embedding api_key from embedding_provider env var, not default_provider key (#3184) 2026-03-11 15:39:54 -04:00
observability fix: gate prometheus and fix AtomicU64 for 32-bit targets (#3409) 2026-03-13 09:31:25 -04:00
onboard fix(daemon): expand tilde to home directory in file paths 2026-03-13 11:07:40 -04:00
peripherals Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
providers fix: gracefully handle reasoning_enabled for unsupported Ollama models (#3411) 2026-03-13 09:16:03 -04:00
rag chore(lint): extend low-risk clippy cleanup batch 2026-02-17 16:40:58 +08:00
runtime docs(code): expand doc comments on security, observability, runtime, and peripheral traits 2026-02-19 13:19:46 -08:00
security fix(security): allow absolute paths within workspace when workspace_only is set (#2880) 2026-03-12 11:59:35 -04:00
service fix: resolve all compilation, test, and fmt errors on main 2026-02-21 12:09:06 +08:00
skillforge chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
skills Addressed clippy lint issues 2026-03-10 01:48:19 -04:00
sop fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
tools fix: restore MCP support missing from master branch (#3412) 2026-03-13 09:20:37 -04:00
tunnel fix: skip documentation URLs in cloudflare tunnel URL parser (#3416) 2026-03-13 09:40:02 -04:00
identity.rs test: cover deterministic HashMap ordering paths 2026-02-18 21:55:40 +08:00
lib.rs feat(channel): add channel send CLI command for outbound messages (#2907) 2026-03-12 10:18:04 -04:00
main.rs feat(channel): add channel send CLI command for outbound messages (#2907) 2026-03-12 10:18:04 -04:00
migration.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
multimodal.rs fix: resolve clippy warnings and rustfmt across codebase 2026-02-21 12:39:34 +08:00
util.rs fix(ci): restore containerized validation on main (#1096) 2026-02-20 07:48:58 -05:00