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
mkdir inside the sandbox bash allowlist doesn't work reliably.
Move directory creation to a pre-step that runs before the agent.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
description: "Source file mappings, content hashes, and file summaries for incremental wiki regeneration"
@@ -84,8 +85,8 @@ You are a wiki generator for this repository. Your job is to produce high-qualit
84
85
85
86
**CRITICAL: Sandbox constraints.** Read this carefully — violating these will cause permission errors.
86
87
87
-
-**Allowed bash commands:** Only `find`, `tree`, `wc`, `mkdir -p .github/agentic-wiki`, and read-only commands (`cat`, `ls`, `head`) work. All other bash commands (`git`, `echo >`, `touch`, `cp`, `tee`, `node`, `python`, `install`) will be denied.
88
-
-**Creating files:** Use the `write` tool. The only `mkdir` allowed is `mkdir -p .github/agentic-wiki`. Do NOT try to mkdir any other path.
88
+
-**Allowed bash commands:** Only `find`, `tree`, `wc`, and read-only commands (`cat`, `ls`, `head`) work. All other bash commands (`git`, `echo >`, `touch`, `cp`, `tee`, `node`, `python`, `install`, `mkdir`) will be denied.
89
+
-**Creating files:** Use the `write` tool. The `.github/agentic-wiki/` directory is pre-created before your session starts. Do NOT try to mkdir any path.
89
90
-**Wiki page output:** Do NOT write wiki pages to disk. Do NOT create output directories. Construct all page content as strings and pass them to the `push-wiki` safe-output as JSON. See Step 3f.
90
91
-**Repo info for source links:** Do NOT use `git` commands. Read `.git/config` with `cat` to find the remote URL. The default branch is `main`.
91
92
-**Repo memory path:** Do NOT hardcode the repo-memory path. Discover it by running `ls /tmp/gh-aw/repo-memory/` to find the directory name, then use that path. It is typically `/tmp/gh-aw/repo-memory/default/`. All memory files must be flat (no subdirectories) — you cannot mkdir inside repo-memory.
0 commit comments