Repository navigation
Memory eval: one command for decision 7, checked with no model - #126
Conversation
bench/memory_eval.py gives each bot one task in a fresh worktree of a synthetic project, with its own HOME and daemon, made by `agent run --new --agents`. Conditions `none` and `memory`; scenarios `decision`, `preference` and `stale`; hidden checks score the worktree. `--self-check` scores reference answers, and tests/test_memory_eval.py runs the whole path against the synthetic model. docs/MEMORY_EVAL.md has the run instructions and a cost estimate. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_019xtP72bEUJnpaJshaUzKwG
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 10ee181267
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Pass on only the key the selected provider reads, so the daemon keeps it out of the bots' shells. Put the bots' folders in a temporary directory outside this checkout, so their instructions don't pick up this repository's AGENTS.md. Wait for an interrupted turn to settle before reading its totals, count the stale fact corrected only when it says half up, and give the decision check a time with microseconds. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_019xtP72bEUJnpaJshaUzKwG
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f44f3b3491
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Build the daemon and agent-app from the same checkout and use that app for the memory script, so it matches the skill copied from the checkout. Record the run's time, revision and both binaries' hashes. Report the stale fact's final text and whether it changed instead of a keyword guess at a correction. A custom provider URL with no key field gets no key, a hidden check that hangs scores as wrong instead of ending the run, and the cost ceiling is priced at the output rate. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_019xtP72bEUJnpaJshaUzKwG
|
You have reached your Codex usage limits for security reviews. Please try again later. |
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9349bb8b09
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_019xtP72bEUJnpaJshaUzKwG
|
@codex review Generated by Claude Code |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
1 similar comment
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3090bdf027
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Before: plan decision 7 (run the memory eval on real models) had nothing to run. The research only described the test.
After: once George says yes, one build and one command on his Mac run it:
Each bot gets one task in a fresh git worktree of a small synthetic project, the way a coordinator's task starts. The worktree is in the system temp folder, outside this checkout. Every bot has its own HOME, so it also has its own daemon and its own
~/.agents/memory. Bots are made by the realagent run --new --agents, so their instructions are what the composer gives today, memory indexes included.There are two conditions:
none: the control.memory: facts saved through the checkout's ownagent-app --memory, with the same checkout'smemoryskill installed.And three scenarios:
Z, in whole seconds.money.pythat is gone, and a rounding rule the code contradicts.Hidden checks score the worktree after the turn. For each bot, the script also records:
stale, the wrong fact's final text, for a person to judge.The result records when it ran, the revision, and the hashes of both binaries. Only the selected provider's key reaches the daemons.
docs/MEMORY_EVAL.md has the instructions and the cost estimate. A full run is 18 bots. That comes to about 1 to 2 million input tokens (mostly cached) and 50,000 to 180,000 output tokens. The ceiling at the per-task cap is 7.2 million tokens. On the ChatGPT plan it uses quota, not API money. These figures are estimates, not measurements.
The research's third condition (the skill without composed indexes) is left out: M2 composes the indexes, so that path no longer exists.
Review findings declined under the merge rule are logged in #108.
Checks, no model calls
python3 -m bench.memory_eval --self-checkapplies a right and a wrong reference answer to each scenario. The right one passes and the wrong one fails, the untouched project fails, and the visible tests pass.AGENT_TEST_RUNTIME=1 python3 -m unittest tests.test_memory_evalruns the whole path against the synthetic model. That covers the worktree, the per-bot HOME, facts saved through the real script,run --new --agents, the daemon's totals and the scoring. It also unit-tests which provider keys are passed on. It passes on this branch.main()against the synthetic model, 2 trials per cell. All 12 bots completed. None was scored correct, which is expected because the model uses no tools. The instructions were about 1,300 characters fornoneand about 2,100 formemory.🤖 Generated with Claude Code