disclaw/tests/unit
Nick Tabeling cbd2df66fb
Some checks failed
CI / build-and-test (ubuntu-latest) (pull_request) Has been cancelled
CI / build-and-test (windows-latest) (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
fix(DIS-152): remove deny(../**) when path_mappings present
deny always wins over allow in Claude Code — the Read(../**) deny rule
was silently blocking the explicitly allowed host paths. When mappings
exist, drop the ../** traversal guard and use explicit Read(./**) allow
instead of blanket Read.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 11:01:16 +02:00
..
attachment-inbox.test.ts feat(DIS-154): discord rich features — reactions, file responses, attachment inbox 2026-04-13 09:58:57 +02:00
channel-queue.test.ts feat(DIS-103): ChannelQueue serializes messages per channel (FIFO) 2026-04-10 10:17:57 +02:00
identity-templates.test.ts fix(DIS-152): remove deny(../**) when path_mappings present 2026-04-13 11:01:16 +02:00
lockfile.test.ts feat(runtime): add startup lockfile to prevent double-start 2026-04-09 11:49:17 +02:00
logger.test.ts feat(DIS-101): introduce pino structured logger, remove console.* 2026-04-09 17:09:37 +02:00
path-traversal.test.ts fix(new-agent): add path traversal containment check 2026-04-09 11:19:28 +02:00
reconcile.test.ts feat(DIS-151): channel categorization + lifecycle management 2026-04-10 14:43:32 +02:00
resolve-claude.test.ts fix(runner): replace shell:true with cross-spawn, add resolveClaude 2026-04-09 10:29:58 +02:00
runner-model.test.ts feat(DIS-153): model selection per agent 2026-04-13 09:35:27 +02:00
runner-result.test.ts fix(DIS-106): fix timeout test — wrong YAML key + overly strict schema 2026-04-10 10:25:21 +02:00
sanitize-env.test.ts fix: remove --bare flag to restore OAuth login for Claude Pro/Max 2026-04-09 13:48:45 +02:00
sanitize-for-discord.test.ts feat(DIS-152): mapped project paths (host:virtual) for agents 2026-04-13 10:41:10 +02:00
schemas.test.ts feat(DIS-107): Zod schemas for disclaw.yaml, agent.yaml, CLI output 2026-04-09 17:49:44 +02:00
semaphore.test.ts feat(DIS-104): global semaphore for max_concurrent_agents cap 2026-04-09 17:08:58 +02:00
send-response.test.ts feat(DIS-154): agent file sending via [ATTACH: path] convention 2026-04-13 10:16:50 +02:00
split-for-discord.test.ts fix(DIS-105): prevent fence closure from pushing chunks beyond 2000-char hard limit 2026-04-10 10:13:58 +02:00
workspace-root-resolve.test.ts feat(DIS-101): introduce pino structured logger, remove console.* 2026-04-09 17:09:37 +02:00