Metadata-Version: 2.4
Name: shivelinc
Version: 3.31.4
Summary: φ-lang v6 + φC engine + CR38 notebook renderer (shivelinc fork): chessboard-coordinate handwriting notebooks (.ram/.gθ), Rot24 fold geometry, point-blob codec, street/map rendering, shivelinc Board/HyperBoard binding
Author: Shivansh Rao Mavidanam
License: MIT
Keywords: phi-lang,chess,capability,engine,philang,cr38,notebook,handwriting,shivelinc
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: python-chess>=1.999
Requires-Dist: numpy>=1.20
Provides-Extra: shape
Requires-Dist: matplotlib>=3.5; extra == "shape"
Requires-Dist: numpy>=1.20; extra == "shape"
Provides-Extra: cr38-render
Requires-Dist: Pillow>=9.0; extra == "cr38-render"

# shivelinc

φ-lang v6 + φC engine + CR38 notebook renderer — Shiv's own engine library.

## Baseline (2026-09-02)

shivelinc starts as a **full fork of chlang 3.31.3** (the live engine verified
against the installed site-packages copy — byte-identical source, plus the
`cr38/tests` suite that the release tree was missing). All future progress is
stacked on top of this baseline.

### What the rename touched (code only)
- Package directory `chlang/` → `shivelinc/`
- All module imports / dynamic strings (`import chlang`, `from chlang.x`,
  `chlang.libraries`, `chlang.skills`, …) → `shivelinc.*`
- Native-bridge identifiers (`libchlang.so` → `libshivelinc.so`,
  `chlang_c` → `shivelinc_c`, `chlang_*` C symbols → `shivelinc_*`)
- Env / constants (`CHLANG_HOME`/`CHLANG_LIB` → `SHIVELINC_*`,
  `CHLANG_OWN_BLOCKS` → `SHIVELINC_OWN_BLOCKS`)
- Config paths (`~/.chlang` → `~/.shivelinc`), packaging identity
  (pyproject name/entry points/package-data), README

### What is intentionally left byte-identical (corpus / info)
- `data/` — phrase index, skill map, capability dict, version chain, brain db
- `grammars/` — 42 grammar profiles
- `skills/*.phi_skill`, `classes/*.phi_class` — ingested skill registries
  (they describe the upstream Hermes skill names, e.g. `chlang-development`,
  and keep their atom-coded content valid)
- `__version__ = "3.31.3"` — parity with the chlang baseline it was copied from

## Install (dev)

```bash
cd ~/Hermes/v3/v4/software/shivelinc
python3.11 -m venv .venv            # any Python >= 3.10
.venv/bin/pip install -e .          # pulls python-chess
.venv/bin/python -c "import shivelinc; print(shivelinc.__version__)"
```

Optional extras: `pip install -e ".[shape]"` (mesh/numpy), `-e ".[cr38-render]"` (Pillow).

## Smoke test

```python
import shivelinc
print(shivelinc.__version__)            # 3.31.3
from shivelinc.phi_grammar import ...   # codec round-trips
from shivelinc.phi_skill import skill_count
```

## Stacking progress

This repo is the working tree for shivelinc. Convention inherited from
chlang: public symbols are append-only (never mutate/rename existing
symbols — add new ones); `version_chain.py` records additions; new domains
land as modules + tests under `shivelinc/`.

Upstream drift watch: if chlang publishes fixes you want, port them in
explicitly (this is a fork, not a mirror) and record the port in
`version_chain.py`.
