Part of #489.
Summary
When the composer line starts with # , treat it as a memory append rather than a model prompt. Pick the scope from a quick selector (user / project / local), append to the chosen file, and confirm in the transcript.
Examples
# always run cargo fmt before committing → append to project AGENTS.md.
Acceptance
# followed by a space at column 0 triggers the flow.
- Bare
# (no space) still sends as a normal prompt (Markdown heading).
- Confirmation toast names the file written + line count.
- Memory reload triggered immediately so the next turn sees it.
Effort: S (~80 LoC). Lives in crates/tui/src/tui/widgets/ (composer).
Part of #489.
Summary
When the composer line starts with
#, treat it as a memory append rather than a model prompt. Pick the scope from a quick selector (user / project / local), append to the chosen file, and confirm in the transcript.Examples
# always run cargo fmt before committing→ append to projectAGENTS.md.Acceptance
#followed by a space at column 0 triggers the flow.#(no space) still sends as a normal prompt (Markdown heading).Effort: S (~80 LoC). Lives in
crates/tui/src/tui/widgets/(composer).