fix: include retrieved memory content in Claude prompts#2
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
codex-promptandclaude-promptoutput instead of only metadata/policy linesTest Plan
TMPDIR=/Users/reddit/Project/agent-memory/.tmp-test uv run pytest tests/test_cli.py::test_python_module_cli_claude_prompt_outputs_plain_prompt_text tests/test_prompt_wrapper_scripts.py::test_run_claude_with_memory_dry_run_outputs_command_and_prompt -qTMPDIR=/Users/reddit/Project/agent-memory/.tmp-test uv run pytest tests/test_cli.py tests/test_prompt_wrapper_scripts.py -qpython scripts/run_claude_with_memory.py /var/folders/y_/_1fc1fgn4kn5q1c6xccmjxv40000gn/T/agent-memory-claude-smoke-tfsany5m.db "What is the Claude Code wrapper smoke target? Reply with the target phrase only." --preferred-scope project:agent-memory --max-turns 3Notes
OSError: [Errno 28] No space left on deviceunder the default macOS temp directory; rerunning withTMPDIR=/Users/reddit/Project/agent-memory/.tmp-testpassed.agent-learner/,.claude/,.dev/kb/retrieval-eval-m1-implementation-plan.md, and.omc/are pre-existing local artifacts and are intentionally excluded from this PR