Skip to content

fix(core): restrict memory stage-1 ingestion to exec source - #13122

Closed
winnal wants to merge 4 commits into
openai:mainfrom
winnal:winnal/memory-exec-only
Closed

winnal wants to merge 4 commits into
openai:mainfrom
winnal:winnal/memory-exec-only

Conversation

@winnal

@winnal winnal commented Feb 28, 2026 •

Copy link
Copy Markdown

Summary

  • make memory stage-1 source selection configurable via [memories].stage_1_sources
  • preserve existing default behavior (["cli", "vscode"]) for public users
  • allow exec-only workflows by setting stage_1_sources = ["exec"]
  • keep phase-1 claiming logic driven by config instead of a hardcoded source list

Validation

  • just write-config-schema
  • just fmt
  • cargo test -p codex-core config::tests::test_toml_parsing
  • cargo test -p codex-core config::tests::memories_stage_1_sources_default_to_interactive_sources
  • cargo test -p codex-core memories::

@github-actions

github-actions Bot commented Feb 28, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@winnal

winnal commented Feb 28, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Feb 28, 2026
@etraut-openai

Copy link
Copy Markdown
Contributor

We've updated our contribution guidelines to indicate that we're no longer accepting unsolicited code contributions. All code contributions are by invitation only. To read more about why we've taken this step, please refer to this announcement.

@winnal

winnal commented Feb 28, 2026 •

Copy link
Copy Markdown
Author

@etraut-openai Hi, appreciate you letting me know. I did recall hearing about this. I totally understand. However, would it be possible to convert this into a discussion instead? As this is a feature that I would like to be added. You can reference my code to see what I would like implemented. I think it would be great to have this as I have tested it already and it works very well for my workflow.

edit: I went ahead and created a discussion post about this.

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.

2 participants