ai-dememory 2.0.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 (98) hide show
  1. ai_dememory-2.0.0/LICENSE +187 -0
  2. ai_dememory-2.0.0/PKG-INFO +676 -0
  3. ai_dememory-2.0.0/README.md +656 -0
  4. ai_dememory-2.0.0/ai_dememory.egg-info/PKG-INFO +676 -0
  5. ai_dememory-2.0.0/ai_dememory.egg-info/SOURCES.txt +96 -0
  6. ai_dememory-2.0.0/ai_dememory.egg-info/dependency_links.txt +1 -0
  7. ai_dememory-2.0.0/ai_dememory.egg-info/entry_points.txt +2 -0
  8. ai_dememory-2.0.0/ai_dememory.egg-info/top_level.txt +1 -0
  9. ai_dememory-2.0.0/ai_dememory_tool/__init__.py +3 -0
  10. ai_dememory-2.0.0/ai_dememory_tool/cli.py +460 -0
  11. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/.ai-dememory-ignore.toml +10 -0
  12. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/.ai-dememory.toml +67 -0
  13. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/.gitignore +37 -0
  14. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/README.md +24 -0
  15. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/distilled/README.md +3 -0
  16. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/README.md +15 -0
  17. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/conflict-resolution/README.md +7 -0
  18. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/imports/README.md +8 -0
  19. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/llm-captures/README.md +3 -0
  20. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/recall-feedback/README.md +3 -0
  21. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/release-acceptance/README.md +11 -0
  22. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/review-recommendations/README.md +7 -0
  23. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/session-events/README.md +7 -0
  24. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/inbox/sleep-consolidation/README.md +6 -0
  25. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/indexes/README.md +3 -0
  26. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/README.md +10 -0
  27. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/active/README.md +3 -0
  28. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/archive/README.md +3 -0
  29. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/durable/README.md +3 -0
  30. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/projects/README.md +3 -0
  31. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/sessions/README.md +3 -0
  32. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/memories/tools/README.md +3 -0
  33. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/quality/README.md +6 -0
  34. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/quality/recall-fixtures.json +1 -0
  35. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/reports/README.md +3 -0
  36. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/templates/memory.md +24 -0
  37. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/working/README.md +10 -0
  38. ai_dememory-2.0.0/ai_dememory_tool/templates/vault/working/handoffs/README.md +5 -0
  39. ai_dememory-2.0.0/mcp/server/__init__.py +1 -0
  40. ai_dememory-2.0.0/mcp/server/memory_mcp.py +4093 -0
  41. ai_dememory-2.0.0/pyproject.toml +43 -0
  42. ai_dememory-2.0.0/scripts/__init__.py +1 -0
  43. ai_dememory-2.0.0/scripts/acceptance_guard.py +94 -0
  44. ai_dememory-2.0.0/scripts/adr_guard.py +117 -0
  45. ai_dememory-2.0.0/scripts/ai_dememory.py +18 -0
  46. ai_dememory-2.0.0/scripts/ai_release_guard.py +101 -0
  47. ai_dememory-2.0.0/scripts/api_smoke.py +206 -0
  48. ai_dememory-2.0.0/scripts/artifact_guard.py +126 -0
  49. ai_dememory-2.0.0/scripts/build_artifacts.py +31 -0
  50. ai_dememory-2.0.0/scripts/capture_miss.py +176 -0
  51. ai_dememory-2.0.0/scripts/ci_guard.py +202 -0
  52. ai_dememory-2.0.0/scripts/config_file.py +131 -0
  53. ai_dememory-2.0.0/scripts/consolidate_memory.py +261 -0
  54. ai_dememory-2.0.0/scripts/context_memory.py +317 -0
  55. ai_dememory-2.0.0/scripts/doctor.py +175 -0
  56. ai_dememory-2.0.0/scripts/durable_provenance.py +169 -0
  57. ai_dememory-2.0.0/scripts/eval_recall.py +145 -0
  58. ai_dememory-2.0.0/scripts/export_context.py +138 -0
  59. ai_dememory-2.0.0/scripts/git_lessons.py +332 -0
  60. ai_dememory-2.0.0/scripts/graph_memory.py +234 -0
  61. ai_dememory-2.0.0/scripts/hook_event.py +1500 -0
  62. ai_dememory-2.0.0/scripts/http_api.py +228 -0
  63. ai_dememory-2.0.0/scripts/index_memory.py +337 -0
  64. ai_dememory-2.0.0/scripts/install_smoke.py +1021 -0
  65. ai_dememory-2.0.0/scripts/lifecycle.py +465 -0
  66. ai_dememory-2.0.0/scripts/maintenance.py +817 -0
  67. ai_dememory-2.0.0/scripts/manual_acceptance.py +1289 -0
  68. ai_dememory-2.0.0/scripts/mcp_client_smoke.py +418 -0
  69. ai_dememory-2.0.0/scripts/mcp_inventory.py +131 -0
  70. ai_dememory-2.0.0/scripts/mcp_runtime_smoke.py +2220 -0
  71. ai_dememory-2.0.0/scripts/memorylib.py +430 -0
  72. ai_dememory-2.0.0/scripts/package_build_smoke.py +106 -0
  73. ai_dememory-2.0.0/scripts/pr_draft_guard.py +104 -0
  74. ai_dememory-2.0.0/scripts/pr_template_guard.py +110 -0
  75. ai_dememory-2.0.0/scripts/provider_import.py +671 -0
  76. ai_dememory-2.0.0/scripts/publish_guard.py +142 -0
  77. ai_dememory-2.0.0/scripts/publish_plan.py +379 -0
  78. ai_dememory-2.0.0/scripts/published_artifact_guard.py +70 -0
  79. ai_dememory-2.0.0/scripts/recall_fixtures.py +1603 -0
  80. ai_dememory-2.0.0/scripts/release_artifact_smoke.py +89 -0
  81. ai_dememory-2.0.0/scripts/release_check.py +905 -0
  82. ai_dememory-2.0.0/scripts/release_checklist_guard.py +551 -0
  83. ai_dememory-2.0.0/scripts/release_evidence.py +982 -0
  84. ai_dememory-2.0.0/scripts/review_memory.py +3087 -0
  85. ai_dememory-2.0.0/scripts/roadmap_status.py +277 -0
  86. ai_dememory-2.0.0/scripts/schedule_memory.py +762 -0
  87. ai_dememory-2.0.0/scripts/search_memory.py +393 -0
  88. ai_dememory-2.0.0/scripts/secret_scan.py +291 -0
  89. ai_dememory-2.0.0/scripts/setup_plan.py +406 -0
  90. ai_dememory-2.0.0/scripts/sleep_consolidation.py +486 -0
  91. ai_dememory-2.0.0/scripts/validate_memory.py +115 -0
  92. ai_dememory-2.0.0/scripts/vault_setup_guard.py +145 -0
  93. ai_dememory-2.0.0/scripts/vector_gate.py +184 -0
  94. ai_dememory-2.0.0/scripts/verify_mcp_contract.py +152 -0
  95. ai_dememory-2.0.0/scripts/working_memory.py +226 -0
  96. ai_dememory-2.0.0/setup.cfg +4 -0
  97. ai_dememory-2.0.0/tests/test_ai_release.py +91 -0
  98. ai_dememory-2.0.0/tests/test_memory_tools.py +13038 -0
@@ -0,0 +1,187 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. Derivative Works
43
+ shall not include works that remain separable from, or merely link (or
44
+ bind by name) to the interfaces of, the Work and Derivative Works thereof.
45
+
46
+ "Contribution" shall mean any work of authorship, including
47
+ the original version of the Work and any modifications or additions
48
+ to that Work or Derivative Works thereof, that is intentionally
49
+ submitted to Licensor for inclusion in the Work by the copyright owner
50
+ or by an individual or Legal Entity authorized to submit on behalf of
51
+ the copyright owner. "Submitted" means any form of electronic, verbal,
52
+ or written communication sent to the Licensor or its representatives,
53
+ including but not limited to communication on electronic mailing lists,
54
+ source code control systems, and issue tracking systems that are managed
55
+ by, or on behalf of, the Licensor for the purpose of discussing and
56
+ improving the Work, but excluding communication that is conspicuously
57
+ marked or otherwise designated in writing by the copyright owner as
58
+ "Not a Contribution."
59
+
60
+ "Contributor" shall mean Licensor and any individual or Legal Entity
61
+ on behalf of whom a Contribution has been received by Licensor and
62
+ subsequently incorporated within the Work.
63
+
64
+ 2. Grant of Copyright License. Subject to the terms and conditions of
65
+ this License, each Contributor hereby grants to You a perpetual,
66
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67
+ copyright license to reproduce, prepare Derivative Works of,
68
+ publicly display, publicly perform, sublicense, and distribute the
69
+ Work and such Derivative Works in Source or Object form.
70
+
71
+ 3. Grant of Patent License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ (except as stated in this section) patent license to make, have made,
75
+ use, offer to sell, sell, import, and otherwise transfer the Work,
76
+ where such license applies only to those patent claims licensable
77
+ by such Contributor that are necessarily infringed by their
78
+ Contribution(s) alone or by combination of their Contribution(s)
79
+ with the Work to which such Contribution(s) was submitted. If You
80
+ institute patent litigation against any entity alleging that the Work
81
+ or a Contribution incorporated within the Work constitutes direct
82
+ or contributory patent infringement, then any patent licenses granted
83
+ to You under this License for that Work shall terminate as of the date
84
+ such litigation is filed.
85
+
86
+ 4. Redistribution. You may reproduce and distribute copies of the
87
+ Work or Derivative Works thereof in any medium, with or without
88
+ modifications, and in Source or Object form, provided that You
89
+ meet the following conditions:
90
+
91
+ (a) You must give any other recipients of the Work or
92
+ Derivative Works a copy of this License; and
93
+
94
+ (b) You must cause any modified files to carry prominent notices
95
+ stating that You changed the files; and
96
+
97
+ (c) You must retain, in the Source form of any Derivative Works
98
+ that You distribute, all copyright, patent, trademark, and
99
+ attribution notices from the Source form of the Work,
100
+ excluding those notices that do not pertain to any part of
101
+ the Derivative Works; and
102
+
103
+ (d) If the Work includes a "NOTICE" text file as part of its
104
+ distribution, then any Derivative Works that You distribute must
105
+ include a readable copy of the attribution notices contained
106
+ within such NOTICE file, excluding those notices that do not
107
+ pertain to any part of the Derivative Works, in at least one
108
+ of the following places: within a NOTICE text file distributed
109
+ as part of the Derivative Works; within the Source form or
110
+ documentation, if provided along with the Derivative Works; or,
111
+ within a display generated by the Derivative Works, if and
112
+ wherever such third-party notices normally appear. The contents
113
+ of the NOTICE file are for informational purposes only and
114
+ do not modify the License. You may add Your own attribution
115
+ notices within Derivative Works that You distribute, alongside
116
+ or as an addendum to the NOTICE text from the Work, provided
117
+ that such additional attribution notices cannot be construed
118
+ as modifying the License.
119
+
120
+ You may add Your own copyright statement to Your modifications and
121
+ may provide additional or different license terms and conditions
122
+ for use, reproduction, or distribution of Your modifications, or
123
+ for any such Derivative Works as a whole, provided Your use,
124
+ reproduction, and distribution of the Work otherwise complies with
125
+ the conditions stated in this License.
126
+
127
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
128
+ any Contribution intentionally submitted for inclusion in the Work
129
+ by You to the Licensor shall be under the terms and conditions of
130
+ this License, without any additional terms or conditions.
131
+ Notwithstanding the above, nothing herein shall supersede or modify
132
+ the terms of any separate license agreement you may have executed
133
+ with Licensor regarding such Contributions.
134
+
135
+ 6. Trademarks. This License does not grant permission to use the trade
136
+ names, trademarks, service marks, or product names of the Licensor,
137
+ except as required for reasonable and customary use in describing the
138
+ origin of the Work and reproducing the content of the NOTICE file.
139
+
140
+ 7. Disclaimer of Warranty. Unless required by applicable law or
141
+ agreed to in writing, Licensor provides the Work (and each
142
+ Contributor provides its Contributions) on an "AS IS" BASIS,
143
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
144
+ implied, including, without limitation, any warranties or conditions
145
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
146
+ PARTICULAR PURPOSE. You are solely responsible for determining the
147
+ appropriateness of using or redistributing the Work and assume any
148
+ risks associated with Your exercise of permissions under this License.
149
+
150
+ 8. Limitation of Liability. In no event and under no legal theory,
151
+ whether in tort (including negligence), contract, or otherwise,
152
+ unless required by applicable law (such as deliberate and grossly
153
+ negligent acts) or agreed to in writing, shall any Contributor be
154
+ liable to You for damages, including any direct, indirect, special,
155
+ incidental, or consequential damages of any character arising as a
156
+ result of this License or out of the use or inability to use the
157
+ Work (including but not limited to damages for loss of goodwill,
158
+ work stoppage, computer failure or malfunction, or any and all
159
+ other commercial damages or losses), even if such Contributor
160
+ has been advised of the possibility of such damages.
161
+
162
+ 9. Accepting Warranty or Additional Liability. While redistributing
163
+ the Work or Derivative Works thereof, You may choose to offer,
164
+ and charge a fee for, acceptance of support, warranty, indemnity,
165
+ or other liability obligations and/or rights consistent with this
166
+ License. However, in accepting such obligations, You may act only
167
+ on Your own behalf and on Your sole responsibility, not on behalf
168
+ of any other Contributor, and only if You agree to indemnify,
169
+ defend, and hold each Contributor harmless for any liability
170
+ incurred by, or claims asserted against, such Contributor by reason
171
+ of your accepting any such warranty or additional liability.
172
+
173
+ END OF TERMS AND CONDITIONS
174
+
175
+ Copyright 2026 Gonzalo Torreras
176
+
177
+ Licensed under the Apache License, Version 2.0 (the "License");
178
+ you may not use this file except in compliance with the License.
179
+ You may obtain a copy of the License at
180
+
181
+ http://www.apache.org/licenses/LICENSE-2.0
182
+
183
+ Unless required by applicable law or agreed to in writing, software
184
+ distributed under the License is distributed on an "AS IS" BASIS,
185
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186
+ See the License for the specific language governing permissions and
187
+ limitations under the License.