membrick 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. membrick-0.6.0/.claude/skills/membrick-memory/SKILL.md +64 -0
  2. membrick-0.6.0/.dockerignore +17 -0
  3. membrick-0.6.0/.env.example +5 -0
  4. membrick-0.6.0/.gitignore +94 -0
  5. membrick-0.6.0/AGENTS.md +25 -0
  6. membrick-0.6.0/CITATION.cff +11 -0
  7. membrick-0.6.0/Cargo.lock +4270 -0
  8. membrick-0.6.0/Cargo.toml +169 -0
  9. membrick-0.6.0/Dockerfile +28 -0
  10. membrick-0.6.0/INSTALL_FOR_AGENTS.md +129 -0
  11. membrick-0.6.0/LICENSE +201 -0
  12. membrick-0.6.0/PKG-INFO +515 -0
  13. membrick-0.6.0/README.md +498 -0
  14. membrick-0.6.0/dashboard/app.js +1011 -0
  15. membrick-0.6.0/dashboard/event-detail.js +126 -0
  16. membrick-0.6.0/dashboard/index.html +136 -0
  17. membrick-0.6.0/dashboard/rooagi-logo.png +0 -0
  18. membrick-0.6.0/dashboard/styles.css +1001 -0
  19. membrick-0.6.0/data/lexical/README.md +35 -0
  20. membrick-0.6.0/data/lexical/conceptnet_subset.json.gz +0 -0
  21. membrick-0.6.0/data/lexical/wordnet_subset.json.gz +0 -0
  22. membrick-0.6.0/data/reasoning_rules.json +58 -0
  23. membrick-0.6.0/examples/demo-real-terminal/decision-a.md +3 -0
  24. membrick-0.6.0/examples/demo-real-terminal/decision-b.md +3 -0
  25. membrick-0.6.0/examples/false_positive_audit.rs +32 -0
  26. membrick-0.6.0/proto/remote_query.proto +95 -0
  27. membrick-0.6.0/pyproject.toml +28 -0
  28. membrick-0.6.0/src/adapters/markdown.rs +337 -0
  29. membrick-0.6.0/src/adapters.rs +200 -0
  30. membrick-0.6.0/src/aggregation.rs +619 -0
  31. membrick-0.6.0/src/bart_tokenizer.rs +106 -0
  32. membrick-0.6.0/src/behood_query.rs +1060 -0
  33. membrick-0.6.0/src/bin/corpus_scale_benchmark.rs +163 -0
  34. membrick-0.6.0/src/bin/haystack_indexstore_benchmark.rs +463 -0
  35. membrick-0.6.0/src/bin/haystack_scoped_benchmark.rs +1286 -0
  36. membrick-0.6.0/src/bin/jevbench_case_classifier.rs +376 -0
  37. membrick-0.6.0/src/bin/launchers/corpus_scale_benchmark.rs +3 -0
  38. membrick-0.6.0/src/bin/launchers/haystack_indexstore_benchmark.rs +3 -0
  39. membrick-0.6.0/src/bin/launchers/haystack_scoped_benchmark.rs +3 -0
  40. membrick-0.6.0/src/bin/launchers/jevbench_case_classifier.rs +3 -0
  41. membrick-0.6.0/src/bin/launchers/locomo_benchmark.rs +3 -0
  42. membrick-0.6.0/src/bin/launchers/locomo_benchmark_search_server.rs +3 -0
  43. membrick-0.6.0/src/bin/launchers/project_memory_recency_benchmark.rs +3 -0
  44. membrick-0.6.0/src/bin/launchers/query_repl.rs +3 -0
  45. membrick-0.6.0/src/bin/launchers/recency_benchmark.rs +3 -0
  46. membrick-0.6.0/src/bin/launchers/refresh_scaling_benchmark.rs +3 -0
  47. membrick-0.6.0/src/bin/launchers/segment_scoped_benchmark.rs +3 -0
  48. membrick-0.6.0/src/bin/launchers/server.rs +3 -0
  49. membrick-0.6.0/src/bin/launchers/session_ab_benchmark.rs +3 -0
  50. membrick-0.6.0/src/bin/launchers/validate_corpus.rs +3 -0
  51. membrick-0.6.0/src/bin/locomo_benchmark.rs +470 -0
  52. membrick-0.6.0/src/bin/locomo_benchmark_search_server.rs +524 -0
  53. membrick-0.6.0/src/bin/project_memory_recency_benchmark.rs +138 -0
  54. membrick-0.6.0/src/bin/query_repl.rs +544 -0
  55. membrick-0.6.0/src/bin/recency_benchmark.rs +109 -0
  56. membrick-0.6.0/src/bin/refresh_scaling_benchmark.rs +288 -0
  57. membrick-0.6.0/src/bin/segment_scoped_benchmark.rs +2164 -0
  58. membrick-0.6.0/src/bin/server.rs +4570 -0
  59. membrick-0.6.0/src/bin/server_writer.rs +1375 -0
  60. membrick-0.6.0/src/bin/session_ab_benchmark.rs +1272 -0
  61. membrick-0.6.0/src/bin/validate_corpus.rs +197 -0
  62. membrick-0.6.0/src/board.rs +247 -0
  63. membrick-0.6.0/src/chunking.rs +325 -0
  64. membrick-0.6.0/src/claim_extractor.rs +684 -0
  65. membrick-0.6.0/src/cli.rs +1187 -0
  66. membrick-0.6.0/src/config.rs +145 -0
  67. membrick-0.6.0/src/conversation_state.rs +962 -0
  68. membrick-0.6.0/src/conversational_rerank.rs +653 -0
  69. membrick-0.6.0/src/corpus_graph.rs +96 -0
  70. membrick-0.6.0/src/daemon.rs +274 -0
  71. membrick-0.6.0/src/engine/analysis.rs +612 -0
  72. membrick-0.6.0/src/engine/export.rs +740 -0
  73. membrick-0.6.0/src/engine/llm_context.rs +305 -0
  74. membrick-0.6.0/src/engine/mod.rs +14 -0
  75. membrick-0.6.0/src/engine/query_cache.rs +336 -0
  76. membrick-0.6.0/src/engine/run.rs +1342 -0
  77. membrick-0.6.0/src/engine/tests.rs +187 -0
  78. membrick-0.6.0/src/executables.rs +62 -0
  79. membrick-0.6.0/src/filters.rs +30 -0
  80. membrick-0.6.0/src/graph.rs +439 -0
  81. membrick-0.6.0/src/ids.rs +47 -0
  82. membrick-0.6.0/src/index/build.rs +1448 -0
  83. membrick-0.6.0/src/index/cjk_tokenizer.rs +489 -0
  84. membrick-0.6.0/src/index/helpers.rs +639 -0
  85. membrick-0.6.0/src/index/mod.rs +15 -0
  86. membrick-0.6.0/src/index/model.rs +852 -0
  87. membrick-0.6.0/src/index/query.rs +1748 -0
  88. membrick-0.6.0/src/index/query_terms.rs +152 -0
  89. membrick-0.6.0/src/index/semantic.rs +389 -0
  90. membrick-0.6.0/src/index/tests.rs +122 -0
  91. membrick-0.6.0/src/index/write_lock.rs +214 -0
  92. membrick-0.6.0/src/integrations/README.md +344 -0
  93. membrick-0.6.0/src/integrations/agy/hooks.rs +616 -0
  94. membrick-0.6.0/src/integrations/agy/mod.rs +263 -0
  95. membrick-0.6.0/src/integrations/agy/skill.md +17 -0
  96. membrick-0.6.0/src/integrations/claude_code/document.rs +152 -0
  97. membrick-0.6.0/src/integrations/claude_code/hooks/mod.rs +1324 -0
  98. membrick-0.6.0/src/integrations/claude_code/hooks/protocol.rs +161 -0
  99. membrick-0.6.0/src/integrations/claude_code/mod.rs +1590 -0
  100. membrick-0.6.0/src/integrations/claude_code/skill.md +66 -0
  101. membrick-0.6.0/src/integrations/codex/agents_md.md +16 -0
  102. membrick-0.6.0/src/integrations/codex/document.rs +148 -0
  103. membrick-0.6.0/src/integrations/codex/hooks/mod.rs +1393 -0
  104. membrick-0.6.0/src/integrations/codex/hooks/protocol.rs +131 -0
  105. membrick-0.6.0/src/integrations/codex/mod.rs +1765 -0
  106. membrick-0.6.0/src/integrations/gemini_cli/hooks.rs +571 -0
  107. membrick-0.6.0/src/integrations/gemini_cli/mod.rs +1065 -0
  108. membrick-0.6.0/src/integrations/hermes/mod.rs +668 -0
  109. membrick-0.6.0/src/integrations/hermes/plugin/DESIGN.md +247 -0
  110. membrick-0.6.0/src/integrations/hermes/plugin/README.md +91 -0
  111. membrick-0.6.0/src/integrations/hermes/plugin/__init__.py +638 -0
  112. membrick-0.6.0/src/integrations/hermes/plugin/docs/hermes-hooks-probe.md +87 -0
  113. membrick-0.6.0/src/integrations/hermes/plugin/docs/hermes-integration-research.md +170 -0
  114. membrick-0.6.0/src/integrations/hermes/plugin/docs/hermes-mem0-integration.md +132 -0
  115. membrick-0.6.0/src/integrations/hermes/plugin/docs/hook_log.jsonl +9 -0
  116. membrick-0.6.0/src/integrations/hermes/plugin/docs/probe_hooks.py +89 -0
  117. membrick-0.6.0/src/integrations/hermes/plugin/plugin.yaml +4 -0
  118. membrick-0.6.0/src/integrations/hermes/plugin/tests/test_plugin.py +480 -0
  119. membrick-0.6.0/src/integrations/hermes/skill.md +38 -0
  120. membrick-0.6.0/src/integrations/hook_settings.rs +162 -0
  121. membrick-0.6.0/src/integrations/mcp_health.rs +279 -0
  122. membrick-0.6.0/src/integrations/mcp_tools.rs +2000 -0
  123. membrick-0.6.0/src/integrations/mcp_transport.rs +268 -0
  124. membrick-0.6.0/src/integrations/mod.rs +61 -0
  125. membrick-0.6.0/src/integrations/muse_code/agents_md.md +16 -0
  126. membrick-0.6.0/src/integrations/muse_code/hooks/mod.rs +238 -0
  127. membrick-0.6.0/src/integrations/muse_code/hooks/protocol.rs +146 -0
  128. membrick-0.6.0/src/integrations/muse_code/mod.rs +1324 -0
  129. membrick-0.6.0/src/integrations/openclaw/docs/hook-events.jsonl +66 -0
  130. membrick-0.6.0/src/integrations/openclaw/docs/membrick-openclaw-integration-research.md +175 -0
  131. membrick-0.6.0/src/integrations/openclaw/docs/openclaw-hooks-probe.md +290 -0
  132. membrick-0.6.0/src/integrations/openclaw/docs/typed-hook-events.jsonl +25 -0
  133. membrick-0.6.0/src/integrations/openclaw/document.rs +144 -0
  134. membrick-0.6.0/src/integrations/openclaw/hooks/HOOK.md +23 -0
  135. membrick-0.6.0/src/integrations/openclaw/hooks/handler.js +109 -0
  136. membrick-0.6.0/src/integrations/openclaw/hooks.rs +1040 -0
  137. membrick-0.6.0/src/integrations/openclaw/mod.rs +456 -0
  138. membrick-0.6.0/src/integrations/openclaw/plugin/PUBLISH.md +98 -0
  139. membrick-0.6.0/src/integrations/openclaw/plugin/README.md +72 -0
  140. membrick-0.6.0/src/integrations/openclaw/plugin/index.js +95 -0
  141. membrick-0.6.0/src/integrations/openclaw/plugin/openclaw.plugin.json +1 -0
  142. membrick-0.6.0/src/integrations/openclaw/plugin/package.json +10 -0
  143. membrick-0.6.0/src/integrations/openclaw/skill.md +28 -0
  144. membrick-0.6.0/src/integrations/recall.rs +965 -0
  145. membrick-0.6.0/src/integrations/roo_runtime.rs +1000 -0
  146. membrick-0.6.0/src/integrations/session_recording.rs +2183 -0
  147. membrick-0.6.0/src/integrations/transcript_cursor.rs +156 -0
  148. membrick-0.6.0/src/internal_tests/english_smoke.rs +94 -0
  149. membrick-0.6.0/src/internal_tests/integration.rs +236 -0
  150. membrick-0.6.0/src/internal_tests/mod.rs +10 -0
  151. membrick-0.6.0/src/internal_tests/query_path_consistency.rs +71 -0
  152. membrick-0.6.0/src/internal_tests/scope_boost.rs +155 -0
  153. membrick-0.6.0/src/internal_tests/spanish_smoke.rs +141 -0
  154. membrick-0.6.0/src/internal_tests/verify_spacy_health.rs +129 -0
  155. membrick-0.6.0/src/internal_tests/verify_structured_places.rs +153 -0
  156. membrick-0.6.0/src/internal_tests/zh_add_search_smoke.rs +192 -0
  157. membrick-0.6.0/src/lang.rs +421 -0
  158. membrick-0.6.0/src/legacy_main.rs +3 -0
  159. membrick-0.6.0/src/lib.rs +767 -0
  160. membrick-0.6.0/src/local_ipc.rs +1337 -0
  161. membrick-0.6.0/src/main.rs +3 -0
  162. membrick-0.6.0/src/memory_api/staged.rs +903 -0
  163. membrick-0.6.0/src/memory_api/workspace.rs +1138 -0
  164. membrick-0.6.0/src/memory_api.rs +7260 -0
  165. membrick-0.6.0/src/ownership.rs +81 -0
  166. membrick-0.6.0/src/pipeline/build.rs +739 -0
  167. membrick-0.6.0/src/pipeline/config.rs +264 -0
  168. membrick-0.6.0/src/pipeline/file_access.rs +62 -0
  169. membrick-0.6.0/src/pipeline/mod.rs +15 -0
  170. membrick-0.6.0/src/pipeline/persistence.rs +876 -0
  171. membrick-0.6.0/src/pipeline/store.rs +1790 -0
  172. membrick-0.6.0/src/pipeline/tests.rs +1730 -0
  173. membrick-0.6.0/src/pipeline/watcher.rs +314 -0
  174. membrick-0.6.0/src/porter_stemmer.rs +43 -0
  175. membrick-0.6.0/src/provider_sources.rs +136 -0
  176. membrick-0.6.0/src/query_expansion.rs +657 -0
  177. membrick-0.6.0/src/query_plan.rs +378 -0
  178. membrick-0.6.0/src/query_semantics.rs +2264 -0
  179. membrick-0.6.0/src/question_focus.rs +332 -0
  180. membrick-0.6.0/src/reasoning_rules.rs +63 -0
  181. membrick-0.6.0/src/remote_query.rs +648 -0
  182. membrick-0.6.0/src/report.rs +46 -0
  183. membrick-0.6.0/src/review.rs +439 -0
  184. membrick-0.6.0/src/rules/cross_refs.rs +260 -0
  185. membrick-0.6.0/src/rules/mod.rs +6 -0
  186. membrick-0.6.0/src/rules/orphan_pages.rs +65 -0
  187. membrick-0.6.0/src/segments/catalog.rs +1989 -0
  188. membrick-0.6.0/src/segments/diagnostics.rs +75 -0
  189. membrick-0.6.0/src/segments/extractor_daemon.rs +335 -0
  190. membrick-0.6.0/src/segments/intent.rs +1426 -0
  191. membrick-0.6.0/src/segments/mod.rs +24 -0
  192. membrick-0.6.0/src/segments/model.rs +490 -0
  193. membrick-0.6.0/src/segments/query.rs +1683 -0
  194. membrick-0.6.0/src/segments/relations.rs +3126 -0
  195. membrick-0.6.0/src/segments/routing.rs +838 -0
  196. membrick-0.6.0/src/segments/segmented.rs +931 -0
  197. membrick-0.6.0/src/segments/tests.rs +2385 -0
  198. membrick-0.6.0/src/semantic_audit.rs +365 -0
  199. membrick-0.6.0/src/semantic_relations.rs +3302 -0
  200. membrick-0.6.0/src/semantic_tags.rs +278 -0
  201. membrick-0.6.0/src/session_prepare.rs +170 -0
  202. membrick-0.6.0/src/source.rs +164 -0
  203. membrick-0.6.0/src/state_paths.rs +279 -0
  204. membrick-0.6.0/src/stopwords_data.rs +2520 -0
  205. membrick-0.6.0/src/symbols.rs +404 -0
  206. membrick-0.6.0/src/telemetry.rs +1068 -0
  207. membrick-0.6.0/src/temporal.rs +1886 -0
  208. membrick-0.6.0/src/temporal_fact.rs +955 -0
  209. membrick-0.6.0/src/tier1.rs +780 -0
  210. membrick-0.6.0/src/tier1_ner_daemon.rs +324 -0
  211. membrick-0.6.0/src/tokenizer.rs +977 -0
  212. membrick-0.6.0/src/updater.rs +698 -0
  213. membrick-0.6.0/src/usage.rs +320 -0
  214. membrick-0.6.0/tests/cli_supersession.rs +177 -0
  215. membrick-0.6.0/tests/concurrent_mcp.rs +319 -0
  216. membrick-0.6.0/tests/experiment_index_granularity.rs +122 -0
  217. membrick-0.6.0/tests/fixtures/runtime_transcripts/README.md +12 -0
  218. membrick-0.6.0/tests/fixtures/runtime_transcripts/agy.jsonl +4 -0
  219. membrick-0.6.0/tests/fixtures/runtime_transcripts/claude.jsonl +6 -0
  220. membrick-0.6.0/tests/fixtures/runtime_transcripts/codex.jsonl +5 -0
  221. membrick-0.6.0/tests/fixtures/runtime_transcripts/hermes.json +1 -0
  222. membrick-0.6.0/tests/fixtures/runtime_transcripts/openclaw.json +1 -0
  223. membrick-0.6.0/tests/fixtures/runtime_transcripts/roo_runtime.json +1 -0
  224. membrick-0.6.0/tests/memory_service_api.rs +80 -0
  225. membrick-0.6.0/tests/no_store_bypass.rs +236 -0
  226. membrick-0.6.0/tests/python/test_behood_query.py +122 -0
  227. membrick-0.6.0/tests/python/test_docs_site.py +44 -0
  228. membrick-0.6.0/tests/python/test_memory.py +509 -0
  229. membrick-0.6.0/tests/roo_runtime_process.rs +188 -0
  230. membrick-0.6.0/tokenizers/bart/merges.txt +50001 -0
  231. membrick-0.6.0/tokenizers/bart/vocab.json +1 -0
  232. membrick-0.6.0/uv.lock +8 -0
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: membrick-memory
3
+ description: Use the Membrick MCP server as the first source for project memory, prior decisions, and earlier work before inspecting the repository.
4
+ ---
5
+
6
+ # Membrick Memory
7
+
8
+ ## MCP-first memory policy
9
+
10
+ For requests about project history, prior decisions, architectural choices,
11
+ earlier work, or "why" something was implemented, the first tool call must be
12
+ `mcp__membrick__search`. Do not begin with `Bash`, `Read`, repository search, or
13
+ another memory system for those requests.
14
+
15
+ Use this sequence:
16
+
17
+ 1. Call `mcp__membrick__search` with a concise query describing the missing
18
+ context.
19
+ 2. Use the returned results as context and distinguish retrieved facts from
20
+ current source facts.
21
+ 3. Check cited files only after the MCP search, and only when the answer also
22
+ requires current source details.
23
+ 4. Prefer exact-revision or clearly relevant results and state uncertainty when
24
+ the results are incomplete.
25
+
26
+ Use `mcp__membrick__info` only to check MCP workspace status or diagnose the
27
+ server. It is not a memory search and should not replace `search`.
28
+
29
+ ## Explicit session recording
30
+
31
+ Session recording is off by default until the user enables Membrick. Enabling
32
+ Membrick also starts recording by default. Users can explicitly override this
33
+ with `mcp__membrick__record_session` and `{"action":"stop"}`. Recording is
34
+ capture-only: it records redacted lifecycle events locally and does not inject
35
+ memory into the session.
36
+
37
+ When the user asks to stop recording, call the same tool with
38
+ `{"action":"stop"}`. Use `{"action":"status"}` only when the user asks
39
+ whether recording is active. Never start recording implicitly for ordinary
40
+ memory searches or project work.
41
+
42
+ ## Membrick memory controls
43
+
44
+ When the user explicitly asks to turn Membrick memory off, call
45
+ `mcp__membrick__disable_membrick`. When the user asks to turn it back on, call
46
+ `mcp__membrick__enable_membrick`. These controls affect future Membrick retrieval
47
+ and memory capture. Enabling memory also starts recording by default, while
48
+ disabling memory leaves the recording choice unchanged. Use
49
+ `mcp__membrick__membrick_status` when the user asks whether memory behavior is
50
+ enabled. Do not toggle memory implicitly during a task.
51
+
52
+ When installed, Claude Code may show `Membrick:ON | Record:OFF` in its native
53
+ persistent status line. This is informational only; use the MCP control tools
54
+ to change either state. Preserve any user-defined Claude status line.
55
+
56
+ Replay is a separate CLI operation, not an automatic MCP action. Use
57
+ `membrick --replay-session <session-id> --session-provider claude
58
+ --replay-enable-membrick` when the user explicitly asks to rerun a recorded
59
+ prompt with Claude. Replay always records its output and creates a new session
60
+ ID; it does not modify the baseline archive.
61
+
62
+ For requests that are exclusively about the current contents of a file or
63
+ current command output, repository tools may be used directly. Do not claim
64
+ that MCP was searched when the call was unavailable or returned no results.
@@ -0,0 +1,17 @@
1
+ .git
2
+ .github
3
+ .agents
4
+ .claude
5
+ .codex
6
+ .history
7
+ .membrick
8
+ .membrick-cache
9
+ target
10
+ benchmark
11
+ docs
12
+ tests
13
+ *.md
14
+ !README.md
15
+ .env
16
+ .env.*
17
+ !.env.example
@@ -0,0 +1,5 @@
1
+ # Server access token. Replace this with a long, random secret.
2
+ SERVER_TOKEN=change-me-to-a-long-random-token
3
+
4
+ # The server listens on 127.0.0.1:8080 by default when run locally.
5
+ # Docker deployments should bind the container to 0.0.0.0:8080.
@@ -0,0 +1,94 @@
1
+ # Generated by Cargo
2
+ # will have compiled files and executables
3
+ debug
4
+ target
5
+
6
+ # These are backup files generated by rustfmt
7
+ **/*.rs.bk
8
+
9
+ # MSVC Windows builds of rustc generate these, which store debugging information
10
+ *.pdb
11
+
12
+ # Generated by cargo mutants
13
+ # Contains mutation testing data
14
+ **/mutants.out*/
15
+
16
+ # RustRover
17
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
18
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
19
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
20
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
21
+ #.idea/
22
+
23
+ # Codex and release artifacts
24
+ .codex
25
+ target/release
26
+
27
+ # Membrick local cache
28
+ .membrick-cache/
29
+ .membrick/
30
+ .lint-ai-cache/
31
+ .lint-ai/
32
+
33
+ # Local workspace file
34
+ membrick.code-workspace
35
+ lint-ai.code-workspace
36
+
37
+ # Generated graph artifacts
38
+ membrick-graph.dot
39
+ membrick-graph.png
40
+ membrick-graph.svg
41
+ membrick-graph.html
42
+ membrick-chunk-graph.html
43
+ lint-ai-graph.dot
44
+ lint-ai-graph.png
45
+ lint-ai-graph.svg
46
+ lint-ai-graph.html
47
+ lint-ai-chunk-graph.html
48
+
49
+ # Optional for library-style workflows
50
+ !bindings/node/Cargo.lock
51
+
52
+ # Local Python environments and caches
53
+ .venv/
54
+
55
+ # Local secrets
56
+ .env
57
+ /secrets/
58
+ __pycache__/
59
+ *.py[cod]
60
+
61
+ # Local macOS/log artifacts
62
+ .DS_Store
63
+ build.log
64
+ site/
65
+
66
+ # Generated benchmark smoke outputs
67
+ benchmark/*_results.json
68
+ benchmark/codex_code/results/*
69
+ !benchmark/codex_code/results/.gitkeep
70
+ benchmark/agy/results/*
71
+ !benchmark/agy/results/.gitkeep
72
+ # Benchmark corpora and generated results are local-only. Ignore the directory
73
+ # rather than individual filenames: untracked files here are picked up by
74
+ # `cargo package` and would otherwise ship inside the published crate.
75
+ benchmark/data/
76
+ benchmark/claude_code/results/*
77
+ !benchmark/claude_code/results/.gitkeep
78
+
79
+ # Local data and scratch output from memory and benchmark runs
80
+ data/memory-index/
81
+ .benchmark-tmp/
82
+ .codex-build/
83
+ .codex-output/
84
+ .membrick-agy-live.*/
85
+ metrics-sess-*/
86
+ # Keep raw copies of published LongMemEval reports out of Git; commit the .json.gz artifacts.
87
+ comparison/results/retrieval-longmemeval-current-*.json
88
+ comparison/results/segment-longmemeval-500-2026-10-*.json
89
+ comparison/results/retrieval-longmemeval-route-width-*-100-2026-10-04.json
90
+ comparison/results/segment-multisession-2026-10-04.json
91
+ # Local provider benchmark runs contain large worktrees, logs, and binaries.
92
+ /scripts/provider-performance-0.4.0/
93
+ /comparison/results/release-v0.5.0-multisession-133-nobekind-c8fef3d7.json
94
+ /comparison/results/release-v0.5.0-temporal-133-nobekind-c8fef3d7.json
@@ -0,0 +1,25 @@
1
+ <!-- membrick:memory-policy:start -->
2
+ ## Membrick memory policy
3
+
4
+ For requests about project history, prior decisions, architectural choices,
5
+ earlier work, or "why" something was implemented, call the `membrick` MCP
6
+ server's `search` tool before reading files or searching the repository.
7
+
8
+ 1. Call `search` with a concise query describing the missing context.
9
+ 2. Read the returned sources before opening files yourself.
10
+ 3. Say plainly when memory returned nothing, and only then fall back to
11
+ reading the repository.
12
+
13
+ Recorded sessions are memory of this project, not documentation of it: a
14
+ finding can be out of date. Check a conclusion against the code before relying
15
+ on it, and prefer the most recent one when two disagree.
16
+ <!-- membrick:memory-policy:end -->
17
+
18
+ ## User preferences
19
+
20
+ Prefer tool-native configuration over environment variables when a clean,
21
+ supported alternative exists. For Python extension packaging, use Maturin's
22
+ supported workflow and let it manage PyO3 extension linker settings.
23
+
24
+ In written responses, avoid `---` separators and keep punctuation and phrasing
25
+ simple.
@@ -0,0 +1,11 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use Membrick in research or software, please cite it as below."
3
+ title: "Membrick: Persistent Memory for AI Coding Agents"
4
+ type: software
5
+ authors:
6
+ - name: RooAGI
7
+ version: 0.6.0
8
+ date-released: 2026-10-13
9
+ repository-code: "https://github.com/RooAGI/Membrick"
10
+ url: "https://www.rooagi.com"
11
+ license: Apache-2.0