Git-for-knowledge tile versioning — commit, branch, merge (Ours/Theirs/Synthesis), rollback
Project description
plato-tile-version
Git-for-knowledge tile versioning — commit, branch, merge, rollback.
Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.
Installation
pip install plato-tile-version
Usage
from plato_tile_version import TileVersioner, MergeStrategy
v = TileVersioner()
# Commit versions
v.commit({"id": "t1", "content": "Version 1"}, message="initial")
v.commit({"id": "t1", "content": "Version 2"}, message="update")
# Branch and merge
v.branch("experiment")
v.commit({"id": "t1", "content": "Experiment version"}, branch="experiment")
result = v.merge("experiment", into="main", strategy=MergeStrategy.SYNTHESIS)
# Rollback
v.rollback("t1", version=1)
# View history and diffs
print(v.log("t1"))
print(v.diff("t1", 1, 2))
Knowledge is code. Every change is a commit. Every divergence is a branch.
Zero external dependencies. Compatible with Python 3.8+.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plato_tile_version-0.1.0.tar.gz.
File metadata
- Download URL: plato_tile_version-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
545ffc29889dc9c973673e446fa930cb436e4195f11f96480a7d0a1726cb1b50
|
|
| MD5 |
6e0e91649dc71868eb2304dc6b97fc68
|
|
| BLAKE2b-256 |
e780a567f9e8640d439ca53fb0019892c32c5759669a2f53cdac469e93ec7174
|
File details
Details for the file plato_tile_version-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plato_tile_version-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd811605199c06b8356d71cb741e4ad8abc11fab25852955e77179b539dedd2
|
|
| MD5 |
22007b87be528aff099628b6ce7a9ddd
|
|
| BLAKE2b-256 |
6ea95a13135dc5f45ca0d4d64c9a66365f4f272c04cb7276567a94e2a3ba4347
|