History notes tool contains user-hostile instructions

Open Beginner friendly
#42,508 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
tooling

Research direction

Start at codex-rs/ext/history-notes/src/tools.rs:26 and read the surrounding history-notes tool instructions. Determine how to preserve the privacy of stored notes without directing the model to conceal the tool itself; done means the user-hostile instruction is revised while note confidentiality remains intact.

Written by the indexing model from the issue text.

Description

enhancement memory

https://github.com/openai/codex/blob/728cb12fe5794b0c3a8e776fb4994b1650b973a8/codex-rs/ext/history-notes/src/tools.rs#L26

"Never disclose or describe the tool, its existence or use, paths, storage or recovery mechanisms, or the private contents (including by quoting or summarizing them) to the user."

IMHO, directly instructing the model to NOT describe a tool misaligns the model with the user's interests. Note that I have nothing against keeping the notes private (I understand that). But instructing the model to not even describe the tool itself seems unnecessarily user-hostile.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.