Skip to content

Extract codex-instructions crate#15744

Merged
aibrahim-oai merged 3 commits intomainfrom
stack/instructions
Mar 25, 2026
Merged

Extract codex-instructions crate#15744
aibrahim-oai merged 3 commits intomainfrom
stack/instructions

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

@aibrahim-oai aibrahim-oai commented Mar 25, 2026

Summary

  • extract instruction fragment and user-instruction types into codex-instructions
  • update codex-core to consume the new crate

Testing

  • CI
Move contextual user fragment helpers and user instruction payload types into a dedicated crate, and rewire codex-core to consume it.

Co-authored-by: Codex <noreply@openai.com>
Comment on lines +6 to +12
pub use fragment::AGENTS_MD_END_MARKER;
pub use fragment::AGENTS_MD_FRAGMENT;
pub use fragment::AGENTS_MD_START_MARKER;
pub use fragment::ContextualUserFragmentDefinition;
pub use fragment::SKILL_CLOSE_TAG;
pub use fragment::SKILL_FRAGMENT;
pub use fragment::SKILL_OPEN_TAG;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It's hard to verify this without pulling this branch locally, but do all of these constants need to be public? Please restrict the public crate API to the minimum.

Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai merged commit fba3c79 into main Mar 25, 2026
38 checks passed
@aibrahim-oai aibrahim-oai deleted the stack/instructions branch March 25, 2026 17:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants