Targeted: 0.5.0 (reliability program). Baseline: release/0.3.0.
git_diff only runs git diff / git diff --cached, so untracked files are invisible — while apply_patch's Add File produces exactly untracked files. A model cannot use git_diff to verify the file it just created.
- Include untracked files by default (synthesize an all-additions diff, e.g.
git diff --no-index /dev/null <file> or by reading the file), controllable via include_untracked (default true).
- Respect the existing
max_bytes budget; keep consistency with git_status, which already lists untracked paths.
- Test:
Add File → git_diff shows the new file's content.
Targeted: 0.5.0 (reliability program). Baseline:
release/0.3.0.git_diffonly runsgit diff/git diff --cached, so untracked files are invisible — whileapply_patch'sAdd Fileproduces exactly untracked files. A model cannot usegit_diffto verify the file it just created.git diff --no-index /dev/null <file>or by reading the file), controllable viainclude_untracked(default true).max_bytesbudget; keep consistency withgit_status, which already lists untracked paths.Add File→git_diffshows the new file's content.