# Task 1 brief (part): task-1c-experiments-brief.md ## 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 end with: ``` Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01KAWnnPg2qvmLNySamE2k85 ``` ## Your steps - [ ] **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 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01KAWnnPg2qvmLNySamE2k85" ```