provalume 0.1.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 (141) hide show
  1. provalume-0.1.0/.gitignore +39 -0
  2. provalume-0.1.0/CHANGELOG.md +111 -0
  3. provalume-0.1.0/LICENSE +202 -0
  4. provalume-0.1.0/NOTICE +70 -0
  5. provalume-0.1.0/PKG-INFO +273 -0
  6. provalume-0.1.0/README.md +230 -0
  7. provalume-0.1.0/docs/QUICKSTART.md +136 -0
  8. provalume-0.1.0/docs/RELEASE.md +101 -0
  9. provalume-0.1.0/docs/adr/ADR-0001-identity-and-scope.md +88 -0
  10. provalume-0.1.0/docs/adr/ADR-0002-immutable-event-journal.md +109 -0
  11. provalume-0.1.0/docs/adr/ADR-0003-sqlite-wal-and-migrations.md +93 -0
  12. provalume-0.1.0/docs/adr/ADR-0004-memory-taxonomy.md +98 -0
  13. provalume-0.1.0/docs/adr/ADR-0005-trust-lifecycle.md +121 -0
  14. provalume-0.1.0/docs/adr/ADR-0006-branch-and-commit-semantics.md +133 -0
  15. provalume-0.1.0/docs/adr/ADR-0007-deterministic-writers.md +118 -0
  16. provalume-0.1.0/docs/adr/ADR-0008-retrieval-and-ranking.md +163 -0
  17. provalume-0.1.0/docs/adr/ADR-0009-invalidation-and-supersession.md +119 -0
  18. provalume-0.1.0/docs/adr/ADR-0010-memory-poisoning-controls.md +123 -0
  19. provalume-0.1.0/docs/adr/ADR-0011-jsonl-interchange.md +134 -0
  20. provalume-0.1.0/docs/adr/ADR-0012-mcp-permissions.md +156 -0
  21. provalume-0.1.0/docs/adr/ADR-0013-optional-vector-retrieval.md +131 -0
  22. provalume-0.1.0/docs/adr/ADR-0014-orkestra-integration-boundary.md +146 -0
  23. provalume-0.1.0/docs/adr/ADR-0015-worktree-materialization.md +118 -0
  24. provalume-0.1.0/docs/adr/ADR-0016-global-memory-deferral.md +102 -0
  25. provalume-0.1.0/docs/adr/ADR-0017-compatibility-and-versioning.md +138 -0
  26. provalume-0.1.0/docs/adr/ADR-0018-visual-identity-and-design-tokens.md +159 -0
  27. provalume-0.1.0/docs/adr/README.md +28 -0
  28. provalume-0.1.0/docs/architecture/OVERVIEW.md +151 -0
  29. provalume-0.1.0/docs/design/BRAND.md +115 -0
  30. provalume-0.1.0/docs/design/contrast_check.py +130 -0
  31. provalume-0.1.0/docs/design/tokens.css +262 -0
  32. provalume-0.1.0/docs/design/tokens.json +188 -0
  33. provalume-0.1.0/docs/integration/ORKESTRA.md +249 -0
  34. provalume-0.1.0/docs/reference/BACKUP.md +129 -0
  35. provalume-0.1.0/docs/reference/BENCHMARKS.md +143 -0
  36. provalume-0.1.0/docs/reference/DATA_MODEL.md +208 -0
  37. provalume-0.1.0/docs/reference/EVENTS.md +158 -0
  38. provalume-0.1.0/docs/reference/JSONL.md +141 -0
  39. provalume-0.1.0/docs/reference/LIFECYCLE.md +174 -0
  40. provalume-0.1.0/docs/reference/LIMITATIONS.md +214 -0
  41. provalume-0.1.0/docs/reference/MCP.md +141 -0
  42. provalume-0.1.0/docs/reference/MIGRATION.md +124 -0
  43. provalume-0.1.0/docs/reference/PERFORMANCE.md +115 -0
  44. provalume-0.1.0/docs/reference/PREFLIGHT.md +172 -0
  45. provalume-0.1.0/docs/reference/RETRIEVAL.md +211 -0
  46. provalume-0.1.0/docs/research/COMPETITOR_TRIALS.md +285 -0
  47. provalume-0.1.0/docs/research/MEMORY_SYSTEM_RESEARCH.md +178 -0
  48. provalume-0.1.0/docs/research/NAME_CLEARANCE.md +139 -0
  49. provalume-0.1.0/docs/research/RESEARCH_VALIDATION.md +155 -0
  50. provalume-0.1.0/docs/security/MEMORY_POISONING.md +264 -0
  51. provalume-0.1.0/docs/security/PRIVACY_MODEL.md +215 -0
  52. provalume-0.1.0/docs/security/THREAT_MODEL.md +225 -0
  53. provalume-0.1.0/docs/security/TRUST_MODEL.md +235 -0
  54. provalume-0.1.0/evals/fixtures/.gitkeep +0 -0
  55. provalume-0.1.0/evals/results/.gitkeep +0 -0
  56. provalume-0.1.0/evals/results/baseline/results.json +273 -0
  57. provalume-0.1.0/evals/scenarios/.gitkeep +0 -0
  58. provalume-0.1.0/examples/mcp/claude_desktop_config.json +20 -0
  59. provalume-0.1.0/examples/orkestra/integration_sketch.py +146 -0
  60. provalume-0.1.0/examples/standalone/basic_usage.py +73 -0
  61. provalume-0.1.0/pyproject.toml +178 -0
  62. provalume-0.1.0/src/provalume/__init__.py +133 -0
  63. provalume-0.1.0/src/provalume/_ids.py +112 -0
  64. provalume-0.1.0/src/provalume/_time.py +91 -0
  65. provalume-0.1.0/src/provalume/cli/__init__.py +1 -0
  66. provalume-0.1.0/src/provalume/cli/main.py +817 -0
  67. provalume-0.1.0/src/provalume/cli/theme.py +108 -0
  68. provalume-0.1.0/src/provalume/demo/__init__.py +1 -0
  69. provalume-0.1.0/src/provalume/demo/scenario.py +385 -0
  70. provalume-0.1.0/src/provalume/errors.py +119 -0
  71. provalume-0.1.0/src/provalume/evals/__init__.py +1 -0
  72. provalume-0.1.0/src/provalume/evals/metrics.py +220 -0
  73. provalume-0.1.0/src/provalume/evals/replay.py +752 -0
  74. provalume-0.1.0/src/provalume/integrations/__init__.py +1 -0
  75. provalume-0.1.0/src/provalume/integrations/generic.py +220 -0
  76. provalume-0.1.0/src/provalume/integrations/orkestra.py +411 -0
  77. provalume-0.1.0/src/provalume/interchange/__init__.py +1 -0
  78. provalume-0.1.0/src/provalume/interchange/hashing.py +179 -0
  79. provalume-0.1.0/src/provalume/interchange/jsonl.py +641 -0
  80. provalume-0.1.0/src/provalume/interchange/signatures.py +224 -0
  81. provalume-0.1.0/src/provalume/mcp/__init__.py +1 -0
  82. provalume-0.1.0/src/provalume/mcp/permissions.py +224 -0
  83. provalume-0.1.0/src/provalume/mcp/server.py +728 -0
  84. provalume-0.1.0/src/provalume/policy/__init__.py +1 -0
  85. provalume-0.1.0/src/provalume/policy/admission.py +218 -0
  86. provalume-0.1.0/src/provalume/policy/invalidation.py +207 -0
  87. provalume-0.1.0/src/provalume/policy/poisoning.py +274 -0
  88. provalume-0.1.0/src/provalume/policy/promotion.py +540 -0
  89. provalume-0.1.0/src/provalume/policy/scope.py +131 -0
  90. provalume-0.1.0/src/provalume/py.typed +0 -0
  91. provalume-0.1.0/src/provalume/redact.py +299 -0
  92. provalume-0.1.0/src/provalume/retrieval/__init__.py +1 -0
  93. provalume-0.1.0/src/provalume/retrieval/digest.py +267 -0
  94. provalume-0.1.0/src/provalume/retrieval/lexical.py +467 -0
  95. provalume-0.1.0/src/provalume/retrieval/preflight.py +341 -0
  96. provalume-0.1.0/src/provalume/retrieval/ranking.py +275 -0
  97. provalume-0.1.0/src/provalume/retrieval/vectors.py +359 -0
  98. provalume-0.1.0/src/provalume/schemas/__init__.py +109 -0
  99. provalume-0.1.0/src/provalume/schemas/events.py +288 -0
  100. provalume-0.1.0/src/provalume/schemas/memories.py +327 -0
  101. provalume-0.1.0/src/provalume/schemas/provenance.py +197 -0
  102. provalume-0.1.0/src/provalume/schemas/retrieval.py +336 -0
  103. provalume-0.1.0/src/provalume/schemas/scope.py +177 -0
  104. provalume-0.1.0/src/provalume/schemas/trust.py +226 -0
  105. provalume-0.1.0/src/provalume/sdk/__init__.py +1 -0
  106. provalume-0.1.0/src/provalume/sdk/client.py +706 -0
  107. provalume-0.1.0/src/provalume/store/__init__.py +1 -0
  108. provalume-0.1.0/src/provalume/store/db.py +284 -0
  109. provalume-0.1.0/src/provalume/store/fts.py +148 -0
  110. provalume-0.1.0/src/provalume/store/gitinfo.py +261 -0
  111. provalume-0.1.0/src/provalume/store/integrity.py +380 -0
  112. provalume-0.1.0/src/provalume/store/journal.py +414 -0
  113. provalume-0.1.0/src/provalume/store/migrations.py +313 -0
  114. provalume-0.1.0/src/provalume/store/projections.py +987 -0
  115. provalume-0.1.0/src/provalume/store/repository.py +596 -0
  116. provalume-0.1.0/src/provalume/writers/__init__.py +1 -0
  117. provalume-0.1.0/src/provalume/writers/decisions.py +112 -0
  118. provalume-0.1.0/src/provalume/writers/failures.py +424 -0
  119. provalume-0.1.0/src/provalume/writers/reviews.py +184 -0
  120. provalume-0.1.0/src/provalume/writers/runs.py +256 -0
  121. provalume-0.1.0/src/provalume/writers/verification.py +234 -0
  122. provalume-0.1.0/tests/conftest.py +101 -0
  123. provalume-0.1.0/tests/e2e/test_cli.py +257 -0
  124. provalume-0.1.0/tests/integration/test_audit_and_store.py +407 -0
  125. provalume-0.1.0/tests/integration/test_concurrency_and_recovery.py +331 -0
  126. provalume-0.1.0/tests/integration/test_git_semantics.py +276 -0
  127. provalume-0.1.0/tests/integration/test_interchange.py +403 -0
  128. provalume-0.1.0/tests/integration/test_lifecycle.py +240 -0
  129. provalume-0.1.0/tests/integration/test_projection_paths.py +324 -0
  130. provalume-0.1.0/tests/integration/test_retrieval_engine.py +369 -0
  131. provalume-0.1.0/tests/security/test_injection_and_paths.py +197 -0
  132. provalume-0.1.0/tests/security/test_integration_boundary.py +347 -0
  133. provalume-0.1.0/tests/security/test_mcp_surface.py +290 -0
  134. provalume-0.1.0/tests/security/test_no_network.py +189 -0
  135. provalume-0.1.0/tests/security/test_redaction.py +176 -0
  136. provalume-0.1.0/tests/security/test_redos.py +315 -0
  137. provalume-0.1.0/tests/security/test_trust_invariants.py +405 -0
  138. provalume-0.1.0/tests/unit/test_hashing.py +152 -0
  139. provalume-0.1.0/tests/unit/test_journal.py +177 -0
  140. provalume-0.1.0/tests/unit/test_retrieval.py +357 -0
  141. provalume-0.1.0/tests/unit/test_writers.py +451 -0
@@ -0,0 +1,39 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.egg-info/
5
+ .eggs/
6
+ build/
7
+ dist/
8
+ .venv/
9
+ venv/
10
+ .mypy_cache/
11
+ .ruff_cache/
12
+ .pytest_cache/
13
+ .coverage
14
+ .coverage.*
15
+ coverage.xml
16
+ htmlcov/
17
+
18
+ # Provalume project-local state (never committed; see docs/security/PRIVACY_MODEL.md)
19
+ .provalume/
20
+
21
+ # Eval outputs are reproducible artifacts, not source. The committed
22
+ # baselines live in evals/results/baseline/ and are tracked explicitly.
23
+ evals/results/*
24
+ !evals/results/baseline/
25
+ !evals/results/.gitkeep
26
+
27
+ # Generated agent context files. Provalume must never let these enter a
28
+ # commit; .gitignore is defence in depth, not the mechanism. See
29
+ # src/provalume/integrations/generic.py::materialize / cleanup.
30
+ /AGENTS.md
31
+ /CLAUDE.md
32
+ /GEMINI.md
33
+ /.provalume-digest.md
34
+
35
+ # OS / editor
36
+ .DS_Store
37
+ *.swp
38
+ .idea/
39
+ .vscode/
@@ -0,0 +1,111 @@
1
+ # Changelog
2
+
3
+ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
+ Versioning: [semantic versioning](https://semver.org/spec/v2.0.0.html), with the
5
+ pre-1.0 caveat that `0.x` minor bumps may break the SDK.
6
+
7
+ ## [0.1.0] — 2026-07-25
8
+
9
+ First release. Verified, git-aware memory for autonomous software agents.
10
+
11
+ ### Added
12
+
13
+ **Immutable event journal.** Append-only, enforced by SQLite triggers rather than
14
+ by convention. Canonical JSON serialisation, deterministic SHA-256 hashing, a
15
+ per-database hash chain, idempotent ingestion, and full projection rebuild. WAL,
16
+ linear forward-only migrations, and refusal to open a schema newer than the code
17
+ understands.
18
+
19
+ **Six memory categories** — episodic, semantic, procedural, decision, gotcha,
20
+ performance — each with its own promotion ceiling, recency half-life, and write
21
+ trigger.
22
+
23
+ **Eight trust states** in two shapes: a five-rung ladder (`quarantined` →
24
+ `observed` → `verified` → `reviewed` → `integrated`) and three terminal states
25
+ (`invalidated`, `superseded`, `rejected`). Rungs cannot be skipped, agents cannot
26
+ promote, self-review never promotes, and rejection is permanent. Every transition
27
+ records the named policy rule and the evidence it relied on — **including
28
+ refusals**.
29
+
30
+ **Deterministic writers.** No language model anywhere in the canonical path.
31
+ Verification failures become gotchas keyed on normalised failure signatures;
32
+ repeats fold into one record with an occurrence count; a later success attaches as
33
+ the resolution; review rejections become lessons; human decisions become decision
34
+ memory; passing commands become procedural candidates.
35
+
36
+ **Branch- and commit-aware truth.** Read-only Git access for ancestry and commit
37
+ existence. A query as of commit X does not present a fact introduced after X as
38
+ current truth, and where ancestry cannot be established — after a rebase or a
39
+ cherry-pick — applicability is labelled `uncertain` rather than guessed.
40
+
41
+ **Bi-temporal validity.** `valid_at` / `invalid_at` / `recorded_at`, with
42
+ invalidation and supersession instead of overwriting. Contradictions are detected
43
+ and surfaced, never auto-resolved.
44
+
45
+ **Explainable retrieval.** FTS5 and BM25 with a documented nine-component scoring
46
+ policy, every constant published in `docs/reference/RETRIEVAL.md`. Filters
47
+ authorise; scoring only reorders. Every result reports which filters it passed,
48
+ each score component and its contribution, human-readable reasons, and warnings.
49
+ Ordering is fully deterministic.
50
+
51
+ **Budgeted digests.** Hard character or estimated-token ceiling enforced by
52
+ construction, banner-first, per-item trust labels and provenance, near-duplicate
53
+ suppression, and a reported count of what did not fit.
54
+
55
+ **Pre-action warning gate.** Deterministic failure signatures with five match
56
+ tiers. Warns by default and never blocks unless an explicit policy, an exact
57
+ signature match, and repetition all coincide. Warning outcomes are recordable, so
58
+ usefulness is measurable rather than assumed.
59
+
60
+ **Memory-poisoning resistance** as an architectural property: deterministic
61
+ evidence as the only promotion path, structural `source`, scope containment,
62
+ terminal rejection, and an untrusted-data banner — backed by heuristics and
63
+ containment, in that order of importance.
64
+
65
+ **Redaction before every durable write**, with hashing afterwards so stored
66
+ hashes cover what is actually on disk. `provalume audit` re-scans stored content.
67
+
68
+ **JSONL interchange.** Byte-identical exports, merge-friendly ordering, and an
69
+ import path that recomputes hashes rather than trusting them, rejects future
70
+ record versions, refuses foreign projects by default, and surfaces divergent
71
+ supersession as a conflict. Optional HMAC-SHA256 and Ed25519 signatures, both
72
+ fail-closed.
73
+
74
+ **Stable Python SDK, full CLI, and an MCP server** implemented against protocol
75
+ revision `2025-11-25` using only the standard library. The MCP surface exposes
76
+ read tools plus `propose`; promotion, invalidation, supersession, and delete are
77
+ absent by design and pinned by a test.
78
+
79
+ **Offline demo** (`provalume demo`) running the real engine in under a minute,
80
+ with an optional light-themed HTML report.
81
+
82
+ **Twenty-scenario replayable eval harness** with committed baseline results.
83
+
84
+ **Optional experimental vector retrieval** with a stdlib `HashingEmbedder`
85
+ baseline so the vector path is CI-tested without any optional dependency, plus
86
+ model2vec and fastembed backends and reciprocal rank fusion. Vectors never
87
+ authorise a record.
88
+
89
+ **Orkestra adapter** with structured event ingestion, digest injection, and
90
+ deterministic cleanup of generated context files.
91
+
92
+ **Documentation**: 18 ADRs, a 26-threat threat model, trust model, poisoning
93
+ analysis, privacy model, data model, retrieval reference, preflight reference,
94
+ JSONL specification, MCP guide, benchmark methodology, and a limitations document
95
+ that leads with the largest known weakness.
96
+
97
+ ### Known limitations
98
+
99
+ Not dogfooded on production runs — the schema comes from literature, a competitor
100
+ review, and a synthetic eval harness rather than from mined production failure
101
+ frequencies. No hard deletion, no access control, no cross-project memory, no
102
+ verified vendor context-file pickup. Retrieved memory cannot be forced to stay
103
+ data. Full list: `docs/reference/LIMITATIONS.md`.
104
+
105
+ ### Not claimed
106
+
107
+ No benchmark comparison against any other system. No LongMemEval-V2 score. No
108
+ superiority claim of any kind. `docs/reference/BENCHMARKS.md` explains what is
109
+ measured and what is not.
110
+
111
+ [0.1.0]: https://github.com/andyyaro/provalume/releases/tag/v0.1.0
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
provalume-0.1.0/NOTICE ADDED
@@ -0,0 +1,70 @@
1
+ Provalume
2
+ Copyright 2026 Andy Yaro
3
+
4
+ This product includes software developed by Andy Yaro.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7
+ this file except in compliance with the License. You may obtain a copy of the
8
+ License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software distributed
13
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
15
+ specific language governing permissions and limitations under the License.
16
+
17
+ -------------------------------------------------------------------------------
18
+ Third-party notices
19
+ -------------------------------------------------------------------------------
20
+
21
+ Provalume contains no third-party source code. Its required runtime
22
+ dependencies are used as libraries under their own licenses:
23
+
24
+ pydantic MIT https://github.com/pydantic/pydantic
25
+ typer MIT https://github.com/fastapi/typer
26
+ rich MIT https://github.com/Textualize/rich
27
+
28
+ Optional extras, installed only when explicitly requested:
29
+
30
+ cryptography Apache-2.0 OR BSD-3-Clause https://github.com/pyca/cryptography
31
+ numpy BSD-3-Clause https://github.com/numpy/numpy
32
+ model2vec MIT https://github.com/MinishLab/model2vec
33
+ fastembed Apache-2.0 https://github.com/qdrant/fastembed
34
+
35
+ -------------------------------------------------------------------------------
36
+ Attribution of ideas (no code copied)
37
+ -------------------------------------------------------------------------------
38
+
39
+ Provalume's design was informed by reading the following projects and papers.
40
+ No source code from any of them was copied, adapted, or vendored. See
41
+ docs/research/COMPETITOR_TRIALS.md for the review that produced these notes and
42
+ docs/adr/ for the decisions taken.
43
+
44
+ Bi-temporal facts with invalidation instead of deletion
45
+ Zep / Graphiti (Apache-2.0, https://github.com/getzep/graphiti) and
46
+ "Zep: A Temporal Knowledge Graph Architecture for Agent Memory"
47
+ (arXiv:2501.13956). Schema concept only.
48
+
49
+ Pre-action gate that warns before repeating a known-failed fix
50
+ ProjectMem (MIT, https://github.com/riponcm/projectmem),
51
+ arXiv:2606.12329. Concept only; Provalume's gate is an independent
52
+ implementation keyed on deterministic failure signatures.
53
+
54
+ Verify-before-promote for procedural memory
55
+ Voyager (arXiv:2305.16291) and Memp (arXiv:2508.06433).
56
+
57
+ Recency x usage x relevance scoring with usage-weighted decay
58
+ Generative Agents (arXiv:2304.03442) and MemoryBank (arXiv:2305.10250).
59
+
60
+ Reciprocal rank fusion over lexical and vector retrieval; single-file
61
+ SQLite substrate with FTS5 plus optional vectors
62
+ AIngram (Apache-2.0, https://github.com/bozbuilds/AIngram) as a published
63
+ reference architecture; RRF itself is from Cormack et al., 2009.
64
+
65
+ Memory governance as first-class metadata
66
+ MemOS (arXiv:2507.03724). Framing only.
67
+
68
+ Git-committed JSONL as the portable interchange layer with a database as
69
+ a rebuildable cache
70
+ Beads (MIT, https://github.com/steveyegge/beads).