Commit Graph
8 Commits
Author SHA1 Message Date
webtecnica ed09ee6930 fix(api): request-owned config snapshot for memory gates (#6498)
- _handle_memory_read: pass the request-owned get_config_snapshot() into
  _external_notes_sources_enabled() so no ambient/process-global config is
  re-read later in the handler (review requirement).
- tests: add cross-profile forced-reload regressions for both directions
  (A disabled/B enabled and inverse), covering memory_enabled and
  user_profile_enabled for read (no content/path/mtime) and write (403 +
  byte-identical file).
- tests: adapt _external_notes_sources_enabled mock arity in
  test_3866_project_context_memory_section.py to the new snapshot param.
2026-08-04 11:46:32 -03:00
Rod Boev f65543f88e fix(#5045): add memory-section hover path titles 2026-06-27 06:05:28 -04:00
Rod Boev 19b3ad0893 test(#4999): cover every memory path branch 2026-06-26 19:42:03 -04:00
Rod Boev c4f87f24fb test(#4999): decode node harness output as utf-8 2026-06-26 19:26:46 -04:00
Rod Boev 2b2452ba3d test(#4999): skip node harness explicitly when node is unavailable 2026-06-26 19:17:25 -04:00
Rod Boev e2e2182bc0 fix(#4999): show on-disk memory file paths 2026-06-26 19:14:36 -04:00
Matt Van Horn b139404cdc fix: guard blank session workspace + agent parity for project-context tab
- Return None for blank session.workspace instead of Path('').resolve()
  (which resolved to the server CWD and could surface the install's own
  AGENTS.md/HERMES.md as project context).
- Match the agent's lowercase filename variants (agents.md / claude.md).
- Read .cursor/rules/*.mdc, not just the legacy .cursorrules file.
- Strip YAML frontmatter and cap each source at 20k, mirroring what the
  agent actually injects.
- Regression tests for the guard, lowercase match, and frontmatter strip.
2026-06-14 03:38:26 +00:00
Matt Van Horn 6215b4535a feat: show the active workspace project-context file (AGENTS.md / HERMES.md / CLAUDE.md) in the Memory tab
Fixes #3866
2026-06-14 03:38:26 +00:00