context-archive (ctxa)
Portable AI Project Context Compiler with incremental change journaling.
context-archive (ctxa) statically analyzes a software repository and compiles a compact, versioned, model-agnostic handoff artifact (PROJECT_CONTEXT.md) alongside a machine-readable canonical project graph (.context/graph.json) and append-only change journal (.context/journal/YYYY-MM.jsonl).
Quickstart Workflow
# 1. Initialize .context/, snapshot-0001.json, and PROJECT_CONTEXT.md
ctxa init
# 2. Record durable architectural decisions or constraints
ctxa note "All monetary calculations must use Decimal" --type constraint --scope src/pricing.py
# 3. Record incremental code changes into the append-only JSONL journal
ctxa update -m "Add discount rounding to calculate_total"
# 4. Inspect semantic diff and downstream caller/test impact
ctxa diff --format text
# 5. Refresh portable PROJECT_CONTEXT.md and verify cryptographic freshness
ctxa handoff
ctxa verify
# 6. Compile a token-budgeted context packet for a specific task
ctxa context "Add rate limiting to POST /orders" --max-tokens 6000
# 7. Fold unincorporated journal records into a new snapshot checkpoint
ctxa compact
Development & Verification Gates
poetry check --lock
poetry run ruff check .
poetry run ruff format --check .
poetry run mypy src tests --strict
poetry run pytest --cov=context_archive --cov-fail-under=90
License
MIT
Metadata
Release files for context-archive 1.0.2
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 |
|---|---|---|---|---|
| context_archive-1.0.2.tar.gz | 80.2 kB | With provenance | Details for context_archive-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| context_archive-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for context_archive-1.0.2-py3-none-any.whl |
Total release size: 187.1 kB
Release files / context_archive-1.0.2.tar.gz
| Download URL | context_archive-1.0.2.tar.gz |
|---|---|
| Size | 80.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89d4097aa29eb3404c99e09bf9fbfe7f1b85db263e55c4c94ee424084ed38625
|
|
BLAKE2b-256 checksum How to use checksums |
62a0b43cfff816c457be291599239a463952032735123ca9ccfa9da1e5d8e519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 4, 2026.
Transparency logRelease files / context_archive-1.0.2-py3-none-any.whl
| Download URL | context_archive-1.0.2-py3-none-any.whl |
|---|---|
| Size | 106.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c85ff7039f4d9469a30f9040858cd454e66cf4c6bce0b491fe1bfdbf26c3cfc
|
|
BLAKE2b-256 checksum How to use checksums |
7711a3e4ebee9d766ce5b4bdc8913dbb0efaa9ee6e571a1f50450de0ebdd1040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 4, 2026.
Transparency logSecurity for context-archive 1.0.2
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
Both files in this release have been uploaded with provenance metadata.
Attestation for context_archive-1.0.2.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 Nov 4, 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.