Files
codebase-memory-mcp/src
Glen KoandClaude 2fbf3fb977 fix(cli): fold per-user /home entry into the alias loop, add test seam
Address review on #2309:
- Fold the /home/<name> handling into the existing #2175 alias loop via a
  shared activation_alias_map() that builds the mapped path in a stack
  buffer and returns activation_string_copy(); raw allocator sites in
  activation_transaction.c drop from 80 to 78 (baseline lowered).
- Comment the deliberate difference: the per-user entry may resolve to a
  directory owned by the current account, the whole-alias case may not.
- Add cbm_activation_transaction_set_home_root_for_testing() (test seams
  only) and a Linux test that fails without the per-user branch.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Glen Ko <gleko@amazon.com>
2026-09-30 20:49:58 +00:00
..