Skip to content

feat: add retrieval observation log#37

Merged
cafitac merged 1 commit intomainfrom
feat/retrieval-observation-log
Apr 30, 2026
Merged

feat: add retrieval observation log#37
cafitac merged 1 commit intomainfrom
feat/retrieval-observation-log

Conversation

@cafitac
Copy link
Copy Markdown
Owner

@cafitac cafitac commented Apr 30, 2026

Summary

  • add a secret-safe local retrieval observation log for Priority 5 dogfood/noise monitoring
  • add agent-memory retrieve --observe <surface> and agent-memory observations list <db>
  • have Hermes pre-LLM hook automatically record local observations without storing raw query text
  • document observation review in README and Hermes dogfood docs

Test Plan

  • uv run pytest tests/test_cli.py::test_python_module_cli_retrieve_observe_records_secret_safe_local_observation tests/test_cli.py::test_python_module_cli_hermes_pre_llm_hook_outputs_context_for_hermes_shell_hook_payload -q -> 2 passed
  • uv run pytest tests/test_cli.py tests/test_retrieval_evaluation.py -q -> 83 passed
  • real CLI smoke: agent-memory retrieve --observe cli-smoke + agent-memory observations list redaction check -> ok
  • real Hermes hook smoke: agent-memory hermes-pre-llm-hook + agent-memory observations list -> ok
  • uv run pytest tests/ -q -> 167 passed
  • uv run python scripts/check_release_metadata.py -> ok
  • uv run python scripts/smoke_release_readiness.py -> ok
  • npm pack --dry-run -> ok
  • git diff --check -> ok
  • node --check bin/agent-memory.js -> ok
  • static diff secret scan -> finding_count: 0

@cafitac cafitac merged commit d6a7518 into main Apr 30, 2026
2 checks passed
@cafitac cafitac deleted the feat/retrieval-observation-log branch April 30, 2026 15:06
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.

1 participant