mneme-code 3.5.0__tar.gz → 3.6.2__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.
- {mneme_code-3.5.0 → mneme_code-3.6.2}/.gitignore +1 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/PKG-INFO +2 -2
- {mneme_code-3.5.0 → mneme_code-3.6.2}/README.md +1 -1
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/__init__.py +3 -1
- {mneme_code-3.5.0 → mneme_code-3.6.2}/pyproject.toml +6 -1
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/test_trajectory.py +1 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/agents.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/cli.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/failure.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/py.typed +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/resolve.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/stacktrace.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/testrun.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/mneme_code/trajectory.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/__init__.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/test_agents.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/test_branch_aware.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/test_mneme_code.py +0 -0
- {mneme_code-3.5.0 → mneme_code-3.6.2}/tests/test_testrun.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mneme-code
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.2
|
|
4
4
|
Summary: Deterministic Python code-failure memory layer for mneme: redact-before-store, provenance-labelled FailureMemory, vault-ready markdown output.
|
|
5
5
|
Author: Onour Impram
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,7 +29,7 @@ Deterministic Python code-failure memory for mneme. Parses CPython tracebacks
|
|
|
29
29
|
into structured failures, renders them as vault-ground-truth markdown memories,
|
|
30
30
|
and resolves stack frames to [mneme-graph](../mneme-graph) function nodes.
|
|
31
31
|
|
|
32
|
-
Part of the [mneme](https://github.com/
|
|
32
|
+
Part of the [mneme](https://github.com/OnourImpram/mneme) memory engine.
|
|
33
33
|
|
|
34
34
|
## What it does (v1)
|
|
35
35
|
|
|
@@ -4,7 +4,7 @@ Deterministic Python code-failure memory for mneme. Parses CPython tracebacks
|
|
|
4
4
|
into structured failures, renders them as vault-ground-truth markdown memories,
|
|
5
5
|
and resolves stack frames to [mneme-graph](../mneme-graph) function nodes.
|
|
6
6
|
|
|
7
|
-
Part of the [mneme](https://github.com/
|
|
7
|
+
Part of the [mneme](https://github.com/OnourImpram/mneme) memory engine.
|
|
8
8
|
|
|
9
9
|
## What it does (v1)
|
|
10
10
|
|
|
@@ -36,6 +36,8 @@ Public API
|
|
|
36
36
|
from mneme_code.trajectory import FixTrajectory, fix_from_failure, fix_to_markdown
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
|
+
from importlib.metadata import version as _distribution_version
|
|
40
|
+
|
|
39
41
|
from mneme_code.agents import ProceduralMemory, parse_agents_md, procedural_to_markdown
|
|
40
42
|
from mneme_code.failure import FailureMemory, failure_from_traceback, failure_to_markdown
|
|
41
43
|
from mneme_code.resolve import resolve_frames
|
|
@@ -48,7 +50,7 @@ from mneme_code.testrun import (
|
|
|
48
50
|
)
|
|
49
51
|
from mneme_code.trajectory import FixTrajectory, fix_from_failure, fix_to_markdown
|
|
50
52
|
|
|
51
|
-
__version__ = "
|
|
53
|
+
__version__ = _distribution_version("mneme-code")
|
|
52
54
|
__all__ = [
|
|
53
55
|
"__version__",
|
|
54
56
|
"Frame",
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mneme-code"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.6.2"
|
|
8
8
|
description = "Deterministic Python code-failure memory layer for mneme: redact-before-store, provenance-labelled FailureMemory, vault-ready markdown output."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -60,3 +60,8 @@ ignore_missing_imports = true
|
|
|
60
60
|
testpaths = ["tests"]
|
|
61
61
|
python_files = "test_*.py"
|
|
62
62
|
addopts = "-v --strict-markers --cov=mneme_code --cov-report=term-missing --cov-fail-under=80"
|
|
63
|
+
|
|
64
|
+
[tool.coverage.run]
|
|
65
|
+
branch = true
|
|
66
|
+
data_file = ".coverage.mneme-code"
|
|
67
|
+
source = ["mneme_code"]
|
|
@@ -302,6 +302,7 @@ class TestTemporalIntegration:
|
|
|
302
302
|
"type": "claim",
|
|
303
303
|
"supersedes": note_id,
|
|
304
304
|
"claim_key": f"failure.{fix.failure_id}",
|
|
305
|
+
"created": fix.resolved_at.isoformat(timespec="microseconds"),
|
|
305
306
|
"valid_from": fix.resolved_at.isoformat(timespec="microseconds"),
|
|
306
307
|
}
|
|
307
308
|
claim = claim_from_note(fix_fm, "# fix\n", path="code-fixes/x.md", content_hash="c" * 64)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|