Skip to main content

Emit the four-layer memory model's L1 (.ai-memory/) from a CodeMap index

Project description

codemap-aimemory

Emits the four-layer memory model's L1 (.ai-memory/) output from a CodeMap index.

What it writes

.ai-memory/
├── entities/
│   ├── functions.yml       fn-* / cls-* entities, with calls / called_by /
│   │                       related_tables / signature / line_range
│   ├── tables.yml          tbl-* entities
│   └── files.yml           file-* entities
├── relations/
│   ├── call-graph.yml      from / to / type=calls / confidence
│   ├── table-relations.yml from / to / type=accesses_table / confidence
│   └── rule-constraints.yml (empty; managed by L2)
└── enrichment/             optional LLM overlay (one file per enriched
                            symbol, loaded by the emitter to fill
                            business_meaning / related_rules)

All writes are atomic per file (tmp + rename), so an Agent reading .ai-memory/ never sees a half-written tree.

Two-layer separation

The core L1 output (above) is purely deterministic — no LLM. The optional enrich CLI fills business_meaning / related_rules into separate enrichment/*.yml files. The emitter merges enrichment values when it re-emits, but the core JSON-store index never carries explanation text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_aimemory-0.3.1.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_aimemory-0.3.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file codemap_aimemory-0.3.1.tar.gz.

File metadata

  • Download URL: codemap_aimemory-0.3.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_aimemory-0.3.1.tar.gz
Algorithm Hash digest
SHA256 89d25683a9128da490f44d5bf50e05940c7e16eeed2b119e30b33f3a8a8709f1
MD5 10132b7c0bc95c6ab2ad8ee34b1c507a
BLAKE2b-256 668cf51f0e02562ad6161b8f5578b5f23dd65faf78696c0ae8e8d5d5be7ea1a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_aimemory-0.3.1.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_aimemory-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for codemap_aimemory-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2198a037244503cf82c33dd5c8363853c52c1289d6f18a10d2b5a7e60dd1b47
MD5 f91be5e7fb0cdbd9bc833cd6cb30a94b
BLAKE2b-256 5fa0eed932d45d195da6c67d574f476b7ba64721cd6937fd83a6dc23149d6dcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_aimemory-0.3.1-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page