fix: Bound catalog helper descriptor lifetimes #730

Manually merged
erikinkinen merged 0 commits from fix/catalog-helper-descriptor-lifetime into feature/native-scripted-root-build 2026-11-11 16:46:42 +01:00
Owner

A helper batch kept every file capture open until its final namespace check, exhausting descriptors on larger source graphs. Read each helper through its complete original file, named-edge, extent and hash proof, then require positive capture retirement before the next helper opens. Keep the original root and both independent namespace views for the whole batch, and publish results only after the complete POST check.

Retain every actual capture attempt, including partial opens and uncertain closes. Reject a retired record before probing its obsolete kernel witness, so descriptor-number reuse cannot revive authority or invalidate an established close.

The real low-headroom control lowers the process descriptor limit after source preparation and verifies the whole roster with one live body capture. All 17 helper controls and 14 descriptor-use unit tests pass. The unknown-close control retains actual custody uncertainty and observes the defining fail-stop boundary; only its enclosing process forest is positively disposed.

Addresses #728. Depends on #690 and preserves #725's bounded body checks. The larger native graph reproduction remains tracked in #728.

A helper batch kept every file capture open until its final namespace check, exhausting descriptors on larger source graphs. Read each helper through its complete original file, named-edge, extent and hash proof, then require positive capture retirement before the next helper opens. Keep the original root and both independent namespace views for the whole batch, and publish results only after the complete POST check. Retain every actual capture attempt, including partial opens and uncertain closes. Reject a retired record before probing its obsolete kernel witness, so descriptor-number reuse cannot revive authority or invalidate an established close. The real low-headroom control lowers the process descriptor limit after source preparation and verifies the whole roster with one live body capture. All 17 helper controls and 14 descriptor-use unit tests pass. The unknown-close control retains actual custody uncertainty and observes the defining fail-stop boundary; only its enclosing process forest is positively disposed. Addresses #728. Depends on #690 and preserves #725's bounded body checks. The larger native graph reproduction remains tracked in #728.
erikinkinen added this to the Alpha 1 milestone 2026-11-11 16:30:44 +01:00
erikinkinen manually merged commit 45054e2721 into feature/native-scripted-root-build 2026-11-11 16:46:42 +01:00
Sign in to join this conversation.
No description provided.