Skip to content

POC: Define Code Mode file refs#22522

Draft
lt-oai wants to merge 1 commit into
mainfrom
codex/file-tools-poc-01-contract
Draft

POC: Define Code Mode file refs#22522
lt-oai wants to merge 1 commit into
mainfrom
codex/file-tools-poc-01-contract

Conversation

@lt-oai
Copy link
Copy Markdown
Contributor

@lt-oai lt-oai commented May 13, 2026

Why

Code Mode file handling needs a small shared vocabulary before we can talk about brokered movement, fileParam export, or provider-backed refs.

What

  • Adds a FileRef parser in codex-tools.
  • Classifies initial provider families: env://, oai_library://, connector://, and other schemes.
  • Rejects ambiguous refs without embedding provider-specific secrets or bytes in the ref contract.

Testing

  • cargo test -p codex-tools file_ref
  • just fmt

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