{"abstract":"Menu ancestor popup identifies the child definition instead of its owning menu row.","category":"Menu interactions","checks":7,"contract":"Menu breadcrumb controls reopen menu ancestors with captured context. Overflow entries retain complete menu paths; owner edges and displayed labels are separate.","evaluation_group":"s3-menu-interactions-breadcrumb-menu","failed_approach":"The attempted repair `p['root']` still violates the owner-edge oracle.","family":"s3-menu-interactions-breadcrumb-menu-owner-edge","id":"FA-32976","implementations":{"attempt":{"sha256":"0e23bcdb72cc6bec1b5dd9337c863f1ab395b9e3a55f99f3b2b61d18d0dd0a4f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport unicodedata\nN = 1\nobservations = []\ndef solve(action, p):\n    if action == 'reopen-action':\n        return {'action':'reopen-menu','path':p['path'],'context':p['context']}\n    if action == 'owner-edge':\n        return p['root']\n    if action == 'label':\n        return p['labels'].get(p['id'],p['id'])\n    if action == 'omitted-menu-levels':\n        return [p['chain'][:i+1] for i in range(1,len(p['chain'])-1)]\n    if action == 'duplicate-label':\n        return [x['id'] for x in p]\n    if action == 'jump':\n        return p['chain'][:p['index']+1]\n    return {'error': 'unsupported menu operation'}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('reopen-action contract', solve('reopen-action', {'path':['root','tools'],'context':N}), {'action':'reopen-menu','path':['root','tools'],'context':N})\ncheck('owner-edge contract', solve('owner-edge', {'child':'child'+str(N),'edges':{'child'+str(N):'owner'},'root':'root'}), 'owner')\ncheck('label contract', solve('label', {'id':'item'+str(N),'parent':'root','labels':{'item'+str(N):'Item','root':'Root'}}), 'Item')\ncheck('omitted-menu-levels contract', solve('omitted-menu-levels', {'chain':['root','a','b','leaf'+str(N)]}), [['root','a'],['root','a','b']])\ncheck('duplicate-label contract', solve('duplicate-label', [{'id':N,'label':'Same'},{'id':N+1,'label':'Same'}]), [N,N+1])\ncheck('jump contract', solve('jump', {'chain':['r','a',str(N)],'index':1}), ['r','a'])\ncheck('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"c041c76298a5ed4987f7cc2e6d594a4ee00712cafefb48117c134b8242b08c48","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport unicodedata\nN = 1\nobservations = []\ndef solve(action, p):\n    if action == 'reopen-action':\n        return {'action':'reopen-menu','path':p['path'],'context':p['context']}\n    if action == 'owner-edge':\n        return p['child']\n    if action == 'label':\n        return p['labels'].get(p['id'],p['id'])\n    if action == 'omitted-menu-levels':\n        return [p['chain'][:i+1] for i in range(1,len(p['chain'])-1)]\n    if action == 'duplicate-label':\n        return [x['id'] for x in p]\n    if action == 'jump':\n        return p['chain'][:p['index']+1]\n    return {'error': 'unsupported menu operation'}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('reopen-action contract', solve('reopen-action', {'path':['root','tools'],'context':N}), {'action':'reopen-menu','path':['root','tools'],'context':N})\ncheck('owner-edge contract', solve('owner-edge', {'child':'child'+str(N),'edges':{'child'+str(N):'owner'},'root':'root'}), 'owner')\ncheck('label contract', solve('label', {'id':'item'+str(N),'parent':'root','labels':{'item'+str(N):'Item','root':'Root'}}), 'Item')\ncheck('omitted-menu-levels contract', solve('omitted-menu-levels', {'chain':['root','a','b','leaf'+str(N)]}), [['root','a'],['root','a','b']])\ncheck('duplicate-label contract', solve('duplicate-label', [{'id':N,'label':'Same'},{'id':N+1,'label':'Same'}]), [N,N+1])\ncheck('jump contract', solve('jump', {'chain':['r','a',str(N)],'index':1}), ['r','a'])\ncheck('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"2f9a511a41f17f5910dd63a1b2f8c906171657f9931d104319e7062086c1ef4d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport unicodedata\nN = 1\nobservations = []\ndef solve(action, p):\n    if action == 'reopen-action':\n        return {'action':'reopen-menu','path':p['path'],'context':p['context']}\n    if action == 'owner-edge':\n        return p['edges'][p['child']]\n    if action == 'label':\n        return p['labels'].get(p['id'],p['id'])\n    if action == 'omitted-menu-levels':\n        return [p['chain'][:i+1] for i in range(1,len(p['chain'])-1)]\n    if action == 'duplicate-label':\n        return [x['id'] for x in p]\n    if action == 'jump':\n        return p['chain'][:p['index']+1]\n    return {'error': 'unsupported menu operation'}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('reopen-action contract', solve('reopen-action', {'path':['root','tools'],'context':N}), {'action':'reopen-menu','path':['root','tools'],'context':N})\ncheck('owner-edge contract', solve('owner-edge', {'child':'child'+str(N),'edges':{'child'+str(N):'owner'},'root':'root'}), 'owner')\ncheck('label contract', solve('label', {'id':'item'+str(N),'parent':'root','labels':{'item'+str(N):'Item','root':'Root'}}), 'Item')\ncheck('omitted-menu-levels contract', solve('omitted-menu-levels', {'chain':['root','a','b','leaf'+str(N)]}), [['root','a'],['root','a','b']])\ncheck('duplicate-label contract', solve('duplicate-label', [{'id':N,'label':'Same'},{'id':N+1,'label':'Same'}]), [N,N+1])\ncheck('jump contract', solve('jump', {'chain':['r','a',str(N)],'index':1}), ['r','a'])\ncheck('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"s3-menu-interactions-breadcrumb-menu-owner-edge","generated_at":"2026-09-29T14:42:17.690537+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Cascading and context menus require coherent command and session state as content changes.","repair":"Apply `p['edges'][p['child']]` at owner-edge.","root_cause":"The breadcrumb-menu model applies `p['child']` at its owner-edge operation instead of the stipulated transformation.","sha256":"72d857e95f38fb306ef69cbdc126c6d1e8e5f8ae887cc86c407b86576ea13378","title":"Menu ancestor popup identifies the child definition instead of its owning menu row · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.86,"exit_code":1,"observations":[{"actual":{"action":"reopen-menu","context":1,"path":["root","tools"]},"check":"reopen-action contract","expected":{"action":"reopen-menu","context":1,"path":["root","tools"]},"passed":true},{"actual":"root","check":"owner-edge contract","expected":"owner","passed":false},{"actual":"Item","check":"label contract","expected":"Item","passed":true},{"actual":[["root","a"],["root","a","b"]],"check":"omitted-menu-levels contract","expected":[["root","a"],["root","a","b"]],"passed":true},{"actual":[1,2],"check":"duplicate-label contract","expected":[1,2],"passed":true},{"actual":["r","a"],"check":"jump contract","expected":["r","a"],"passed":true},{"actual":{"error":"unsupported menu operation"},"check":"unknown operation","expected":{"error":"unsupported menu operation"},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"reopen-action contract\", \"actual\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"expected\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"passed\": true}, {\"check\": \"owner-edge contract\", \"actual\": \"root\", \"expected\": \"owner\", \"passed\": false}, {\"check\": \"label contract\", \"actual\": \"Item\", \"expected\": \"Item\", \"passed\": true}, {\"check\": \"omitted-menu-levels contract\", \"actual\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"expected\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"passed\": true}, {\"check\": \"duplicate-label contract\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"jump contract\", \"actual\": [\"r\", \"a\"], \"expected\": [\"r\", \"a\"], \"passed\": true}, {\"check\": \"unknown operation\", \"actual\": {\"error\": \"unsupported menu operation\"}, \"expected\": {\"error\": \"unsupported menu operation\"}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.965,"exit_code":1,"observations":[{"actual":{"action":"reopen-menu","context":1,"path":["root","tools"]},"check":"reopen-action contract","expected":{"action":"reopen-menu","context":1,"path":["root","tools"]},"passed":true},{"actual":"child1","check":"owner-edge contract","expected":"owner","passed":false},{"actual":"Item","check":"label contract","expected":"Item","passed":true},{"actual":[["root","a"],["root","a","b"]],"check":"omitted-menu-levels contract","expected":[["root","a"],["root","a","b"]],"passed":true},{"actual":[1,2],"check":"duplicate-label contract","expected":[1,2],"passed":true},{"actual":["r","a"],"check":"jump contract","expected":["r","a"],"passed":true},{"actual":{"error":"unsupported menu operation"},"check":"unknown operation","expected":{"error":"unsupported menu operation"},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"reopen-action contract\", \"actual\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"expected\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"passed\": true}, {\"check\": \"owner-edge contract\", \"actual\": \"child1\", \"expected\": \"owner\", \"passed\": false}, {\"check\": \"label contract\", \"actual\": \"Item\", \"expected\": \"Item\", \"passed\": true}, {\"check\": \"omitted-menu-levels contract\", \"actual\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"expected\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"passed\": true}, {\"check\": \"duplicate-label contract\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"jump contract\", \"actual\": [\"r\", \"a\"], \"expected\": [\"r\", \"a\"], \"passed\": true}, {\"check\": \"unknown operation\", \"actual\": {\"error\": \"unsupported menu operation\"}, \"expected\": {\"error\": \"unsupported menu operation\"}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.803,"exit_code":0,"observations":[{"actual":{"action":"reopen-menu","context":1,"path":["root","tools"]},"check":"reopen-action contract","expected":{"action":"reopen-menu","context":1,"path":["root","tools"]},"passed":true},{"actual":"owner","check":"owner-edge contract","expected":"owner","passed":true},{"actual":"Item","check":"label contract","expected":"Item","passed":true},{"actual":[["root","a"],["root","a","b"]],"check":"omitted-menu-levels contract","expected":[["root","a"],["root","a","b"]],"passed":true},{"actual":[1,2],"check":"duplicate-label contract","expected":[1,2],"passed":true},{"actual":["r","a"],"check":"jump contract","expected":["r","a"],"passed":true},{"actual":{"error":"unsupported menu operation"},"check":"unknown operation","expected":{"error":"unsupported menu operation"},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"reopen-action contract\", \"actual\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"expected\": {\"action\": \"reopen-menu\", \"path\": [\"root\", \"tools\"], \"context\": 1}, \"passed\": true}, {\"check\": \"owner-edge contract\", \"actual\": \"owner\", \"expected\": \"owner\", \"passed\": true}, {\"check\": \"label contract\", \"actual\": \"Item\", \"expected\": \"Item\", \"passed\": true}, {\"check\": \"omitted-menu-levels contract\", \"actual\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"expected\": [[\"root\", \"a\"], [\"root\", \"a\", \"b\"]], \"passed\": true}, {\"check\": \"duplicate-label contract\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"jump contract\", \"actual\": [\"r\", \"a\"], \"expected\": [\"r\", \"a\"], \"passed\": true}, {\"check\": \"unknown operation\", \"actual\": {\"error\": \"unsupported menu operation\"}, \"expected\": {\"error\": \"unsupported menu operation\"}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}