Skip to content

v0.7.1 — Reasoning Memory Layer

Pre-release
Pre-release

Choose a tag to compare

@halvrenofviryel halvrenofviryel released this 27 May 19:10
· 66 commits to main since this release

Substrate evolution release. Two features in the Claude Code harness layer above phionyx_core. phionyx-core PyPI package itself remains at v0.7.0.

F-RM1 — Reasoning Memory Graph

Typed Pydantic graph view over existing pipeline-MCP telemetry. Inspired by the 2026-05-26 agent-memory writeups from Paul Iusztin (Designing Your Agents' Unified Memory) and Akshay Pachaar (Pydantic fixed my Agent's Memory).

  • 5 node types: SessionNode · ClaimNode · VerdictNode · CommitNode · ToolCallNode
  • 6 edge types: produced_verdict · had_evidence_type · led_to_commit · belongs_to_session · preceded_commit · triggered_revision
  • 6 canonical queries — query_tool_pass_rate · query_phi_bucket_pass_rate · query_commits_by_directive · query_passed_despite_no_evidence · query_gate_to_commit_lag · honestly-empty query_evidence_type_pass_rate (v0.8.0 candidate: extend telemetry write to capture input parameters)

Reproduce: python3 -m pytest tools/claude_code_mcp/tests/test_reasoning_memory_graph.py -q11 passed.

F-MS1 — Memory Schema Validation

Pydantic discipline applied to the Claude Code auto-memory directory (the same discipline Phionyx applies to its own evidence envelopes).

  • MemoryFrontmatter model with 5 types (user / feedback / project / reference / reasoning_lesson), 5 required fields, body 5–200 line bounds, kebab-case slug enforcement, [[link]] validation, ISO-8601 date validation.
  • CLI gate check_memory_schema.py — informational by default; PHIONYX_MEMORY_STRICT=1 blocks.

Reproduce: python3 -m pytest tools/claude_code_mcp/tests/test_memory_schema.py -q16 passed.

Files in this release

tools/claude_code_mcp/
├── reasoning_memory_graph.py        (F-RM1 typed graph)
├── memory_schema.py                  (F-MS1 Pydantic frontmatter model)
├── check_memory_schema.py            (F-MS1 CLI gate + SessionStart hook entry)
├── README.md
└── tests/
    ├── test_reasoning_memory_graph.py   (11 tests)
    └── test_memory_schema.py            (16 tests)

Discipline note

Both features are infrastructure / audit-surface expansions, not cognitive progress. Per .claude/rules/agi-architecture.md Invariant 3: retrieval-only changes are NOT AGI progress. Mind-loop stage: none.

Companion ship

v0.7.2 follows immediately (release notes) with the Self-Correcting Loop (P1–P5) and Paper 03 §4.5 documenting both releases.