Skip to content

specs/049: shared-intermediate pools and carrier_loops.csv (draft; arms pending) - #111

Merged
adamjohnwright merged 4 commits into
mainfrom
049-shared-intermediate-pools
Oct 12, 2026
Merged

adamjohnwright merged 4 commits into
mainfrom
049-shared-intermediate-pools

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Generator side of deltasignal specs/049, which is pre-registered and has no arm run yet.

  • specs/048 B1 and B2: LNG_POOL_JOIN_MEMBERS and LNG_POOL_REGEN=protein, both off by default.
  • LNG_POOL_SHARED: off by default. Pools that share an intermediate or step copy both keep it. A shared state is still dropped.
  • carrier_loops.csv: always written, and purely additive. It lists each carrier loop find_pools rejects, with its free forms and the in-edges into them from inside the loop. "Closed" means nothing outside the loop feeds the loop.
  • Review fixes:
    • a release through variant_split now counts as inside the loop;
    • the B1 regeneration exemption is gated on its flag, so the defaults are main's;
    • one row per (free form, source);
    • every positive entity in-edge counts as supply.

Tests are in tests/test_pools.py. The one local failure, Class I MHC in test_network_invariants, reads local output files and fails on main too.

Do not merge before the arms are read. Adam merges LNG PRs.

🤖 Generated with Claude Code

adamjohnwright and others added 4 commits October 10, 2026 23:23
…_POOL_SHARED keeps pool-shared intermediates and step copies

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… in-edges from inside the loop (closed loops: all of them); tests for it and for LNG_POOL_SHARED

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… is inside the loop (closed, listed); the B1 pool-member regeneration exemption only under LNG_POOL_JOIN_MEMBERS (defaults byte-identical to main); one row per (free form, source), closed if any loop is; tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…'closed'; one conflict set name (mypy)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@adamjohnwright
adamjohnwright marked this pull request as ready for review October 12, 2026 18:01
@adamjohnwright
adamjohnwright merged commit 01206ca into main Oct 12, 2026
4 checks passed
@adamjohnwright
adamjohnwright deleted the 049-shared-intermediate-pools branch October 12, 2026 18:01
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