Repository navigation
Define CMUX execution roles and workload capabilities - #1072
Closed
teamleaderleo wants to merge 79 commits into
Closed
teamleaderleo wants to merge 79 commits into
teamleaderleo wants to merge 79 commits into
Conversation
This was referenced Sep 21, 2026
Operate CMUX-owned fleet through drain, upgrade, quarantine, repair, repurpose, and retirement
#1058
Open
Owner
Author
|
Coordination with the new repository-owned corpus in manaflow-ai/cmux#13411 / #1071: For CMUX roles, keep two generations distinct:
A Glaeda “acceptance-workload generation” should reference/bind the CMUX profile identity rather than become a second semantic version for the CMUX command/result. The role-capacity and physical-lease work in this PR remains Glaeda-owned and composes cleanly outside the canonical That separation lets #546 compare eligible backends while preserving one source of truth for which CMUX tests/artifacts/validators constitute the operation. |
teamleaderleo
force-pushed
the
codex/cmux-fleet-enrollment-1056
branch
from
September 21, 2026 17:39
d58f331 to
6b794f4
Compare
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #1067 / #1056.
Defines the CMUX-owned fleet execution-role and workload-capability contract without widening current v1 enrollment.
Role vocabulary
Closed set:
cmux_macos_native_buildcmux_macos_testcmux_linux_cicmux_linux_agentartifact_cachebackground_replaybenchmarkdiagnosticCompile/release/dev-build, app-host, web CI, build-helper, and background verification remain semantic capabilities/operations under those roles.
Eligibility and generations
Role eligibility requires exact acceptance and binds:
Enrollment by itself grants zero execution-role eligibility. Glaeda/workload/toolchain/capability changes stale affected canaries and measured capacity evidence.
Workload and capacity
glaeda-cmux-workload-requirement/v1names platform/architecture, semantic toolchain profile, classed resources, capabilities, role, operation, and one ofsmall|medium|large|exclusive. It contains no node selector or caller-controlled raw CPU/RAM/cgroup values.glaeda-cmux-role-capacity/v1binds #760-style measurements to exact node/role/profile/generation context: validated completions, p50/p90, CPU/memory pressure, swap, thermal behavior, unfinished work, measured concurrency, and an evidence digest.Physical leases
Semantic operations compile locally to scarce claims including:
mac_native_build_lanemac_app_host_test_slotartifact_publisher_slotlinux_medium_slotlinux_heavy_slotbrowser_ui_test_slotlocal_admissionis explicitlyadmission_only; scarce work reports the #1057physical_execution_leaseboundary and must acquire that lease before launch. Fresh critical pressure vetoes after remote selection.Placement preference
Preference is a separate
observation_onlyrecord for #546. It can rank already eligible, measured candidates; it cannot create eligibility. Platform cost and machine age have no policy fields.Coverage
Focused tests cover exact eligibility, wrong Xcode/toolchain profile, CPU/memory class failure, failed/stale canaries, drain, toolchain/Glaeda/workload upgrades, shared scarce slots, profile-specific concurrency, ineligible external requests, pressure changing after selection, unmeasured/stale capacity evidence, synthetic Mac/Linux multi-role nodes, preference separation, and compact operator status.
Physical CMUX acceptance remains follow-up evidence: one Mac with two roles, one Linux node with two roles, plus clean incompatible-placement refusal.
Related: #1056 #1057 #1058 #546 #743 #760 #840.
Because this touches local admission / physical lease coordination, keep the PR gated on independent exact-head review and CI before merge.