FA-33491 / Menu interactions / Open access
Dismissal veto leaves a menu attached to a removed owner · case 01
Dismissal veto leaves a menu attached to a removed owner.
ROOT CAUSE
The menu-dismissal-policy model applies `not p['vetoed']` at its mandatory-teardown operation instead of the stipulated transformation.
THE FAILURE
The menu-dismissal-policy model applies `not p['vetoed']` at its mandatory-teardown operation instead of the stipulated transformation.
Unsuccessful approach: The attempted repair `p['owner_removed'] and not p['vetoed']` still violates the mandatory-teardown oracle.
Case contract
Menu dismissal reasons map to explicit close scopes; command completion, owner removal and outside dismissal do not share a universal policy.
Why this case matters
Cascading and context menus require coherent command and session state as content changes.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import unicodedata
N = 1
observations = []
def solve(action, p):
if action == 'leaf-scope':
return p['chain'][:p['depth']] if p['scope']=='branch' else []
if action == 'veto':
return p['requested'] and not p['vetoed']
if action == 'mandatory-teardown':
return not p['vetoed']
if action == 'reason-priority':
return next(x for x in ['owner-removed','command','outside'] if x in p)
if action == 'pending-command':
return p['pending'] if p['reason']=='transfer' else []
if action == 'nested-boundary':
return p['chain'][:p['boundary']]
return {'error': 'unsupported menu operation'}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('leaf-scope contract', solve('leaf-scope', {'chain':['root','sub',str(N)],'depth':1,'scope':'branch'}), ['root'])
check('veto contract', solve('veto', {'requested':True,'vetoed':True,'owner':N}), False)
check('mandatory-teardown contract', solve('mandatory-teardown', {'owner_removed':True,'vetoed':True,'id':N}), True)
check('reason-priority contract', solve('reason-priority', ['outside','owner-removed','command']), 'owner-removed')
check('pending-command contract', solve('pending-command', {'pending':[N],'reason':'transfer'}), [N])
check('nested-boundary contract', solve('nested-boundary', {'chain':['outer','local','child'+str(N)],'boundary':1}), ['outer'])
check('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| leaf-scope contract | ['root'] | ['root'] | Passed |
| veto contract | False | False | Passed |
| mandatory-teardown contract | False | True | Failed |
| reason-priority contract | owner-removed | owner-removed | Passed |
| pending-command contract | [1] | [1] | Passed |
| nested-boundary contract | ['outer'] | ['outer'] | Passed |
| unknown operation | {'error': 'unsupported menu operation'} | {'error': 'unsupported menu operation'} | Passed |
SHA-256 / a0f9318b7621a813f1d5351970216deee6cde4461c604adf7836334dc68c05d9
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import unicodedata
N = 1
observations = []
def solve(action, p):
if action == 'leaf-scope':
return p['chain'][:p['depth']] if p['scope']=='branch' else []
if action == 'veto':
return p['requested'] and not p['vetoed']
if action == 'mandatory-teardown':
return p['owner_removed'] and not p['vetoed']
if action == 'reason-priority':
return next(x for x in ['owner-removed','command','outside'] if x in p)
if action == 'pending-command':
return p['pending'] if p['reason']=='transfer' else []
if action == 'nested-boundary':
return p['chain'][:p['boundary']]
return {'error': 'unsupported menu operation'}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('leaf-scope contract', solve('leaf-scope', {'chain':['root','sub',str(N)],'depth':1,'scope':'branch'}), ['root'])
check('veto contract', solve('veto', {'requested':True,'vetoed':True,'owner':N}), False)
check('mandatory-teardown contract', solve('mandatory-teardown', {'owner_removed':True,'vetoed':True,'id':N}), True)
check('reason-priority contract', solve('reason-priority', ['outside','owner-removed','command']), 'owner-removed')
check('pending-command contract', solve('pending-command', {'pending':[N],'reason':'transfer'}), [N])
check('nested-boundary contract', solve('nested-boundary', {'chain':['outer','local','child'+str(N)],'boundary':1}), ['outer'])
check('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| leaf-scope contract | ['root'] | ['root'] | Passed |
| veto contract | False | False | Passed |
| mandatory-teardown contract | False | True | Failed |
| reason-priority contract | owner-removed | owner-removed | Passed |
| pending-command contract | [1] | [1] | Passed |
| nested-boundary contract | ['outer'] | ['outer'] | Passed |
| unknown operation | {'error': 'unsupported menu operation'} | {'error': 'unsupported menu operation'} | Passed |
SHA-256 / 50ca3be31cb4c24967d43fa660c244d1b66e463f7a20635ebff3705cfb099468
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 7 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
Offline supplied-valid-payload model; excludes DOM, keyboard, focus, selection, announcements and browser conformance. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.
Observations recorded using Python 3.12.14 at 2026-09-29T14:42:23.083724+00:00.
Case digest / 775e3732b4ee7f96db78d27d5d80e3e6efcfb8de33d1a40b7ee99e57e1af95c9