Skip to main content

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

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

Source distribution (sdist)

Source distribution for context-archive 1.0.3
File Size Uploaded Provenance Actions
context_archive-1.0.3.tar.gz 84.1 kB With provenance Details for context_archive-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for context-archive 1.0.3
File Interpreter ABI Platform Actions
context_archive-1.0.3-py3-none-any.whl Python 3 none any Details for context_archive-1.0.3-py3-none-any.whl

Total release size: 194.6 kB

Release files / context_archive-1.0.3.tar.gz

Download URL context_archive-1.0.3.tar.gz
Size 84.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bacb7c03e508cc53e9ff126113dd4dca7d9ce6baff287f5110402c862162a747
BLAKE2b-256 checksum
How to use checksums
f0eff200ed62d3f6e7324c9ec0dae9f1bc3ec2b83cd77f3e68ace589013a631a
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 5, 2026.

Transparency log

Release files / context_archive-1.0.3-py3-none-any.whl

Download URL context_archive-1.0.3-py3-none-any.whl
Size 110.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db988ff4dbfffbc4b242349a3385f0dbcad9f31ad719b457877ff2dabfab0c62
BLAKE2b-256 checksum
How to use checksums
6a410ee37aa1c72421a527bf29a5ee8d334372aebf7e031d182741ae943f9990
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 5, 2026.

Transparency log

Security for context-archive 1.0.3

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.

Select from 2 files

Attestation for context_archive-1.0.3.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 5, 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