Repository navigation
Adds Choice to Save Command Prefixes to Local Project - #1
Open
McDonald-Andrew wants to merge 11 commits into
Open
McDonald-Andrew wants to merge 11 commits into
McDonald-Andrew wants to merge 11 commits into
Conversation
McDonald-Andrew
force-pushed
the
CX-000
branch
11 times, most recently
from
June 2, 2026 23:56
ebf8dbc to
5c50bf1
Compare
McDonald-Andrew
pushed a commit
that referenced
this pull request
Jun 15, 2026
## Stack 1. [1 of 3] Support long raw TUI goal objectives - openai#27508 2. [2 of 3] Support long pasted text in TUI goals - openai#27509 3. **[3 of 3] Support images in TUI goals** - this PR ## Why The first two PRs make goal definitions resilient to long text, but `/goal` still dropped image inputs from the composer. That meant a user could attach images while defining a goal and the resulting goal continuation would not have any useful reference to those images. Goal state still persists only objective text, so image inputs need to become paths or URLs that the agent can read later. ## What Changed - Extends TUI `GoalDraft` with local image attachments and remote image URLs. - Copies local goal images through the app-server filesystem layer into the managed goal attachment directory, then rewrites active image placeholders to file references. - Appends unplaced local images and remote image URLs to the objective as referenced image files or URLs. - Preserves goal image metadata through live `/goal` submission and queued `/goal` dispatch. ## Verification - Added goal materialization coverage for local image files and remote image URLs. - Added/updated TUI slash-command coverage showing `/goal` drafts include attached images instead of dropping them. ## Manual Testing - Attached an image by bracketed-pasting its local path into a live `/goal` composer. The `[Image #1]` placeholder became a server-host `image-1.png` reference, copied bytes matched exactly, and no attachment was written under the TUI's local home. - Deleted an image placeholder before submitting a small goal and verified no image was copied. - Attached PNG and JPEG files to the same goal. Placeholder order was preserved as `image-1.png` and `image-2.jpg`, and both remote copies matched their source bytes. - Tried extensionless, malformed-extension, and extension/content-mismatched paths; the composer rejected them as image attachments before goal dispatch rather than creating misleading managed image files. - Combined a local image, a large pasted block, and enough raw text to exceed 4,000 characters. The remote attachment directory contained the image, paste sidecar, and `goal-objective.md`; all embedded references used server-host paths and both payloads matched their sources. - Submitted an image replacement while a goal was active, verified no image was copied before confirmation, then canceled and confirmed the attachment count was unchanged.
McDonald-Andrew
force-pushed
the
CX-000
branch
2 times, most recently
from
June 16, 2026 00:36
56579c1 to
e2b1fde
Compare
McDonald-Andrew
force-pushed
the
main
branch
2 times, most recently
from
June 17, 2026 18:55
d6c8ccb to
2911dc6
Compare
github-actions
Bot
force-pushed
the
main
branch
2 times, most recently
from
June 17, 2026 18:59
b26fab8 to
e20402b
Compare
github-actions
Bot
force-pushed
the
CX-000
branch
from
June 18, 2026 16:11
ade7c09 to
a9d7a00
Compare
Rebases feature branch on top of synced main Utilizes git rerere From this point on, saves local rr-cache to local main branch Sends Email on Rebase Failure Tests after succesful rebase Emails if Tests fail Updates rerere cache (squah here)
Updates .snap file for TUI snapshot test Fixes upstream compilation regression in config_persistence.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.