hotfix(admission): heavy verbs queue 2 per host for the whole run, full forms queue 1, recipe cgroup 2 CPU / 8 GB, hook setup only on setup-input change (operator 2026-12-05, host load fix)
Merged
MA
16h ago+788+788+012345678901234567890123456789-160-160-012345678901234567890123456789
- one queue ticket covers check's gen/fix/fmt converge (converging checks are mutating, typed converge budget)
- capacity_full: 1 for check-full/tests-full/mod-full; one gate name per route
- memory_limit_gb 8, --slice-inherit nests recipes in the caller slice; submodule clones 2 at a time
- process_exit_result: timeout/forwarded signal fail even at exit 0
- pre-commit setup row runs only on setup inputs (ADR-038 §7, flext#795)
- base reds: import_law_rules reuses snapshot.engine; publication catches rope syntax errors as a failed Result; mise trust for tmp checkouts; slow markers on subprocess tests
- docs regenerated and validated locally (make check exit 0)
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Bead: flext-43pl9
Governed WIP save from lane /home/marlonsc/flext/flext-infra-wip-flext-43pl9.
Summary by cubic
Reworks gate admission and runtime limits so heavy verbs queue 2 per host for their whole run, full forms queue alone, and each recipe is capped at 2 CPUs/8 GB.
Admission and limits
- One queue ticket now covers a check's gen/fix/fmt convergence; converging local checks are admitted as mutating gates and serialize per workspace.
capacity_fullcaps the queue at 1 while any full form (check-full,tests-full,mod-full) holds or waits.- The commit-hook
setuprow runs only when a setup input changes, via apre_commit_filesregex that replacesalways_runfor that row. - Submodule clones drop from 8 to 2 per wave;
--slice-inheritnests recipe cgroup scopes inside the caller's slice.
Process handling and fixes
- Timeouts and forwarded signals now fail even when the child exits 0, through the shared
process_exit_resultmapping. import_law_rulesreuses the snapshot engine instead of opening a second project;publicationcatches rope syntax errors as a failed Result.- Mise trusts only the repository and its scope ancestors for throwaway checkouts; subprocess-heavy tests are marked slow.