Skip to main content

Palimnex

Palimnex is a repository-local memory system for coding agents. It combines a rebuildable Redis source-discovery cache with a durable SQLite historical ledger, encrypted portable packs, evidence-aware retrieval, and explicit retention and authorized-erasure controls.

This repository is the independent continuation of the portable Project Memory bundle originally developed inside btc-usdt-atomic-swap. Product-facing development now belongs here. No live Redis data, SQLite ledger, credentials, wallet material, atomic-swap implementation, or repository-specific rollback snapshot was copied.

The Python distribution version is 2.8.0, with public SDK and extension API v1. Version 2.8.0 adds a replicable palimnex:audit-graph:v1 export and an optional Semantica projector that copies that graph as untrusted history with TTL disabled and fail-closed erasure receipts. See the SDK guide for installation, typed interfaces, source resolvers, derivative adapters, signed checkpoints, the audit graph, optional Semantica projection, pack identity and MCP.

Use Palimnex in your repository

Palimnex is not yet on PyPI. Install it from a pinned release tag:

pipx install "palimnex[crypto] @ git+https://github.com/EdwinKestler/palimnex@v2.8.0"

Before the first run, add .palimnex/, *.pmem and *.key to the repository's .gitignore so the durable ledger and keys are never committed. In 2.8.0 and later, palimnex init --write does this and writes the configuration, palimnex redis start starts the guarded Redis, and palimnex doctor checks the installation. The installation guide covers configuration, Redis, first run, agent instructions and uninstall; the upgrade guide covers moving between versions.

Quick start (this repository)

Requirements are Python 3.11+, Redis server/CLI for cache-backed integration, and the distribution cryptography package for encrypted packs and signatures. Install development dependencies with python3 -m pip install -e '.[test,mcp]' inside a virtual environment to run the full gate, including MCP integration.

./scripts/palimnex_redis.sh start
python3 palimnex.py status
python3 palimnex.py index --incremental
python3 palimnex.py validate --deep
python3 palimnex.py evaluate --limit 5
python3 palimnex.py ledger-init
python3 palimnex.py ledger-status
python3 palimnex.py audit-graph

ledger-init is a one-time local write that creates the durable ledger; ledger-status exits 2 and audit-graph fails until it exists.

Run the standalone gate with:

./scripts/palimnex_check.sh

Repository source is authoritative. Cache and ledger results are discovery or historical evidence, never authorization to execute external actions.

Layout

  • palimnex.py — repository-root CLI.
  • palimnex/ — engine, schemas, fixtures, and tests.
  • docs/ — design, operations, retention, SDK contracts, and the Pages site.
  • scripts/palimnex_redis.sh — owner-only Unix-socket Redis launcher.
  • .palimnex.json — this repository's safe local configuration.
  • LICENSE — MIT license.
  • .github/workflows/palimnex-check.yml — CI for the standalone gate.
  • docs/index.html — dependency-free GitHub Pages architecture site.

See the installation guide, the upgrade guide, the SDK guide, the operator runbook, retention policy, compatibility policy, maintainer initialization prompt, and extraction record.

The Pages source can be previewed locally and published from docs/ by an authorized maintainer. See the Pages guide for the workflow and branch-source options.

Safety boundary

Palimnex never forgets durable data automatically. Cleanup is a separate, authorized transaction that resolves derivatives, enforces holds, removes eligible local content and indexes, recomputes dependent facts, verifies local stores, and writes a non-reconstructive audit tombstone. Optional Semantica copies of the audit graph are untrusted projections: retention_days must be None, and a mandatory store that reports not_configured, unsupported, or failed fails the adapter apply. It does not claim forensic deletion from SSDs, backups, snapshots, third-party systems, or unmanaged exported copies.

License

Palimnex is released under the MIT License. See LICENSE.

Metadata

Release files for palimnex 2.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for palimnex 2.8.0
File Size Uploaded Provenance Actions
palimnex-2.8.0.tar.gz 247.6 kB With provenance Details for palimnex-2.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for palimnex 2.8.0
File Interpreter ABI Platform Actions
palimnex-2.8.0-py3-none-any.whl Python 3 none any Details for palimnex-2.8.0-py3-none-any.whl

Total release size: 446.1 kB

Release files / palimnex-2.8.0.tar.gz

Download URL palimnex-2.8.0.tar.gz
Size 247.6 kB
Tags Source
SHA-256 checksum
How to use checksums
286accb34577cb990c4b26b059205b0722467895f9285393cb1d4eff501407d8
BLAKE2b-256 checksum
How to use checksums
5d69df3fae41856dd2a5e5244de16e126f7cd90dc1475182aa005d99469e586d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / palimnex-2.8.0-py3-none-any.whl

Download URL palimnex-2.8.0-py3-none-any.whl
Size 198.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
630915928681542a3e1591cfb304a490c27c395fa7080bf1bfcc2b53accd0d41
BLAKE2b-256 checksum
How to use checksums
83d348bed436e4475e9607254827a59482c51da8301417c6df771cf44d9cbfd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Security for palimnex 2.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for palimnex-2.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page