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.1, 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

Install the exact published release from PyPI:

pipx install "palimnex[crypto]==2.8.1"

Or install the same release directly from its Git tag:

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

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.1

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.1
File Size Uploaded Provenance Actions
palimnex-2.8.1.tar.gz 248.9 kB With provenance Details for palimnex-2.8.1.tar.gz

Built distribution (wheel)

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

Total release size: 449.3 kB

Release files / palimnex-2.8.1.tar.gz

Download URL palimnex-2.8.1.tar.gz
Size 248.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d4ecb1b35050129b221034909f77059056bd2991aec4158c43ba67c87dda8f0d
BLAKE2b-256 checksum
How to use checksums
ed7fe548d5a85dfa6444fe73788360f2e34028f898bc011cbfca78d1458dfec8
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.1-py3-none-any.whl

Download URL palimnex-2.8.1-py3-none-any.whl
Size 200.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ad6bf38040fe14c59318a6700322a6994bec7db61206aa9e8f182ac6ec21ce0
BLAKE2b-256 checksum
How to use checksums
46325467b8c7252c3e6f0878a7f6c5f74fbfda058ffa9006f37f10a343b11888
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.1

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.1.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