MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / cursor_memory_rule_path

Function cursor_memory_rule_path

src/agents/cursor.rs:221–223  ·  view source on GitHub ↗

Path of the materialized always-applied memory rule rendered from the project fact store (see `hooks::memory_inject::regenerate_cursor_memory_rule`). The install path writes the embedded placeholder; hooks rewrite it in place with rendered facts.

(home: &Path)

Source from the content-addressed store, hash-verified

219/// The install path writes the embedded placeholder; hooks rewrite it in
220/// place with rendered facts.
221pub fn cursor_memory_rule_path(home: &Path) -> PathBuf {
222 cursor_plugin_install_dir(home).join("rules/tracedecay-memory.mdc")
223}
224
225fn install_cursor_plugin(home: &Path, tracedecay_bin: &str) -> Result<()> {
226 let install_dir = cursor_plugin_install_dir(home);

Calls 1

Tested by

no test coverage detected