Skip to content

fix: harden ACP image path handling#477

Merged
TCP404 merged 1 commit into
mainfrom
boii/fix/acp-image-output-hardening
Jun 16, 2026
Merged

fix: harden ACP image path handling#477
TCP404 merged 1 commit into
mainfrom
boii/fix/acp-image-output-hardening

Conversation

@TCP404

@TCP404 TCP404 commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Complete path-only Codex image outputs when saved_path points to an image file.
  • Avoid treating non-image saved_path values as generated images.
  • Filter empty image paths before status normalization.

Verification

  • cargo fmt --check
  • cargo test -p aionui-ai-agent codex_ -- --test-threads=1
  • cargo test -p aionui-conversation run_acp_image_tool_call_update_persists_finish_without_base64
  • cargo clippy -p aionui-ai-agent -p aionui-conversation --all-targets -- -D warnings

- Complete path-only Codex image outputs when saved_path points to an image file
- Avoid treating non-image saved_path values as generated images
- Filter empty image paths before status normalization
@TCP404 TCP404 enabled auto-merge (squash) June 16, 2026 03:08
@TCP404 TCP404 merged commit c79b5a8 into main Jun 16, 2026
6 checks passed
@TCP404 TCP404 deleted the boii/fix/acp-image-output-hardening branch June 16, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant