Skip to content

MEMORY: composer '# ' quick-add prefix #492

@Hmbown

Description

@Hmbown

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv0.8.8Targeting v0.8.8

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions