Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Cordis Memory

cordis-memory is the persistent cognitive store for Cordis. It uses Python's built-in SQLite support: no graph server, vector database, model, or network dependency is required.

It stores five durable kinds of cognition:

  • event: a task, plan, tool, test, error, or verification observation;
  • episode: a completed task experience;
  • knowledge: an evidence-backed fact with provenance;
  • pattern: a repeated independently sourced observation with confidence;
  • capability and principle: model/tool performance and stable action rules.

Memory scopes are conversation, workflow, project, and global. Project-scoped cognition is never returned to another project. Global knowledge is deliberately shared only when a caller requests global scope.

The relationship graph uses nodes and edges in the same SQLite database. The initial graph records task-to-event and event-to-tool relations; hosts can add their own project, artifact, model, environment, plan, and evidence nodes.

Minimal use

from cordis_memory import CognitiveStore

store = CognitiveStore("cordis-cognition.db")
store.record_event({
    "event_type": "tool_failed",
    "project_id": "my-app",
    "task_id": "task-1",
    "tool": "shell",
    "subject": "npm test",
    "actual": "exit code 1",
})

store.remember(
    kind="knowledge",
    subject="package manager",
    content="This project uses pnpm workspace.",
    scope="project",
    project_id="my-app",
    source_id="repo-readme",
)

snapshot = store.query(intent="package workspace", project_id="my-app")

Patterns begin as candidates and become active only after at least two independent source_id values support the same statement.

Metadata

Release files for cordis-memory 0.5.1

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

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for cordis-memory 0.5.1
File Size Uploaded Provenance Actions
cordis_memory-0.5.1.tar.gz 10.0 kB Without provenance Details for cordis_memory-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cordis-memory 0.5.1
File Interpreter ABI Platform Actions
cordis_memory-0.5.1-py3-none-any.whl Python 3 none any Details for cordis_memory-0.5.1-py3-none-any.whl

Total release size: 18.3 kB

Release files / cordis_memory-0.5.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL cordis_memory-0.5.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c9294bf9e52ef953b94ba0e71fe8bc444b098ca877857c2b11bc14a2f630904
BLAKE2b-256 checksum
How to use checksums
3ed9cc77383901461cfd0a4eb9a2f5363e1d82da0273cb21a9467bd5550c3e7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / cordis_memory-0.5.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL cordis_memory-0.5.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f49fe53045e5027dd54194e6dca41c2be7ab68e8b2287ba88d0c4db691d4e7a1
BLAKE2b-256 checksum
How to use checksums
9ad6304de392c66cd67393780b5da351d96fdddba8b12b74b1839a20bc997747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for cordis-memory 0.5.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.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.4.0 2 files With provenance
  • Added 0.5.1 2 files Without provenance

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