fix: MEMORY_FILE parent directory ($REPO_ROOT/tmp/) also not guaranteed to exist (#844)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
39793ec0df
commit
cb305b8c81
1 changed files with 1 additions and 0 deletions
|
|
@ -583,6 +583,7 @@ PROMPT=${PROMPT//\{\{MEMORY_SECTION\}\}/$MEMORY_SECTION}
|
|||
|
||||
# ── 7. Create output directory and run the agent ───────────────────────────────
|
||||
mkdir -p "$REPORT_DIR"
|
||||
mkdir -p "$(dirname "$MEMORY_FILE")"
|
||||
|
||||
log "Spawning Claude red-team agent (timeout: ${CLAUDE_TIMEOUT}s)..."
|
||||
log " Report will be written to: $REPORT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue