Skip to content

fix(agent-gui): preserve prompt asset restore metadata#1425

Open
rv4no wants to merge 1 commit into
mainfrom
codex/prompt-asset-storage-contract
Open

fix(agent-gui): preserve prompt asset restore metadata#1425
rv4no wants to merge 1 commit into
mainfrom
codex/prompt-asset-storage-contract

Conversation

@rv4no

@rv4no rv4no commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Preserve prompt asset identity, URI, upload state, and storagePolicy through Agent GUI input types, composer drafts, queued prompts, message projection, and history reads. storagePolicy is the sole durability contract; restore behavior is derived by the host adapter instead of carrying a separate restore-source field.

TSH uses this metadata to restore cloud-backed prompt images after runtime-local staged files disappear. This change only carries contract data; it does not change session, turn, goal, runtime-operation, upload, or recovery lifecycle semantics.

Verification

  • 4 targeted spec files passed
  • Agent GUI and activity-core typechecks passed
  • Agent GUI build passed
  • Agent degradation-boundary check passed
  • pnpm check:changed -- --push-ready passed all 13 lanes, including pre-push

Checklist

  • Agent lifecycle semantics unchanged; no host/conformance scenario required.
  • I kept the change focused on one concern.
  • Documentation not required; this propagates existing internal prompt asset contract fields.
  • README/CONTRIBUTING language variants are unaffected.
  • I ran the lowest meaningful local checks for the changed surface.
  • Commit is signed off with DCO.

Open in Devin Review

@rv4no
rv4no force-pushed the codex/prompt-asset-storage-contract branch from 1be78bd to 1aab68c Compare July 20, 2026 08:26

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Signed-off-by: rv4no <292825565+rv4no@users.noreply.github.com>
@rv4no
rv4no force-pushed the codex/prompt-asset-storage-contract branch from 1aab68c to 5944505 Compare July 20, 2026 08:56
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