You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lifecycle test family: M-GATE machine in the family (T1 and T2 obligations) #4095
area/testingTest infrastructure, fixtures, e2e harness, coverage.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/test
Part of the 0.37 lifecycle test family (lane T-1). Test infrastructure only.
Scope: Move the GATE machine from #4040 into tests/lifecycle/machines/test_m_gate.py on the shared world, model and oracles; cover OP x GATE x PRIM (T1) and FROZEN x SCOPE x GATE (T2) with rules declare/undeclare (exec, lsp, native, canvas), approve, deny, revoke, set_policy(variant), install, install --frozen, update, uninstall, prune, audit --ci, install , unpack; project scope and user scope with APM_HOME outside HOME; at most 10 rules; deployed == expected_deployed(model) plus I1-I9 after every step.
Done when: PR run (engine, max_examples 4) and nightly (binary, 25) both green; receipts cover every T1 and T2 obligation or a recorded strict expected failure; the recorded mutant still fails the machine; old GATE machine files removed or re-exported.
Out of scope: the SOURCE and SCOPE-LOCK machines; product fixes for failures the tests find (each gets its own issue; record failing cells as strict expected failures naming the tracking issue), CI topology changes beyond adding the new nodes to existing lifecycle shards.
Decision: approve
Area: project
Scope: Move the GATE machine from #4040 into tests/lifecycle/machines/test_m_gate.py on the shared world, model and oracles; cover OP x GATE x PRIM (T1) and FROZEN x SCOPE x GATE (T2) with rules declare/undeclare (exec, lsp, native, canvas), approve, deny, revoke, set_policy(variant), install, install --frozen, update, uninstall, prune, audit --ci, install , unpack; project scope and user scope with APM_HOME outside HOME; at most 10 rules; deployed == expected_deployed(model) plus I1-I9 after every step.
Done when: PR run (engine, max_examples 4) and nightly (binary, 25) both green; receipts cover every T1 and T2 obligation or a recorded strict expected failure; the recorded mutant still fails the machine; old GATE machine files removed or re-exported.
Out of scope: the SOURCE and SCOPE-LOCK machines; product fixes for failures the tests find (each gets its own issue; record failing cells as strict expected failures naming the tracking issue), CI topology changes beyond adding the new nodes to existing lifecycle shards.
Review contact: Daniel Meppiel (@danielmeppiel)
Decision: approve
Area: project
Scope: In addition to the approved #4095 scope, close the five GATE oracle-strength findings tracked in #4133 (command-specific write-set allowances for every observed root; outcome checked before the state comparison on install and update; successful uninstall must remove the declaration; LSP service claims reconciled with observed adapter configurations; I7 compares durable artifact bytes, not surface names). Also tighten the family oracles: I3 compares the remediation as well as the verdict, I7 requires an announcement for every skip, park or partial outcome, and I9 counts status lines per cause. The tightening lands after the fix PRs that retire the affected known-failure cells and flips those cells in the same PR.
Done when: each #4133 finding is closed or rejected with a written reason on the issue; every failure newly exposed by the tightening is a strict known-failure cell with an owning issue; the M-GATE machine and the family oracles are green on PR and nightly.
Out of scope: product fixes for newly exposed failures (each gets its own issue and record); oracle changes outside the GATE machine and tests/lifecycle/oracles.py.
Review contact: Daniel Meppiel (@danielmeppiel)
area/testingTest infrastructure, fixtures, e2e harness, coverage.status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/test
Activity
danielmeppiel commentedon Nov 20, 2026
Decision: approve
Area: project
Scope: Move the GATE machine from #4040 into tests/lifecycle/machines/test_m_gate.py on the shared world, model and oracles; cover OP x GATE x PRIM (T1) and FROZEN x SCOPE x GATE (T2) with rules declare/undeclare (exec, lsp, native, canvas), approve, deny, revoke, set_policy(variant), install, install --frozen, update, uninstall, prune, audit --ci, install , unpack; project scope and user scope with APM_HOME outside HOME; at most 10 rules; deployed == expected_deployed(model) plus I1-I9 after every step.
Done when: PR run (engine, max_examples 4) and nightly (binary, 25) both green; receipts cover every T1 and T2 obligation or a recorded strict expected failure; the recorded mutant still fails the machine; old GATE machine files removed or re-exported.
Out of scope: the SOURCE and SCOPE-LOCK machines; product fixes for failures the tests find (each gets its own issue; record failing cells as strict expected failures naming the tracking issue), CI topology changes beyond adding the new nodes to existing lifecycle shards.
Review contact: Daniel Meppiel (@danielmeppiel)
danielmeppiel commentedon Nov 20, 2026
Decision: approve
Area: project
Scope: In addition to the approved #4095 scope, close the five GATE oracle-strength findings tracked in #4133 (command-specific write-set allowances for every observed root; outcome checked before the state comparison on install and update; successful uninstall must remove the declaration; LSP service claims reconciled with observed adapter configurations; I7 compares durable artifact bytes, not surface names). Also tighten the family oracles: I3 compares the remediation as well as the verdict, I7 requires an announcement for every skip, park or partial outcome, and I9 counts status lines per cause. The tightening lands after the fix PRs that retire the affected known-failure cells and flips those cells in the same PR.
Done when: each #4133 finding is closed or rejected with a written reason on the issue; every failure newly exposed by the tightening is a strict known-failure cell with an owning issue; the M-GATE machine and the family oracles are green on PR and nightly.
Out of scope: product fixes for newly exposed failures (each gets its own issue and record); oracle changes outside the GATE machine and tests/lifecycle/oracles.py.
Review contact: Daniel Meppiel (@danielmeppiel)
test(lifecycle): tighten the GATE machine oracle (#4133, #4095)
Merge origin/main into #4054; port I7-X1 into tests/lifecycle
test(lifecycle): U-BIN-OPS rule and first-party mapping of install --mcp
test(lifecycle): bin spine under an org dependency deny (#3703 strict…
test(lifecycle): U-BIN-OPS rule and first-party mapping of install --mcp
test(lifecycle): bin spine under an org dependency deny (#3703 strict…
test(lifecycle): U-BIN-OPS rule and first-party mapping of install --mcp
test(lifecycle): M-GATE matrix at user scope, U-MKT and lsp under all…
test(lifecycle): M-GATE side-door spines for local bundles and pack
test(lifecycle): install --mcp over a deployed bin/ credits the mcp-i…
test(lifecycle): guard that a local bundle never routes a bin/ file
test(lifecycle): rule U-BIN-BUNDLE, a local bundle never deploys bin/
test(lifecycle): the plugin bin spine re-installs with two targets de…
test(lifecycle): pack over a deployed native plugin is a strict known…
test(lifecycle): pack under the org deny over a deployed native plugi…
test(lifecycle): the project plugin bin spine runs audit, prune and t…
test(lifecycle): the project plugin bin spine re-installs with each m…
test(lifecycle): the user bin spine runs lock, compile, update, appro…