appendPromptHistory writes value as one more entry, trimming to historyMaxEntries to bound growth. Empty prompts are skipped so stray ↵ presses don't pollute recall; entries over historyMaxEntryBytes are dropped (recall would fail at the scanner cap anyway). O_APPEND so two codehamr processes in th
(dir, value string)
source not stored for this graph (policy: none)