Skip to content

review: pre-create output directory in pre-review.sh #837

Description

@fullsend-ai-triage

Problem

4 of 10 analyzed review agent runs failed writing to /sandbox/workspace/output/agent-result.json because the directory did not exist. The LLM then debugged, created the directory, and retried — wasting 1-2 minutes of wall-clock time on ~40% of runs.

Proposed fix

Add mkdir -p "$FULLSEND_OUTPUT_DIR" to scripts/pre-review.sh so the output directory exists before the agent starts.

Notes

This fix may already exist on the feat/2207-effort-gating branch (PR #646). If so, this issue can be closed once that PR merges, or the fix can be cherry-picked independently.

Context

Split from #836 (review agent wall-clock time reduction).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions