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.9.0, with public SDK and extension API v1.
Version 2.9.0 adds the explicit, digest-bound ledger-migrate framework
(docs/MIGRATIONS.md) and deprecates the copied bundle (docs/BUNDLE_MODE.md).
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
Install the exact published release from PyPI:
pipx install "palimnex[crypto]==2.9.0"
Or install the same release directly from its Git tag:
pipx install "palimnex[crypto] @ git+https://github.com/EdwinKestler/palimnex@v2.9.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.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| palimnex-2.9.0.tar.gz | 272.3 kB | With provenance | Details for palimnex-2.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| palimnex-2.9.0-py3-none-any.whl | Python 3 | none | any | Details for palimnex-2.9.0-py3-none-any.whl |
Total release size: 488.5 kB
Release files / palimnex-2.9.0.tar.gz
| Download URL | palimnex-2.9.0.tar.gz |
|---|---|
| Size | 272.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f264958202f638b92ec9ea573c10b2412613a5bcb892268f72aa07987a6593b
|
|
BLAKE2b-256 checksum How to use checksums |
cc423ca917a8416f6035f7baeb983fba916b2291a73b3d0f27891995ccb22387
|
| 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 2, 2026.
Transparency logRelease files / palimnex-2.9.0-py3-none-any.whl
| Download URL | palimnex-2.9.0-py3-none-any.whl |
|---|---|
| Size | 216.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71a7ab7960205ee70c450beb9af3161af0d101bf8b0d16db84dbcf1429c859f0
|
|
BLAKE2b-256 checksum How to use checksums |
1c7cb34ff2ce6e240128ffae4dd4c122e46e1b592ce025937e2779abd2ac7201
|
| 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 2, 2026.
Transparency logSecurity for palimnex 2.9.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.
Attestation for palimnex-2.9.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 2, 2026.
Transparency logA 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.