Fix 'my' path resolution: inject operator home into system prompt (#30) #60

Closed
will.anderson wants to merge 2 commits from fix/operator-identity-home-resolution into main

2 Commits

Author SHA1 Message Date
will.anderson 24789f726a chore(dist): update chat.c with operator identity fix
Neuron Soul CI / build (pull_request) Has been cancelled
2026-06-28 14:13:31 -05:00
will.anderson 53df211e06 Inject operator home dir into system prompt to fix 'my' path resolution
Neuron Soul CI / build (pull_request) Has been cancelled
Resolves #30. The LLM was resolving possessive filesystem references ('my
notes', 'my downloads') against the imprint author's identity in the Engram
graph rather than the actual OS user running the daemon. Add an OPERATOR
IDENTITY section to build_system_prompt() that explicitly states the current
user and home directory, blocking the LLM from inferring the wrong home from
biographical context.
2026-06-28 14:04:37 -05:00