You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04f4e5d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(claude-code): make subscription mode actually generate docs
claude-code subscription runs finished with an empty module tree and no
markdown while the agent falsely reported success. Two causes, both stemming
from the session not being in true bypassPermissions (an org managed policy
can disable bypass, downgrading --dangerously-skip-permissions to acceptEdits):
1. Workspace boundary: acceptEdits only auto-approves reads/edits inside the
working dir; caw chdir's into the output subdir, so source files in the
parent repo are denied. Pin cwd to the repo root for claude-code
(str_replace_editor writes via absolute paths, so --output is honored).
Codex keeps the output-dir cwd for its native file_change.
2. MCP tools: acceptEdits does not auto-approve --mcp-config tools, so
CodeWiki's own toolkit was denied. caw only emits --disallowedTools; wrap
subprocess.Popen to inject --allowedTools mcp__<server> for each server in
the --mcp-config. Belongs upstream in caw's ClaudeCodeSession.
Comments cite the official Claude Code permission-mode / CLI docs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments