Files
chrnx 698a852fad docs: drop the co-authoring trailer
Diego's call. Removed from all four repos' history and from every source that mandated it:
the plan's global constraints, its per-task commit blocks, and the nine task briefs.

Task reports and the ledger keep their mentions on purpose — they record what happened,
including the trailer disagreement between subagents, and editing them would falsify the
record.
2026-09-02 13:20:23 -05:00

162 lines
3.8 KiB
Markdown

# Task 1: Scaffold the three repos
## Global constraints
- Root `ia-stuff/` is **not** a git repo; `ailed/`, `experiments/`, `paper/` each are. Commit inside the repo you touched.
- No hand-written backward passes. Autograd only (spec §1, §11).
- $\psi$ never carries gradient: it is built from `loss.item()` (spec §5).
- Every oracle is opt-in and must leave the non-oracle trajectory byte-identical (spec §7).
- $\kappa = 0$ must be a single flag that disables affect on the gate (spec §4).
- Affect axes are read by name (`valence`, `arousal`), never by position, outside `Organism.forward` (spec §5).
- Commit messages carry **no** co-authoring or session trailer.
**Files:**
- Create: `ailed/pyproject.toml`, `ailed/src/ailed/__init__.py`, `ailed/tests/test_smoke.py`, `ailed/.gitignore`
- Create: `experiments/pyproject.toml`, `experiments/tests/test_smoke.py`, `experiments/.gitignore`
- Create: `paper/README.md`, `paper/.gitignore`
**Interfaces:**
- Produces: importable package `ailed`; `experiments` environment that can `import ailed`.
- [ ] **Step 1: Library repo**
```bash
cd /Users/chrnx/workspace/chrnx-dev/ia-stuff
mkdir -p ailed/src/ailed ailed/tests && cd ailed && git init -q
```
`ailed/pyproject.toml`:
```toml
[project]
name = "ailed"
version = "0.1.0"
description = "Relational-affective organism: affective CPPN, RP, GRP, 2-axis affect"
requires-python = ">=3.11"
dependencies = ["torch>=2.2", "numpy>=1.26"]
[dependency-groups]
dev = ["pytest>=8"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/ailed"]
```
`ailed/src/ailed/__init__.py`:
```python
"""AILED: relational-affective organism. See AILED_General_Specification.md."""
```
`ailed/tests/test_smoke.py`:
```python
def test_import():
import ailed # noqa: F401
```
`ailed/.gitignore`:
```
.venv/
__pycache__/
*.egg-info/
.pytest_cache/
```
- [ ] **Step 2: Run the smoke test**
Run: `cd ailed && uv sync && uv run pytest -q`
Expected: `1 passed`
- [ ] **Step 3: Commit**
```bash
cd ailed && git add -A && git commit -q -m "chore: scaffold ailed library
```
- [ ] **Step 4: Experiments repo**
```bash
cd /Users/chrnx/workspace/chrnx-dev/ia-stuff
mkdir -p experiments/tests experiments/results && cd experiments && git init -q
```
`experiments/pyproject.toml`:
```toml
[project]
name = "ailed-experiments"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = ["ailed", "torch>=2.2", "numpy>=1.26"]
[tool.uv.sources]
ailed = { path = "../ailed", editable = true }
[dependency-groups]
dev = ["pytest>=8"]
[tool.pytest.ini_options]
pythonpath = ["."]
```
`experiments/tests/test_smoke.py`:
```python
def test_library_importable():
import ailed # noqa: F401
```
`experiments/.gitignore`:
```
.venv/
__pycache__/
.pytest_cache/
results/*.json
```
- [ ] **Step 5: Run the smoke test**
Run: `cd experiments && uv sync && uv run pytest -q`
Expected: `1 passed`
- [ ] **Step 6: Commit**
```bash
cd experiments && git add -A && git commit -q -m "chore: scaffold experiments repo depending on ../ailed
```
- [ ] **Step 7: Paper repo**
```bash
cd /Users/chrnx/workspace/chrnx-dev/ia-stuff && mkdir -p paper && cd paper && git init -q
```
`paper/README.md`:
```markdown
# AILED: A Domain-Free Relational-Affective Organism
Manuscript for the second AILED paper. Design: `../AILED_General_Specification.md`.
Claims:
- **A1, affect-gated adaptation.** Arousal biases the memory gate; recovery after an unannounced regime change approaches the change-flag oracle.
- **A2, affective topology.** The CPPN kernel with affect as input recovers part of the regime-id oracle's ceiling.
Results are produced by `../experiments/regime.py` and copied here as tables.
```
`paper/.gitignore`:
```
*.aux
*.log
*.out
_build/
```
```bash
git add -A && git commit -q -m "chore: paper scaffold
```