Skip to content

LNG_SPECIALIZATION_CLOSED=twin (default): a specialization bridge does not open a carrier loop (deltasignal specs/068) - #118

Merged
adamjohnwright merged 2 commits into
mainfrom
specialization-closed
Oct 17, 2026
Merged

adamjohnwright merged 2 commits into
mainfrom
specialization-closed

Conversation

@adamjohnwright

@adamjohnwright adamjohnwright commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

deltasignal specs/068. LNG_SPECIALIZATION_CLOSED (twin default | off): under twin the carrier-loop closedness test in find_pools ignores specialization in-edges. A specialization bridge (specs/067) joins two copies of one species, as closed_twin's root-copy supply does, so it should not open a loop. The edges stay in logic_network.csv; only carrier_loops.csv changes.

In Release 97 this affects exactly one loop: PLC-gamma's release of the generic PDGF receptor (R-HSA-186811, 10 free forms), which specs/067 opened, letting PLCG1 set the receptor's level.

Measured (arm sctwin, build 20261017-0916_b251d86_sctwin, vs canonical results/fa2c451): curator held-out +18 (18 fixed / 0 broken, p 7.6e-6, all PLCG1), tuning 0, experimental 0; logic networks unchanged; every pre-registered prediction held.

Adopted as the default (Adam, 2026-10-17): twin; off restores the specs/067 behaviour.

Tests: 4 new (tests/test_pools.py: default/off/twin closedness, mode validation, flag registration and fingerprint). Non-DB suite 436 passed; ruff check src/ bin/ clean.

🤖 Generated with Claude Code

adamjohnwright and others added 2 commits October 17, 2026 09:16
… twin, a specialization in-edge does not open a carrier loop

The bridge joins two copies of one species, as closed_twin's root-copy
supply does. In Release 97 it reopens exactly one loop: PLC-gamma's
release of the generic PDGF receptor (R-HSA-186811, 10 free forms), which
let PLCG1 set the receptor's level (18 held-out cases broken in specs/067).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…is the default

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@adamjohnwright
adamjohnwright marked this pull request as ready for review October 17, 2026 16:43
@adamjohnwright adamjohnwright changed the title LNG_SPECIALIZATION_CLOSED: a specialization bridge does not open a carrier loop (deltasignal specs/068) LNG_SPECIALIZATION_CLOSED=twin (default): a specialization bridge does not open a carrier loop (deltasignal specs/068) Oct 17, 2026
@adamjohnwright
adamjohnwright merged commit 5e663d9 into main Oct 17, 2026
4 checks passed
@adamjohnwright
adamjohnwright deleted the specialization-closed branch October 17, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant