Metadata-Version: 2.4
Name: plato-tile-version
Version: 0.1.0
Summary: Git-for-knowledge tile versioning — commit, branch, merge (Ours/Theirs/Synthesis), rollback
Author-email: SuperInstance Fleet <fleet@cocapn.ai>
License: MIT
Project-URL: Homepage, https://github.com/SuperInstance/plato-tile-version
Project-URL: Repository, https://github.com/SuperInstance/plato-tile-version
Keywords: plato,tiles,versioning,git,branching,ai,knowledge
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# plato-tile-version

Git-for-knowledge tile versioning — commit, branch, merge, rollback.

Part of the [PLATO framework](https://github.com/SuperInstance) — deterministic AI knowledge management through tile-based architecture.

## Installation

```bash
pip install plato-tile-version
```

## Usage

```python
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+.

[GitHub](https://github.com/SuperInstance/plato-tile-version)
