changex-core
Core of ChangeX — the provenance-first edit-tracking spine (roadmap M0).
This package contains, with no network access and no MCP dependency:
changex_core.model— a canonical, addressable document-node tree whosenode_idis an opaque, edit-invariant identifier (NOT a content hash). For docx paragraphs it reuses Word's nativew14:paraId; for nodes lacking a native id it mints a monotonic per-session counter. A content+position fingerprint is demoted to a fallback rebind anchor used only for fuzzy re-resolution.changex_core.ops— the frozen v0.1 op vocabulary (docx-only):text.insert,text.delete,text.replace,node.insert,node.delete,style.change. Offsets are node-relative and seq-ordered;beforesubstrings are validated against current node content.changex_core.journal— the append-only JSONL.changexjournal with an RFC 8785 (JCS) canonicalized sha256 hash chain, plusappend,read,replay,verify, andrevert.changex_core.adapters— theDocumentAdaptercontract and the docx adapter that loads a.docx, applies the v0.1 ops, and renders native Word revisions (<w:ins>/<w:del>/<w:delText>/<w:pPrChange>) with centrally-allocated uniquew:id,w:author = <model name>, andw:date.changex_core.render— an HTML/markdown redline projection of the journal.changex_core.baseline— a baseline snapshot + out-of-band mismatch warning.changex_core.cli— a thin CLI (changex track / review / verify) that exercises the spine for the M0 script-based acceptance test.
Threat model (hash chain)
The hash chain gives tamper-evidence for accidental corruption and naive
tampering only. An attacker who controls the .changex can recompute the whole
chain. Adversarial integrity requires out-of-band storage or signing (deferred to
M6).
Metadata
Release files for changex-core 0.1.27
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 |
|---|---|---|---|---|
| changex_core-0.1.27.tar.gz | 98.4 kB | Without provenance | Details for changex_core-0.1.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| changex_core-0.1.27-py3-none-any.whl | Python 3 | none | any | Details for changex_core-0.1.27-py3-none-any.whl |
Total release size: 223.8 kB
Release files / changex_core-0.1.27.tar.gz
| Download URL | changex_core-0.1.27.tar.gz |
|---|---|
| Size | 98.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ca0e8b3f6bc5544b659c60c70d0d061ae7ff9311245330d30ae968b30cf3b6a
|
|
BLAKE2b-256 checksum How to use checksums |
b8226e6e15952be69a187945a7e6a34d0d68f6a1f131d07c5220cf9a6890934c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / changex_core-0.1.27-py3-none-any.whl
| Download URL | changex_core-0.1.27-py3-none-any.whl |
|---|---|
| Size | 125.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdf8eb2d3139d8fb4b82b06acf8cbbb903f223f4e52315a0c7581e717f8c8058
|
|
BLAKE2b-256 checksum How to use checksums |
ee31611ff87a44b06b7dc5329e498456f00a8a7c18ba954e8d9672bc276490b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for changex-core 0.1.27
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.