refactor(pi): generate modular session instructions (#25)

This commit is contained in:
2026-08-24 01:36:08 +02:00
parent 4a654de84a
commit eccf6212f1
15 changed files with 606 additions and 0 deletions
@@ -0,0 +1,19 @@
# Modular Pi instruction sources
`../SKILL.md` is the committed projection read by Pi. Do not edit it directly.
Edit `../projection.md.tmpl` and the ordered Disambiguation/Memory fragments here,
then regenerate from `harness/`:
```bash
python -m tht.pi_skill_projection --write
```
Check that the committed projection is current with:
```bash
python -m tht.pi_skill_projection --check
```
Composition order is the static `FRAGMENT_ORDER` tuple in
`tht/pi_skill_projection.py`; the generator never discovers files from the directory.