etr: fit RESTORE_GAIN — restoring force green (14 PASS / 0 FAIL / 2 PEND)

Spring restoring force (gain 0.5) toward band centre 26, active only out
of band; pulls the basin into [17,35] in a couple of steps without
overshoot. Closes the two red tests (L3 magnitude, L2 convergence).
NOTE: superseded design incoming — Anja's 4-zone bistable axis (snap
<7 / soft-pull 7-17 / stable / incoherency 35-45 / snap >45) will fold
this in as the soft-pull gain and revise L7.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015hmgREHNsxYCuim33yUF2c
This commit is contained in:
Claude
2026-06-17 05:17:14 +00:00
parent fe65602f16
commit 80791084a4
3 changed files with 38 additions and 13 deletions
+3 -2
View File
@@ -20,8 +20,9 @@ engine, and *not* migration. The axes:
Handles the stress PS+/Eth-Int generate.
## 2. Status / certainty
**SCAFFOLD — built and tested this session** (`run_etr_tests.sh` → 12 PASS / 2 FAIL-by-design /
2 PEND). Full law + status in `../../src/endocrine/etr/etr_invariants.md` (this spec defers to it).
**SCAFFOLD — `RESTORE_GAIN` fitted** (`run_etr_tests.sh` → **14 PASS / 0 FAIL / 2 PEND**; the 2 PEND
are L5 active coupling and L7). Full law + status in `../../src/endocrine/etr/etr_invariants.md`
(this spec defers to it).
## 3. Language & location
GNU Octave · `src/endocrine/etr/` (`etr.m`, `test_etr.m`, `run_etr_tests.sh`, `etr_invariants.md`).